/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header & Menu */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-wrapper.sticky {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    transition: height 0.3s ease;
    display: block;
}

.header-wrapper.sticky .logo img {
    height: 45px;
}

/* Navigation */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #344095;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu ul li a:hover {
    color: #4d5ef2;
}

.nav-menu ul li a.active {
    color: #344095;
    font-weight: 800;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #344095;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-radius: 8px;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 3px solid #344095;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333 !important;
    padding: 10px 25px !important;
    display: block;
    font-size: 14px !important;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #344095 !important;
}

/* Footer */
footer {
    background-color: #33398c;
    color: #ffffff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer .container {
    display: block;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffffff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateX(5px);
}

.footer-logo img {
    margin-bottom: 25px;
}

.footer-info p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.footer-info p i {
    color: #ffffff;
    width: 20px;
    margin-right: 12px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #ffffff;
    color: #33398c;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.copyright {
    display: inline-block;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 0; /* Gap handles this */
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

#backToTop {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        padding: 80px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        display: block;
        font-size: 18px;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        padding-left: 20px;
        display: none;
        border-top: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #33398c 0%, #4d5ef2 100%);
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}
