/**
 * VettlyGlobal - Main Stylesheet
 * Modern, Professional Design with Light Colors
 */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors - Light & Professional */
    --primary-color: #4A90E2;           /* Soft Blue */
    --primary-dark: #2E5F8D;            /* Darker Blue */
    --primary-light: #7AB8F5;           /* Light Blue */

    /* Secondary Colors */
    --secondary-color: #2980B9;         /* Emerald Green */
    --secondary-light: #7FD99A;         /* Light Green */

    /* Accent Colors */
    --accent-color: #FF6B6B;            /* Coral */
    --accent-orange: var(--primary-color);           /* Orange */
    --accent-purple: #2980B9;           /* Purple */

    /* Neutral Colors */
    --text-primary: #2C3E50;            /* Dark Gray */
    --text-secondary: #7F8C8D;          /* Medium Gray */
    --text-light: #95A5A6;              /* Light Gray */

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;                /* Very Light Gray */
    --bg-lighter: #FAFBFC;              /* Almost White */
    --bg-gray: #ECF0F1;                 /* Light Gray BG */

    /* Border Colors */
    --border-color: #E1E8ED;
    --border-light: #F0F3F5;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);

    /* Transitions */
    --transition: all 0.3s ease;

    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

/* a:hover {
    color: var(--primary-dark);
} */

/* ========== Container & Layout ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 100px 0;
}

section.section.legal-content h2 {
    font-size: 1.4rem !important;
    margin: 20px 0px;

}
section.section.legal-content h3 {
    font-size: 1.2rem !important;
    margin: 20px 0px;

}
/* ========== Header ========== */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 2000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--bg-lighter);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.header-contact {
    display: flex;
    gap: 25px;
    color: var(--text-secondary);
}

.header-contact a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact a:hover {
    color: var(--primary-color);
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: var(--text-light);
    font-size: 1.1rem;
}

.header-main {
    padding: 15px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

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

.site-logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-heading);
}

.site-logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Navigation ========== */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2001;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-cta-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== Hero Section ========== */
.hero-section {
    background: url('../images/hero-img.jpg') center center / cover no-repeat;
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

/* .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
} */

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border:2px solid var(--primary-color);
}

/* .btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
} */

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ========== Cards ========== */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== Footer ========== */
.site-footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }
.py-5 { padding-top: 50px; padding-bottom: 50px; }

/* ========== Last Section - No Gap Fix ========== */
.last-section {
    margin-bottom: 0 !important;
    /* padding-bottom: 0 !important; */
}

section:last-of-type {
    margin-bottom: 0;
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    .mega-menu.about-mega-menu.mobile-open {
    width: 100%;
    min-width: 100%;
    max-width: 100% !important;
    padding: 15px;
}
}

/* ========== Nested Mega Menu Styles ========== */
.has-nested-mega .mega-menu-item {
    position: relative;
}

.has-nested-mega .mega-menu-item.has-submenu .mega-menu-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.has-nested-mega .submenu-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: var(--transition);
}

.has-nested-mega .mega-menu-item.has-submenu:hover .submenu-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Nested Mega Menu Container */
.nested-mega-menu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 350px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px;
    margin-left: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.mega-menu-item.has-submenu:hover .nested-mega-menu,
.mega-menu-item.has-submenu:focus-within .nested-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Keep nested menu open when hovering */
.nested-mega-menu:hover {
    opacity: 1;
    visibility: visible;
}

.nested-mega-content {
    padding: 5px;
}

.nested-mega-content h5 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.nested-mega-content h5 i {
    font-size: 1rem;
}

/* Nested Services Grid */
.nested-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.nested-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nested-service-item i {
    font-size: 1rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

.nested-service-item span {
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nested-service-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 20px;
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.1);
}

.nested-service-item:hover i {
    color: var(--primary-color);
    transform: scale(1.15);
}

.nested-service-item:hover span {
    font-weight: 600;
}

/* ========== About Us Mega Menu Styles ========== */
.about-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 900px;
    max-width: 1000px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.has-mega-menu:hover .about-mega-menu,
.has-mega-menu:focus-within .about-mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Keep menu open when hovering */
.about-mega-menu:hover {
    opacity: 1;
    visibility: visible;
}

.about-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-section-title i {
    font-size: 1rem;
}

.about-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.about-card:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.about-card-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.about-card-icon i {
    font-size: 1rem;
    color: white;
}

.about-card-content {
    flex: 1;
    min-width: 0;
}

.about-card-content h5 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 3px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-card-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== Mega Menu General Improvements ========== */
.mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    min-width: 650px;
    max-width: 700px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Menu visibility managed by JS .menu-active class in megamenu.css */

.mega-menu-content {
    padding: 5px 0;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.mega-menu-item {
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.mega-menu-item:last-child {
    border-bottom: none;
}

.mega-menu-item > a,
.mega-menu-item .mega-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 15px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.mega-menu-item > a i:first-child,
.mega-menu-item .mega-menu-link > i:first-child {
    font-size: 1.3rem;
    color: var(--primary-color);
    min-width: 35px;
    transition: var(--transition);
}

.mega-menu-item > a h4,
.mega-menu-item .mega-menu-link h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 3px;
    transition: var(--transition);
}

.mega-menu-item > a p,
.mega-menu-item .mega-menu-link p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    transition: var(--transition);
}

.mega-menu-item > a:hover,
.mega-menu-item .mega-menu-link:hover {
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.mega-menu-item > a:hover i,
.mega-menu-item .mega-menu-link:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.mega-menu-item > a:hover h4,
.mega-menu-item .mega-menu-link:hover h4 {
    color: var(--primary-color);
}

.mega-menu-item > a:hover p,
.mega-menu-item .mega-menu-link:hover p {
    color: var(--text-primary);
}

/* ========== Dropdown Menu Styles (Resources) ========== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -50px !important;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10000;
    padding: 15px;
    padding-top: 8px;
    list-style: none;
}

/* Dropdown visibility managed by JS .menu-active class */

.dropdown-menu li {
    margin-bottom: 5px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-primary);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.dropdown-menu li a i {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 25px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-menu li a:hover i {
    color: var(--primary-color);
}

/* ========== Improved Hover Zones ========== */
/* Add invisible hover bridge between nav item and mega menu */
.has-dropdown::after,
.has-mega-menu::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 1001;
}

/* Ensure smooth spacing and proper alignment */
.mega-menu-item > div,
.mega-menu-link > div {
    flex: 1;
    min-width: 0;
}

.mega-menu-item > div h4,
.mega-menu-link > div h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-menu-item > div p,
.mega-menu-link > div p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Clean borders and dividers */
.mega-menu-content {
    position: relative;
}

.about-section {
    position: relative;
}

/* Professional spacing system */
.mega-menu {
    max-height: 80vh;
    overflow-y: auto;
}

.about-mega-menu {
    max-height: 85vh;
    overflow-y: auto;
}

.nested-mega-menu {
    max-height: 70vh;
    overflow-y: auto;
}

/* Custom scrollbar styling */
.mega-menu::-webkit-scrollbar,
.about-mega-menu::-webkit-scrollbar,
.nested-mega-menu::-webkit-scrollbar {
    width: 6px;
}

.mega-menu::-webkit-scrollbar-track,
.about-mega-menu::-webkit-scrollbar-track,
.nested-mega-menu::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb,
.about-mega-menu::-webkit-scrollbar-thumb,
.nested-mega-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.mega-menu::-webkit-scrollbar-thumb:hover,
.about-mega-menu::-webkit-scrollbar-thumb:hover,
.nested-mega-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== Mega Menu Backdrop Overlay ========== */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

/* Overlay visibility managed by JS */

/* ========== Modern Animation Enhancements ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animations applied via JS .menu-active class */

/* Stagger animation for menu items */
.mega-menu-item:nth-child(1) { animation-delay: 0.05s; }
.mega-menu-item:nth-child(2) { animation-delay: 0.1s; }
.mega-menu-item:nth-child(3) { animation-delay: 0.15s; }
.mega-menu-item:nth-child(4) { animation-delay: 0.2s; }
.mega-menu-item:nth-child(5) { animation-delay: 0.25s; }
.mega-menu-item:nth-child(6) { animation-delay: 0.3s; }
.mega-menu-item:nth-child(7) { animation-delay: 0.35s; }
.mega-menu-item:nth-child(8) { animation-delay: 0.4s; }

.about-card:nth-child(1) { animation-delay: 0.05s; }
.about-card:nth-child(2) { animation-delay: 0.1s; }
.about-card:nth-child(3) { animation-delay: 0.15s; }

/* Professional gradient accents */
.mega-menu::before,
.about-mega-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color));
    border-radius: 12px 12px 0 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
