/* 
  AGM REDESIGN - PREMIUM 3D INTERACTIVE THEME
  Inspired by parallelhq.com
*/

:root {
    /* Colors */
    --primary: #E84545;
    --primary-dark: #C0392B;
    --bg-white: #FFF5F6;
    --bg-offwhite: #FFEDEF;
    --text-charcoal: #1A1A1A;
    --text-body: #444444;
    --text-gray: #777777;
    --gradient-red: linear-gradient(135deg, #E84545 0%, #C0392B 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;

    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 245, 246, 0.7);
    --glass-blur: blur(15px);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Heading Overrides */
h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.btn,
.stat-number,
.section-title,
.card-title,
.logo span {
    font-family: var(--font-heading);
    color: var(--text-charcoal);
    font-weight: 700;
}

p,
span,
li,
label,
input,
textarea,
select,
.card-desc,
.testimonial-text,
footer {
    font-family: var(--font-body);
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Navbar */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

#main-header.scrolled {
    padding: 10px 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo span {
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-img {
    height: 52px;
    width: 104px;
    object-fit: contain;
    transition: var(--transition);
}

#main-header.scrolled .logo-img {
    height: 44px;
    width: 88px;
}

.agm-hex {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Dropdown Styling */
.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 280px;
    padding: 20px 0;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
}

.dropdown-content a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: rgba(232, 69, 69, 0.05);
    color: var(--primary);
    padding-left: 30px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta .btn {
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--gradient-red);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(232, 69, 69, 0.2);
    transition: var(--transition);
}

.nav-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(232, 69, 69, 0.3);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-charcoal);
    transition: var(--transition);
}

@media (max-width: 1024px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-white);
    overflow: hidden;
}

#canvas-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-side {
    text-align: left;
}

.hero-3d-side {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-bubble-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

#bubble-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-wheel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    pointer-events: none;
    transform: translateY(-10px); /* Fine-tune centering */
}

.service-item {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-charcoal);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

/* Scroll Fade Mask */
.glass-bubble-container {
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero h1 {
    font-size: clamp(32px, 5.5vw, 75px);
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.hero h1 .highlight {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-body);
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 40px;
}

/* Ticker */
.hero-ticker {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 3;
}

.ticker-track {
    display: inline-block;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-track span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: rgba(232, 69, 69, 0.3);
    padding: 0 40px;
    letter-spacing: 2px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 3D Background Mesh */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(232, 69, 69, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.btn-filled {
    padding: 18px 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-ghost {
    padding: 18px 40px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-filled:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(232, 69, 69, 0.2);
}

.btn-ghost:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

/* Section Generic */
section {
    padding: 140px 0;
    position: relative;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-offwhite);
    padding: 50px 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    background: #fff;
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 69, 69, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.card-desc {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 400;
}

/* Work / Portfolio */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.work-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 16/11;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-img {
    transform: scale(1.1);
}

.work-card:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-overlay h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 5px;
}

.work-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Premium Footer System */
.premium-footer {
    background: #060608;
    color: #a0a0a5;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(232, 69, 69, 0.12);
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 69, 69, 0.04) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.1fr 1.1fr 1fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-col h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.brand-col .logo-img {
    margin-bottom: 20px;
}

.brand-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
    color: #909095;
}

.social-links-wrap {
    display: flex;
    gap: 12px;
}

.social-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-circle-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(232, 69, 69, 0.35);
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list li a {
    color: #8c8c93;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-link-list li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Footer Newsletter Section */
.footer-newsletter-row {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 35px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.newsletter-text h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.newsletter-text p {
    font-size: 14px;
    color: #888890;
}

.newsletter-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px;
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(232, 69, 69, 0.15);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 15px;
}

.newsletter-input::placeholder {
    color: #666670;
}

.newsletter-submit-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit-btn:hover {
    background: #c63535;
    transform: scale(1.05);
}

/* Footer Bottom Layout */
.footer-bottom-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    font-size: 13.5px;
    color: #777780;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-legal-links a {
    color: #777780;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.25s ease;
}

.footer-legal-links a:hover {
    color: var(--primary);
}

.scroll-to-top-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #a0a0a5 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.scroll-to-top-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .brand-col {
        grid-column: span 2;
    }
    .footer-newsletter-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }
    .newsletter-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .brand-col {
        grid-column: span 1;
    }
    .footer-bottom-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-legal-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Brand Partners */
.brand-partners {
    padding: 60px 0;
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.partner-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.partner-track {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partner-slide {
    display: inline-block;
    animation: partner-scroll 30s linear infinite;
}

.partner-slide img {
    height: 35px;
    margin: 0 50px;
    filter: grayscale(1) opacity(0.5);
    transition: var(--transition);
}

.partner-slide img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes partner-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}
/* -------------------------------------------------------
   SERVICE PAGES STYLING
-------------------------------------------------------- */
.service-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-white);
    padding: 100px 0;
}

.service-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.service-text {
    z-index: 2;
}

.service-text h1 {
    font-size: clamp(38px, 6vw, 75px);
    margin: 20px 0;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
}

#service-canvas {
    width: 100%;
    height: 600px;
    position: relative;
    z-index: 1;
}

.service-content {
    padding: 100px 0;
    background: var(--bg-offwhite);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-block h3 {
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-weight: 600;
    color: var(--text-charcoal);
    font-family: var(--font-body);
}

.feature-list i {
    color: var(--primary);
}

.glass-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}

.glass-card h4 {
    font-size: 24px;
    margin: 20px 0 10px;
    font-weight: 700;
}

.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-card {
    background: var(--text-charcoal);
    color: #fff;
    padding: 80px 40px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    color: #fff !important;
    font-size: clamp(32px, 5vw, 55px);
    margin-bottom: 20px;
    font-weight: 900;
}

.cta-card p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 18px;
    max-width: 600px;
    margin-inline: auto;
}

@media (max-width: 991px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    #service-canvas { position: relative; width: 100%; height: 350px; right: 0; order: -1; }
    .service-hero { min-height: auto; padding: 100px 0; }
    .service-hero-layout { text-align: center; }
}

/* -------------------------------------------------------
   PREMIUM DYNAMIC CONTACT FORM
-------------------------------------------------------- */
.dynamic-form-group {
    margin-bottom: 25px;
}

.dynamic-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-charcoal);
    letter-spacing: 0.5px;
}

.dynamic-input-wrapper {
    position: relative;
}

.dynamic-input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.06);
    background: var(--bg-offwhite);
    outline: none;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.dynamic-input-wrapper textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.06);
    background: var(--bg-offwhite);
    outline: none;
    font-size: 15px;
    font-family: var(--font-body);
    min-height: 140px;
    resize: vertical;
    transition: all 0.3s ease;
}

.dynamic-input-wrapper input:focus,
.dynamic-input-wrapper textarea:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(232, 69, 69, 0.15);
    transform: translateY(-2px);
}

.dynamic-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-input-wrapper:focus-within .dynamic-input-icon {
    color: var(--primary);
}

.btn-dynamic {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: none;
    background: var(--gradient-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(232, 69, 69, 0.2);
}

.btn-dynamic:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(232, 69, 69, 0.35);
}

.btn-dynamic i {
    transition: transform 0.3s ease;
}

.btn-dynamic:hover i {
    transform: translateX(5px);
}

/* -------------------------------------------------------
   PREMIUM PROCESS TIMELINE (ROADMAP)
-------------------------------------------------------- */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    z-index: 0;
}

.process-step {
    position: relative;
    width: 50%;
    padding: 0 40px 40px 40px;
    z-index: 1;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(232, 69, 69, 0.4);
}

.process-step:nth-child(odd)::before {
    right: -10px;
}

.process-step:nth-child(even)::before {
    left: -10px;
}

.process-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
}

.process-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(232, 69, 69, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: 0;
}

.process-step:nth-child(odd) .step-number {
    right: 20px;
}
.process-step:nth-child(even) .step-number {
    left: 20px;
}

.process-content h4 {
    position: relative;
    z-index: 1;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.process-content p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }
    .process-step {
        width: 100%;
        left: 0 !important;
        padding: 0 0 40px 50px !important;
        text-align: left !important;
    }
    .process-step::before {
        left: 10px !important;
    }
    .process-step .step-number {
        left: 20px !important;
        right: auto !important;
    }
}

/* -------------------------------------------------------
   PREMIUM FAQ ACCORDION
-------------------------------------------------------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    padding: 25px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--text-charcoal);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
    font-weight: 300;
}

.faq-item details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item details[open] summary {
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-content {
    padding: 20px 30px 30px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    animation: fadeInDown 0.3s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Services Mega Dropdown Styling ── */
.nav-dropdown.mega-dropdown {
    position: static;
}

.mega-menu-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: calc(100vw - 80px);
    max-width: 950px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(232, 69, 69, 0.08);
    display: grid;
    grid-template-columns: 310px 1fr;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.mega-menu-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-dropdown.mega-dropdown:hover .mega-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
}

.mega-menu-left {
    background: #fafafa;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-menu-left .menu-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 13.5px;
    color: var(--text-gray);
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mega-menu-left .menu-item-link i {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.mega-menu-left .menu-item-link:hover i,
.mega-menu-left .menu-item-link.active i {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

.mega-menu-left .menu-item-link:hover,
.mega-menu-left .menu-item-link.active {
    background: rgba(232, 69, 69, 0.05);
    color: var(--primary);
}

.mega-menu-right-container {
    background: #ffffff;
    position: relative;
    min-height: 400px;
}

.mega-menu-right {
    padding: 40px;
    display: none;
    animation: megaFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-right.active {
    display: block;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-services-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(232, 69, 69, 0.1);
    padding-bottom: 15px;
}

.sub-services-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(40, 167, 69, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
}

.sub-services-header h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-charcoal);
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.sub-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sub-service-item::before {
    content: '•';
    color: var(--text-gray);
    font-size: 16px;
    transition: color 0.25s ease;
}

.sub-service-item:hover {
    color: var(--primary);
    padding-left: 5px;
}

.sub-service-item:hover::before {
    color: var(--primary);
}

@media (max-width: 991px) {
    .mega-menu-content {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        transform: none !important;
    }
    .nav-dropdown.mega-dropdown:hover .mega-menu-content {
        display: block;
    }
    .mega-menu-left {
        background: transparent;
        border-right: none;
        padding: 10px 0;
    }
    .mega-menu-right-container {
        display: none;
    }
}

/* ===============================================================
   MOBILE MENU — Full Slide-Down Nav
   =============================================================== */

/* Mobile Nav Open */
.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    z-index: 999;
    padding: 20px 25px 40px;
    overflow-y: auto;
    gap: 0;
    animation: slideDown 0.3s ease;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.nav-cta.mobile-open {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
}

.nav-cta.mobile-open .btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 16px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile Nav Links */
@media (max-width: 1024px) {
    .nav-links.mobile-open .nav-link {
        font-size: 16px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .nav-links.mobile-open .nav-dropdown {
        flex-direction: column;
    }

    .nav-links.mobile-open .dropdown-content,
    .nav-links.mobile-open .mega-menu-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: var(--bg-offwhite) !important;
        padding: 5px 0 5px 15px !important;
        display: none;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
    }

    .nav-links.mobile-open .mobile-dropdown-open .dropdown-content,
    .nav-links.mobile-open .mobile-dropdown-open .mega-menu-content {
        display: block;
    }

    .nav-links.mobile-open .mega-menu-right-container {
        display: none !important;
    }

    .nav-links.mobile-open .mega-menu-left {
        background: transparent !important;
        border-right: none !important;
        padding: 5px 0 !important;
    }

    .nav-links.mobile-open .mega-menu-left .menu-item-link {
        font-size: 14px;
        padding: 10px 5px;
        border-radius: 0;
        color: var(--text-gray);
    }

    .nav-links.mobile-open .dropdown-content a {
        padding: 10px 5px;
        font-size: 14px;
    }
}

/* Hamburger → X Animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.nav-toggle span {
    transition: all 0.3s ease;
    display: block;
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* ===============================================================
   HERO SECTION — Mobile
   =============================================================== */
@media (max-width: 900px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero-layout {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .hero-text-side {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-3d-side {
        height: 320px;
        width: 100%;
    }

    .glass-bubble-container {
        width: 300px !important;
        height: 320px !important;
        margin: 0 auto;
    }

    .hero .hero-ticker {
        display: none;
    }
}

/* ===============================================================
   SECTIONS — Padding reduction on mobile
   =============================================================== */
@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 40px);
    }

    /* Services Grid: 3col → 1col */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .service-card {
        padding: 35px 25px;
    }

    /* Work Grid: 2col → 1col */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Stats: 4col → 2col */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-number {
        font-size: 44px;
    }

    /* Contact Section: 2col → 1col */
    #contact .container > div,
    #contact [style*="grid-template-columns: 1fr 1.2fr"] {
        display: flex !important;
        flex-direction: column;
        gap: 40px !important;
    }

    #contact [style*="padding: 60px"] {
        padding: 30px !important;
        border-radius: 20px !important;
    }

    #contact [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column;
        gap: 15px !important;
    }

    /* Brand Partners */
    .partner-slide img {
        height: 25px;
        margin: 0 25px;
    }

    /* Buttons */
    .btn-filled, .btn-ghost {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* Sub-hero (service sub-pages) */
    .sub-hero {
        padding: 110px 0 60px;
    }

    .sub-hero-layout {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
    }

    #sub-canvas {
        height: 250px !important;
        max-width: 320px;
        margin: 0 auto;
    }

    .premium-grid {
        grid-template-columns: 1fr !important;
    }

    /* Service hero pages */
    .service-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .service-hero-layout {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
    }

    #service-canvas {
        height: 250px !important;
    }

    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .glass-card {
        padding: 30px 25px;
    }

    .cta-card {
        padding: 50px 25px;
        border-radius: 24px;
    }

    /* About page */
    .about-hero-layout,
    .story-grid,
    .mv-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .values-grid,
    .dark-stats-grid,
    .process-grid {
        grid-template-columns: 1fr !important;
    }

    #about-canvas {
        height: 280px !important;
        max-width: 350px;
        margin: 0 auto;
    }

    .cta-banner-box {
        padding: 50px 25px;
        border-radius: 24px;
    }

    .story-sticky-left {
        position: static !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .brand-col {
        grid-column: span 1 !important;
    }

    .footer-newsletter-row {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .newsletter-form-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }

    /* Process timeline */
    .process-timeline::before {
        left: 15px;
    }

    .process-step {
        width: 100% !important;
        left: 0 !important;
        padding: 0 0 35px 45px !important;
        text-align: left !important;
    }

    .process-step::before {
        left: 5px !important;
        right: auto !important;
    }

    .process-content {
        padding: 22px;
    }

    /* FAQ */
    .faq-item summary {
        font-size: 15px;
        padding: 18px 20px;
    }

    .faq-content {
        padding: 15px 20px 20px;
    }
}

/* ===============================================================
   SMALL PHONES — 480px and below
   =============================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .hero h1 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .logo-img {
        height: 40px !important;
        width: 80px !important;
    }

    .nav-toggle {
        width: 30px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ===============================================================
   DESKTOP FIXES (1024px - 1280px)
   =============================================================== */
@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 12.5px;
    }

    .footer-grid {
        grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
        gap: 30px;
    }
}
