body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    
}

.signature {
    font-family: 'Great Vibes', cursive;
    color: #1e40af;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero img {
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero:hover img {
    transform: scale(1.2);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #1e40af;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}

.btn-primary {
    background-color: #1e40af;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.btn-outline:hover {
    background-color: #fff;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.card {
    border: none;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
    
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card img {
    transition: transform 0.5s ease;
    
}

.card:hover img {
    transform: scale(1.05);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1e40af;
    transition: border-color 0.3s ease;
}

.profile-img:hover {
    border-color: #1e3a8a;
}

.modal {
    display: none;
    animation: fadeIn 0.3s ease;
    
}

.modal-content {
    transform: scale(0.8);
    animation: scaleUp 0.3s ease forwards;
    
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.modal-close {
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #1e3a8a;
}

.footer a {
    color: wheat;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo-img:hover {
    transform: scale(1.1);
}

/* Advanced Multi-Element Background Design */
section.bg-white, section.bg-gray-50 {
    position: relative;
    background: #fff;
    overflow: hidden;
}

/* Linen Texture Background */
section.bg-white::before, section.bg-gray-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23f5f5f5' fill-opacity='0.05'%3E%3Cpath d='M0 0h1v100H0z'/%3E%3Cpath d='M0 0v1h100V0z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: -2;
}

/* Dynamic Wave Pattern */
section.bg-white::after, section.bg-gray-50::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='waveGlow' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%231e40af;stop-opacity:0.25'/%3E%3Cstop offset='100%25' style='stop-color:%231e3a8a;stop-opacity:0.2'/%3E%3C/linearGradient%3E%3ClinearGradient id='waveSoft' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23e0f7fa;stop-opacity:0.15'/%3E%3Cstop offset='100%25' style='stop-color:%231e40af;stop-opacity:0.1'/%3E%3C/linearGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur in='SourceGraphic' stdDeviation='3'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3C/defs%3E%3Cpath fill='none' stroke='url(%23waveGlow)' stroke-width='5' stroke-linecap='round' filter='url(%23glow)' d='M-200,250 C0,200 400,300 800,250 C1200,200 1600,300 2000,250'/%3E%3Cpath fill='none' stroke='url(%23waveSoft)' stroke-width='4' stroke-linecap='round' d='M-200,350 C0,300 400,400 800,350 C1200,300 1600,400 2000,350'/%3E%3Cpath fill='none' stroke='%231e40af' stroke-opacity='0.12' stroke-width='6' stroke-linecap='round' d='M-200,450 C0,400 400,500 800,450 C1200,400 1600,500 2000,450'/%3E%3Cpath fill='none' stroke='%23e0f7fa' stroke-opacity='0.18' stroke-width='3' stroke-linecap='round' d='M-200,550 C0,500 400,600 800,550 C1200,500 1600,600 2000,550'/%3E%3C/svg%3E");
    background-size: 250% auto;
    background-position: center;
    background-repeat: no-repeat;
    animation: waveFlow 18s infinite ease-in-out;
    z-index: -1;
    transform: translateZ(0);
}

/* Parallax Effect */
section.bg-white, section.bg-gray-50 {
    background-attachment: fixed;
    
}

/* Wave Animation */
@keyframes waveFlow {
    0% {
        background-position: 0% center;
        transform: translateY(0) scale(1);
    }
    50% {
        background-position: 100% center;
        transform: translateY(-15px) scale(1.02);
    }
    100% {
        background-position: 0% center;
        transform: translateY(0) scale(1);
    }
}

/* Heading Glow Effect */
section.bg-white h2, section.bg-gray-50 h2 {
    position: relative;
    z-index: 1;
}

section.bg-white h2::before, section.bg-gray-50 h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glowPulse 6s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

/* Particle Canvas */
section.bg-white canvas.particles, section.bg-gray-50 canvas.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .signature {
        font-size: 1.8rem;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .logo-img {
        height: 60px;
    }

    section.bg-white::after, section.bg-gray-50::after {
        background-size: 350% auto;
    }

    section.bg-white, section.bg-gray-50 {
        background-attachment: scroll;
    }

    section.bg-white h2::before, section.bg-gray-50 h2::before {
        width: 150px;
        height: 150px;
    }
}