body, html {
    height: 100%;
    width: 100%; /* Ensure full width */
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll */
    box-sizing: border-box; /* Include padding/borders in width calculations */
    justify-content: center;
}

/* General Navbar Styling */
.navbar {
    background: linear-gradient(45deg, #038ba3, #00d4ff); /* Gradient background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
    padding: 20px 30px;
    position: sticky; /* Sticks the navbar on top */
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure full width of navbar */
    box-sizing: border-box;
}

/* Navbar Branding/Logo */
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.navbar .logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.navbar .logo img { 
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 100px;
}

.navbar .logo .text-container {
    display: flex;
    flex-direction: column;
}

.navbar .logo .subheading {
    font-size: 12px;
    font-weight: bold;
    color: #555; /* Adjust color as needed */
    letter-spacing: -0.2px;
}

.navbar .logo .main-heading {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Adjust color as needed */
}


/* Navigation Links */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Prevent overflow from padding */
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    color: white;
    padding: 10px 20px;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 30px;
}

.navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Dropdown Menu Styling */
.navbar ul li:hover .dropdown {
    display: block;
}

/* Dropdown Menu Styling */
.navbar ul li .dropdown {
    display: none; /* Initially hidden */
    position: absolute;
    top: 40px; /* Adjust this value based on your navbar height */
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    z-index: 1;
}


.navbar ul li .dropdown a {
    color: #038ba3;
    padding: 10px;
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.navbar ul li .dropdown a:hover {
    background-color: #f0f0f0;
}

/* Mobile Navigation Toggle */
.navbar .menu-toggle {
    display: none; /* Ensure it's hidden on larger screens */
}

/* General Navbar Styling */
.navbar {
    background: linear-gradient(45deg, #038ba3, #00d4ff); /* Gradient background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
    padding: 20px 30px;
    position: sticky; /* Sticks the navbar on top */
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%; /* Ensure full width of navbar */
    box-sizing: border-box;
}

/* Navbar Branding/Logo */
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.navbar .logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.navbar .logo img { 
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 100px;
}

.navbar .logo .text-container {
    display: flex;
    flex-direction: column;
}

.navbar .logo .subheading {
    font-size: 12px;
    font-weight: bold;
    color: #555; /* Adjust color as needed */
    /* letter-spacing: -0.1px; */
    font-family: 'Courier New', Courier, monospace; 
}

.navbar .logo .main-heading {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Adjust color as needed */
}


/* Navigation Links */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Prevent overflow from padding */
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    color: white;
    padding: 10px 20px;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 30px;
}

.navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Dropdown Menu Styling */
.navbar ul li:hover .dropdown {
    display: block;
}

/* Dropdown Menu Styling */
.navbar ul li .dropdown {
    display: none; /* Initially hidden */
    position: absolute;
    top: 40px; /* Adjust this value based on your navbar height */
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    z-index: 1;
}


.navbar ul li .dropdown a {
    color: #038ba3;
    padding: 10px;
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.navbar ul li .dropdown a:hover {
    background-color: #f0f0f0;
}

/* Mobile Navigation Toggle */
.navbar .menu-toggle {
    display: none; /* Ensure it's hidden on larger screens */
}

/* Mobile & Tablet Styles */
@media (max-width: 896px) {
    .navbar {
        padding: 10px 15px;
    }

    /* Display menu toggle icon on mobile */
    .navbar .menu-toggle {
        display: block;
        font-size: 28px;
        color: white;
        cursor: pointer;
    }

    /* Hide the navbar links by default for mobile */
    .navbar ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: linear-gradient(45deg, #038ba3, #00d4ff);
        width: 100%;
        display: none;
        gap: 10px;
        padding: 15px 0;
    }

    /* Show navbar links when toggled */
    .navbar ul.show {
        display: flex;
    }

    /* Center align list items on mobile */
    .navbar ul li {
        text-align: center;
        width: 100%;
    }

    .navbar ul li a {
        font-size: 14px;
        padding: 8px;
    }

    /* Dropdown menu styling for mobile */
    .navbar ul li .dropdown {
        position: relative;
        top: 0;
        background-color: rgba(255, 255, 255, 0.9);
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .navbar ul li .dropdown a {
        padding: 12px;
        font-size: 14px;
        text-align: center;
    }

    /* Navbar Branding/Logo on Mobile */
    .navbar .logo {
        font-size: 14px; /* Adjusted logo font size */
    }

    .navbar .logo .main-heading {
        font-size: 14px; /* Smaller main heading font size */
    }

    .navbar .logo .subheading {
        font-size: 8px; /* Smaller subheading font size */
    }
}


/* Smooth toggle transition for mobile navigation */
.navbar ul {
    transition: max-height 0.3s ease;
}

/* Max-height transition for smooth opening */
.navbar ul.show {
    max-height: 500px; 
    margin-top: 10px;
}


/* Footer Section */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #38bcd3;
}

.footer-section p,
.footer-section a,
.footer-section ul li {
    color: #ddd;
    margin-bottom: 10px;
}

.footer-section a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0a7794;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #38bcd3;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #0a7794;
}

/* Footer Bottom Section */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #bbb;
}

.footer-bottom a {
    color: #38bcd3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #0a7794;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    color: #fff;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #fff;
    font-size: 22px;
}

.footer-social-icon i {
    transition: color 0.3s ease;
}

.footer-social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.instagram {
    background-color: #c13584;
}

.youtube {
    background-color: rgb(46, 122, 235);
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .footer-social-icons {
        justify-content: left; /* Align icons to the left */
        margin-left: 0;
        text-align: left; /* Ensure proper alignment */
    }
}
