* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    background-color: #f8fafc;
    color: #0f172a;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Syne', sans-serif;
    font-weight: 500;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-glass {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(30px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    padding: 0.3rem 0;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link .link-icon {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Syne', sans-serif;
    font-weight: 500;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.mobile-menu-btn {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.menu-line {
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-line:nth-child(1) {
    top: 12px;
}

.menu-line:nth-child(2) {
    top: 19px;
}

.menu-line:nth-child(3) {
    top: 26px;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    max-height: 700px;
}

/* Dropdown CSS */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
    z-index: 200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.dd-section-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    padding: 12px 14px 6px;
    font-family: 'Syne', sans-serif;
}

.dd-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
}

.dd-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.04));
    opacity: 0;
    transition: opacity 0.22s;
    border-radius: 12px;
}

.dd-item:hover::before {
    opacity: 1;
}

.dd-item:hover {
    color: #2563eb;
    transform: translateX(3px);
}

.dd-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dd-item:hover .dd-icon-wrap {
    transform: scale(1.12) rotate(-5deg);
}

.dd-item-text {
    flex: 1;
}

.dd-item-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.dd-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 6px 14px;
}

.dropdown-trigger .dropdown-chevron {
    transition: transform 0.25s ease;
    font-size: 10px;
    margin-left: 4px;
}

.nav-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-accordion-content.open {
    max-height: 400px;
}

.mobile-accordion-arrow {
    transition: transform 0.3s ease;
}

.mobile-accordion-arrow.open {
    transform: rotate(180deg);
}

.mobile-sub-item {
    display: flex;
    align-items: center;
    padding: 10px 16px 10px 36px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    transition: color 0.2s;
    text-decoration: none;
}

.mobile-sub-item:hover {
    color: #7dd3fc;
}

.mobile-sub-header {
    padding: 6px 16px 4px 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #60a5fa;
    font-family: 'Syne', sans-serif;
}


/* ===== REVEAL ANIMATIONS ===== */
[data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

[data-reveal="up"] {
    transform: translateY(40px);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none !important;
}

/* ===== HERO SECTION FONTS & ANIMATIONS ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    opacity: 0;
    animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-sub {
    font-size: 17px;
    font-weight: 400;
    color: #334155;
    line-height: 1.75;
    opacity: 0;
    animation: slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

/* ===== WHAT DRIVES US CARDS ===== */
.vm-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 36px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top Gradient Border Animating Left to Right */
.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    opacity: 0;
    transition: width 0.4s ease, opacity 0.4s ease;
}

.vm-card.gold-card::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.vm-card.teal-card::before {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.vm-card.rose-card::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.vm-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.vm-card:hover::before {
    width: 100%;
    opacity: 1;
}

.vm-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vm-card:hover .vm-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.vm-watermark {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-family: 'Syne', sans-serif;
    font-size: 110px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    opacity: 0.03;
    color: #0f172a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vm-card:hover .vm-watermark {
    opacity: 0.12;
    transform: scale(1.05) translateY(-5px);
    color: #3b82f6;
}

/* ===== TEAM SECTION ===== */
.team-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: visible;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.team-card-top {
    height: 120px;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.team-avatar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: white;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-avatar {
    transform: translateX(-50%) scale(1.08);
}

.skill-chip {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.team-card:hover .skill-chip {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #0369a1;
}

.soc-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.soc-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

/* ===== WHY US CARD ===== */
.why-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(6px);
}

.why-card:hover::before {
    transform: scaleY(1);
}

.why-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover .why-icon-box {
    transform: scale(1.15) rotate(-8deg);
}

/* ===== SCROLL TO TOP ===== */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}