/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}
a {
    color: #F2B705
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1C23;
    color: #FDFDFD;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.container > h2, .container > p {
    text-align: center;
}

.container > p {
    margin-bottom: 2rem;
}

/* Header */
header {
    background-color: #2C2F3A;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #F2B705;
    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #FDFDFD;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FF6F61;
}

.menu-toggle {
    display: none;
}

.menu-checkbox {
    display: none;
}

/* Hero Section */
.hero {
    background: url('./img/Tl13S.jpg') no-repeat center center/cover;
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 28, 35, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #F2B705;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    background-color: #F2B705;
    color: #1A1C23;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: auto;
    max-width: max-content;
    display: block;
}

.btn:hover {
    background-color: #d9a500;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #F2B705;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F2B705;
}

/* About Section */
.about {
    background-color: #2C2F3A;
}

/* Services Section */
.services-grid, .testimonials-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.service-card, .testimonial-card, .step-card {
    background-color: #2C2F3A;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover, .testimonial-card:hover, .step-card:hover {
    transform: translateY(-5px);
}

.service-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.service-card img, .testimonial-card img, .step-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Advantages Section */
.advantages {
    background-color: #2C2F3A;
}

.advantages-list {
    list-style-type: none;
    padding: 0;
    margin-top: 2rem;
}

.advantage-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.advantage-item::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: #F2B705;
}

/* Testimonials Section */
.testimonial-card {
    position: relative;
    padding-top: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: #F2B705;
    opacity: 0.5;
}

.testimonial-name {
    font-weight: bold;
    margin-top: 1rem;
    text-align: right;
    color: #F2B705;
}

/* Steps Section */
.steps-grid {
    counter-reset: step-counter;
}

.step-card {
    position: relative;
    padding-top: 2rem;
}

.step-card::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 1rem;
    background-color: #F2B705;
    color: #1A1C23;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* FAQ Section */
.faq-container {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #2C2F3A;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    display: block;
}

.faq-question label {
    display: block;
    width: 100%;
    cursor: pointer;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: #3A3D4A;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

.faq-checkbox:checked ~ .faq-question::after {
    transform: rotate(45deg);
}

/* Form Section */
.form-section {
    background-color: #2C2F3A;
    padding: 3rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #3A3D4A;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #5A5D6C;
    border-radius: 5px;
    background-color: #2C2F3A;
    color: #FDFDFD;
}

select.form-control option {
    color: black;
    background-color: white;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 4px;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    color: #F2B705;
    text-decoration: none;
}

.form-check-label a:hover {
    color: #FF6F61;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2C2F3A;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #F2B705;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #FDFDFD;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #FF6F61;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item-icon {
    margin-right: 10px;
    color: #F2B705;
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #5A5D6C;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2C2F3A;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    min-width: 300px;
    flex-direction: column;
}

.cookie-text {
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #2C2F3A;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.policy-container h1 {
    margin-bottom: 2rem;
    text-align: center;
    color: #F2B705;
}

.policy-container h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.policy-container p {
    margin-bottom: 1.5rem;
}

.policy-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    max-width: 600px;
    margin: 5rem auto;
    padding: 3rem;
    background-color: #2C2F3A;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 2px solid #F2B705;
}

.thanks-container h1 {
    color: #F2B705;
    margin-bottom: 1.5rem;
}

/* Extra Pages */
.extra-page-container {
    max-width: 800px;
    margin: 5rem auto;
    padding: 2rem;
    background-color: #2C2F3A;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.extra-page-container h1 {
    color: #F2B705;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 0.5rem 5%;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background: none;
        border: none;
        color: #FDFDFD;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .nav {
        height: 100vh;
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
        padding: 1rem 0;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid, .testimonials-grid, .steps-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .thanks-section {
        height: auto;
    }
    
    body:has(#menu-toggle:checked) {
        overflow: hidden;
    }
    
    .thanks-container, .extra-page-container, .policy-container {
        margin: 2rem auto;
        padding: 1.5rem;
    }
}
