/* Base Styles & Variables */
:root {
    --color-bg: #F6FFF8;
    --color-primary: #06B6D4;
    --color-secondary: #FBBF24;
    --color-text: #1F2937;
    --color-white: #FFFFFF;
    --color-gray-light: #F3F4F6;
    --color-gray: #9CA3AF;
    --color-gray-dark: #4B5563;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* Reset & Normalization */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    margin: 1rem auto 0;
    border-radius: 4px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #05a2bd;
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    z-index: 100;
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo svg {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 10px;
    transition: var(--transition);
}

.menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    transition: var(--transition);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

#accept-cookies {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.5) 0%, rgba(251, 191, 36, 0.5) 100%), url('../img/8vgBIE.jpg');
    background-size: cover;
    background-position: center;
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 700px;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-image {
    margin-top: 2rem;
    width: 80%;
    max-width: 800px;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* About Section */
.about-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
}

/* Services Section */
.services-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-btn {
    align-self: center;
}

/* Pricing Section */
.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    text-align: center;
}

.price {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin: 1rem 0;
    font-weight: 700;
}

.price-period {
    font-size: 1rem;
    color: var(--color-gray);
}

.features-list {
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-gray-light);
}

/* Testimonials Section */
.testimonials-container {
    overflow: hidden;
    position: relative;
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
}

.testimonials-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial-card {
    min-width: calc(33.333% - 1.5rem);
    scroll-snap-align: start;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    padding: 2px;
}

.circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-name {
    margin-bottom: 0;
}

.testimonial-position {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--color-secondary);
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    background-color: var(--color-white);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background-color: var(--color-gray-light);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 500px;
}

/* Contact Form */
.contact-section {
    background-color: var(--color-white);
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
    margin-top: 0.25rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin: 0;
    color: var(--color-white);
}

.footer-info p {
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--color-white);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.footer-contact address {
    font-style: normal;
    opacity: 0.8;
}

.footer-contact a {
    color: var(--color-white);
    opacity: 0.8;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: var(--color-white);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Thank You Page */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1rem 4rem;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-frame {
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    background-color: var(--color-white);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.thank-you-list {
    text-align: left;
    margin: 2rem auto;
    width: fit-content;
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 4rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul, 
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content ul {
    list-style-type: disc;
}

.legal-content ol {
    list-style-type: decimal;
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .services-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        min-width: calc(50% - 1rem);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        flex-direction: column;
        background-color: var(--color-white);
        width: 250px;
        height: 100vh;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        align-items: flex-start;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-image {
        opacity: 0.3;
    }
} 