/* OptimizDBA Website Clone - Main Stylesheet */

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

:root {
    /* Primary Colors */
    --primary-blue: #0066CC;
    --primary-blue-dark: #004c99;
    --primary-blue-light: #3399FF;

    /* Background Colors */
    --dark-bg: #222222;
    --light-bg: #D9EFFF;
    --medium-bg: #B2D7FF;
    --white-bg: #FFFFFF;
    --gray-bg: #F5F5F5;

    /* Accent Colors */
    --accent-gold: #FFD700;
    --accent-green: #32CD32;
    --accent-orange: #FF4500;
    --accent-purple: #8A2BE2;

    /* Text Colors */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-gray: #777777;
    --text-muted: #999999;

    /* Button Colors */
    --btn-primary: #0066CC;
    --btn-primary-hover: #004c99;
    --btn-secondary: #E7E7E7;
    --btn-secondary-hover: #D0D0D0;

    /* Border Colors */
    --border-light: #E0E0E0;
    --border-medium: #CCCCCC;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
    --card-padding: 24px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white-bg);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img,
.logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-text span {
    color: var(--text-dark);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.nav-dropdown {
    position: relative;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-bg);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
}

.nav-cta {
    background: var(--btn-primary);
    color: var(--text-light) !important;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--btn-primary-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--btn-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: var(--btn-secondary);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white-bg) 100%);
}

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

.hero-content h1 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content h1 span {
    color: var(--primary-blue);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
}

.trust-item svg {
    color: var(--accent-green);
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
}

.section-light {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark-bg);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-light);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
}

.section-dark .stat-number {
    color: var(--accent-gold);
}

.stat-label {
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.process-step p {
    font-size: 14px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: var(--border-radius-lg);
    background: var(--white-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 15px;
    margin: 0;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 200px;
    background: var(--light-bg);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--primary-blue);
}

.blog-card p {
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-gray);
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.cta-section .btn:hover {
    background: #E6C200;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Article Styles */
.article-hero {
    padding: 140px 0 60px;
    background: var(--light-bg);
}

.article-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
}

.article-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.article-featured-image {
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.article-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.article-content ul, .article-content ol {
    margin: 20px 0 20px 24px;
    color: var(--text-gray);
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-content strong {
    color: var(--text-dark);
}

/* Code Blocks */
.code-block {
    background: #1E1E1E;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 24px 0;
    overflow-x: auto;
}

.code-block pre {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #D4D4D4;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================= */
/* SERVICE PAGE STYLES */
/* ============================================= */

/* Service Hero */
.service-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
}

.service-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.8;
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 16px;
}

.service-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Hero Stats - New Style */
.service-hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.service-hero-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    min-width: 140px;
}

.service-hero-stats .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.service-hero-stats .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legacy hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

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

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.service-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.service-hero-cta .btn-primary {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

.service-hero-cta .btn-primary:hover {
    background: #e6c200;
}

.service-hero-cta .btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.service-hero-cta .btn-secondary:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

.service-hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.btn-lg,
.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Service List */
.service-list {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    flex-shrink: 0;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* Services Detail Grid */
.services-detail-grid {
    padding: 80px 0;
    background: var(--gray-bg);
}

.services-detail-grid .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-detail-grid .service-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    text-align: left;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.services-detail-grid .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.services-detail-grid .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

.services-detail-grid .service-icon svg {
    width: 32px;
    height: 32px;
}

.services-detail-grid .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.services-detail-grid .service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--white-bg);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Why Card - New Style */
.why-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.why-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.why-card-content {
    padding: 25px;
}

.why-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-card-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* Legacy why-choose-card */
.why-choose-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.why-choose-card h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.why-choose-card p {
    font-size: 14px;
    margin: 0;
}

/* Performance Banner */
.performance-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    text-align: center;
}

.performance-banner h2 {
    color: var(--text-light);
    margin-bottom: 40px;
}

.performance-banner .performance-metrics {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.performance-banner .metric {
    text-align: center;
}

.performance-banner .metric-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.performance-banner .metric-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Legacy performance metrics */
.performance-metrics {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--gray-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--primary-blue);
    opacity: 0.3;
    z-index: 0;
}

.process-section .process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--gray-bg);
    padding: 0 10px;
}

.process-section .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.process-section .process-step h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.process-section .process-step p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Case Studies Section */
.case-studies-section {
    padding: 80px 0;
    background: var(--white-bg);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.industry-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--light-bg);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.improvement-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-green);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.case-study-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.case-study-card > p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.cs-metric {
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f4ff 100%);
    border-radius: var(--border-radius);
}

.cs-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.cs-label {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.case-study-quote {
    font-style: italic;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 16px;
    background: var(--gray-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
}

.case-study-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
}

/* Legacy case study styles */
.case-study-type {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.case-study-industry {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
}

.case-metric {
    text-align: center;
    padding: 15px 10px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.case-metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.case-metric-label {
    font-size: 12px;
    color: var(--text-gray);
}

.case-study-card blockquote {
    font-style: italic;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-left: 16px;
    border-left: 3px solid var(--primary-blue);
}

/* Aggregate Results Section */
.aggregate-results {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
}

.aggregate-results .section-title {
    color: var(--text-light);
}

.aggregate-results .results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.result-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.result-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Legacy aggregate styles */
.aggregate-stat {
    text-align: center;
}

.aggregate-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.aggregate-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Techniques Section */
.techniques-section {
    padding: 80px 0;
    background: var(--gray-bg);
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.technique-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.technique-card h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.technique-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

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

.technique-card li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.technique-card li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
}

/* CTA Details Section */
.cta-details {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.cta-details .cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-details h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-details > .container > .cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 32px;
    text-align: left;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
}

.cta-feature svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

.cta-buttons .btn-primary:hover {
    background: #e6c200;
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.cta-buttons .btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-blue);
}

/* Legacy CTA styles */
.cta-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 30px;
}

.cta-card h3 {
    color: var(--text-light);
    margin-bottom: 8px;
}

.cta-card > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.cta-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.cta-topics li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-topics li::before {
    content: '✓';
    color: var(--accent-gold);
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-gold:hover {
    background: #E6C200;
    transform: translateY(-2px);
}

.cta-benefits h4 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.cta-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.cta-benefits li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.cta-contact {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Stat Card */
.stat-card {
    background: var(--white-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 14px;
}

/* Footer Links */
.footer-links li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a:hover {
    color: var(--text-light);
}

/* Service Page Responsive */
@media (max-width: 1024px) {
    .service-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-hero-image {
        display: none;
    }

    .hero-stats,
    .service-hero-stats {
        justify-content: center;
    }

    .service-hero-cta {
        justify-content: center;
    }

    .services-detail-grid .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .aggregate-results .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .techniques-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-detail-grid .services-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .aggregate-results .results-grid {
        grid-template-columns: 1fr;
    }

    .techniques-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-stats,
    .service-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .case-study-metrics {
        grid-template-columns: 1fr;
    }

    .case-study-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .performance-banner .performance-metrics {
        gap: 40px;
    }

    .performance-banner .metric-number {
        font-size: 2.5rem;
    }

    .result-number {
        font-size: 2rem;
    }
}
