/* Main CSS Styles */
:root {
    --primary-bg: #F8F4EC;
    --secondary-bg: #003049;
    --accent: #FFB703;
    --button-gradient-start: #D62828;
    --button-gradient-end: #FFB703;
    --text-color: #1B1B1E;
    --icon-color: #FA7268;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.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;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: var(--primary-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: var(--icon-color);
}

.main-menu ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-menu a {
    padding: 10px;
    font-weight: 500;
    line-height: 1;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--icon-color);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Button styles */
.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--button-gradient-start), var(--button-gradient-end));
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background-color: var(--primary-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-title {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-height: 350px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding-right: 20px;
}

/* Features Section */
.features {
    background-color: var(--primary-bg);
}

.features-title {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--icon-color);
}

/* Services Section */
.services {
    background-color: white;
}

.services-title {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 300px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 30px;
}

.card-front {
    background-color: var(--secondary-bg);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-front img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card-back {
    background-color: var(--accent);
    color: var(--secondary-bg);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-bg);
}

.testimonials-title {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    background-color: var(--secondary-bg);
    color: white;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

/* CTA Section */
.cta {
    background-color: var(--secondary-bg);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Contact Form Section */
.contact {
    background-color: var(--primary-bg);
}

.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(248, 244, 236, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li svg {
    margin-right: 10px;
    min-width: 16px;
}

.legal-links li {
    margin-bottom: 10px;
}

.legal-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-bg);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
}

.cookie-popup button {
    background-color: var(--accent);
    border: none;
    color: var(--secondary-bg);
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--secondary-bg);
}

.policy-container ul,
.policy-container ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container ul li,
.policy-container ol li {
    margin-bottom: 10px;
}

/* Thanks Page */
.thanks-container {
    text-align: center;
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.thanks-container h1 {
    color: var(--secondary-bg);
    margin-bottom: 20px;
}

.thanks-container p {
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .menu-icon {
        display: block;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-bg);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .main-menu {
        max-height: 500px;
    }
    
    .main-menu ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-menu li {
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        padding: 10px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .policy-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
}
