/* --- 1. Global Reset & Typography --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Slate-50 */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- 2. Standardized Header Logic --- */
#main-header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1000;
}

/* THE "HARD" FIX: This class is applied via JS on scroll */
/* It uses a solid white background and a deep shadow to prevent merging with content */
.glass-header {
    background-color: #ffffff !important; 
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.12) !important; 
    border-bottom: 1px solid #e2e8f0;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after, 
.active-link::after {
    width: 100%;
}

/* Logo Animation */
.logo-box {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo-box {
    transform: rotate(15deg) scale(1.1);
}

/* --- 3. Mobile Hamburger Menu Transition --- */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 4. Insane Interactive Hover Effects --- */
/* Premium Buttons */
.btn-cta, .btn-cta-white {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.4);
    background-color: #1d4ed8;
}

.btn-cta-white:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 35px -10px rgba(255, 255, 255, 0.3);
    background-color: #ffffff;
}

/* Card Hover Logic */
.card-premium {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid transparent;
}

.card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 70px -15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.1);
}

.card-premium:hover .icon-box {
    transform: scale(1.15) rotate(-5deg);
    background-color: #2563eb;
    color: #ffffff;
}

/* Testimonial Items */
.testimonial-item {
    transition: all 0.4s ease;
}

.testimonial-item:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Image Effects */
.image-zoom-container img, .hero-image-box img {
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-zoom-container:hover img, .hero-image-box:hover img {
    transform: scale(1.1);
}

/* --- 5. Scroll Reveal Engine --- */
/* Note: JS is required to add the .active class */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 150ms; }
.delay-200 { transition-delay: 300ms; }

/* --- 6. Floating & Animation Keyframes --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.floating-experience {
    animation: float 5s ease-in-out infinite;
}

/* WhatsApp Pulse Effect */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* Footer Social Icons */
.social-icon {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.2);
}

.social-icon:hover .icon-insta {
    color: #E4405F; /* Instagram Branding Color */
}

/* --- 7. Gradient Details --- */
.experience-badge {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.cta-premium-box {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
}