/*
Theme Name: LYNX Technology Development
Description: Custom WordPress theme for LYNX Technology Development featuring AI consulting and integration services
Author: LYNX Technology Development
Version: 1.0
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

.col-12 { flex: 0 0 100%; }
.col-6 { flex: 0 0 50%; }
.col-4 { flex: 0 0 33.333%; }
.col-3 { flex: 0 0 25%; }
/* Header Styles */
.site-header {
    background: #000000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 170px; /* Increased by 10px for cyan line */
}

/* Body padding to prevent header overlap */
body {
    padding-top: 138px; /* Adjusted to remove white space */
    margin: 0; /* Remove any default margins */
}

/* 2x2 Grid Layout */
.header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 75px 75px; /* Two equal rows totaling 150px */
    height: 160px; /* Content area height */
    padding: 5px 0; /* Small padding for content */
}

/* Cyan line at bottom of header */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #00AFE1;
}

/* Column 1: Logo (spans both rows) */
.logo-column {
    grid-row: 1 / 3; /* Spans both rows */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px 5px 0;
    /* Removed border-right */
    width: 170px; /* Fixed width for logo column */
}

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

.logo-icon {
    height: 150px;
    width: 150px; /* Make it square */
    object-fit: contain; /* Maintain aspect ratio within square */
    transition: all 0.3s ease;
}

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

/* Column 2: Content Column */
.content-column {
    display: grid;
    grid-template-rows: 75px 75px; /* Two equal rows */
}

/* Row 1: Navigation */
.nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 0 20px;
    /* Removed border-bottom */
    height: 75px;
}

.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px; /* Slightly reduced gap for tighter fit */
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #FF6B35; /* Orange menu text */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem; /* Slightly smaller for better fit */
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #E55A2B; /* Darker orange on hover */
}

/* Row 2: Company Name */
.company-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 0 20px;
    height: 75px;
}

.company-name {
    font-size: 1.5rem; /* Reduced size to fit better */
    font-weight: 700;
}

.company-lynx {
    color: #FF6B35; /* Orange for LYNX */
    margin-right: 10px; /* Reduced margin */
}

.company-tagline {
    color: #00D4FF; /* Cyan for Technology Development */
}

/* Company Logo Image */
.company-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.company-logo-image {
    height: 80px; /* Adjust height as needed */
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Hide company logo on mobile devices */
@media (max-width: 768px) {
    .company-logo {
        display: none;
    }
}

/* Main content */
.main-content {
    margin-top: 0;
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    background: #000000; /* Fallback color when no image is set */
    color: white;
    padding: 120px 0 80px;
    margin-top: 0; /* No white space */
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #FF6B35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1A2B4C;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1A2B4C;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #000000; /* Changed to black */
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    margin-right: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #FF6B35;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #FF6B35;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .col-4,
    .col-6 {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-right: 0;
    }
}



/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1A2B4C;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-navigation.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        padding: 20px;
        margin: 0;
        list-style: none;
    }
    
    .main-navigation .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation .nav-menu a {
        display: block;
        padding: 15px 0;
        color: #1A2B4C;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    
    .main-navigation .nav-menu a:hover {
        color: #FF6B35;
    }
}

/* Newsletter Signup Styles */
.newsletter-form input:focus {
    border-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button:hover {
    background: #0097A7 !important; /* Darker cyan on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .newsletter-form input {
        min-width: auto;
        margin-bottom: 15px;
    }
}


/* Hero Section Background Image Styles */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1A2B4C, #2C3E50);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Ensure text is readable on background images */
.hero-section .hero-title,
.hero-section .hero-subtitle {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .cta-button {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile optimization for background images */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Fallback gradient when no background image is set */
.hero-section:not([style*="background-image"]) {
    background: linear-gradient(135deg, #1A2B4C 0%, #2C3E50 100%);
}

/* Ensure proper contrast for accessibility */
.hero-section[style*="background-image"] .hero-title {
    color: white;
}

.hero-section[style*="background-image"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}


/* Logo Styles */
.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-icon {
    height: 150px;
    width: auto;
    transition: all 0.3s ease;
}

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

/* Company Name Block */
.company-name-block {
    background: #000000; /* Changed to black */
    padding: 20px 0;
    margin-top: 80px; /* Account for fixed header */
}

.company-name {
    text-align: center;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.lynx-text {
    color: #FF6B35; /* Orange from logo */
    font-size: 2.5rem;
    margin-right: 20px;
}

.tagline-text {
    color: #00BCD4; /* Cyan from logo */
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 3px;
}

/* Responsive Company Name */
@media (max-width: 768px) {
    .company-name {
        flex-direction: column;
        align-items: center;
    }
    
    .lynx-text {
        font-size: 2rem;
        margin-right: 0;
        margin-bottom: 5px;
        display: block;
    }
    
    .tagline-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        height: 40px;
    }
    
    .lynx-text {
        font-size: 1.8rem;
    }
    
    .tagline-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* Logo in footer */
.footer-logo {
    height: 150px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}



/* Site-wide Consistency Fixes */

/* Ensure all page heroes have consistent styling */
.page-hero,
.hero-section {
    background-color: #000000;
    color: white;
    margin-top: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Consistent button styling across all pages */
.cta-button,
.btn,
button[type="submit"] {
    display: inline-block;
    background: #FF6B35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover,
.btn:hover,
button[type="submit"]:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

/* Consistent section spacing */
.page-content,
.services-content,
.ai-services-content,
.contact-content {
    padding: 80px 0;
}

/* Consistent heading styles */
h1, h2, h3, h4, h5, h6 {
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
h4 { font-size: 1.3rem; margin-bottom: 12px; }

/* Consistent text colors */
p, li, span {
    color: #ccc;
    line-height: 1.8;
}

/* Consistent form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Consistent card styling */
.service-card,
.process-card,
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

/* Consistent icon styling */
.service-icon,
.process-icon,
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A65 100%);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Consistent link styling */
a {
    color: #FF6B35;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E55A2B;
    text-decoration: underline;
}

/* Consistent list styling */
ul, ol {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.8;
}

/* Consistent blockquote styling */
blockquote {
    background: #f8f9fa;
    border-left: 4px solid #FF6B35;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
}

/* Consistent table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

th {
    background: #FF6B35;
    color: white;
    font-weight: 600;
}

tr:hover {
    background: #f8f9fa;
}

/* Case Study Hero Section */
.case-study-hero {
    position: relative;
    overflow: hidden;
}

.case-study-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.case-study-meta {
    margin-bottom: 20px;
}

.industry-tag,
.company-size {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.company-size {
    background: rgba(0, 175, 225, 0.2);
    color: #00AFE1;
}

.case-study-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 30px 0 20px;
    color: white !important;
}

.case-study-subtitle {
    font-size: 1.3rem;
    color: #E8F4FD;
    margin-bottom: 40px;
    opacity: 0.9;
}

.key-results-preview {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.result-item {
    text-align: center;
    min-width: 120px;
}

.result-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B35;
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: #E8F4FD;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-image {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 175, 225, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

/* Executive Summary Section */
.executive-summary .summary-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.quick-facts {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #FF6B35;
}

.quick-facts h3 {
    color: #FF6B35;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.fact-item label {
    font-weight: 600;
    color: #1A2B4C;
    margin: 0;
}

.fact-item span {
    color: #666;
    font-weight: 500;
}

/* Challenge Section */
.challenge-section .section-header {
    margin-bottom: 60px;
}

.challenge-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.challenge-content ul {
    margin: 20px 0;
    padding-left: 0;
}

.challenge-content li {
    list-style: none;
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 10px;
}

.challenge-content li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 10px;
}

.challenge-metrics h3 {
    color: #FF6B35;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.pain-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pain-icon {
    font-size: 2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.pain-content h4 {
    color: #1A2B4C;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.pain-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Solution Section */
.solution-overview {
    margin-bottom: 60px;
}

.solution-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-components {
    margin-top: 60px;
}

.solution-component {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.component-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.solution-component h3 {
    color: #1A2B4C;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.solution-component p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Implementation Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #FF6B35, #00AFE1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35, #00AFE1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
    margin: 0 30px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 350px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: #FF6B35;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-duration {
    color: #00AFE1;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Results Section */
.results-section {
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.results-metrics {
    position: relative;
    z-index: 2;
}

.metric-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.metric-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    display: block;
}

.metric-description {
    font-size: 0.9rem;
    color: #E8F4FD;
    opacity: 0.8;
}

.before-after {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.comparison-card {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.comparison-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

.comparison-card li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.before li::before {
    content: '❌';
    position: absolute;
    left: 0;
    top: 10px;
}

.after li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 10px;
}

/* Testimonial Section */
.testimonial-card {
    text-align: center;
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: #FF6B35;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.testimonial-card blockquote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-author {
    margin-top: 30px;
}

.author-info strong {
    color: #1A2B4C;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.author-info span {
    color: #FF6B35;
    font-weight: 600;
}

/* Technologies Section */
.technologies-grid {
    margin-top: 40px;
}

.tech-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.tech-item h4 {
    color: #1A2B4C;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.case-study-cta {
    position: relative;
    overflow: hidden;
}

.case-study-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="28" height="24" patternUnits="userSpaceOnUse"><polygon points="14,2 26,8 26,16 14,22 2,16 2,8" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
    opacity: 0.3;
}

.case-study-cta .cta-button {
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.case-study-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-study-title {
        font-size: 2.5rem;
    }
    
    .key-results-preview {
        justify-content: center;
        gap: 20px;
    }
    
    .result-number {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }
    
    .timeline-marker {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .timeline-content {
        max-width: none;
        margin: 0 !important;
    }
    
    .solution-components .col-4,
    .technologies-grid .col-3 {
        margin-bottom: 30px;
    }
    
    .metric-card {
        margin-bottom: 20px;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .before-after .col-6 {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .case-study-title {
        font-size: 2rem;
    }
    
    .case-study-subtitle {
        font-size: 1.1rem;
    }
    
    .key-results-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .result-item {
        margin-bottom: 20px;
    }
    
    .solution-component,
    .tech-item {
        padding: 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .metric-card {
        padding: 20px 15px;
    }
    
    .comparison-card {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card blockquote {
        font-size: 1.1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Print Styles */
@media print {
    .case-study-hero,
    .case-study-cta {
        background: #1A2B4C !important;
        color: white !important;
    }
    
    .solution-component,
    .tech-item,
    .metric-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    .timeline::before {
        background: #ddd !important;
    }
    
    .timeline-marker {
        background: #1A2B4C !important;
    }
}



/* Mobile responsiveness consistency */
@media (max-width: 768px) {
    .col-6, .col-4, .col-3 {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .service-card,
    .process-card,
    .feature-card {
        padding: 30px 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}

