/* --- General Styles & Resets --- */
:root {
    --primary-color: #ff6b6b;
    /* Coral Red */
    --secondary-color: #feca57;
    /* Warm Yellow */
    --dark-color: #2f3542;
    /* Charcoal */
    --light-color: #fff3e0;
    /* Light Peach */
    --white-color: #ffffff;
    --gray-color: #dfe4ea;
    --text-color: #222;
    --border-radius: 8px;
    --box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px 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 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--dark-color);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    gap: 15px;
}

.header-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(247, 110, 110, 0.85), rgba(247, 110, 110, 0.85)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* --- Why Choose Us --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-item {
    padding: 25px;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.why-item::before {
    content: '✔';
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 10px;
}

.promise {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    border-radius: var(--border-radius);
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.service-category {
    background: var(--white-color);
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.service-category:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.service-category h3 {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
}

.service-category ul li {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-color);
}

.service-category ul li:last-child {
    border-bottom: none;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--secondary-color);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background: var(--white-color);
    padding: 20px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    background: var(--light-color);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

/* --- Contact Form & Newsletter --- */
.form-container {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
}

.confirmation-message {
    display: none;
    /* Hidden by default */
    padding: 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    margin-top: 20px;
    text-align: center;
}

/* --- Privacy & Terms --- */
.legal-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-color);
    color: var(--gray-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-col p {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    font-weight: 600;
}

.social-links a:hover {
    color: var(--white-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {

    /* Header */
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 15px 0;
    }

    .header-cta {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.2rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }

    /* Forms & Grids */
    .form-container,
    .hero,
    .section-padding {
        padding: 40px 20px;
    }

    .services-grid,
    .testimonials-grid,
    .why-us-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}