/* --- CSS VARIABLES & RESET --- */

:root {
    --primary: #3b1f1f;
    --secondary: #5a2e2e;
    --accent: #ff7a18;
    --text-light: #fff4f0;
    --text-dark: #402020;
    --bg-light: #fff7f3;
    --white: #ffffff;
    --shadow: 0 10px 30px -10px rgba(90, 46, 46, 0.18);
    --transition: all 0.3s ease;
}

/* --- CSS VARIABLES & RESET --- */
/*:root {
    --primary: #0f2f2a;
    --secondary: #1f4d45;
    --accent: #10b981;
    --text-light: #ecfdf5;
    --text-dark: #1b3a36;
    --bg-light: #f0fdf9;
    --white: #ffffff;
    --shadow: 0 10px 30px -10px rgba(15, 47, 42, 0.18);
    --transition: all 0.3s ease;
}*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #b8972c;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* --- HERO SECTION (Alternate 1: Image Right) --- */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Alternate Hero Concept (Statistics Style) - Hidden by default, toggled via JS if needed, but included in CSS for structure */
.hero-centered {
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    color: var(--white);
    padding: 150px 20px;
}

.hero-centered h1 {
    color: var(--white);
    font-size: 3rem;
}

.hero-centered p {
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 40px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- ABOUT PREVIEW --- */
.about-preview {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-icon-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* --- WHY CHOOSE US --- */
.why-us {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-top: 3px solid var(--accent);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h4 {
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
}

/* --- SERVICES SECTION --- */
.services {
    background: var(--bg-light);
}

.services-category {
    margin-bottom: 60px;
}

.category-title {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.service-card:hover {
    border-left: 3px solid var(--accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.service-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.service-card p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.learn-more {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

.learn-more:hover {
    text-decoration: underline;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background: var(--primary);
    color: var(--white);
    padding-bottom: 80px;
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title p {
    color: #aaa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.2);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #555;
    margin-right: 15px;
    overflow: hidden;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name h5 {
    color: var(--white);
    margin-bottom: 2px;
}

.client-name span {
    font-size: 0.8rem;
    color: var(--accent);
}

.stars {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    color: #ccc;
    font-size: 0.95rem;
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    background: var(--white);
    transition: var(--transition);
}

.accordion-header:hover {
    background: #f9f9f9;
    color: var(--accent);
}

.accordion-header.active {
    background: var(--primary);
    color: var(--white);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
    color: #555;
}

.accordion-body p {
    padding: 20px 0;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    box-shadow: var(--shadow);
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.form-message {
    display: none;
    padding: 15px;
    background: #d4edda;
    color: #155724;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

/* --- NEWSLETTER --- */
.newsletter {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: center;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 4px;
}

.checkbox-group {
    grid-column: span 3;
    text-align: left;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

/* --- FOOTER --- */
footer {
    background: #050d18;
    color: #888;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #112240;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #112240;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    margin-left: 20px;
    color: #888;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Basic mobile menu hiding */
    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-links a {
        margin: 0 10px;
    }
}