/* Base Styles */
:root {
    --color-bg: #012a36;
    --color-accent1: #fcd000;
    --color-accent2: #ff7e6b;
    --color-light: #e6f2f0;
    --color-text: #202020;
    --color-bg-light: #023b4d;
    --font-family: 'Arial', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

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 {
    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 {
    color: var(--color-bg);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent2);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button Styles */
.button, button, .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-accent1), var(--color-accent2));
    color: var(--color-bg);
    font-weight: bold;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.button:hover, button:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--color-bg);
}

/* Header Styles */
header {
    background-color: var(--color-bg);
    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;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-accent1);
    text-transform: lowercase;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--color-light);
    font-weight: 500;
    padding: 5px;
}

nav a:hover {
    color: var(--color-accent1);
}

/* Menu Toggle */
.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--color-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(1, 42, 54, 0.7), rgba(1, 42, 54, 0.9)), url('./img/wM3FS.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-light);
    text-align: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    margin: 0 auto;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: var(--color-accent1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    color: var(--color-bg);
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-accent1), var(--color-accent2));
    left: 20%;
    bottom: -10px;
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--color-light);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-color: var(--color-bg);
    color: var(--color-light);
}

.services .section-title h2 {
    color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.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-accent1);
    margin-bottom: 10px;
}

/* Advantages Section */
.advantages {
    background-color: var(--color-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.advantage-card h3 {
    color: var(--color-bg);
    margin: 15px 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-bg);
    color: var(--color-light);
}

.testimonials .section-title h2 {
    color: var(--color-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--color-accent1);
}

/* Steps Section */
.steps {
    background-color: var(--color-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent1), var(--color-accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--color-bg);
}

.step-card h3 {
    margin-top: 10px;
    color: var(--color-bg);
}

/* Contact Form Section */
.contact {
    background-color: var(--color-bg);
    color: var(--color-light);
}

.contact .section-title h2 {
    color: var(--color-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--color-accent1), var(--color-accent2)) 1;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-bg);
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--color-text);
    font-family: var(--font-family);
}

select option {
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
}

/* FAQ Section */
.faq {
    background-color: var(--color-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: block;
    padding: 15px;
    background-color: white;
    color: var(--color-bg);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    border-left: 4px solid var(--color-accent1);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    transition: var(--transition);
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: var(--transition);
}

.faq-answer-content {
    padding: 0 15px;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 15px;
}

.faq-checkbox:checked ~ .faq-question::after {
    transform: rotate(45deg);
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    margin: 3rem auto;
}

.thanks-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--color-accent1), var(--color-accent2)) 1;
}

.thanks-container h1 {
    color: var(--color-bg);
    margin-bottom: 20px;
}

/* Policy Pages */
.policy-section {
    padding: 60px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--color-accent1), var(--color-accent2)) 1;
}

.policy-container h1 {
    margin-bottom: 30px;
    color: var(--color-bg);
    text-align: center;
}

.policy-container h2 {
    margin-top: 30px;
    color: var(--color-bg);
}

/* Footer */
footer {
    background-color: var(--color-bg);
    color: var(--color-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-accent1);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a, form a:hover  {
    color: var(--color-light);
}

.footer-section a:hover, form a{
    color: var(--color-accent1);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(230, 242, 240, 0.2);
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: var(--color-bg);
    color: var(--color-light);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-buttons a {
    color: var(--color-accent1);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle-label {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 20px 20px;
        gap: 15px;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
    
    .menu-checkbox:checked ~ .menu-toggle-label .bar:nth-child(1) {
        transform: rotate(45deg) translate(9px, 6px);
    }
    
    .menu-checkbox:checked ~ .menu-toggle-label .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-checkbox:checked ~ .menu-toggle-label .bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .thanks-section {
        height: auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
}
