/* Fonts loaded via HTML <link> tags with font-display:swap for performance.
   Fallback @import kept for pages that load style.css without explicit font links. */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&family=Inter:wght@700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =================================================================
   1. GLOBAL STYLES & VARIABLES
================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-accent: #007CF0;
    --illuminate-magenta: #ff00ff;
    --illuminate-cyan: #00ffc3;
    --glow-color: rgba(0, 124, 240, 0.75);
    --background-dark: #0A0A0A;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --border-color: rgba(255, 255, 255, 0.1);
    --background-lightly-dark: #111111;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.mobile-menu-active {
    overflow: hidden;
}

/* =================================================================
   2. SHARED COMPONENT & SECTION STYLES
================================================================= */
.section-padding {
    padding: 120px 5%;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

h2.section-title {
    margin-top: 60px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

.cta-button {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    box-shadow: 0 0 20px 0 var(--glow-color);
}

.form-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-accent);
    color: var(--text-primary);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 2000;
}

.form-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.form-notification.error {
    background-color: #e74c3c;
}


/* =================================================================
   3. HEADER & NAVIGATION (Homepage-style unified nav)
================================================================= */
:root {
    --nh: 64px;
    --mx: clamp(16px, 5vw, 80px);
    --pill: 9999px;
    --ease: cubic-bezier(.23, 1, .32, 1);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 var(--mx);
    height: var(--nh);
    display: flex;
    align-items: center;
    transition: all .4s;
    background: rgba(8, 8, 13, .7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav.scrolled {
    background: rgba(8, 8, 13, .85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.ni {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto
}

.nl {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none
}

.nl img {
    height: 30px
}

.nl .s {
    opacity: .3;
    font-weight: 300
}

.nk {
    display: flex;
    align-items: center;
    gap: 4px
}

.nk a,
.nav-dd-trigger {
    padding: 8px 16px;
    border-radius: var(--pill);
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    transition: all .25s;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit
}

.nk a:hover,
.nav-dd-trigger:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06)
}

/* Services Mega Menu */
.nav-dd {
    position: static
}

.nav-dd-trigger {
    display: flex;
    align-items: center;
    gap: 6px
}

.nav-dd-trigger .dd-arrow {
    font-size: .55rem;
    display: inline-block;
    opacity: .5;
    transition: opacity .25s
}

.nav-dd-trigger:hover .dd-arrow,
.nav-dd.open .nav-dd-trigger .dd-arrow {
    opacity: .8
}

.nav-dd-menu {
    position: fixed;
    top: var(--nh);
    left: 0;
    right: 0;
    background: #0a0a12;
    border-top: 1px solid rgba(99, 102, 241, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 98;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5)
}

.nav-dd:hover .nav-dd-menu,
.nav-dd.open .nav-dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.mega-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px var(--mx);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start
}

.mega-left h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3
}

.mega-left p {
    font-size: .95rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 380px
}

.mega-left .mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    font-weight: 500;
    transition: all .25s;
    text-decoration: none
}

.mega-left .mega-cta:hover {
    border-color: rgba(99, 102, 241, .5);
    color: #fff;
    background: rgba(99, 102, 241, .08)
}

.mega-right {
    display: flex;
    flex-direction: column;
    gap: 0
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    border-radius: 12px;
    transition: all .2s;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.mega-link:last-child {
    border-bottom: none
}

.mega-link:hover {
    background: rgba(255, 255, 255, .03)
}

.mega-link .ml-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

.ml-icon.purple {
    background: rgba(99, 102, 241, .12);
    color: #818cf8
}

.ml-icon.green {
    background: rgba(34, 197, 94, .12);
    color: #4ade80
}

.ml-icon.orange {
    background: rgba(249, 115, 22, .12);
    color: #fb923c
}

.mega-link .ml-info {
    flex: 1
}

.ml-info strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 2px
}

.ml-info span {
    font-size: .8rem;
    color: rgba(255, 255, 255, .35)
}

.mega-link .ml-arrow {
    color: rgba(255, 255, 255, .2);
    font-size: .85rem;
    transition: all .25s;
    flex-shrink: 0
}

.mega-link:hover .ml-arrow {
    color: #818cf8;
    transform: translateX(4px)
}

.mega-link:hover .ml-info strong {
    color: #fff
}

/* MVP Blueprint highlight */
.nav-highlight {
    color: #a5b4fc !important;
    font-weight: 600 !important;
    position: relative
}

.nav-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 2px;
    opacity: .6
}

/* CTA Button */
.nc {
    padding: 8px 24px !important;
    background: #6366f1 !important;
    color: #fff !important;
    border-radius: var(--pill) !important;
    font-weight: 600 !important
}

.nc:hover {
    background: #818cf8 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, .3) !important
}

.nm {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

@media(max-width:768px) {
    .nm {
        display: block !important;
        background: transparent !important;
    }

    /* Ensure original menu is hidden on mobile */
    .nk {
        display: none !important;
    }
}

/* Mobile Menu Overlay - Global Styles */
#mobile-menu-overlay {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 64px) !important;
    min-height: calc(100vh - 64px) !important;
    background-color: #000000 !important;
    background: #000000 !important;
    padding: 24px !important;
    z-index: 9999 !important;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1 !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

#mobile-menu-overlay.open {
    display: flex !important;
}

#mobile-menu-overlay a {
    display: flex;
    align-items: center;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: color 0.2s ease;
}

#mobile-menu-overlay a:hover {
    color: #fff;
    padding-left: 8px;
}

#mobile-menu-overlay .nav-dd-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    border: none;
    cursor: pointer;
}

#mobile-menu-overlay .nav-dd-menu {
    position: static;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    padding: 8px 16px;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    width: 100%;
}

#mobile-menu-overlay .nav-dd-menu a {
    font-size: 1rem;
    padding: 12px 0;
    color: #cbd5e1;
    border-bottom: none;
}

#mobile-menu-overlay .mega-inner {
    flex-direction: column;
    padding: 0;
    gap: 0;
}

#mobile-menu-overlay .mega-left {
    display: none;
}

#mobile-menu-overlay .mega-link {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

#mobile-menu-overlay .mega-link .ml-icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

#mobile-menu-overlay .mega-link .ml-info span {
    display: none;
    /* Hide description on mobile to save space */
}

#mobile-menu-overlay .nav-dd.open .nav-dd-menu {
    display: block;
}

#mobile-menu-overlay .nc {
    margin-top: 32px;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white !important;
    border-radius: 12px;
    justify-content: center;
    border: none;
    font-weight: 600;
    padding: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1), 0 2px 4px -1px rgba(99, 102, 241, 0.06);
}

#mobile-menu-overlay .nc:hover {
    padding-left: 16px !important;
    /* Prevent hover shift from generic a:hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}


/* Legacy header styles (kept for backward compatibility) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    z-index: 1000;
    transition: background-color 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
    background-color: rgba(10, 10, 10, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.main-header.scrolled {
    border-bottom-color: var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-family: 'Exo 2', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1001;
}

.mobile-menu-toggle {
    display: none;
    z-index: 1001;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle .line {
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active .line1 {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .line2 {
    opacity: 0;
}

.mobile-menu-toggle.active .line3 {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--text-primary);
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-overlay {
    display: none;
}

/* Mega Menu (Desktop) - Clean Redesign */
.nav-item-with-megamenu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 900px;
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-item-with-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-wrapper {
    display: flex;
    padding: 0;
}

/* Services Grid - 3 Columns */
.mega-services {
    display: flex;
    flex: 1;
    padding: 24px;
    gap: 0;
}

.mega-col {
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-col:last-child {
    border-right: none;
}

.mega-col:first-child {
    padding-left: 0;
}

.mega-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-icon.orange {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
}

.mega-icon.blue {
    background: linear-gradient(135deg, #007CF0, #00C6FF);
    color: white;
}

.mega-icon.purple {
    background: linear-gradient(135deg, #9945FF, #7B2FF7);
    color: white;
}

.mega-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links List */
.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li {
    margin-bottom: 4px;
}

.mega-links a {
    display: block;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mega-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 16px;
}

/* Featured Section */
.mega-featured {
    width: 240px;
    background: linear-gradient(180deg, rgba(0, 124, 240, 0.1), rgba(153, 69, 255, 0.05));
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-radius: 0 16px 16px 0;
}

.mega-featured-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-label {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    width: fit-content;
}

.mega-featured h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.mega-featured p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

/* CTA Button - Clean Outline Style */
.mega-menu .mega-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1;
    padding: 14px 24px;
    border-radius: 8px;
    border: 2px solid #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.mega-menu .mega-cta-btn:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
    transform: scale(1.02);
}

.mega-menu .mega-cta-btn svg {
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.mega-menu .mega-cta-btn:hover svg {
    stroke: #000;
    transform: translateX(3px);
}

/* Remove underline from CTA button */
.mega-menu .mega-cta-btn::after,
.mega-menu .mega-cta-btn::before {
    display: none !important;
    content: none !important;
}

/* Stats */
.mega-stats {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.mega-stats>div {
    text-align: center;
}

.mega-stats strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007CF0, #00DFD8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mega-stats span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hide Old Legacy Elements */
.mega-menu-content,
.mega-menu-column,
.mega-menu-inner,
.mega-menu-grid,
.mega-menu-category,
.category-header,
.category-icon,
.service-list,
.service-link,
.mega-menu-featured:not(.mega-featured),
.featured-content,
.featured-badge,
.featured-cta,
.featured-stats,
.service-tooltip {
    display: none !important;
}


/* =================================================================
   4. FOOTER
================================================================= */
.new-footer {
    padding: 100px 5% 30px;
    background-color: var(--background-dark);
    position: relative;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 30px -15px rgba(0, 124, 240, 0.2);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.footer-left h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-left h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-accent);
    margin-bottom: 50px;
    line-height: 1.2;
}

.footer-follow-us {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-follow-us::before {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
    background-color: var(--primary-accent);
    box-shadow: 0 4px 15px var(--glow-color);
}

.footer-socials svg {
    width: 28px;
    height: 28px;
}

.footer-right h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: left;
}

.footer-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.footer-form .form-group:focus-within svg {
    stroke: var(--primary-accent);
}

.footer-form .form-group svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    fill: none;
    transition: stroke 0.3s ease;
}

.footer-form .form-group.full-width svg {
    top: 22px;
    transform: none;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background: var(--background-lightly-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px 15px 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
    color: var(--text-secondary);
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 15px var(--glow-color);
}

.footer-form input:focus:invalid,
.footer-form textarea:focus:invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.footer-form textarea {
    resize: vertical;
}

.footer-form .cta-button {
    padding: 14px 40px;
    margin-top: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-policy-links-bottom {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-policy-links-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policy-links-bottom a:hover {
    color: var(--primary-accent);
    text-decoration: underline;
}

.footer-policy-links-bottom .link-separator {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 -5px;
}


/* =================================================================
   5. RESPONSIVE STYLES
================================================================= */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    /* Mobile Menu Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(10, 10, 10, 0.9);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-overlay .nav-links {
        list-style: none;
        text-align: center;
        padding: 0;
        width: 100%;
    }

    .mobile-overlay .nav-links li {
        margin: 15px 0;
    }

    .mobile-overlay .nav-links>li>a,
    .mobile-overlay .mobile-menu-link-wrapper>a {
        color: var(--text-primary);
        text-decoration: none;
        font-size: 2rem;
        font-weight: 600;
        padding: 10px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        display: inline-block;
    }

    .mobile-overlay.active .nav-links>li>a,
    .mobile-overlay.active .mobile-menu-link-wrapper>a {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-overlay.active .nav-links li:nth-child(1) a {
        transition-delay: 0.2s;
    }

    .mobile-overlay.active .nav-links li:nth-child(2) a {
        transition-delay: 0.3s;
    }

    .mobile-overlay.active .nav-links li:nth-child(3) a {
        transition-delay: 0.4s;
    }

    .mobile-overlay.active .nav-links li:nth-child(4) a {
        transition-delay: 0.5s;
    }

    .mobile-overlay.active .nav-links li:nth-child(5) a {
        transition-delay: 0.6s;
    }

    /* Mobile Menu Submenu */
    .mobile-menu-item-with-submenu .mobile-menu-link-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .submenu-toggle-btn {
        background: none;
        border: none;
        color: var(--primary-accent);
        font-size: 2.5rem;
        margin-left: 15px;
        cursor: pointer;
        transition: transform 0.3s ease;
        padding: 5px;
        line-height: 1;
    }

    .mobile-menu-item-with-submenu.active .submenu-toggle-btn {
        transform: rotate(45deg);
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        text-align: center;
    }

    .mobile-menu-item-with-submenu.active .mobile-submenu {
        max-height: 1000px;
    }

    .mobile-mega-menu-column {
        padding-top: 20px;
    }

    .mobile-mega-menu-column h4 {
        color: var(--primary-accent);
        font-size: 1.2rem;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .mobile-mega-menu-column ul {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
    }

    .mobile-mega-menu-column ul li a {
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-secondary);
        padding: 8px 0;
        display: block;
    }

    /* General responsive adjustments */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-column:nth-child(1) .faq-item:last-child {
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    #newsletter-email,
    .newsletter-form .cta-button {
        border-radius: 8px;
    }
}

/* =================================================================
   6. HERO CTA BUTTON (GLOWING)
================================================================= */
.hero-cta-button {
    display: inline-block;
    padding: 20px 40px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--primary-accent);
    border-radius: 8px;
    position: relative;
    background: transparent;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-glow-white 4s ease-in-out infinite;
}

.hero-cta-button:hover {
    animation-play-state: paused;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 255, 255, 0.5);
}

@keyframes pulse-glow-white {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

/* =================================================================
   7. UTILITY CLASSES
================================================================= */
/* Display utilities */
.hidden {
    display: none !important;
}

.display-inline-block {
    display: inline-block !important;
}

/* Opacity utilities */
.opacity-full {
    opacity: 1 !important;
}

/* Margin utilities */
.mt-20 {
    margin-top: 20px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mt-80 {
    margin-top: 80px !important;
}

/* Padding utilities */
.pt-0 {
    padding-top: 0 !important;
}

.pt-60 {
    padding-top: 60px !important;
}

/* Background utilities */
.bg-dark {
    background-color: var(--background-dark) !important;
}

.bg-lightly-dark {
    background-color: var(--background-lightly-dark) !important;
}

/* Layout order utilities (for flex/grid) */
.order-1 {
    order: 1 !important;
}

.order-2 {
    order: 2 !important;
}

/* Text color utilities */
.text-primary {
    color: var(--text-primary) !important;
}

.text-primary-accent {
    color: var(--primary-accent) !important;
}

/* Link styling for case studies */
.case-study-link {
    color: var(--primary-accent);
    text-decoration: none;
}

.case-study-link:hover {
    text-decoration: underline;
}

/* Additional margin utilities */
.mb-0 {
    margin-bottom: 0 !important;
}

/* Border utilities */
.border-custom {
    border-color: var(--border-color) !important;
}

/* Case study section styles */
.challenge-title,
.solution-title {
    color: var(--text-primary) !important;
}

/* Solution section layout (reversed order for alternating layout) */
.solution-image {
    order: 2 !important;
}

.solution-content {
    order: 1 !important;
}