/* Reset and Base Styles */
:root {
    --primary-color: #2271b3; /* Divan blue color */
    --secondary-color: #1a5789; /* Darker blue for hover states */
    --accent-color: #f39c12; /* Orange accent color */
    --light-color: #f4f9ff; /* Light blue background */
    --light-blue: #f4f9ff; /* Light blue background */
    --dark-color: #1d3557; /* Dark blue for footer */
    --dark-blue: #1d3557; /* Dark blue for headings */
    --text-color: #333333; /* Main text color */
    --border-color: #e0e0e0; /* Border color */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(34, 113, 179, 0.8), rgba(29, 53, 87, 0.9));
    color: white;
    padding: 7.5rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent-color);
    background: linear-gradient(45deg, var(--accent-color), #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: #ffffff;
}

section:nth-child(odd) {
    background: #ffffff;
}

h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* About Section Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-blue), white);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(34, 113, 179, 0.15);
}

.highlight-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.highlight-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.highlight-link:hover {
    color: var(--primary-color);
}

/* Services Section Enhancements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.02);
    border: 3px solid var(--accent-color);
}

.service-card.featured h3,
.service-card.featured p {
    color: white;
}

.service-card.featured .service-icon i {
    color: var(--accent-color);
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Technologies & Expertise Section */
.expertise {
    background: linear-gradient(135deg, var(--light-blue), white);
    padding: 5rem 0;
    width: 100%;
    overflow-x: hidden;
}

.expertise .container {
    max-width: 1200px;
    width: 100%;
}

/* Technologies Section */
.tech-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tech-category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(34, 113, 179, 0.15);
}

.tech-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-category-card:hover::before {
    transform: scaleX(1);
}

.tech-category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.tech-category-card:hover .tech-category-icon {
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    transform: rotateY(180deg);
}

.tech-category-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-category-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Expertise Areas */
.expertise-areas {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 3px solid var(--primary-color);
    background: rgba(34, 113, 179, 0.02);
    border-radius: 20px;
    padding: 4rem 2rem;
}

/* Special styling for different tech categories */
.tech-category:nth-child(2) {
    border-left: 4px solid #3498db;
}

.tech-category:nth-child(3) {
    border-left: 4px solid #e74c3c;
}

.tech-category:nth-child(4) {
    border-left: 4px solid #2ecc71;
}

.tech-category:nth-child(5) {
    border-left: 4px solid #f39c12;
}

.tech-category:nth-child(6) {
    border-left: 4px solid #9b59b6;
}

.tech-category:nth-child(7) {
    border-left: 4px solid #1abc9c;
}

.tech-category:nth-child(8) {
    border-left: 4px solid #34495e;
}

.expertise-areas h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.expertise-areas h3 i {
    color: var(--accent-color);
    font-size: 2.2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(34, 113, 179, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.expertise-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(34, 113, 179, 0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scale(1.1);
}

.expertise-icon i {
    font-size: 2rem;
    color: white;
}

.expertise-card h4 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.expertise-card p {
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Enhanced Contact Section */
.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-cta h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid;
    white-space: nowrap;
}

.cta-button.primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.cta-button.primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 113, 179, 0.4);
}

.contact-benefits {
    background: rgba(34, 113, 179, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-color);
}

.contact-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-benefits ul {
    list-style: none;
    padding: 0;
}

.contact-benefits ul li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-weight: 500;
}

.contact-guarantee {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-color);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 1px solid var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.guarantee-badge i {
    color: var(--accent-color);
}
.about {
    text-align: center;
}

.about .container {
    max-width: 800px;
}

.about p {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.service-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.service-item h3 {
    color: #000000;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-item ul {
    list-style: none;
    margin-top: 1rem;
}

.service-item li {
    padding: 0.25rem 0;
    color: #333333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-item li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.approach-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.2s ease;
}

.approach-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.approach-item h3 {
    color: #000000;
    margin-bottom: 0.75rem;
}

.approach-item p {
    color: #333333;
    font-size: 0.95rem;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.expertise-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.expertise-item h3 {
    color: #000000;
    margin-bottom: 0.75rem;
}

.expertise-item p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.expertise-item ul {
    list-style: none;
    margin-top: 1rem;
}

.expertise-item li {
    padding: 0.25rem 0;
    color: #333333;
    font-size: 0.9rem;
}

.expertise-item li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.solution-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.2s ease;
}

.solution-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.solution-item h3 {
    color: #000000;
    margin-bottom: 0.75rem;
}

.solution-item p {
    color: #333333;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    background: #ffffff;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: #000000;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-item p {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    text-align: center;
    background: #ffffff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-content p {
    color: #333333;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-size: 1.125rem;
    margin: 1rem 0;
    color: #000000;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.solution-card.featured {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #cccccc;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.site-footer p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Responsive Design for Technologies */
@media (min-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .tech-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.2rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1rem 0.6rem;
        font-size: 0.85rem;
        min-height: 70px;
    }
}

@media (max-width: 575px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        min-height: 60px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .service-grid,
    .approach-grid,
    .expertise-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .container {
        padding: 0 1rem;
    }

    /* New responsive styles for enhanced content */
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-category {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .tech-category h3 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-cta {
        padding: 1.5rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .expertise-areas h3 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .service-item,
    .approach-item,
    .expertise-item,
    .solution-item,
    .faq-item {
        padding: 1rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }

    /* Enhanced mobile styles */
    .container {
        padding: 0 1rem;
    }

    .highlight-item {
        padding: 1rem;
    }

    .highlight-item h4 {
        font-size: 1.1rem;
    }

    .tech-category {
        padding: 1.5rem 1rem;
        margin-bottom: 2.5rem;
    }

    .tech-category h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .contact-details {
        margin: 1.5rem 0;
    }

    .contact-cta {
        padding: 1rem;
    }

    .service-card,
    .approach-card {
        padding: 1.5rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expertise-card {
        padding: 1.5rem;
    }

    .expertise-areas h3 {
        font-size: 1.4rem;
    }
}

/* Case Studies Section */
.case-studies {
    padding: 6.25rem 0;
    background-color: var(--light-color);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.case-study-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.industry-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.challenge, .solution {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.challenge {
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid #e74c3c;
}

.solution {
    background: rgba(46, 204, 113, 0.1);
    border-left: 3px solid #2ecc71;
}

.results {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.result-text {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Studies Responsive */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-study-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .results {
        flex-direction: column;
        gap: 1rem;
    }
    
    .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .result-number {
        font-size: 1.25rem;
    }
}

/* Blog Section */
.blog {
    padding: 6.25rem 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.blog-date {
    color: #666;
}

.blog-category {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.blog-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 0.75rem;
    color: var(--secondary-color);
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-image {
        height: 150px;
    }
    
/* Mobile-First Responsive Design Improvements */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    /* Improve touch targets */
    .service-card, .approach-card, .expertise-card, 
    .solution-card, .case-study-card, .blog-card {
        padding: 1.25rem;
    }
    
    /* Better spacing for mobile */
    section {
        padding: 3rem 0;
    }
}

/* Performance optimizations */
.animate {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #1a5c8a;
        --accent-color: #d68910;
        --border-color: #333;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark mode support (future-ready) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f0f0f0;
        --border-color: #444;
    }
    
    body {
        background-color: #1a1a1a;
        color: var(--text-color);
    }
    
    .service-card, .approach-card, .expertise-card, 
    .solution-card, .case-study-card, .blog-card {
        background-color: #2a2a2a;
        border-color: var(--border-color);
    }
}
