* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
}

b {
    font-size: 25px;
}

b:hover {
    font-weight: 600;
    font-size: 27px;
    color: orange;
}


/* Preloader Styles */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    animation: fadeInOut 3s infinite ease-in-out;
}

@keyframes fadeInOut {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}


/* course st */

.button-container {
    margin: 20px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow buttons to wrap on smaller screens */
    width: 100%;
}

.button-container button {
    padding: 12px 25px;
    margin: 5px;
    border: none;
    cursor: pointer;
    background-color: #007BFF;
    /* Blue */
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    flex: 1 1 150px;
    /* Ensure buttons are responsive */
    max-width: 200px;
    /* Prevent buttons from becoming too large */
}

.button-container button:hover {
    background-color: #FF5733;
    /* Orange */
}


/* Dropdown Styling */

.dropdown-container {
    margin: 20px;
    display: none;
    /* Initially hidden */
}

.dropdown-container select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}


/* Card Container */

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 100%;
    width: 100%;
}


/* Card Styling */

.card {
    background-color: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 30%;
    text-align: center;
    color: #333;
    transition: transform 0.3s ease;
}


/* Hover effect on cards */

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.6rem;
}

.card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.learn-more {
    display: inline-block;
    background-color: #FF5733;
    /* Orange */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.learn-more:hover {
    background-color: #007BFF;
    /* Blue */
}


/* Mobile Views (Max width 768px) */

@media (max-width: 768px) {
    /* Card Container */
    .card-container {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
        padding: 0 10px;
    }
    /* Cards */
    .card {
        width: 80%;
        /* Cards take up 80% width on mobile */
        margin: 10px 0;
    }
    /* Hide buttons on mobile */
    .button-container {
        display: none;
    }
    /* Show dropdown for mobile */
    .dropdown-container {
        display: block;
    }
}


/* Tablet Views (Between 768px and 1024px) */

@media (min-width: 768px) and (max-width: 1024px) {
    /* Card Container */
    .card-container {
        flex-direction: row;
        /* Arrange cards horizontally on tablet */
        justify-content: space-between;
    }
    /* Cards */
    .card {
        width: 45%;
        /* Cards take up 45% width on tablets */
    }
    /* Display buttons for tablets */
    .button-container {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
}


/* Large Views (Desktop and Laptops) */

@media (min-width: 1024px) {
    /* Card Container */
    .card-container {
        flex-direction: row;
        /* Arrange cards horizontally */
        justify-content: space-between;
    }
    /* Cards */
    .card {
        width: 30%;
        /* Cards take up 30% width on desktop */
    }
    /* Display buttons for desktop */
    .button-container {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
}


/* Large Views (Desktop and Laptops) */

@media (min-width: 1024px) {
    /* Card Container */
    .card-container {
        display: flex;
        flex-direction: row;
        /* Arrange cards horizontally */
        justify-content: space-around;
        flex-wrap: nowrap;
        /* Prevents wrapping */
        gap: 20px;
        /* Adds space between cards */
    }
    /* Cards */
    .card {
        width: 30%;
        /* Cards take up 30% width on desktop */
        margin: 10px;
        flex: 1;
        /* Allow the cards to be flexible */
    }
}


/* course end */

.tools-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #002a5a, #003a8c, #ff6f00);
    /* Blue and orange gradient */
    text-align: center;
    border-radius: 15px;
    /* Rounded corners for a modern look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Subtle shadow for depth */
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    /* White text for high contrast */
    margin-bottom: 20px;
}

.tools-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tool-card {
    width: 120px;
    /* Adjust size to fit more tools */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    background-color: #fff;
    /* White background for cards */
    border-radius: 10px;
    /* Rounded corners for cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Light shadow for cards */
}

.tool-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tool-card p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
    /* Dark text for contrast */
    font-weight: bold;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow on hover */
}

.tool-card:hover img {
    transform: scale(1.1);
}


/* Responsive Styles */

@media (max-width: 1024px) {
    .tool-card {
        width: 100px;
    }
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .tool-card {
        width: 80px;
    }
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tool-card {
        width: 70px;
    }
    .section-title {
        font-size: 1.25rem;
    }
}


/* content style starts */


/* General UI/UX Content Styling */

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
    /* Smooth scroll effect */
}

.ui-ux-content {
    background: linear-gradient(135deg, #2e2a72 0%, #00b4d8 100%);
    padding: 80px 30px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ui-ux-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.text-content {
    max-width: 700px;
    margin: 0 auto;
}

.text-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #f9a825;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInUp 1s forwards 0.3s;
}

.text-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInUp 1s forwards 0.6s;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #f57f17;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInUp 1s forwards 0.9s;
}

.cta-button:hover {
    background-color: #e65100;
    transform: scale(1.1);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.4);
}


/* Features Section Styling */

.features {
    background: #f9f9f9;
    padding: 60px 30px;
    color: #333;
    position: relative;
    overflow: hidden;
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item {
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    overflow: hidden;
}

.feature-item:hover {
    background-color: #f0f0f0;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.feature-item.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.feature-icon {
    text-align: center;
}

.feature-icon img {
    width: 80px;
    /* Adjust the size as needed */
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    /* Circular image */
    object-fit: cover;
    /* Ensures the image covers the circular area */
    border: 3px solid #f57f17;
    /* Optional border */
    transition: transform 0.3s ease;
    /* Add hover effect for images */
}

.feature-icon img:hover {
    transform: scale(1.1);
    /* Scale effect on hover */
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}


/* Why Choose Us Section */

.why-choose-us {
    padding: 60px 30px;
    background-color: #f4f4f4;
    /* Lighter background for contrast */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #f57f17;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
}


/* Updated Features Layout */

.why-choose-us .features {
    display: flex;
    flex-wrap: wrap;
    /* Allows items to wrap in smaller screens */
    justify-content: space-around;
    /* Space out items */
}

.feature-item {
    flex: 1 1 calc(25% - 40px);
    /* Adjust to 4 items in a row with spacing */
    margin: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    /* Add transition for smooth effect */
}

.feature-item:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
}


/* Media Queries for Responsiveness */

@media (max-width: 768px) {
    .feature-item {
        flex: 1 1 100%;
        /* Full width on small screens */
        margin: 10px 0;
    }
}


/* Keyframes for Fade-In Animation */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* cotent style ends */


/* General Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.nav {
    display: none;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
}

.btn,
.dropdown-btn {
    background-color: #0056b3;
    color: rgb(255, 255, 255);
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}


/* Shine effect */

.btn::before,
.dropdown-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1));
    transition: all 0.6s ease-in-out;
    transform: translateX(-100%) rotate(45deg);
    opacity: 0;
}

.btn:hover::before,
.dropdown-btn:hover::before {
    transform: translateX(100%) rotate(45deg);
    opacity: 1;
}

.btn:hover,
.dropdown-btn:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(2, 2, 3, 0.8);
}


/* Dropdown button for mobile view */

.dropdown-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #0056b3;
    color: white;
    border: none;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 8px;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.dropdown-content.show {
    max-height: 300px;
}

.box {
    padding: 15px;
    background-color: #ddd;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.box:hover {
    background-color: #004edfd7;
    transform: translateX(10px);
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.card {
    flex: 1 1 calc(33.333% - 40px);
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 94, 0, 0.911);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


/* Separator line between buttons and cards */

.separator {
    border: 0;
    height: 2px;
    background-color: #5e81ac;
    margin: 20px 0;
    border-radius: 10px;
}


/* Responsive styles */

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .dropdown-content {
        max-height: 0;
    }
    .card {
        flex: 1 1 100%;
    }
}

@media (min-width: 769px) {
    .nav {
        display: flex;
    }
    .dropdown-btn {
        display: none;
    }
}


/* parallex */

html,
body {
    overflow-x: hidden;
    /* To prevent Horizontal scroll */
}

html {
    scroll-behavior: smooth;
    /* To scrolling animation */
}

#header {
    position: absolute;
    /* To Overlap with background */
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5em 5em;
    display: flex;
    /* To get elements in row */
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    /* Header shld be above everything */
}

#header .logo {
    color: #002431;
    font-weight: 800;
    font-size: 2.5em;
    text-decoration: none;
    /* To prevent Underline */
}

#header ul {
    display: flex;
    /* To get elements in row */
    justify-content: space-around;
    align-items: center;
}

#header ul li {
    list-style: none;
    /* To Remove dot */
    margin: 0px 10px;
}

#header ul li a {
    text-decoration: none;
    /* To prevent Underline */
    padding: 6px 15px;
    color: #003549;
    border-radius: 20px;
}

#header ul li a:hover,
#header ul li a.active {
    background: #003549;
    color: white;
}


/* The Section Body... Set it to max size of screen */

.section23 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* To blend section color with water color */

.section23::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #085a7a, transparent);
    z-index: 10;
}


/* Make all images absolute and cover whole screen */

.section23 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}


/*  */


/* Properites for th text on top section  */

.section23 #text span {
    font-size: 0.2em;
    letter-spacing: 2px;
    font-weight: 400;
    color: white;
}

.section23 #text {
    position: absolute;
    color: #004660;
    font-size: 10vw;
    text-align: center;
    line-height: 0.55em;
    font-family: 'Rancho', cursive;
    transform: translateY(-50%);
    top: 50%;
}


/* The explore Button */

#explore {
    text-decoration: none;
    /* To prevent Underline */
    padding: 8px 25px;
    background: white;
    color: #003549;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 40px;
    transform: translateY(100px);
    /* To move it 100px below from center */
}

#explore:hover {
    background: #003549;
    color: white;
}


/* Propeties of Top button */

#top {
    position: fixed;
    width: 50px;
    height: 50px;
    background: #4faa2e;
    bottom: 10%;
    right: 5%;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 25px;
    border-radius: 50%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}


/* Glass Effect */

.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-Left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 1em;
    margin-bottom: 2%;
}


/* Properties for middle section (below water) */

.sec {
    position: relative;
    padding: 10%;
    background: #085a7a;
    padding-bottom: 15%;
    z-index: 50;
    overflow: hidden;
}


/* Properties for text content */

.sec h2 {
    font-size: 3.5em;
}

.sec #name {
    font-size: 1.5em;
    font-family: 'Rancho', cursive;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 20px;
}

.sec h3 {
    font-size: 1.8em;
    margin: 2%;
}

.sec h4 {
    font-size: 1.2em;
    text-decoration: underline;
    font-weight: 600;
}

.sec p {
    margin: 10px 20px 40px;
}

.sec ul {
    margin: 0 5%;
}

.sec ul li {
    margin: 2%;
}


/* -----------footer--------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container8 {
    max-width: 1170px;
    margin: auto;
}

ul {
    list-style: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.footer {
    background-color: #24162b;
    padding: 70px 0;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul i:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
    padding-left: 8px;
}

.footer-col .social-links i {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: #00dde5;
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #000000;
    transition: all0.5s ease;
}

.footer-col .social-links i:hover {
    color: #24262b;
    background-color: #4da8d2;
}

@media (max-width:700px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
        margin: 30px;
    }
}