/* Base Styles */
:root {
    --color-primary: #004D4D;
    --color-accent: #FF6B6B;
    --color-secondary: #F5F0E7;
    --color-text: #2A2A2A;
    --color-headings: #FFFFFF;
    --color-accent-secondary: #FFD93D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: white;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e05c5c;
    color: white;
    transform: translateY(-2px);
}

/* Header Styles */
header {
    background-color: var(--color-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    font-weight: 500;
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 2;
}

.menu-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: white;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 77, 77, 0.8);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-headings);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 32px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    height: 150px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 15px;
}

/* Contact Form Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--color-secondary);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

select.form-control {
    background-color: white;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check input {
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--color-primary);
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: block;
    position: relative;
    font-weight: bold;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-checkbox:checked + .faq-question::after {
    content: '-';
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Office Section */
.office {
    padding: 80px 0;
}

.office-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.office-info {
    flex: 1;
    min-width: 300px;
}

.office-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
}

/* Footer Styles */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-info p {
    margin-top: 15px;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--color-accent-secondary);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

address {
    font-style: normal;
}

address p {
    margin-bottom: 5px;
}

address a {
    color: var(--color-accent);
}

/* Cookie Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    z-index: 9999;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-buttons button {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-buttons a {
    color: white;
    text-decoration: underline;
}

/* Policy Pages Styling */
.policy-page {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 40px;
    background-color: var(--color-secondary);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy-page h1 {
    color: var(--color-primary);
    margin-bottom: 30px;
}

.policy-page h2 {
    color: var(--color-primary);
    margin: 30px 0 15px;
}

/* Thank You Page */
.thank-you {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 40px;
    background-color: var(--color-secondary);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: var(--color-primary);
}

.thank-you-page {
    height: 100vh;
   
    display: grid;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle-label {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 300px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        margin-top: 15px;
    }

    .thank-you-page { 
        height: auto;
    }
}
