/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3d5a7b;
    --primary-dark: #2d4a6b;
    --primary-light: #4a6fa5;
    --secondary-color: #5a8fc7;
    --accent-color: #6ba3d9;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #3d5a7b 0%, #4a6fa5 100%);
    --gradient-2: linear-gradient(135deg, #5a8fc7 0%, #6ba3d9 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(180deg, #e8f0f8 0%, #d8e4f0 100%);
    background-color: #e8f0f8;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0a1628;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a1628;
    min-width: 220px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left-color: rgba(255, 255, 255, 0.8);
    padding-left: 1.75rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    padding: 8rem 0 4rem;
    overflow: visible;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(61, 90, 123, 0.05) 0%, rgba(90, 143, 199, 0.08) 100%);
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    z-index: 1;
    padding: 0;
}

.hero-slide.active {
    transform: translateX(0) !important;
    opacity: 1;
    z-index: 2;
    position: relative;
}

.hero-slide.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 800px;
    z-index: 1;
    margin: 0 auto;
}

.hero-icon-large {
    font-size: 4rem;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: floatIcon 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
    margin-bottom: 0.5rem;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
}

.hero-slide.active .hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Carousel Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hero-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-arrow svg {
    width: 24px;
    height: 24px;
}

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

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

/* Hero Carousel Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hero-indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.hero-indicator.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline-subtext {
    font-size: 0.7em;
    font-weight: 600;
}

.hero-subheadline {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    min-height: 44px; /* Touch-friendly minimum size */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: linear-gradient(135deg, #6ba3d9 0%, #3d5a7b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(61, 90, 123, 0.25);
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a8fc7 0%, #2d4a6b 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(61, 90, 123, 0.4), 0 4px 8px rgba(61, 90, 123, 0.2);
    color: white;
}

.btn-secondary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: linear-gradient(135deg, #5a8fc7 0%, #4a6fa5 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(61, 90, 123, 0.25);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #4a6fa5 0%, #3d5a7b 100%);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(61, 90, 123, 0.4), 0 4px 8px rgba(61, 90, 123, 0.2);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Rolling Services Banner */
.services-banner {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
    margin: 2rem 0;
    width: 100%;
}

.services-banner .container {
    padding: 0;
    max-width: 100%;
}

.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.banner-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    will-change: transform;
    width: fit-content;
}

.banner-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    min-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.banner-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 0.75rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.banner-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.banner-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.services-banner:hover .banner-track {
    animation-play-state: paused;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    display: none; /* Hidden until logos are ready */
}

.trusted-by-label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trusted-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    height: 60px;
}

.trusted-logo-item:hover {
    opacity: 1;
}

.trusted-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.trusted-logo-item img {
    max-height: 50px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.trusted-logo-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .trusted-by-section {
        padding: 1.5rem 0;
    }
    
    .trusted-by-logos {
        gap: 2rem;
    }
    
    .trusted-logo-item {
        height: 50px;
    }
    
    .trusted-logo-placeholder {
        width: 120px;
        height: 40px;
        font-size: 0.65rem;
    }
    
    .trusted-logo-item img {
        max-height: 40px;
        max-width: 120px;
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #4C95F3;
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.25rem;
    width: 100%;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4C95F3 20%, #4C95F3 80%, transparent 100%);
    border-radius: 2px;
    opacity: 0.3;
}

.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background: transparent;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: #fafbfc;
    padding: 3rem 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 2px solid rgba(76, 149, 243, 0.15);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    min-height: 420px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4C95F3 0%, rgba(76, 149, 243, 0.4) 100%);
    border-radius: 1.25rem 1.25rem 0 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px -4px rgba(76, 149, 243, 0.25), 0 8px 16px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border-color: rgba(76, 149, 243, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
    height: 5px;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 163, 217, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(107, 163, 217, 0.2);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
}

.feature-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    min-height: 120px;
}

.feature-deliverables {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-card .btn {
    margin-top: auto;
}

/* Help Grid */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.help-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.help-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-card p {
    color: var(--text-secondary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Small inline text link */
.text-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.benefit-item p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-1);
    color: white;
    text-align: center;
    border-radius: 2rem;
    margin: 2rem 0;
}

.cta-content {
    padding: 4rem 2rem;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cta-section .btn-primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0f8 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

/* Services Page */
.phase-section {
    padding: 3rem 0;
}

.phase-section-alt {
    background: var(--bg-secondary);
}

/* Service Category Buttons */
.service-category-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.service-tagline {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 1rem auto 0.5rem;
    max-width: 600px;
    line-height: 1.5;
    display: none;
    padding: 0.5rem 0;
}

.service-tagline.active {
    display: block;
}

.service-content-section {
    margin-top: 0.5rem;
    padding-top: 0 !important;
}

.service-content-section .container {
    padding-top: 0;
}

.service-category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 3rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    min-width: 200px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.service-category-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-category-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.service-category-btn.active .btn-icon {
    transform: scale(1.1);
}

.btn-icon {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

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

.service-content-section {
    display: block;
}

.service-content-section[style*="display: none"] {
    display: none !important;
}

.phase-header {
    text-align: center;
    margin-bottom: 4rem;
}

.phase-number {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.phase-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.service-category {
    margin-bottom: 2rem;
}

.service-category h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.training-grid,
.solution-grid,
.implementation-grid,
.managed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.training-card,
.solution-card,
.implementation-card,
.managed-service-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.training-card:hover,
.solution-card:hover,
.implementation-card:hover,
.managed-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.training-card h4,
.solution-card h4,
.implementation-card h4,
.managed-service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.training-card p,
.solution-card p,
.implementation-card p,
.managed-service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.delivery-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.workshop-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.workshop-duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.workshop-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.workshop-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

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

/* About Page */
.about-section {
    padding-top: 2rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.expertise-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.expertise-icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 163, 217, 0.1);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-secondary);
}

.mission-section {
    background: var(--gradient-1);
    color: white;
    text-align: center;
    border-radius: 2rem;
    margin: 1rem 0 2rem 0;
}

.mission-content {
    padding: 1rem 2rem 1.25rem;
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.mission-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.mission-statement {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

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

.value-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-secondary);
}

.schedule-cta {
    margin-top: 2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Section */
.faq-section {
    background: transparent;
    padding: 1rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #0a1628;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    object-fit: contain;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-summary {
    text-align: center;
    margin: 2rem auto 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-subtext {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 0.25rem;
    font-weight: normal;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
    }

    .logo-img {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #0a1628;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .dropdown-arrow {
        margin-left: 0.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 1rem;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        padding: 0.5rem 0;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }

    .hero-headline {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subheadline {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-indicators {
        bottom: 1.5rem;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .hero-indicator.active {
        width: 24px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-arrow-prev {
        left: 0.5rem;
    }

    .hero-arrow-next {
        right: 0.5rem;
    }

    .hero-arrow svg {
        width: 20px;
        height: 20px;
    }

    .hero-content-wrapper {
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-icon-large {
        font-size: 3rem;
        width: 80px;
        height: 80px;
        border-radius: 1rem;
    }

    .hero .btn {
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }

    .service-category-buttons {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .service-category-btn {
        padding: 1.25rem 1.5rem;
        min-width: 140px;
        font-size: 0.95rem;
        flex: 1 1 calc(50% - 0.5rem);
        max-width: 100%;
    }

    .btn-icon {
        font-size: 2.25rem;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .service-tagline {
        font-size: 1.125rem;
        max-width: 100%;
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .features-grid,
    .help-grid,
    .benefits-grid,
    .training-grid,
    .solution-grid,
    .implementation-grid,
    .managed-services-grid,
    .expertise-grid,
    .values-grid,
    .faq-grid,
    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: clamp(2rem, 4.5vw, 2.75rem);
        font-weight: 800;
    }
    
    .section-title::before {
        left: -1rem;
        width: 3px;
    }
    
    .section-title::after {
        height: 2px;
    }

    .page-header {
        padding: 5rem 0 2rem;
    }

    .page-header h1 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }

    .mission-section {
        margin: 1rem 1rem 2rem;
        border-radius: 1.5rem;
    }

    .mission-content {
        padding: 0.75rem 1.5rem 1rem;
    }

    .mission-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .mission-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .mission-statement {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-content {
        padding: 0;
    }

    .about-text h2 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h4 {
        margin-bottom: 1rem;
    }

    .footer-section ul {
        gap: 0.75rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 75vh;
        padding: 4rem 0 2.5rem;
    }

    .hero-headline {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-subheadline {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-arrow {
        width: 35px;
        height: 35px;
    }

    .hero-arrow svg {
        width: 18px;
        height: 18px;
    }

    .hero-arrow-prev {
        left: 0.25rem;
    }

    .hero-arrow-next {
        right: 0.25rem;
    }

    .section-title {
        font-size: 1.75rem;
        font-weight: 800;
    }
    
    .section-title::before {
        left: -0.75rem;
        width: 3px;
    }
    
    .section-title::after {
        height: 2px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .feature-card,
    .help-card,
    .expertise-card,
    .value-card,
    .training-card,
    .solution-card,
    .implementation-card,
    .managed-service-card,
    .workshop-card {
        padding: 1.25rem;
    }

    .service-category-btn {
        padding: 1rem 1.25rem;
        min-width: 120px;
        font-size: 0.875rem;
    }

    .btn-icon {
        font-size: 2rem;
    }

    .btn-text {
        font-size: 0.85rem;
    }

    .service-tagline {
        font-size: 1rem;
        padding: 0 0.75rem;
    }

    .mission-section {
        margin: 0.75rem 0.5rem 1.5rem;
        border-radius: 1.25rem;
    }

    .mission-content {
        padding: 0.875rem 1.25rem 1rem;
    }

    .mission-icon {
        font-size: 2rem;
    }

    .mission-content h2 {
        font-size: 1.5rem;
    }

    .mission-statement {
        font-size: 0.95rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .contact-item {
        padding: 0.875rem;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item a {
        font-size: 0.95rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h4 {
        font-size: 1.125rem;
    }

    .footer-section ul li {
        font-size: 0.9rem;
    }

    .banner-slide {
        min-width: 280px;
        padding: 1.25rem 1.5rem;
    }

    .banner-icon {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .banner-content h3 {
        font-size: 1.125rem;
    }

    .banner-content p {
        font-size: 0.875rem;
    }

    .page-header {
        padding: 4rem 0 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* AI Capability Page */
.capability-page-header {
    padding-bottom: 1rem !important;
}

.capability-page-header p {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 600;
    margin-bottom: 0;
}

.capability-section {
    padding-top: 1rem;
}

.capability-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    margin-top: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.capability-card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.capability-card-focus {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.capability-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.capability-list li {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.capability-list li strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

/* Responsive Styles for AI Capability */
@media (max-width: 768px) {
    .capability-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .capability-card {
        padding: 1.5rem;
    }

    .capability-card-title {
        font-size: 1.1rem;
    }

    .capability-list li {
        font-size: 0.875rem;
    }

    .capability-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

