/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-family: 'Poppins', 'Inter', sans-serif;
}

body {
    background-color: #FAFAF6;
    color: #1D3557;
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 40px;
    padding: 4rem 1rem;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: #1D3557;
    transition: color 0.3s ease;
}

a:hover {
    color: #E63946;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    margin: auto;
    max-width: max-content;
    display: block;
    background-color: #E63946;
    color: #F1FAEE;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1D3557;
    color: #F1FAEE;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1D3557;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E63946;
    border-radius: 2px;
}

/* Header */
header {
    background-color: rgba(29, 53, 87, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 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: 1rem;
}

.logo a {
    color: #F1FAEE;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: #F1FAEE;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #E63946;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-checkbox {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/LjJBt.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    margin: 0 auto;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    color: #F1FAEE;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    color: #A8DADC;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

/* About Section */
.about {
    background-color: #F1FAEE;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.service-card {
    background-color: #F1FAEE;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px 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.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: #1D3557;
}

/* Advantages Section */
.advantages {
    background-color: #1D3557;
    color: #F1FAEE;
}

.advantages .section-title {
    color: #F1FAEE;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    background-color: rgba(168, 218, 220, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #E63946;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: #A8DADC;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #F1FAEE;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: #F1FAEE;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(230, 57, 70, 0.1);
    z-index: -1;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: #1D3557;
}

/* Testimonials Section */
.testimonials {
    background-color: #F1FAEE;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: #FAFAF6;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(230, 57, 70, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1D3557;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: block;
    background-color: #F1FAEE;
    color: #1D3557;
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #FAFAF6;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-checkbox:checked ~ .faq-question {
    background-color: #A8DADC;
}

.faq-checkbox:checked ~ .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Contact Form */
.contact {
    background-color: #1D3557;
    color: #F1FAEE;
}

.contact .section-title {
    color: #F1FAEE;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    padding: 1rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-info-icon {
    color: #E63946;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-info-content h4 {
    color: #A8DADC;
    margin-bottom: 0.5rem;
}

.contact-info-content p, .contact-info-content a {
    color: #F1FAEE;
}

.form-container {
    background-color: #F1FAEE;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1D3557;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #FAFAF6;
}

.form-control:focus {
    border-color: #A8DADC;
    box-shadow: 0 0 0 3px rgba(168, 218, 220, 0.3);
    outline: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D3557' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select.form-control option {
    background-color: #fff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-label {
    color: #1D3557;
    font-size: 0.9rem;
}

.checkbox-label a {
    color: #E63946;
    text-decoration: underline;
}

.form-submit {
    width: 100%;
}

/* Footer */
footer {
    background-color: #0D1B2A;
    color: #F1FAEE;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: #A8DADC;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #E63946;
}

.footer-column p {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #A8DADC;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E63946;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 218, 220, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1D3557;
    color: #F1FAEE;
    padding: 1rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cookie-accept {
    background-color: #E63946;
    color: #F1FAEE;
}

.cookie-accept:hover {
    background-color: #d62c3a;
}

.cookie-decline {
    background-color: transparent;
    color: #A8DADC;
    border: 1px solid #A8DADC;
}

.cookie-decline:hover {
    background-color: rgba(168, 218, 220, 0.1);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 8rem auto 4rem;
    padding: 3rem;
    background-color: #F1FAEE;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-title {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    margin: 2rem 0 1rem;
    color: #1D3557;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin: 1rem 0 1rem 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    margin-top: 5rem;

}

.thanks-container {
    max-width: 700px;
    margin: 5rem auto;
    padding: 3rem;
    text-align: center;
    background-color: #F1FAEE;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    font-size: 5rem;
    color: #E63946;
    margin-bottom: 2rem;
}

.thanks-title {
    margin-bottom: 1.5rem;
    color: #1D3557;
}

.thanks-text {
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 1rem;
    }
    
    .menu-toggle {
        display: block;
        color: #F1FAEE;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1D3557;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
        gap: 5px;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(168, 218, 220, 0.1);
    }
    
    nav a {
        display: block;
        padding: 1rem;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .thanks-section {
        height: auto;
    }
}

@media (max-width: 576px) {
    section[id] {
        padding: 3rem 1rem;
    }
    
    .hero {
        height: 90vh;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .policy-container {
        padding: 2rem 1rem;
        margin: 6rem auto 2rem;
    }
}

/* Custom icons using CSS for lightweight implementation */
.icon-phone::before,
.icon-map::before,
.icon-mail::before,
.icon-check::before {
    font-family: sans-serif;
    display: inline-block;
    margin-right: 0.5rem;
    width: 1em;
    text-align: center;
}

.icon-phone::before {
    content: '📞';
}

.icon-map::before {
    content: '📍';
}

.icon-mail::before {
    content: '✉️';
}

.icon-check::before {
    content: '✓';
    color: #E63946;
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}
