/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-color: #991b1b;
    --secondary-color: #7f1d1d;
    --accent-color: #ef4444;
    --text-color: #2c2c2c;
    --light-bg: #fef2f2;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.section {
    padding: 80px 0;
}

/* --- HEADER --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.2;
}

.logo span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p.subheading {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    text-align: left;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 300px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- ABOUT PREVIEW SECTION --- */
.about-preview {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.mission-vision {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.mission-vision strong {
    display: block;
    color: var(--secondary-color);
    margin-top: 10px;
}

/* --- WHY CHOOSE US --- */
.why-us {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- SERVICES SECTION --- */
.services-section {
    background-color: var(--white);
}

.service-category {
    margin-bottom: 60px;
}

.service-category h3 {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.service-item {
    background: var(--light-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    transition: 0.2s;
}

.service-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    display: none;
    /* JS will toggle this */
    animation: fadeEffect 1s;
}

.testimonial-card.active {
    display: block;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.client-name {
    font-weight: bold;
}

/* --- FAQ --- */
.faq-section {
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #fafafa;
    transition: all 0.3s ease;
    color: #555;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
    /* Adjust based on content */
    border-top: 1px solid #eee;
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* --- CONTACT & FORMS --- */
.forms-section {
    background-color: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-box h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.response-message {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #d1fae5;
    color: #065f46;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

/* --- PRIVACY & TERMS --- */
.legal-section {
    background-color: var(--light-bg);
}

.legal-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-color);
}

.legal-box h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.legal-box p {
    color: #555;
    margin-bottom: 10px;
}

/* --- FOOTER --- */
footer {
    background-color: #111827;
    /* Very dark gray */
    color: #d1d5db;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #374151;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .highlights {
        flex-direction: column;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}