/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0a192f;
    --color-primary-rgb: 10, 25, 47;
    --color-primary-light: #172a45;
    --color-primary-dark: #020c1b;
    
    --color-cyan: #00f0ff;
    --color-cyan-rgb: 0, 240, 255;
    --color-cyan-dark: #008ba3;
    
    --color-orange: #ff6b00;
    --color-orange-rgb: 255, 107, 0;
    --color-orange-light: #ffaa00;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-text-dark: #0f172a;
    --color-text-medium: #334155;
    --color-text-muted: #64748b;
    
    /* Interfaces / Glassmorphism */
    --glass-bg-light: rgba(255, 255, 255, 0.75);
    --glass-border-light: rgba(255, 255, 255, 0.4);
    --glass-bg-dark: rgba(10, 25, 47, 0.75);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-headers: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions & Curves */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Sizing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 24px -10px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
    --shadow-cyan-glow: 0 0 25px rgba(var(--color-cyan-rgb), 0.3);
    --shadow-orange-glow: 0 0 25px rgba(var(--color-orange-rgb), 0.3);
}

/* ==========================================================================
   RESET & SYSTEM STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px; /* Navbar height offset */
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-orange) 100%);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   BACKGROUND DYNAMIC GLOWS
   ========================================================================== */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: -2;
    opacity: 0.12;
    filter: blur(130px);
}
.bg-glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--color-cyan) 0%, rgba(var(--color-cyan-rgb), 0) 70%);
}
.bg-glow-2 {
    top: 900px;
    left: -200px;
    background: radial-gradient(circle, var(--color-orange) 0%, rgba(var(--color-orange-rgb), 0) 70%);
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY UTILITIES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-headers);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(var(--color-primary-rgb), 0.3);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

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

.btn-icon {
    margin-left: 0.5rem;
    transition: var(--transition-fast);
}
.btn:hover .btn-icon {
    transform: translateX(3px);
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #00b8d4 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-orange {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge System */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--color-cyan-rgb), 0.06);
    border: 1px solid rgba(var(--color-cyan-rgb), 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    color: var(--color-cyan-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-cyan-glow);
    animation: pulse 2s infinite;
}

/* Section Header Standards */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-tag {
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cyan-dark);
}
.section-tag.text-orange {
    color: var(--color-orange);
}
.section-title {
    font-family: var(--font-headers);
    font-size: 1.75rem; /* Scaled down for mobile */
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
}
.section-underline {
    width: 60px;
    height: 4px;
    background-color: var(--color-cyan);
    margin: 0 auto;
    border-radius: var(--radius-full);
}
.section-underline.bg-gradient-orange {
    background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
}
.section-lead {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   HEADER & STICKY NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

/* Header states on Scroll */
.header.scrolled {
    background-color: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border-light);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}
.header:not(.scrolled) {
    padding: 1.25rem 0;
}

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

/* Logo Group */
.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-title {
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
    letter-spacing: 0.03em;
}
.brand-subtitle {
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.28em;
    margin-top: 2px;
}

/* Navigation Links */
.desktop-nav {
    display: none; /* Hide on mobile/tablet */
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-medium);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-cyan);
    transition: var(--transition-fast);
}
.nav-link:hover {
    color: var(--color-cyan-dark);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}
.btn-login:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Hamburger Menu Toggle */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 600;
}
.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
    transform-origin: left center;
}

/* Burger Toggle Active state */
.mobile-nav-toggle.open .burger-bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: -2px;
    left: 2px;
}
.mobile-nav-toggle.open .burger-bar:nth-child(2) {
    width: 0%;
    opacity: 0;
}
.mobile-nav-toggle.open .burger-bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: 2px;
    left: 2px;
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(var(--color-primary-rgb), 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 400;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-container {
    width: 80%;
    max-width: 350px;
    height: 100%;
    background-color: var(--color-white);
    padding: 6rem 2rem 3rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.mobile-nav-overlay.open .mobile-nav-container {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.mobile-nav-link {
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    display: block;
}
.mobile-nav-link:hover {
    color: var(--color-cyan-dark);
    padding-left: 0.5rem;
}
.mobile-action {
    margin-top: 2rem;
}
.btn-login-mobile {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.85rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

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

.hero-title {
    font-family: var(--font-headers);
    font-size: 2rem; /* Scaled down for mobile */
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-medium);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* Right Side - Graphics Grid */
.hero-graphics-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-hero-panel {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
}

/* SVG Rotation animations */
.rotator {
    transform-origin: 250px 250px;
    animation: rotateCW 40s linear infinite;
}
.rotator-reverse {
    transform-origin: 250px 250px;
    animation: rotateCCW 60s linear infinite;
}

/* Floating Badges */
.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
    .hero-floating-card {
        display: none !important; /* Hide floating badges on mobile to prevent horizontal overflow */
    }
}

.hero-floating-card.top-left {
    top: 5%;
    left: -5%;
}

.hero-floating-card.bottom-right {
    bottom: 5%;
    right: -5%;
}

.metric-icon {
    font-size: 1.5rem;
}
.icon-cyan {
    color: var(--color-cyan-dark);
}
.icon-orange {
    color: var(--color-orange);
}

.metric-val {
    display: block;
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.1;
}

.metric-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-lead {
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--color-text-medium);
    margin-bottom: 2rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
}

.value-icon-container {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
    border: 1px solid var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    color: var(--color-cyan-dark);
    transition: var(--transition-smooth);
}
.value-item:hover .value-icon-container {
    background-color: var(--color-primary);
    color: var(--color-cyan);
    transform: scale(1.05);
}

.value-icon {
    font-size: 1.25rem;
}

.value-body h4 {
    font-family: var(--font-headers);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.value-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* About Section Visual Block */
.about-image-block {
    display: flex;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(var(--color-primary-rgb), 0.7) 100%);
    pointer-events: none;
}

.about-stat-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(var(--color-primary-rgb), 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: var(--color-white);
}

.stat-num {
    display: block;
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1.1;
}

.stat-title {
    display: block;
    font-size: 0.8rem;
    color: var(--color-bg-alt);
    font-weight: 500;
}

/* ==========================================================================
   SERVICES GRID (Hover Card Mechanics)
   ========================================================================== */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem; /* Reduced padding on mobile */
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

@media (min-width: 480px) {
    .service-card {
        padding: 2.25rem; /* Original padding on larger devices */
    }
}

/* Hover effects */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-bg-alt);
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-cyan-rgb), 0.15);
}
.service-card:hover::after {
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-orange) 100%);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 2;
    transition: var(--transition-bounce);
}
.service-card:hover .service-icon-wrap {
    transform: scale(1.08) rotate(5deg);
}

/* Icon specific glows */
.icon-glow-cyan {
    background-color: rgba(var(--color-cyan-rgb), 0.08);
    color: var(--color-cyan-dark);
}
.icon-glow-orange {
    background-color: rgba(var(--color-orange-rgb), 0.08);
    color: var(--color-orange);
}
.icon-glow-orange-light {
    background-color: rgba(255, 170, 0, 0.08);
    color: var(--color-orange-light);
}
.icon-glow-cyan-light {
    background-color: rgba(var(--color-cyan-rgb), 0.08);
    color: #008ba3;
}

.service-card-title {
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card-description {
    color: var(--color-text-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.bullet-arrow {
    color: var(--color-cyan-dark);
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.service-card-footer {
    border-top: 1px solid var(--color-bg-alt);
    padding-top: 1.25rem;
}

.service-link {
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.service-link:hover {
    color: var(--color-cyan-dark);
}
.card-arrow {
    transition: var(--transition-fast);
}
.service-link:hover .card-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   SERVICES SECTION (DARK THEME COLOR SCHEME)
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.services-section .section-title {
    color: var(--color-white);
}

.services-section .section-lead {
    color: rgba(255, 255, 255, 0.65);
}

/* Service Card Dark Theme Overrides */
.services-section .service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.services-section .service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--color-cyan-rgb), 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.services-section .service-card-title {
    color: var(--color-white);
}

.services-section .service-card-description {
    color: rgba(255, 255, 255, 0.7);
}

.services-section .service-card-bullets {
    color: rgba(255, 255, 255, 0.5);
}

.services-section .service-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.services-section .service-link {
    color: var(--color-cyan);
}

.services-section .service-link:hover {
    color: var(--color-white);
}

/* ==========================================================================
   CLIENTS LOGO TICKER
   ========================================================================== */
.clients-section {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.clients-ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}
/* Blur masks on edges */
.clients-ticker-wrap::before,
.clients-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.clients-ticker-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg-light) 0%, transparent 100%);
}
.clients-ticker-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-bg-light) 0%, transparent 100%);
}

.clients-ticker {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-headers);
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}
.ticker-item:hover {
    opacity: 1;
    color: var(--color-primary);
}

.ticker-icon {
    font-size: 1.35rem;
    color: var(--color-cyan-dark);
}

/* Clients Directory Grid & Cards Overrides */
.client-address {
    font-size: 0.82rem !important; /* Smaller size override */
    color: var(--color-text-muted) !important; /* Lighter/faded color override */
    opacity: 0.8 !important; /* Faded opacity override */
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.address-icon {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--color-orange);
    font-size: 0.95rem;
}

.gstin-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gstin-value {
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary-light);
    background-color: var(--color-bg-alt);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
}

.service-card:hover .gstin-value {
    color: var(--color-orange);
    background-color: rgba(var(--color-orange-rgb), 0.05);
    border-color: rgba(var(--color-orange-rgb), 0.1);
}

/* ==========================================================================
   CONTACT US SECTION & FLOATING LABEL INPUTS
   ========================================================================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

/* Form block customization */
.contact-form-block {
    background-color: var(--color-white);
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.form-title-block {
    margin-bottom: 2rem;
}
.form-title-block h3 {
    font-family: var(--font-headers);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.form-title-block p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Floating Input Group */
.input-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.85rem 0.5rem;
    border-bottom: 2px solid var(--color-bg-alt);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
    background: transparent;
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-group textarea ~ label {
    top: 1.5rem;
}

/* Label transformation states */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-cyan-dark);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-orange) 100%);
    transition: var(--transition-smooth);
}

.input-group input:focus ~ .input-underline,
.input-group textarea:focus ~ .input-underline {
    width: 100%;
}

/* Validation styling states */
.validation-msg {
    display: block;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-group.error input,
.input-group.error textarea {
    border-bottom-color: #ef4444;
}
.input-group.error .validation-msg {
    opacity: 1;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

/* Form success overlay modal */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--color-primary-rgb), 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.form-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.form-overlay-content {
    text-align: center;
    color: var(--color-white);
    padding: 2rem;
    max-width: 400px;
    transform: scale(0.9);
    transition: var(--transition-bounce);
}
.form-overlay.open .form-overlay-content {
    transform: scale(1);
}

.success-icon-wrap {
    font-size: 4rem;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
}
.form-overlay-content h3 {
    font-family: var(--font-headers);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}
.form-overlay-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Direct Contact Info column */
.contact-info-block {
    display: flex;
    justify-content: center;
}

.contact-info-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.contact-info-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.info-details-list {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.info-details-list h3 {
    font-family: var(--font-headers);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 1.5px solid var(--color-bg-alt);
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.info-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    font-size: 1.15rem;
}

.info-text-lines {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-family: var(--font-headers);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    word-break: break-all; /* Prevent overflow of long email strings on mobile */
}
.info-value:hover {
    color: var(--color-orange);
}

/* ==========================================================================
   CLIENT PORTAL MOCKUP MODAL
   ========================================================================== */
.login-modal-mockup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(var(--color-primary-rgb), 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.login-modal-mockup.open {
    opacity: 1;
    pointer-events: auto;
}

.login-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-bounce);
}
.login-modal-mockup.open .login-box {
    transform: scale(1);
}

.login-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.75rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
}
.login-close-btn:hover {
    color: var(--color-primary);
}

.login-box h3 {
    font-family: var(--font-headers);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.login-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.brand-title-footer {
    color: var(--color-white);
}
.brand-subtitle-footer {
    color: rgba(255, 255, 255, 0.4);
}
.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-link:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-family: var(--font-headers);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-cyan);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}
.copyright a {
    color: var(--color-cyan);
    font-weight: 500;
}
.copyright a:hover {
    color: var(--color-orange);
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
.back-to-top:hover {
    background-color: var(--color-cyan);
    color: var(--color-primary-dark);
    border-color: var(--color-cyan);
    transform: translateY(-4px);
}

/* ==========================================================================
   INTERSECTION OBSERVER REVEAL EFFECT HOOKS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Initial state animation classes for Hero */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.hero-content .fade-in-up:nth-child(2) { animation-delay: 0.3s; }
.hero-content .fade-in-up:nth-child(3) { animation-delay: 0.5s; }
.hero-content .fade-in-up:nth-child(4) { animation-delay: 0.7s; }
.hero-graphics-container.fade-in-up { animation-delay: 0.9s; }

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--color-cyan-rgb), 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(var(--color-cyan-rgb), 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--color-cyan-rgb), 0);
    }
}
@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes rotateCCW {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
@keyframes ticker {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-50% - 2rem), 0, 0); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
.animate-float-delay {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */

/* Small Devices (Landscape / Mobile MD) */
@media (min-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-ctas {
        flex-direction: row;
    }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Large Devices (Desktops / Laptops) */
@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }
    .mobile-nav-toggle {
        display: none;
    }
    .hero-section {
        padding-top: 180px;
        padding-bottom: 120px;
    }
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
    .hero-content {
        text-align: left;
    }
    .hero-subtitle {
        margin-left: 0;
    }
    .hero-ctas {
        justify-content: flex-start;
    }
    
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 5rem;
    }
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 5rem;
    }
    .contact-form-block {
        padding: 3rem;
    }
}

/* Extra Large Devices (Large Desktops & 4K) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 650px;
    }
    .section-title {
        font-size: 3rem;
    }
}
