/* LogistiCore Technologies Ltd - Main Stylesheet */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

:root {
    /* Brand Colors - Cyan Tech Theme */
    --primary-cyan: #00BCD4;
    --primary-blue: #0ea5e9;
    --dark-navy: #0A1628;
    --dark-bg: #0f172a;
    --light-cyan: #67e8f9;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --mid-gray: #64748b;
    --border-gray: #e2e8f0;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #1e293b;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-bg) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 2px 20px rgba(0, 188, 212, 0.15),
        0 0 40px rgba(0, 188, 212, 0.1),
        inset 0 -2px 0 rgba(0, 188, 212, 0.3);
    overflow: visible;
    border-bottom: 2px solid rgba(0, 188, 212, 0.3);
    animation: header-glow 4s ease-in-out infinite;
}

@keyframes header-glow {
    0%, 100% {
        box-shadow: 
            0 2px 20px rgba(0, 188, 212, 0.15),
            0 0 40px rgba(0, 188, 212, 0.1),
            inset 0 -2px 0 rgba(0, 188, 212, 0.3);
        border-bottom-color: rgba(0, 188, 212, 0.3);
    }
    50% {
        box-shadow: 
            0 2px 30px rgba(0, 188, 212, 0.3),
            0 0 60px rgba(0, 188, 212, 0.2),
            inset 0 -2px 0 rgba(0, 188, 212, 0.6);
        border-bottom-color: rgba(0, 188, 212, 0.6);
    }
}

/* Scanline Effect */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 188, 212, 0.05) 50%, 
        transparent 100%);
    animation: scanline 4s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateX(3px);
}

.logo {
    height: 160px;
    width: auto;
    animation: logo-animate 4s ease-in-out infinite, logo-rotate 20s linear infinite;
    transition: all 0.4s ease;
    mix-blend-mode: lighten;
    opacity: 0.95;
    filter: drop-shadow(0 0 30px rgba(0, 188, 212, 0.5)) 
            drop-shadow(0 0 50px rgba(0, 188, 212, 0.3))
            drop-shadow(0 0 70px rgba(0, 188, 212, 0.1));
    transform-origin: center center;
}

.logo:hover {
    transform: scale(1.08) rotate(3deg);
    opacity: 1;
    filter: drop-shadow(0 0 35px rgba(0, 188, 212, 0.6)) 
            drop-shadow(0 0 50px rgba(0, 188, 212, 0.3));
}

/* Enhanced Logo Animation - softer, more blended with breathing effect */
@keyframes logo-animate {
    0%, 100% {
        filter: drop-shadow(0 0 25px rgba(0, 188, 212, 0.4)) 
                drop-shadow(0 0 40px rgba(0, 188, 212, 0.2))
                drop-shadow(0 0 60px rgba(0, 188, 212, 0.1));
        transform: translateY(0) scale(1);
        opacity: 0.93;
    }
    25% {
        filter: drop-shadow(0 0 35px rgba(14, 165, 233, 0.5)) 
                drop-shadow(0 0 50px rgba(14, 165, 233, 0.3))
                drop-shadow(0 0 70px rgba(14, 165, 233, 0.15));
        transform: translateY(-5px) scale(1.03);
        opacity: 0.96;
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 188, 212, 0.6)) 
                drop-shadow(0 0 60px rgba(0, 188, 212, 0.4))
                drop-shadow(0 0 80px rgba(0, 188, 212, 0.2));
        transform: translateY(-8px) scale(1.06);
        opacity: 1;
    }
    75% {
        filter: drop-shadow(0 0 35px rgba(14, 165, 233, 0.5)) 
                drop-shadow(0 0 50px rgba(14, 165, 233, 0.3))
                drop-shadow(0 0 70px rgba(14, 165, 233, 0.15));
        transform: translateY(-5px) scale(1.03);
        opacity: 0.96;
    }
}

/* Subtle rotation animation for the logo */
@keyframes logo-rotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Brand name styles removed - logo is now standalone */

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 0 transparent;
    z-index: 10;
    white-space: nowrap;
}

/* Active page indicator */
/* Default state - no specific styling needed, handled by .active class below */

/* When on home page (index.html) */
body:has(section.hero) .nav-links a[href="index.html"],
/* When on IT Support page */
body:has(.page-header h1:contains("IT Support")) .nav-links a[href="it-support.html"],
/* Active page based on current URL pattern */
.nav-links a.active {
    color: var(--light-cyan);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--light-cyan);
    text-shadow: 
        0 0 10px rgba(0, 188, 212, 0.6),
        0 0 20px rgba(0, 188, 212, 0.4),
        0 0 30px rgba(0, 188, 212, 0.2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.8);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 10px rgba(0, 188, 212, 0.2),
        0 0 20px rgba(0, 188, 212, 0.1);
    animation: button-pulse 3s ease-in-out infinite;
}

@keyframes button-pulse {
    0%, 100% {
        box-shadow: 
            0 2px 10px rgba(0, 188, 212, 0.2),
            0 0 20px rgba(0, 188, 212, 0.1);
    }
    50% {
        box-shadow: 
            0 2px 15px rgba(0, 188, 212, 0.4),
            0 0 30px rgba(0, 188, 212, 0.2);
    }
}

.login-btn::after {
    display: none;
}

.login-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 5px 25px rgba(0, 188, 212, 0.5),
        0 0 40px rgba(0, 188, 212, 0.3);
    animation-play-state: paused;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1e3a5f 50%, var(--dark-bg) 100%);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Animated Tech Canvas Background */
.tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Tech Grid Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,188,212,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* Animated Circuit Lines */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 188, 212, 0.1) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(14, 165, 233, 0.1) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: circuit-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes circuit-pulse {
    0%, 100% { 
        background-position: 0% 0%, 0% 0%;
        opacity: 0.3;
    }
    50% { 
        background-position: 100% 100%, 100% 100%;
        opacity: 0.6;
    }
}

/* Floating Tech Particles */
.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.tech-particles::before,
.tech-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--primary-cyan),
        100px 50px 0 var(--primary-cyan),
        200px 100px 0 var(--light-cyan),
        300px 150px 0 var(--primary-blue),
        400px 80px 0 var(--primary-cyan),
        500px 180px 0 var(--light-cyan),
        600px 120px 0 var(--primary-cyan),
        700px 90px 0 var(--primary-blue),
        800px 160px 0 var(--light-cyan),
        900px 70px 0 var(--primary-cyan),
        1000px 140px 0 var(--primary-blue),
        1100px 110px 0 var(--light-cyan);
    animation: float-particles 15s linear infinite;
}

.tech-particles::after {
    animation-delay: -7.5s;
    animation-duration: 20s;
}

@keyframes float-particles {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-600px) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 188, 212, 0.7);
    position: relative;
    animation: hero-title-pulse 3s ease-in-out infinite;
}

@keyframes hero-title-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 188, 212, 0.6));
        transform: scale(1.02);
    }
}

/* Add glowing underline to hero title */
.hero h1::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue), var(--light-cyan));
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-cyan);
    animation: hero-glow-pulse 2s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--primary-cyan), 0 0 30px rgba(0, 188, 212, 0.5);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 35px var(--light-cyan), 0 0 50px var(--primary-cyan);
        opacity: 0.8;
    }
}

.hero-subheading {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    color: var(--light-cyan);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 188, 212, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-cyan);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.4);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid var(--light-cyan);
    font-weight: 600;
}

.btn-tertiary:hover {
    background: var(--light-cyan);
    color: var(--dark-navy);
    border-color: var(--light-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(103, 232, 249, 0.4);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

/* Animated subtle tech pattern on white background - ENHANCED */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 188, 212, 0.08) 0%, rgba(0, 188, 212, 0.02) 40%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.02) 40%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.06) 0%, rgba(0, 188, 212, 0.01) 50%, transparent 70%),
        radial-gradient(circle at 10% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(0, 188, 212, 0.05) 0%, transparent 50%);
    animation: subtle-shift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Animated floating particles overlay - NOW VISIBLE! */
.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle 8px at 10% 20%, rgba(0, 188, 212, 0.6), rgba(0, 188, 212, 0.2) 50%, transparent 100%),
        radial-gradient(circle 6px at 30% 50%, rgba(14, 165, 233, 0.7), rgba(14, 165, 233, 0.2) 50%, transparent 100%),
        radial-gradient(circle 10px at 60% 30%, rgba(0, 188, 212, 0.5), rgba(0, 188, 212, 0.15) 50%, transparent 100%),
        radial-gradient(circle 7px at 80% 60%, rgba(14, 165, 233, 0.6), rgba(14, 165, 233, 0.2) 50%, transparent 100%),
        radial-gradient(circle 9px at 40% 80%, rgba(0, 188, 212, 0.6), rgba(0, 188, 212, 0.15) 50%, transparent 100%),
        radial-gradient(circle 8px at 90% 90%, rgba(14, 165, 233, 0.7), rgba(14, 165, 233, 0.2) 50%, transparent 100%),
        radial-gradient(circle 5px at 25% 15%, rgba(0, 188, 212, 0.5), transparent 100%),
        radial-gradient(circle 6px at 70% 85%, rgba(14, 165, 233, 0.6), transparent 100%),
        radial-gradient(circle 7px at 15% 65%, rgba(0, 188, 212, 0.4), transparent 100%),
        radial-gradient(circle 5px at 85% 35%, rgba(14, 165, 233, 0.5), transparent 100%);
    background-size: 100% 100%;
    animation: float-particles 20s ease-in-out infinite;
    pointer-events: none;
    opacity: 1;
    z-index: 1;
}

@keyframes subtle-shift {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(5deg); }
}

@keyframes float-particles {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-15px); }
    75% { transform: translateY(-30px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

@keyframes pulse-gradient {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--dark-navy);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    position: relative;
    overflow: hidden;
    animation: card-float 6s ease-in-out infinite;
}

/* Stagger the floating animation for each card */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 2s; }
.service-card:nth-child(3) { animation-delay: 4s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-blue), var(--primary-cyan));
    background-size: 300% 300%;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.3);
    border-color: var(--primary-cyan);
    animation-play-state: paused;
}

/* Subtle shimmer effect across cards */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 188, 212, 0.12) 50%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: shimmer-pass 6s ease-in-out infinite;
    pointer-events: none;
}

.service-card:nth-child(1)::after { animation-delay: 0s; }
.service-card:nth-child(2)::after { animation-delay: 2s; }
.service-card:nth-child(3)::after { animation-delay: 4s; }

@keyframes shimmer-pass {
    0% { left: -60%; }
    20%, 100% { left: 160%; }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.5));
    }
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-navy);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--mid-gray);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* ========================================
   SAAS TEASER SECTION
   ======================================== */

.saas-teaser {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    margin: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

/* Data Stream Effect */
.saas-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    animation: data-stream 20s linear infinite;
}

@keyframes data-stream {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

.saas-teaser h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.saas-teaser p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.saas-teaser .btn {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
}

.saas-teaser .btn:hover {
    background: var(--light-gray);
    transform: translateY(-3px) scale(1.05);
}

/* ========================================
   CONTACT STRIP
   ======================================== */

.contact-strip {
    background: var(--light-gray);
    padding: var(--spacing-md);
    text-align: center;
    border-top: 3px solid var(--primary-cyan);
}

.contact-strip h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-navy);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.contact-item span {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: var(--spacing-md);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-legal {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--mid-gray);
}

/* ========================================
   INTERNAL PAGES STYLING
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-bg) 100%);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 188, 212, 0.4),
        inset 0 0 100px rgba(0, 188, 212, 0.15),
        0 0 50px rgba(0, 188, 212, 0.2);
    border-bottom: 4px solid var(--light-cyan);
    animation: header-pulse 3s ease-in-out infinite;
}

@keyframes header-pulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(0, 188, 212, 0.4),
            inset 0 0 100px rgba(0, 188, 212, 0.15),
            0 0 50px rgba(0, 188, 212, 0.2);
        border-bottom-color: var(--light-cyan);
    }
    50% {
        box-shadow: 
            0 4px 30px rgba(0, 188, 212, 0.6),
            inset 0 0 120px rgba(0, 188, 212, 0.25),
            0 0 70px rgba(0, 188, 212, 0.4);
        border-bottom-color: var(--primary-cyan);
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 188, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.2) 0%, transparent 50%);
    animation: pulse-gradient 8s ease-in-out infinite;
    pointer-events: none;
}

/* Add a badge/indicator after the h1 */
.page-header h1::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue), var(--light-cyan));
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-cyan);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--primary-cyan);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 30px var(--light-cyan), 0 0 40px var(--primary-cyan);
        opacity: 0.8;
    }
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 30px rgba(0, 188, 212, 0.7),
        0 0 20px rgba(0, 188, 212, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--light-cyan);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
    color: var(--dark-navy);
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    color: var(--primary-blue);
}

.page-content p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: #475569;
}

.page-content ul, .page-content ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.page-content li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

/* Feature Grid Layout - Better than long lists */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
    border-color: var(--primary-cyan);
}

.feature-box .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-box h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.feature-box ul {
    margin-left: 1.2rem;
    margin-bottom: 0;
}

.feature-box li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Feature boxes inside dark sections need dark styling */
.content-section.bg-dark .feature-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.content-section.bg-dark .feature-box h3 {
    color: var(--white);
}

.content-section.bg-dark .feature-box p,
.content-section.bg-dark .feature-box li {
    color: rgba(255, 255, 255, 0.85);
}

.content-section.bg-dark .feature-box:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: var(--light-cyan);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

/* Section Dividers with Backgrounds */
.content-section {
    padding: 3rem 0;
    position: relative;
}

.content-section.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.content-section.bg-cyan {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    position: relative;
}

.content-section.bg-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle 6px at 15% 25%, rgba(0, 188, 212, 0.3), transparent 100%),
        radial-gradient(circle 5px at 85% 75%, rgba(14, 165, 233, 0.3), transparent 100%),
        radial-gradient(circle 7px at 45% 55%, rgba(0, 188, 212, 0.2), transparent 100%);
    animation: float-particles 15s ease-in-out infinite;
    pointer-events: none;
}

.content-section.bg-dark {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #0f172a 100%);
    color: var(--white);
}

.content-section.bg-dark h2,
.content-section.bg-dark h3 {
    color: var(--white);
}

.content-section.bg-dark p,
.content-section.bg-dark li {
    color: rgba(255, 255, 255, 0.85);
}

/* Info cards inside dark sections need transparent/dark styling */
.content-section.bg-dark .info-card {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--light-cyan);
    color: rgba(255, 255, 255, 0.9);
}

.content-section.bg-dark .info-card h3 {
    color: var(--white);
}

.content-section.bg-dark .info-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Info Cards for Better Layout */
.info-card {
    background: white;
    border-left: 4px solid var(--primary-cyan);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-card.highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left-color: var(--primary-blue);
}

.info-card h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Two-Column Layout for Visual Interest */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    align-items: start;
}

.two-column-layout .column-image {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.two-column-layout .column-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.two-column-layout .column-content {
    padding: 1rem 0;
}

/* Column image inside dark sections */
.content-section.bg-dark .column-image {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Stats/Highlights Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-box .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: #64748b;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: start;
}

.process-step .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step .step-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.process-step .step-content h3 {
    margin-top: 0;
}

/* Process steps in dark sections */
.content-section.bg-dark .process-step .step-content {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.content-section.bg-dark .process-step .step-content h3 {
    color: var(--light-cyan);
}

.content-section.bg-dark .process-step .step-content p,
.content-section.bg-dark .process-step .step-content li {
    color: rgba(255, 255, 255, 0.85);
}

/* Contact Forms Styling */
.contact-form-container {
    max-width: 900px;
    margin: 3rem auto;
}

.contact-form {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.form-header h3 {
    color: var(--primary-cyan);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 3rem;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title .icon {
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-navy);
    font-size: 1rem;
}

.form-group label .required {
    color: #ef4444;
    margin-left: 0.25rem;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: var(--dark-navy);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #94a3b8;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300BCD4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    padding-right: 3rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row-thirds {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.conditional-fields {
    display: none;
    animation: slideDown 0.4s ease;
}

.conditional-fields.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkbox-group {
    margin-top: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.checkbox-group legend {
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.checkbox-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-option input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-cyan);
}

.checkbox-option label {
    font-weight: normal;
    cursor: pointer;
    margin: 0;
    font-size: 1rem;
}

.consent-checkbox {
    background: #fff7ed;
    border: 2px solid #fb923c;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.consent-checkbox label {
    display: flex;
    align-items: start;
    gap: 1rem;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.6;
}

.consent-checkbox input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-cyan);
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.form-submit .btn {
    min-width: 300px;
    font-size: 1.2rem;
    padding: 1.25rem 3rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.form-submit .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-step .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-tabs {
        flex-direction: column;
    }
}

.pricing-table {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.pricing-table h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--primary-cyan);
    padding-bottom: var(--spacing-sm);
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-gray);
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 600;
    color: var(--dark-navy);
}

.price-value {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    header {
        padding: 0.75rem 0; /* tighten header band on small screens */
        overflow: visible; /* allow the dropdown menu to extend beyond header */
    }

    .logo {
        height: 140px; /* shrink logo slightly on mobile to reduce header height */
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1003;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-navy);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0.75rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        border-bottom: 2px solid rgba(0, 188, 212, 0.4);
        z-index: 1002;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subheading {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-header {
        padding: var(--spacing-md) var(--spacing-md);
    }
    
    .page-header h1 {
        font-size: 1.75rem;
        text-shadow: 
            0 0 20px rgba(0, 188, 212, 0.5),
            0 0 15px rgba(0, 188, 212, 0.3),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
}
