/* --- General Reset & Variables --- */
:root {
    --primary-color: #ff6b6b; /* Coral */
    --secondary-color: #ffb347; /* Soft Orange/Amber */
    --text-color: #3e3e3e; /* Medium Gray */
    --light-bg: #fff8f0; /* Creamy White */
    --dark-bg: #362c2a; /* Deep Brown */
    --white: #ffffff; /* White */
    --font-main: 'Poppins', sans-serif;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff6b6b;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

.btn-secondary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav ul li a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(255, 107, 107, 0.85), rgba(255, 107, 107, 0.85)), url('../img/hero.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Sections General --- */
section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: 700;
}

.section-heading span {
    color: var(--secondary-color);
}

/* --- About Preview --- */
.about-preview {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-item .number {
    font-size: 2.5em;
    color: var(--secondary-color);
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.stat-item .label {
    font-size: 1em;
    color: var(--text-color);
}

/* --- Why Choose Us --- */
.why-choose-us {
    background-color: var(--white);
}

.choices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.choice-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.choice-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.choice-item span {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.choice-item h4 {
    font-size: 1.2em;
    color: var(--text-color);
}

/* Using Unicode symbols for icons - replace with font-awesome or proper icons if available */
.icon-star:before {
    content: '⭐';
}

.icon-dollar:before {
    content: '💰';
}

.icon-person:before {
    content: '🧑‍💼';
}

.icon-speed:before {
    content: '⚡';
}

.icon-secure:before {
    content: '🔒';
}

.icon-support:before {
    content: '📞';
}

/* --- Services --- */
.services-section {
    background-color: var(--light-bg);
}

/* ============================
   SERVICES SECTION
=============================== */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
    font-family: "Poppins", sans-serif;
}

.services-section .section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.services-section .section-heading span {
    color: #ff6b6b;
}

/* ============================
   TABS
=============================== */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 22px;
    border: none;
    cursor: pointer;
    background: #e9ecef;
    color: #333;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.tab-button:hover {
    background: #d7dce0;
}

.tab-button.active {
    background: #ff6b6b;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* ============================
   SERVICE GROUPS
=============================== */
.services-content {
    margin-top: 10px;
}

.service-group {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.service-group.active {
    display: grid;
}

/* Grid layout for services */
.service-group {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* ============================
   SERVICE ITEMS
=============================== */
.service-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.service-item h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.service-item:hover {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    transform: translateY(-4px);
    box-shadow: 0px 6px 15px rgba(255, 107, 107, 0.3);
}

.service-item:hover h5 {
    color: #fff;
}

/* ============================
   ANIMATIONS
=============================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   RESPONSIVE DESIGN
=============================== */

/* Tablets */
@media (max-width: 768px) {
    .services-section .section-heading {
        font-size: 28px;
    }

    .tab-button {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .services-section {
        padding: 60px 0;
    }

    .services-section .section-heading {
        font-size: 24px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }
}


/* --- Testimonials --- */
.testimonials {
    background-color: var(--white);
    text-align: center;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-item {
    flex: 0 0 100%;
    padding: 40px;
}

.testimonial-item blockquote {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--text-color);
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    line-height: 1.5;
}

.testimonial-item .client-name {
    font-weight: 600;
    color: var(--primary-color);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2em;
    line-height: 1;
    width: 40px;
    height: 40px;
    transition: background 0.3s;
}

.carousel-nav button:hover {
    background: var(--primary-color);
}

.carousel-nav .prev {
    margin-left: -50px;
}

.carousel-nav .next {
    margin-right: -50px;
}

/* --- FAQ --- */
.faq-section {
    background-color: var(--light-bg);
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover,
.accordion-button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button .icon {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s;
}

.accordion-button.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 18px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
    padding: 15px 0;
}

/* --- Contact Form --- */
.contact-section {
    background-color: var(--white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.confirmation-message {
    padding: 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    display: none;
    /* Hidden by default */
}

.newsletter-form-container {
    margin-top: 50px;
    padding: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
}

.newsletter-form-container h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.newsletter-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
}

.newsletter-form .full-width {
    grid-column: 1 / -1;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"],
.newsletter-form input[type="date"] {
    background-color: var(--white);
    color: var(--text-color);
}

.newsletter-agreement {
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.newsletter-agreement input {
    margin-right: 10px;
}


/* --- Footer --- */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-bg);
    padding: 50px 0 20px 0;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer p,
.footer address {
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
}

.footer ul li a {
    color: var(--light-bg);
    display: block;
    padding: 5px 0;
}

.footer ul li a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5em;
    margin-right: 15px;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* --- Modal Modules (Privacy/T&C) --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    border-radius: var(--border-radius);
    position: relative;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .nav {
        display: none;
        /* Simple mobile nav hiding for this example */
    }

    .header-content {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .about-content,
    .choices-grid,
    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-content,
    .service-group.active {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .carousel-nav .prev,
    .carousel-nav .next {
        margin: 0 10px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-form .full-width {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }

    .section-heading {
        font-size: 2em;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-content,
    .service-group.active {
        grid-template-columns: 1fr;
    }
}