/* Base Styles */
:root {
    --color-background: #f4f0ec;
    --color-primary: #005f73;
    --color-secondary: #94d2bd;
    --color-accent-1: #ee9b00;
    --color-accent-2: #ca6702;
    --color-text: #0a0908;
    --border-radius: 0.75rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 4rem 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 1rem auto;
    border-radius: var(--border-radius);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Header Styles */
.main-header {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 200px;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo a {
    font-weight: bold;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./img/Jq8AaA.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero .btn {
    animation: fadeIn 1.5s ease-out;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image {
    flex: 1;
    overflow: hidden;
}

.about-image img {
    transition: transform 0.7s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

/* Values Section */
.values {
    background-color: var(--color-background);
}

.values-content {
    text-align: center;
}

.values-image {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.values-image img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
    display: block;
}

.values-image:hover img {
    transform: scale(1.05);
}

.values-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    flex: 1 1 200px;
    max-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
}

/* Benefits Section */
.benefits {
    background-color: var(--color-background);
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.benefit-item {
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    transform: rotateY(180deg);
    background-color: var(--color-accent-1);
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Contact Section */
.contact {
    background-color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: white;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-top: 0.3rem;
    margin-right: 0.75rem;
}

.form-check label {
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.accordion-header {
    padding: 15px 20px;
    background-color: #fff;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-header:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header:after {
    content: '−';
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 15px 20px;
    max-height: 500px; /* Large enough to contain content */
}

/* PHP-based accordion styles (no JS) */
.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content {
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* Footer Styles */
.main-footer {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.footer-column a {
    color: white;
}

.footer-column a:hover {
    color: var(--color-secondary);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1000px;
}

.cookie-content p {
    margin: 0;
    flex: 1 1 500px;
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 8rem 0;
    background-color: white;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.thank-you h1 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.thank-you .icon {
    width: 120px;
    height: 120px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    animation: fadeInDown 0.8s ease-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.thank-you .icon svg {
    width: 60px;
    height: 60px;
    stroke: white;
}

.thank-you-box {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1.2s ease-out;
}

.thank-you .contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.thank-you .phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

.thank-you .btn {
    animation: fadeInUp 1.5s ease-out;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add proper scroll margin for all sections with ID to prevent header overlap */
section[id] {
    scroll-margin-top: 120px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-header {
        padding: 0.7rem 0;
    }
    
    .main-header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
    }
    
    .logo {
        font-size: 1.2rem;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        width: auto;
        text-align: left;
        flex: 0 0 auto;
        margin-left: 10px;
    }
    
    .main-nav {
        width: auto;
        margin-right: 10px;
    }
    
    .main-nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 6px;
        padding: 0;
    }
    
    .main-nav li {
        width: auto;
    }
    
    .main-nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
        display: block;
        text-align: center;
        background-color: rgba(0, 95, 115, 0.08);
        border-radius: 4px;
        width: auto;
        color: var(--color-primary);
        white-space: nowrap;
    }
    
    .main-nav a:hover {
        background-color: rgba(0, 95, 115, 0.15);
        color: var(--color-primary);
    }
    
    /* Add padding to all sections to prevent header overlap */
    section {
        padding-top: 5rem;
        margin-top: -1rem;
    }
    
    /* Additional space for specific sections that need it */
    section[id] {
        scroll-margin-top: 80px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .values-image {
        max-width: 85%;
    }
}

/* Extra small device optimization */
@media (max-width: 400px) {
    .container {
        width: 100%;
        padding: 0 5px;
    }
    
    .main-header {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.1rem;
        margin-left: 5px;
    }
    
    .main-nav {
        margin-right: 5px;
    }
    
    .main-nav ul {
        gap: 4px;
    }
    
    .main-nav a {
        font-size: 0.75rem;
        padding: 0.3rem 0.25rem;
    }
    
    .main-nav a:hover {
        background-color: rgba(0, 95, 115, 0.15);
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .service-image {
        height: 130px;
    }
    
    .service-price {
        font-size: 1.3rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .values-image {
        max-width: 80%;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid,
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
} 

@media (max-width: 350px) {
    .container {
        width: 100%;
        padding: 0 3px;
    }
    
    .logo {
        font-size: 1rem;
        margin-left: 3px;
    }
    
    .main-nav {
        margin-right: 3px;
    }
    
    .main-nav ul {
        gap: 2px;
    }
    
    .main-nav li {
        width: auto;
    }
    
    .main-nav a {
        font-size: 0.65rem;
        padding: 0.2rem 0.15rem;
        border-radius: 3px;
    }
    
    /* Additional space for specific sections that need it */
    section[id] {
        scroll-margin-top: 70px;
    }
    
    section {
        padding-top: 4.5rem;
    }
} 