﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #500724;
    --primary-hover: #400520;
    --text-gray: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.text-primary {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

    .btn i {
        margin-right: 0.5rem;
    }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
    }

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

    .btn-secondary:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

    .btn-outline:hover {
        background-color: var(--white);
        color: var(--primary-color);
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    padding: 0 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.brand-text {
    font-family: 'Pacifico', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    height: 1.5rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
    }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(80, 7, 36, 0.7), rgba(80, 7, 36, 0.7)), url('https://readdy.ai/api/search-image?query=Modern%20Dubai%20skyline%20with%20futuristic%20digital%20technology%20elements%2C%20sleek%20glass%20buildings%20reflecting%20innovation%20and%20progress%2C%20professional%20business%20atmosphere%20with%20subtle%20tech%20overlays%2C%20clean%20minimalist%20design%20with%20warm%20lighting%20that%20complements%20burgundy%20color%20scheme%2C%20high-tech%20cityscape%20representing%20global%20digital%20transformation%20and%20IT%20excellence&width=1920&height=1080&seq=hero-bg&orientation=landscape');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    background: linear-gradient(45deg, var(--white), #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.learn-more {
    font-weight: 400;
    color: var(--primary-color);
}

    .learn-more:hover {
        font-weight: 500;
        color: var(--primary-hover);
    }

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Sections */
.services,
.projects,
.why-choose,
.testimonials {
    padding: 2rem 0;
}

.services {
    background-color: var(--white);
}

.projects {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.service-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

    .service-features li {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
        color: var(--text-light);
    }

        .service-features li i {
            color: var(--primary-color);
            margin-right: 0.5rem;
        }

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.project-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    padding: 0.25rem 0.5rem;
    background-color: rgba(80, 7, 36, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    border-radius: 9999px;
}

.project-result {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Why Choose Us */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-light);
}

.why-choose-image .image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.testimonial-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-content {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

.author-company {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-description {
    color: #9ca3af;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .footer-list a {
        color: #9ca3af;
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-list a:hover {
            color: var(--white);
        }

    .footer-list li i {
        margin-right: 0.5rem;
        color: var(--primary-color);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.readdy-link {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

    .readdy-link:hover {
        color: var(--white);
    }

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Case Studies Styles */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .case-study-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

.case-study-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .case-study-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.case-study-content {
    padding: 2rem;
}

.case-study-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.case-study-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.result-item {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b4513;
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .process-step:hover {
        transform: translateY(-5px);
    }

.process-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.process-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #8b4513;
        box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    }

    .form-input select {
        cursor: pointer;
    }

.form-help {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

    .checkbox-label input[type="checkbox"] {
        width: auto;
        margin: 0;
    }

.checkmark {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #8b4513;
    border-color: #8b4513;
}

    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        content: '✓';
        color: white;
        font-size: 0.875rem;
        font-weight: bold;
    }

.text-link {
    color: #8b4513;
    text-decoration: underline;
}

    .text-link:hover {
        color: #a0522d;
    }

.btn-full {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

/* Contact Info Section */
.contact-info-section {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

    .contact-info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: #374151;
    margin-bottom: 0.25rem;
}

.contact-info-content small {
    color: #6b7280;
    font-size: 0.875rem;
}

.contact-social h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: #8b4513;
        color: white;
        transform: translateY(-2px);
    }

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

    .map-container iframe {
        width: 100%;
        height: 400px;
        border: none;
    }

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

    .faq-question:hover {
        background: #f9fafb;
    }

    .faq-question h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1f2937;
        margin: 0;
        flex: 1;
    }

.faq-icon {
    font-size: 1.25rem;
    color: #8b4513;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

        .nav-menu.active {
            height: auto;
            display: flex;
            border-radius: 10px;
        }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Design for New Pages */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-section {
        position: static;
    }

    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-study-results {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .result-item {
        padding: 0.75rem;
        background: white;
        border-radius: 0.5rem;
    }

    .contact-form,
    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .case-study-content {
        padding: 1.5rem;
    }

    .case-study-title {
        font-size: 1.25rem;
    }

    .case-study-results {
        padding: 1rem;
    }

    .result-number {
        font-size: 1.25rem;
    }

    .contact-form,
    .contact-info-card {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

        .faq-question h3 {
            font-size: 1rem;
        }
}

/* Authentication Styles */
.nav-auth {
    display: contents;
    align-items: center;
    margin-left: auto;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-btn {
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.auth-btn-primary {
    background: #7c2d12;
    color: white;
    border-color: #7c2d12;
}

    .auth-btn-primary:hover {
        background: #991b1b;
        border-color: #991b1b;
        transform: translateY(-1px);
    }

.auth-btn-secondary {
    background: transparent;
    color: #7c2d12;
    border-color: #7c2d12;
}

    .auth-btn-secondary:hover {
        background: #7c2d12;
        color: white;
        transform: translateY(-1px);
    }

/* User Menu */
.user-menu {
    position: relative;
}

.user-toggle {
    margin-top: -10px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .user-toggle:hover {
        border-color: #7c2d12;
        background: #fef3f2;
    }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7c2d12;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.user-name {
    font-weight: 500;
    color: #374151;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.user-info {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #7c2d12;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.user-details {
    flex: 1;
}

.user-fullname {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.user-email {
    font-size: 14px;
    color: #6b7280;
}

.user-links {
    padding: 8px;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

    .user-link:hover {
        background: #f9fafb;
        color: #7c2d12;
    }

    .user-link i {
        font-size: 18px;
        width: 20px;
        text-align: center;
    }

.user-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 8px 0;
}

.logout-form {
    margin: 0;
}

.logout-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-weight: 500;
}

    .logout-btn:hover {
        background: #fef2f2;
        color: #dc2626;
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-auth {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .auth-btn {
        flex: 1;
        justify-content: center;
        max-width: 140px;
    }

    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }

        .user-dropdown.show {
            transform: translateY(0);
        }
}

/* Mobile Menu Integration */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-auth {
        order: 3;
        width: 100%;
        padding: 16px 0;
        border-top: 1px solid #e5e7eb;
        display: none;
    }

    .nav-menu.active + .nav-auth {
        height: auto;
        display: flex;
        border-radius: 10px;
    }
}



/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }

        .nav-menu.active {
            height: auto;
            display: flex;
            border-radius: 10px;
        }

    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        margin: 4px 0;
    }

        .nav-link:hover {
            background: #f9fafb;
        }

    .nav-auth {
        display: none;
        background: white;
        padding: 20px;
        border-top: 1px solid #e5e7eb;
    }
}