/* Nexus Rwanda - Shared CSS Styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --background: 225 30% 6%;
    --foreground: 210 40% 95%;
    --card: 225 25% 10%;
    --card-foreground: 210 40% 95%;
    --popover: 225 25% 10%;
    --popover-foreground: 210 40% 95%;
    --primary: 217 91% 60%;
    --primary-foreground: 225 30% 6%;
    --secondary: 225 20% 14%;
    --secondary-foreground: 210 40% 95%;
    --muted: 225 15% 18%;
    --muted-foreground: 215 15% 55%;
    --accent: 195 85% 55%;
    --accent-foreground: 210 40% 98%;
    --accent-soft: 280 75% 60%;
    --accent-soft-foreground: 225 30% 6%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 210 40% 98%;
    --border: 225 15% 18%;
    --input: 225 15% 18%;
    --ring: 217 91% 60%;
    --radius: 0.75rem;
    --glow: 217 91% 60%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 1.125rem; /* 18px Desktop ceiling */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: 2.25rem; } /* 36px */
h2 { font-size: 1.75rem; } /* 28px */
h3 { font-size: 1.375rem; } /* 22px */
h4, h5, h6 { font-size: 1.125rem; } /* 18px */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .navbar-content {
        padding: 0 2rem;
    }
}

.logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1rem; /* Further reduced from 1.25rem for maximum compatibility with 8 links */
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1rem; /* 16px */
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00bcd4 0%, #00acc1 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00bcd4;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #00bcd4;
}

.nav-link.active::after {
    width: 100%;
}

/* .nav-cta removed to match standard nav links */

.admin-login {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: hsl(var(--muted));
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.admin-login:hover {
    background-color: hsl(var(--primary) / 0.2);
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.25rem;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Navigation Menu */
.mobile-menu {
    display: none; /* Ensure it is hidden on desktop by default */
}

@media (max-width: 767px) {
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transform-origin: top;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        transform: scaleY(0);
        pointer-events: none;
        z-index: 1000;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }

    .mobile-menu:not(.hidden) {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }
}

.mobile-nav-link {
    padding: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(0, 188, 212, 0.05);
    color: #00bcd4;
    padding-left: 1.5rem;
}

.mobile-nav-link.active {
    background: rgba(0, 188, 212, 0.08);
    color: #00bcd4;
    font-weight: 600;
}

.mobile-admin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    min-height: 44px; /* Touch target */
}

.mobile-admin-link:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--primary) / 0.2);
    transform: translateY(-1px);
}

.mobile-admin-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) {
    .mobile-admin-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 48px;
    }
    
    .mobile-admin-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, hsl(217 91% 60% / 0.25), transparent 55%),
        radial-gradient(circle at bottom right, hsl(195 85% 55% / 0.18), transparent 55%),
        linear-gradient(to bottom, hsl(225 30% 6%), hsl(225 30% 3%));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom right, hsl(225 30% 4% / 0.9), hsl(225 30% 2% / 0.96));
    pointer-events: none;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        padding: 0 2rem;
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: hsl(var(--accent));
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.text-primary {
    color: hsl(var(--primary));
}

.text-glow {
    text-shadow: 0 0 20px hsl(217 91% 60% / 0.5), 0 0 40px hsl(217 91% 60% / 0.2);
}

.hero-description {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    max-width: 28rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    text-decoration: none;
    font-weight: 500;
    border-radius: 9999px;
    transition:
        background-color 0.2s,
        box-shadow 0.2s,
        transform 0.15s;
    border: none;
    cursor: pointer;
    box-shadow:
        0 14px 45px hsl(217 91% 60% / 0.35),
        0 10px 18px hsl(217 91% 60% / 0.25);
}

.btn-primary:hover {
    background-color: hsl(217 91% 65%);
    transform: translateY(-1px);
    box-shadow:
        0 18px 55px hsl(217 91% 60% / 0.45),
        0 12px 22px hsl(217 91% 60% / 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 9999px;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 0.5rem;
    background:
        radial-gradient(circle at top left, hsl(195 85% 55% / 0.12), transparent 60%),
        hsl(var(--background));
    transition:
        border-color 0.2s,
        background-color 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    cursor: pointer;
}

.btn-secondary::after {
    content: "→";
    font-size: 0.85rem;
}

.btn-secondary:hover {
    border-color: hsl(var(--accent));
    background-color: hsl(var(--secondary));
    box-shadow: 0 8px 26px hsl(195 85% 55% / 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: 50%;
    text-decoration: none;
    transition: border-color 0.2s;
}

.btn-outline:hover {
    border-color: hsl(var(--primary));
}

.hero-image {
    display: none;
    justify-content: center;
    animation: pulseGlow 3s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .hero-image {
        display: flex;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-image img {
    width: 100%;
    max-width: 28rem;
    height: auto;
    filter: drop-shadow(0 22px 55px hsl(217 91% 60% / 0.28));
}

/* Inner Page Heroes */
.page-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background:
        linear-gradient(135deg, hsl(var(--primary) / 0.1) 0%, transparent 50%),
        linear-gradient(to bottom right, hsl(225 30% 6% / 0.9), hsl(225 30% 3% / 0.96));
    overflow: hidden;
    border-radius: 0;
}

.page-hero::before {
    display: none;
}

/* Medical Page Hero Specific */
.page-hero.medical-page-hero {
    background: url('src/assets/health.jpg') center/cover no-repeat !important;
    padding: 12rem 0 8rem !important;
}

.page-hero.medical-page-hero::before {
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.7), hsl(225 30% 3% / 0.8)) !important;
}

/* About Page Hero Specific */
.about-page-hero {
    background-image: url('src/assets/about.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-page-hero::before {
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.7), hsl(225 30% 3% / 0.8));
}

/* White Background Section */
.white-bg-section {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

.white-bg-section .text-muted {
    color: #475569 !important;
}

.white-bg-section .section-eyebrow {
    color: hsl(var(--primary)) !important;
}

.white-bg-section .section-title {
    color: #1e293b !important;
}

.white-bg-section h2,
.white-bg-section h3 {
    color: #1e293b !important;
}

.white-bg-section p {
    color: #475569 !important;
}

.white-bg-section .card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

.white-bg-section .box-glow {
    box-shadow: 0 0 20px hsl(var(--primary) / 0.1) !important;
}

/* Service Page Hero Specific */
.page-hero.service-page-hero {
    background: url('src/assets/service.jpg') center/cover no-repeat !important;
    padding: 12rem 0 8rem !important;
}

.page-hero.service-page-hero::before {
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.7), hsl(225 30% 3% / 0.8)) !important;
}

/* Home Page Hero Specific */
section.hero.home-page-hero {
    background: url('src/assets/bg.jpg') center/cover no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero.home-page-hero::before {
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.7), hsl(225 30% 3% / 0.8)) !important;
}

/* Training Page Hero Specific */
.page-hero.training-page-hero {
    background: url('src/assets/train.jpg') center/cover no-repeat !important;
    padding: 12rem 0 8rem !important;
}

.page-hero.training-page-hero::before {
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.7), hsl(225 30% 3% / 0.8)) !important;
}

.page-hero.training-page-hero .page-hero-title {
    font-size: 3rem !important;
}

/* Contact Page Hero Specific */
.page-hero.contact-page-hero {
    background: url('src/assets/contact.jpg') center/cover no-repeat !important;
    padding: 12rem 0 8rem !important;
}

.page-hero.contact-page-hero::before {
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.7), hsl(225 30% 3% / 0.8)) !important;
}

/* Contact Section White Text */
.white-bg-section h2 {
    color: #000000 !important;
}

.white-bg-section p {
    color: #000000 !important;
}

.white-bg-section .form-input {
    color: #000000 !important;
    background-color: #ffffff !important;
    border-color: #000000 !important;
}

.white-bg-section .form-input::placeholder {
    color: #666666 !important;
}

.white-bg-section .btn-primary {
    background-color: #1e40af !important;
    color: #ffffff !important;
}

.white-bg-section .card {
    background-color: #1e40af !important;
}

.white-bg-section .card h2 {
    color: #ffffff !important;
}

.white-bg-section .card p {
    color: #ffffff !important;
}

.white-bg-section .card a {
    color: #ffffff !important;
}

.white-bg-section .card svg {
    color: #ffffff !important;
}

/* About Page Cards - Make AI Innovation, Data Security, Digital Excellence more visible */
.box-glow h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

.box-glow p.text-muted {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

/* Training Program Cards */
.white-bg-section .program-card {
    background-color: #1e40af !important;
    color: #ffffff !important;
}

.white-bg-section .program-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Force Service Card Text Colors */
.services-cards-grid .service-card .service-card-title {
    color: #FFFFFF !important;
}

.services-cards-grid .service-card .service-card-description {
    color: hsl(var(--muted-foreground)) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Modern Service Cards - Matching Training Page Style */
.services-cards-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    background-color: hsl(var(--secondary)) !important;
    border-radius: 0.9rem !important;
    border: 1px solid #e5e7eb !important;
    padding: 1.5rem !important;
    transition: transform 0.2s, border-color 0.2s !important;
    color: #ffffff !important;
}

.service-card:hover {
    transform: translateY(-4px) !important;
    border-color: #1e40af !important;
    box-shadow: 0 18px 45px rgba(30, 64, 175, 0.28) !important;
}

.service-card-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    color: #ffffff !important;
}

.service-card-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

.service-card-description {
    color: #ffffff !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
}

.service-card-btn {
    background: #1e40af;
    color: #ffffff;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-card-btn:hover {
    background: #1e3a8a;
}

/* ============================================
   View Details Button
   ============================================ */
.view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding: 0.55rem 1.25rem;
    background: linear-gradient(135deg, #00bcd4 0%, #0091a1 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    align-self: flex-start;
}

.view-details-btn::after {
    content: "→";
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 188, 212, 0.5);
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
}

.view-details-btn:hover::after {
    transform: translateX(3px);
}

/* ============================================
   Solution Detail Page
   ============================================ */

/* Breadcrumb */
.solution-breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.solution-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

@media (min-width: 1024px) {
    .solution-breadcrumb-inner {
        padding: 0 2rem;
    }
}

.solution-breadcrumb-inner a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.solution-breadcrumb-inner a:hover {
    color: #0091a1;
}

.solution-breadcrumb-sep {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.solution-breadcrumb-current {
    color: #1e293b;
    font-weight: 600;
}

/* Solution Hero */
.solution-hero {
    position: relative;
    padding: 9rem 0 5rem;
    background:
        radial-gradient(circle at top left, rgba(0,188,212,0.18) 0%, transparent 55%),
        radial-gradient(circle at bottom right, rgba(30,64,175,0.14) 0%, transparent 55%),
        linear-gradient(135deg, #0f172a 0%, #0a0f1e 100%);
    overflow: hidden;
}

.solution-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('src/assets/service.jpg') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.solution-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .solution-hero-inner {
        padding: 0 2rem;
    }
}

.solution-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 188, 212, 0.12);
    border: 1px solid rgba(0, 188, 212, 0.3);
    color: #00bcd4;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.solution-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 38rem;
}

@media (min-width: 768px) {
    .solution-hero-title {
        font-size: 3rem;
    }
}

.solution-hero-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.75;
    max-width: 42rem;
    margin-bottom: 2rem;
}

.solution-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.22s ease;
    backdrop-filter: blur(8px);
}

.solution-back-btn::before {
    content: "←";
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.solution-back-btn:hover {
    background: rgba(0, 188, 212, 0.18);
    border-color: rgba(0,188,212,0.45);
    color: #ffffff;
    transform: translateX(-3px);
}

/* Solution Body */
.solution-body {
    background: #ffffff;
    padding: 5rem 0;
}

.solution-body-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .solution-body-inner {
        padding: 0 2rem;
    }
}

/* Full Description */
.solution-full-desc {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.85;
    margin-bottom: 3.5rem;
    max-width: 760px;
}

/* Features Section */
.solution-features-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.solution-features-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.solution-features-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .solution-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solution-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.solution-feature-card:hover {
    transform: translateY(-4px);
    border-color: #00bcd4;
    box-shadow: 0 12px 35px rgba(0,188,212,0.15);
}



.solution-feature-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.solution-feature-text {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.65;
}

/* CTA strip */
.solution-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1.25rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .solution-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.solution-cta-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.solution-cta-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.solution-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(8, 145, 178, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.solution-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.35);
}

/* Not found state */
.solution-not-found {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    background: #ffffff;
}

.solution-not-found h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.solution-not-found p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
}

.white-bg-section .program-text {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.white-bg-section .program-icon {
    background-color: #ffffff !important;
    color: #1e40af !important;
}

/* Blue Service Cards */
.blue-service-card {
    background-color: #1e40af !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.8rem !important;
    margin: 0.2rem 0 !important;
}

.blue-service-card .service-title-main {
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 0.9rem !important;
}

.blue-service-card .service-summary {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
}

.blue-service-card .service-points {
    color: #ffffff !important;
}

.blue-service-card .list-item {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.15rem !important;
    padding-left: 0 !important;
}

.blue-service-card .list-item::before {
    display: none !important;
}

.blue-service-card .list-item .list-bullet {
    display: none !important;
}

.blue-service-card .list-item span:first-child {
    display: none !important;
}

.blue-service-card .service-points .list-item {
    list-style: none !important;
    padding-left: 0 !important;
}

.blue-service-card .service-points {
    list-style: none !important;
}

.blue-service-card .client-benefits {
    color: #ffffff !important;
}

.blue-service-card .client-benefits h4 {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.blue-service-card .client-benefits p {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.blue-service-card .service-benefits-label {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.blue-service-card .service-benefits-text {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.blue-service-card .service-icon-box {
    background-color: #ffffff !important;
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0.8rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.blue-service-card .service-icon-box svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
    stroke: #1e40af !important;
    stroke-width: 2.5 !important;
    fill: none !important;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .page-hero-inner {
        padding: 0 2rem;
    }
}

.page-hero-kicker {
    color: hsl(var(--accent));
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.page-hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 2.7rem;
    }
}

.page-hero-subtitle {
    max-width: 36rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.98rem;
    text-align: center;
    margin: 0 auto;
    line-height: 1.7;
}

/* Landing Sections */
.section {
    padding: 4.5rem 0 3.5rem;
}

@media (min-width: 768px) {
    .section {
        padding: 5.5rem 0 4.5rem;
    }
}

.section-header {
    max-width: 50rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-eyebrow {
    color: hsl(var(--accent));
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Company Overview */
.company-overview {
    background:
        radial-gradient(circle at top left, hsl(217 91% 60% / 0.16), transparent 55%),
        linear-gradient(to bottom, hsl(225 30% 5%), hsl(225 30% 6%));
}

.company-overview-grid {
    display: grid;
    gap: 2.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .company-overview-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
        gap: 3rem;
    }
}

.company-copy .section-title {
    margin-bottom: 1rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 640px) {
    .company-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.stat-card {
    padding: 1.25rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid hsl(var(--border));
    background:
        radial-gradient(circle at top, hsl(217 91% 60% / 0.16), transparent 65%),
        hsl(var(--card));
    box-shadow: 0 16px 40px hsl(217 91% 60% / 0.14);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: hsl(var(--muted-foreground));
}

.stats-section {
    background: linear-gradient(to bottom, hsl(225 30% 6%), hsl(225 30% 5%));
}

.stats-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.stat-card-alt {
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition:
        transform 0.18s ease-out,
        box-shadow 0.2s,
        border-color 0.2s;
}

.stat-card-alt:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--primary));
    box-shadow: 0 18px 45px hsl(217 91% 60% / 0.32);
}

.stat-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.9rem;
    background-color: hsl(var(--primary) / 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.stat-card-icon svg {
    width: 1.3rem;
    height: 1.3rem;
    stroke: hsl(var(--primary));
}

/* Core Services */
.core-services {
    background: linear-gradient(to bottom, hsl(225 30% 6%), hsl(225 30% 5%));
}

.core-services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .core-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card-full {
    background-color: hsl(var(--card));
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.2s;
}

.service-card-full:hover {
    border-color: hsl(var(--primary));
    box-shadow: 0 18px 50px hsl(217 91% 60% / 0.3);
    transform: translateY(-4px);
}

.service-text {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

.services-grid-2col {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .services-grid-2col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-card-full {
    background-color: hsl(var(--card));
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.18s ease-out;
}

.service-card-full:hover {
    border-color: hsl(var(--primary));
    box-shadow: 0 18px 50px hsl(217 91% 60% / 0.3);
    transform: translateY(-4px);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.service-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background-color: hsl(var(--primary) / 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-box svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: hsl(var(--primary));
}

.service-title-main {
    font-size: 1.05rem;
    font-weight: 600;
}

.service-summary {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

.service-points {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.service-benefits-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: hsl(var(--accent));
}

.service-benefits-text {
    font-size: 0.85rem;
    color: hsl(var(--muted-foreground));
}

/* Training Preview */
.training-preview {
    background: linear-gradient(to bottom, hsl(225 30% 5%), hsl(225 30% 4%));
}

.training-grid {
    display: grid;
    gap: 2.25rem;
    align-items: center;
}

@media (min-width: 768px) {
    .training-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    }
}

.training-copy .section-title {
    margin-bottom: 1rem;
}

.training-image-wrapper {
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 18px 45px hsl(195 85% 55% / 0.25);
}

.training-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 4s ease-out;
}

.training-image-wrapper:hover .training-image {
    transform: scale(1.04);
}

.training-cta {
    margin-top: 1.75rem;
}

/* Training Programs Grid */
.programs-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.program-card {
    background-color: hsl(var(--card));
    border-radius: 0.9rem;
    border: 1px solid hsl(var(--border));
    padding: 1.4rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 8.5rem;
    transition:
        box-shadow 0.2s,
        transform 0.18s ease-out,
        border-color 0.2s;
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--primary));
    box-shadow: 0 18px 45px hsl(217 91% 60% / 0.28);
}

.program-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.program-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--primary) / 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.program-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    stroke: hsl(var(--primary));
}

.program-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.program-text {
    font-size: 0.85rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-left: 3rem;
}

/* Homepage CTA Section */
.section-cta {
    background: radial-gradient(circle at top right, hsl(280 75% 60% / 0.22), transparent 58%);
}

.cta-card {
    border-radius: 1.25rem;
    border: 1px solid hsl(var(--border));
    background:
        radial-gradient(circle at top left, hsl(217 91% 60% / 0.2), transparent 60%),
        linear-gradient(to right, hsl(225 30% 7%), hsl(225 30% 4%));
    padding: 2rem 1.5rem;
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .cta-card {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
        align-items: center;
        padding: 2.25rem 2rem;
    }
}

.cta-copy .section-title {
    margin-bottom: 0.75rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cta-contact-item {
    font-size: 0.9rem;
    color: hsl(var(--foreground));
    text-decoration: none;
}

.cta-contact-item:hover {
    text-decoration: underline;
}

/* Page Sections */
.page-section {
    padding: 6rem 0 4rem;
}

.page-header {
    margin-bottom: 3rem;
}

.page-subtitle {
    color: hsl(var(--primary));
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .page-title {
        font-size: 3.75rem;
    }
}

.page-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    max-width: 36rem;
}

/* Cards */
.card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s;
}

.card:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.box-glow {
    box-shadow: 0 0 20px hsl(217 91% 60% / 0.15), 0 0 40px hsl(217 91% 60% / 0.05);
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.form-textarea {
    resize: none;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

.form-textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Lists */
.list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.list-bullet {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background-color: hsl(var(--primary));
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: hsl(var(--secondary) / 0.3);
    border-top: 1px solid hsl(var(--border));
}

.footer-content {
    display: grid;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 2rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 2.5rem;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    padding: 0.5rem 0;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: hsl(var(--foreground));
}

.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.contact-icon {
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border));
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin: 0 auto;
    max-width: 1200px;
    padding: 1.5rem 1rem 0;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
}

.footer-bottom p::before,
.footer-bottom p::after {
    display: none !important;
    content: none !important;
}

.footer-logo-bottom {
    height: 3rem;
    object-fit: contain;
}

.footer-bottom-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-link:hover {
    color: hsl(var(--foreground));
}

/* Enhanced Responsive Design */

/* Mobile First Approach - Base Styles (320px and up) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    body {
        font-size: 1rem; /* 16px Mobile ceiling */
    }

    .hero-title {
        font-size: 1.75rem !important; /* Cap mobile H1 around 28px */
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.875rem !important; /* 14px for mobile body */
    }
    
    .page-hero-title {
        font-size: 1.75rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important; /* Around 24px */
    }
    
    .service-card {
        padding: 1rem !important;
    }
    
    .service-card-title {
        font-size: 0.95rem !important;
    }
    
    .service-card-description {
        font-size: 0.75rem !important;
    }
    
    .form-input {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .form-textarea {
        font-size: 16px !important;
        min-height: 100px !important;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .modal-dialog {
        margin: 0 1rem !important;
        max-width: calc(100vw - 2rem) !important;
    }
    
    .modal-content {
        border-radius: 8px !important;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem !important;
    }
    
    .success-icon {
        width: 48px !important;
        height: 48px !important;
    }
    
    .modal-body {
        padding: 1.5rem !important;
    }
    
    .modal-title {
        font-size: 1.25rem !important;
    }
    
    .modal-message {
        font-size: 0.85rem !important;
    }
}

/* Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.25rem !important; /* 36px Desktop Target */
    }
    
    .hero-description {
        font-size: 1rem !important; /* 16px */
    }
    
    .page-hero-title {
        font-size: 2.25rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important; /* 28px */
    }
    
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
    
    .service-card {
        padding: 1.25rem !important;
    }
    
    .modal-dialog {
        margin: 0 1.5rem !important;
    }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem !important;
    }
    
    .hero-description {
        font-size: 1.125rem !important; /* 18px */
    }
    
    .page-hero-title {
        font-size: 2.25rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .service-card {
        padding: 1.5rem !important;
    }
    
    .navbar-content {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

/* Small Desktops (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem !important;
    }
    
    .hero-description {
        font-size: 1.125rem !important;
    }
    
    .page-hero-title {
        font-size: 2.25rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .services-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.75rem !important;
    }
    
    .service-card {
        padding: 1.75rem !important;
    }
    
    .navbar-content {
        padding: 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem;
    }
}

/* Large Desktops (1367px and up) */
@media (min-width: 1367px) {
    .container {
        padding: 0 2.5rem;
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 2.25rem !important; /* Capped at 36px as per user request */
    }
    
    .hero-description {
        font-size: 1.125rem !important; /* 18px */
        max-width: 40rem;
    }
    
    .page-hero-title {
        font-size: 2.25rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important; /* 28px */
    }
    
    .services-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
    
    .service-card {
        padding: 2rem !important;
    }
    
    .navbar-content {
        padding: 0 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .service-card,
    .modal-close {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    .nav-links a {
        padding: 0.75rem 1rem !important;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .footer-logo-bottom,
    .service-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .page-hero {
        padding: 4rem 0 3rem !important;
    }
    
    .section {
        padding: 2rem 0 2rem !important;
    }
    
    .modal-dialog {
        margin: 1rem !important;
        max-width: 90vw !important;
    }
}

/* Portrait Tablet */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}
.text-muted {
    color: hsl(var(--muted-foreground));
}

.text-sm {
    font-size: 1rem; /* Minimum 16px for readability */
}

.text-xs {
    font-size: 0.875rem; /* 14px */
}

.font-semibold {
    font-weight: 600;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.overflow-hidden {
    overflow: hidden;
}

.shrink-0 {
    flex-shrink: 0;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00bcd4, #0091a1);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.45);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    z-index: 999;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.6);
}

/* ============================================
   Footer Social Media Links
   ============================================ */
.footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.footer-social-link {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    transition: all 0.22s ease;
    flex-shrink: 0;
}

.footer-social-link svg {
    width: 0.95rem;
    height: 0.95rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social-link:hover {
    background: rgba(0, 188, 212, 0.18);
    border-color: #00bcd4;
    color: #00bcd4;
    transform: translateY(-2px);
}

/* ============================================
   Updates Page
   ============================================ */
.updates-hero-section {
    position: relative;
    padding: 7rem 0 4rem;
    background: url('src/assets/about.jpg') center/cover no-repeat;
    overflow: hidden;
}

.updates-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, hsl(225 30% 6% / 0.75), hsl(225 30% 3% / 0.85));
    pointer-events: none;
}

.updates-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .updates-hero-inner { padding: 0 2rem; }
}

.updates-hero-eyebrow {
    display: inline-block;
    background: rgba(0, 188, 212, 0.12);
    border: 1px solid rgba(0, 188, 212, 0.3);
    color: #00bcd4;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.updates-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .updates-hero-title { font-size: 3.2rem; }
}

.updates-hero-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 40rem;
    margin: 0 auto;
}

/* Coming Soon Section */
.updates-body {
    background: #f8fafc;
    padding: 5rem 0;
}

.updates-body-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .updates-body-inner { padding: 0 2rem; }
}

/* Newsletter strip */
.updates-newsletter {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 1.25rem;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.updates-newsletter h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.updates-newsletter p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.updates-notify-form {
    display: flex;
    gap: 0.75rem;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.updates-notify-input {
    flex: 1;
    min-width: 200px;
    padding: 0.7rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.updates-notify-input::placeholder { color: #64748b; }
.updates-notify-input:focus { border-color: #00bcd4; }

.updates-notify-btn {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #00bcd4, #0091a1);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,188,212,0.35);
}

.updates-notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,188,212,0.5);
}

/* News Cards Grid */
.updates-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.updates-section-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.updates-cards-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .updates-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .updates-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.updates-news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.updates-news-card:hover {
    transform: translateY(-4px);
    border-color: #00bcd4;
    box-shadow: 0 12px 32px rgba(0,188,212,0.14);
}

.updates-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.updates-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.updates-card-img-placeholder svg {
    width: 3rem;
    height: 3rem;
    stroke: rgba(255,255,255,0.25);
}

.updates-card-body {
    padding: 1.5rem;
}

.updates-card-tag {
    display: inline-block;
    background: rgba(0,188,212,0.1);
    color: #0091a1;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.updates-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.updates-card-excerpt {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.updates-card-meta {
    font-size: 0.775rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.updates-card-meta svg {
    width: 0.85rem;
    height: 0.85rem;
    stroke: #94a3b8;
    fill: none;
    flex-shrink: 0;
}

/* Coming Soon Badge on placeholder cards */
.updates-coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 188, 212, 0.1);
    border: 1px dashed rgba(0, 188, 212, 0.4);
    color: #0091a1;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

