/* Base Styles & Variables */
:root {
    --primary-color: #3182CE;
    --secondary-color: #FFA800;
    --bg-dark: #000000;
    --bg-light: #0B0F19;
    --text-main: #F8FAFC;
    --text-muted: #A0AEC0;
    --glass-bg: rgba(11, 15, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.nebula-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(49, 130, 206, 0.04), transparent 60%),
                radial-gradient(circle at 85% 30%, rgba(15, 41, 66, 0.03), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(49, 130, 206, 0.3);
}

a.glass-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.2);
}

.btn-primary:hover {
    filter: brightness(1.08);
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid rgba(49, 130, 206, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: rgba(49, 130, 206, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(49, 130, 206, 0.25);
    transform: translateY(-1px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Navigation Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-trigger span.arrow {
    font-size: 0.62rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
    margin-top: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

/* Open on hover */
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.nav-dropdown:hover .dropdown-trigger span.arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    font-size: 0.88rem !important;
    font-weight: 500;
    transition: background 0.25s, color 0.25s;
    text-align: left;
}

.dropdown-menu a:hover {
    background: rgba(15, 41, 66, 0.04);
    color: var(--secondary-color) !important;
}

/* Global Subpage Breadcrumb Header with BG image */
.page-header {
    position: relative;
    padding-top: 160px;
    padding-bottom: 4rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-color);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 3.5rem;
    overflow: hidden;
}
.page-header-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 60%, #000000 100%);
    z-index: 1;
}
.page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.page-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .88rem;
    transition: color .25s;
}
.page-back:hover {
    color: var(--primary-color);
}
.page-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}
.page-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--text-muted);
    font-size: .88rem;
}

/* Hero Section Redesign: Full-Page Slider */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
    padding: 0;
}

.hero-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.08);
    transition: transform 7.5s ease-out;
    filter: brightness(1.22) contrast(1.06) saturate(1.05);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
    z-index: -1;
}

.hero-slide-content {
    max-width: 650px;
    padding: 0;
    margin: 5rem 0 0 8%;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, opacity 0.8s ease-out 0.4s;
    text-align: left;
}

.hero-slide.active .hero-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-slide-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-inline: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

/* Slider Controls */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 41, 66, 0.15);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    user-select: none;
}

.hero-slider-arrow:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-slider-arrow.prev {
    left: 2rem;
}

.hero-slider-arrow.next {
    right: 2rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 41, 66, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-slider-dot.active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 10px;
    box-shadow: none;
}

@media (max-width: 768px) {
    .hero-slide-content {
        margin: 5rem auto 0;
        text-align: center;
        width: 100%;
        padding: 0 1.5rem;
    }
    .hero-slide-content h1 {
        font-size: 2.5rem;
    }
    .hero-slide-content p {
        font-size: 1.05rem;
        margin-inline: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-slider-arrow {
        display: none;
    }
    .hero-slider-dots {
        bottom: 2rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(49, 130, 206, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(49, 130, 206, 0.25);
}

.service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Service Card Thumbnail styles */
.service-card-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 41, 66, 0.08);
}

.service-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-thumb-img {
    transform: scale(1.06);
}

/* Industries Card Thumbnail styles */
.ind-card-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(15, 41, 66, 0.08);
}

.ind-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ind-card:hover .ind-thumb-img {
    transform: scale(1.06);
}

.cosmic-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

/* About Section */
.about-us {
    padding: 6rem 0;
    position: relative;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.col-6 {
    flex: 1 1 500px;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-list strong {
    color: var(--text-main);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    position: relative;
}

.newsletter-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    min-height: 300px;
}

.newsletter-left {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(49, 130, 206, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-right: 1px solid var(--glass-border);
}

.newsletter-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(49, 130, 206, 0.12) 100%);
    transform: skewX(-10deg);
    border-right: 1px solid var(--glass-border);
    z-index: 1;
}

@media (max-width: 768px) {
    .newsletter-card {
        grid-template-columns: 1fr;
    }
    .newsletter-left {
        padding: 3rem 2rem;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    .newsletter-left::after {
        display: none;
    }
    .newsletter-right-content {
        padding: 3rem 2rem;
    }
}

.newsletter-graphic-container {
    position: relative;
    width: 100%;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.newsletter-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(49, 130, 206, 0.2));
}

.newsletter-right-content {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(11, 15, 25, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}

.newsletter-cat-label {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(49, 130, 206, 0.12);
    padding: 0.25rem 0.85rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(49, 130, 206, 0.15);
}

.newsletter-right-content h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.newsletter-right-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}.newsletter-form-container {
    display: flex;
    gap: 1rem;
    max-width: 620px;
    margin-top: 1.5rem;
}

.newsletter-input-field {
    flex: 1;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-main) !important;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-input-field:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(49, 130, 206, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.newsletter-input-field::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-subscribe-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.9rem 2.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
    font-size: 0.95rem;
    white-space: nowrap;
}

.newsletter-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.45);
    filter: brightness(1.05);
}

.newsletter-subscribe-btn:active {
    transform: translateY(1px);
}

@media (max-width: 600px) {
    .newsletter-form-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    .newsletter-input-field {
        width: 100%;
    }
    .newsletter-subscribe-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Footer Styling */
/* =============================================
   PROFESSIONAL FOOTER
   ============================================= */
.site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--glass-border);
    padding: 0 0 0;
}
.footer-top-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 60%, transparent 100%);
    width: 100%;
    margin-bottom: 0;
}
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr;
    gap: 2rem;
    padding: 4rem 0 3rem;
    align-items: start;
}
.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin: 0 0 1.25rem;
}
.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    max-width: 260px;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.footer-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.footer-social-btn svg {
    width: 16px;
    height: 16px;
}
.footer-social-btn:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Nav columns */
.footer-nav-col {}
.footer-col-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 1.5rem;
}
.footer-col-accent {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    flex-shrink: 0;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: color 0.22s, padding-left 0.22s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.footer-links li a::before {
    content: '›';
    font-size: 1rem;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.22s;
}
.footer-links li a:hover {
    color: #fff;
    padding-left: 0.4rem;
}
.footer-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info column */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.footer-contact-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.footer-contact-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}
.footer-contact-text span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-contact-text a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.22s;
}
.footer-contact-text a:hover {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.22s;
}
.footer-bottom-links a:hover {
    color: var(--secondary-color);
}
.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    .footer-main-grid .footer-nav-col:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 900px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-logo-img {
        margin: 0 auto 1.25rem;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col-heading {
        justify-content: center;
    }
    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}
.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin: 0;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-socials a:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: start;
}
.footer-contact-icon {
    font-size: 1.2rem;
}
.footer-contact-text span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-contact-text a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s;
}
.footer-contact-text a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}
.footer-bottom-links a:hover {
    color: var(--primary-color);
}
.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}
.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 2.5rem;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-logo-img {
        margin: 0 auto;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hologram-effect {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .contact-form { flex-direction: column; }
}

/* Testimonials Section Redesign */
.testimonials {
    padding: 7rem 0;
    position: relative;
    background-color: var(--bg-light);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.testimonials-slider-wrapper {
    position: relative;
    max-width: 850px;
    margin: 3.5rem auto 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.testimonials-slider-wrapper:hover {
    border-color: rgba(49, 130, 206, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}
.testimonial-slider-container {
    position: relative;
    width: 100%;
    min-height: 220px;
    overflow: hidden;
}
.testimonial-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.testimonial-quote-large {
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(15, 41, 66, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.testimonial-rating-stars {
    color: gold;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}
.testimonial-body-text {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-style: italic;
    font-family: var(--font-head);
    letter-spacing: 0.2px;
}
.testimonial-client-footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.testimonial-client-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(49, 130, 206, 0.25);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.testimonial-client-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    font-family: var(--font-head);
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.testimonial-client-info h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
    font-family: var(--font-head);
    font-weight: 600;
}
.testimonial-client-info p {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin: 0;
    font-family: var(--font-head);
    letter-spacing: 0.5px;
}
.testimonial-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}
.slider-dots-container {
    display: flex;
    gap: 0.5rem;
}
.slider-dot-item {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 41, 66, 0.15);
    cursor: pointer;
    transition: all 0.35s ease;
}
.slider-dot-item.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 10px;
    box-shadow: none;
}
.slider-arrows-group {
    display: flex;
    gap: 0.75rem;
}
.slider-arrow-btn {
    background: rgba(15, 41, 66, 0.02);
    border: 1px solid rgba(15, 41, 66, 0.15);
    color: var(--text-muted);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}
.slider-arrow-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(15, 41, 66, 0.05);
    box-shadow: none;
}
@media (max-width: 768px) {
    .testimonials-slider-wrapper {
        padding: 2rem;
        margin: 2rem 1rem 0;
    }
    .testimonial-body-text {
        font-size: 1.05rem;
    }
}

/* Footer Contrast Helpers for Light Mode Dark Footer */
footer p {
    color: #cbd5e1 !important;
}
.footer-links a {
    color: #94a3b8 !important;
}
.footer-links a:hover {
    color: #ffffff !important;
}
.footer-contact-text span, 
.footer-contact-text a {
    color: #94a3b8 !important;
}
.footer-contact-text a:hover {
    color: #ffffff !important;
}
.footer-bottom-links a {
    color: #94a3b8 !important;
}
.footer-bottom-links a:hover {
    color: #ffffff !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Subpage details form input support */
.form-group-layout input, 
.form-group-layout textarea, 
.form-group-layout select {
    background: #FFFFFF !important;
    border: 1px solid var(--glass-border) !important;
    color: #1a202c !important;
    -webkit-text-fill-color: #1a202c !important;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-group-layout input::placeholder,
.form-group-layout textarea::placeholder {
    color: #718096 !important;
    opacity: 1;
}
.form-group-layout input:-webkit-autofill,
.form-group-layout input:-webkit-autofill:hover,
.form-group-layout input:-webkit-autofill:focus,
.form-group-layout textarea:-webkit-autofill,
.form-group-layout select:-webkit-autofill {
    -webkit-text-fill-color: #1a202c !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}
.form-group-layout input:focus, 
.form-group-layout textarea:focus, 
.form-group-layout select:focus {
    border-color: var(--secondary-color) !important;
}
.form-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.info-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.info-card h3 {
    color: var(--primary-color) !important;
}
.info-item strong {
    color: var(--primary-color) !important;
}
.info-item a {
    color: var(--secondary-color) !important;
}

/* Alert boxes */
.alert-box {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-box.success {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #15803d !important;
}
.alert-box.error {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    color: #b91c1c !important;
}




/* Slider Badge Styling */
.badge {
    display: inline-block;
    padding: 0.45rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--secondary-color) !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Smart Sticky Navbar (Headroom Effect) */
.navbar {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.navbar-scrolled {
    background: rgba(11, 15, 25, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* Mobile Toggle Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animate to X icon */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 15, 25, 0.96) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6.5rem 2rem 2.5rem;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.25rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow-y: auto;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    /* Dropdown mobile adaptations */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-trigger {
        justify-content: center;
        font-size: 1.15rem;
        padding: 0.5rem 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
        padding: 0 !important;
        width: 100%;
        min-width: unset;
        box-shadow: none;
    }
    
    .nav-dropdown.open .dropdown-menu {
        max-height: 380px;
        padding: 0.75rem 0 !important;
    }
    
    .dropdown-menu a {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
        color: var(--text-muted);
    }
    
    /* Disable body scroll when menu is active */
    body.menu-open {
        overflow: hidden;
    }
}


/* ============================================================
   3D LAYERED SCALE CTA SECTION
   ============================================================ */

/* Wrapper — defines stacking context */
.scale-cta-3d {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    isolation: isolate;
}

/* --- Layer 1: BG photo (deepest z-index) --- */
.scale-bg-image {
    position: absolute;
    inset: 0;
    background: url('assets/scale_operations_bg.jpg') center/cover no-repeat;
    z-index: 0;
    transform: scale(1.06);       /* slight zoom so parallax has room */
    will-change: transform;
}

/* --- Layer 2: Depth overlay — vignette + dark gradient --- */
.scale-depth-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 8, 18, 0.45) 0%, rgba(5, 8, 18, 0.08) 50%, rgba(5, 8, 18, 0.45) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(5, 8, 18, 0.25) 100%);
}

/* --- Layer 3: Perspective grid lines --- */
.scale-grid-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.4) 60%, transparent 100%);
    animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* --- Layer 4: Glowing ambient orbs --- */
.scale-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite alternate;
}
.scale-orb-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    top: -100px; left: -80px;
    animation-delay: 0s;
}
.scale-orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255, 168, 0, 0.25) 0%, transparent 70%);
    bottom: -80px; right: -60px;
    animation-delay: -3s;
}
.scale-orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 70%);
    top: 50%; left: 55%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}
@keyframes orbFloat {
    0%   { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.08); }
}

/* --- Layer 5: Horizontal light streak --- */
.scale-light-streak {
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    z-index: 4;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(37, 99, 235, 0.5) 30%,
        rgba(255, 168, 0, 0.6) 50%,
        rgba(37, 99, 235, 0.5) 70%,
        transparent 100%
    );
    box-shadow: 0 0 20px 2px rgba(37, 99, 235, 0.3);
    animation: streakSlide 5s ease-in-out infinite alternate;
}
@keyframes streakSlide {
    0%   { opacity: 0.4; transform: translateY(-20px) scaleX(0.8); }
    100% { opacity: 0.9; transform: translateY(20px) scaleX(1); }
}

/* --- Layer 6: The floating 3D card --- */
.scale-3d-card {
    position: relative;
    z-index: 10;
    max-width: 860px;
    margin: 0 auto;
    padding: 3.5rem 4rem;
    background: rgba(8, 14, 35, 0.22);
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    backdrop-filter: blur(4px) saturate(140%);
    -webkit-backdrop-filter: blur(4px) saturate(140%);

    /* 3D lift effect */
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 2px 0 rgba(255,255,255,0.08) inset,
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(37, 99, 235, 0.15);

    transform: perspective(1200px) rotateX(1.5deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}
.scale-3d-card:hover {
    transform: perspective(1200px) rotateX(0deg) translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 2px 0 rgba(255,255,255,0.1) inset,
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 70px rgba(37, 99, 235, 0.25);
}

/* Animated glowing border around card */
.scale-card-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.6) 0%,
        rgba(255, 168, 0, 0.4) 40%,
        rgba(0, 212, 255, 0.3) 70%,
        rgba(37, 99, 235, 0.6) 100%
    );
    background-size: 300% 300%;
    animation: borderGlow 6s ease infinite;
    z-index: -1;
    filter: blur(1px);
    opacity: 0.6;
}
@keyframes borderGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Top accent bar on card */
.scale-card-top-accent {
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), var(--primary-color), transparent);
    border-radius: 0 0 4px 4px;
}

/* Badge */
.scale-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    font-size: 0.78rem;
    font-weight: 600;
    color: #93c5fd;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.scale-pulse-dot {
    width: 7px; height: 7px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7);
    animation: scalePulse 2s ease-in-out infinite;
}
@keyframes scalePulse {
    0%   { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(96, 165, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

/* Title */
.scale-card-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.scale-title-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.5));
}

/* Description */
.scale-card-desc {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

/* Stats row */
.scale-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.scale-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0 2.5rem;
    flex: 1;
}
.scale-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.scale-stat-label {
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}
.scale-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* Buttons */
.scale-card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.scale-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45), 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.12);
}
.scale-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.6), 0 4px 12px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #3b82f6, var(--primary-color));
}
.scale-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.scale-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
    transform: translateY(-3px);
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .scale-3d-card {
        padding: 2.5rem 1.75rem;
        transform: none;
    }
    .scale-3d-card:hover {
        transform: translateY(-4px);
    }
    .scale-stats-row {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
    }
    .scale-stat-divider { display: none; }
    .scale-stat { padding: 0.5rem 1.5rem; }
}



/* ==========================================================================
   GLOBAL MOBILE RESPONSIVE UPGRADE (Added for perfect mobile viewing)
   ========================================================================== */
@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .ar-split-row, .ar-grid-4, .ar-vision-list, .ar-stats-row,
    .ecom-grid, .health-grid, .saas-grid, .log-grid, .cx-grid, .va-grid,
    .rob-grid, .tele-grid, .energy-grid, .agent-grid, .ind-grid,
    .scale-stats-row, .bento-grid, .services-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .ar-hero-banner, .ecom-hero, .health-hero, .saas-hero, .log-hero,
    .cx-hero, .va-hero, .rob-hero, .tele-hero, .energy-hero, .agent-hero {
        padding: 2rem 1.2rem !important;
        margin-bottom: 2.5rem !important;
        border-radius: 16px !important;
    }
    .ar-hero-title, .ecom-hero h1, .health-hero h1, .saas-hero h1, .log-hero h1,
    .cx-hero h1, .va-hero h1, .rob-hero h1, .tele-hero h1, .energy-hero h1, .agent-hero h1,
    h1, .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }
    .ar-section-title, h2, .section-title {
        font-size: 1.6rem !important;
    }
    .ar-card, .ar-vision-box, .ar-stats-row, .ar-cta-banner,
    .scale-3d-card, .service-card, .bento-card {
        padding: 1.5rem 1.2rem !important;
    }
    .ar-vision-list {
        grid-template-columns: 1fr !important;
    }
    .ar-btn, .btn-primary, .ecom-btn-primary, .health-btn-primary, .saas-btn-primary,
    .log-btn-primary, .cx-btn-primary, .va-btn-primary, .rob-btn-primary, .tele-btn-primary,
    .energy-btn-primary, .agent-btn-primary, .spec-btn {
        padding: 1rem 1.8rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    .ar-stat-num {
        font-size: 2rem !important;
    }
}
@media screen and (max-width: 480px) {
    .ar-hero-title, h1, .hero-title {
        font-size: 1.6rem !important;
    }
    .ar-section-title, h2 {
        font-size: 1.4rem !important;
    }
    .ar-hero-banner, .ar-card, .ar-vision-box, .ar-stats-row, .ar-cta-banner {
        padding: 1.25rem 1rem !important;
    }
    .ar-pill-tags {
        gap: 0.5rem !important;
    }
    .ar-pill {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}
