/**
 * Main stylesheet for domain.com
 * Color palette:
 * - Main background: #EAE4F2 (light purple)
 * - Accent: #FF6B35 (bright orange)
 * - Text: #333333 (graphite)
 * - Headings: #2D3A9C (rich blue)
 * - Block backgrounds: gradient from #FDFBFB to #EBEDEE
 */

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Add padding for fixed header */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #EAE4F2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2D3A9C;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6B35;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #2D3A9C;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FF6B35;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a29;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: #2D3A9C;
    color: white;
}

.btn-secondary:hover {
    background-color: #232e7b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 58, 156, 0.4);
}

/* Header */
.site-header {
    background: linear-gradient(to right, #FDFBFB, #EBEDEE);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: #2D3A9C;
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 700;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B35;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.phone-link {
    font-weight: 700;
    color: #2D3A9C;
    display: flex;
    align-items: center;
}

.phone-link:hover {
    color: #FF6B35;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to right, #FDFBFB, #EBEDEE);
    border-radius: 1rem;
    margin: 2rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2D3A9C;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #EAE4F2;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(to right, #FDFBFB, #EBEDEE);
    border-radius: 1rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Advantages Section */
.advantages {
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.advantage-image {
    margin: 0 auto 1rem;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.advantage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(to right, #FDFBFB, #EBEDEE);
    border-radius: 1rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: #FF6B35;
    position: absolute;
}

.testimonial-text::before {
    left: 0;
    top: -0.5rem;
}

.testimonial-text::after {
    right: 0;
    bottom: -1rem;
}

.testimonial-author {
    margin-top: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: #2D3A9C;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #2D3A9C;
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #FF6B35;
    transition: all 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question.active + .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Contact Form Section */
.contact {
    padding: 4rem 0;
}

.contact-container {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    flex: 3;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-info {
    flex: 2;
    background: linear-gradient(to right, #FDFBFB, #EBEDEE);
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

select.form-select {
    height: 3rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%232D3A9C' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #2D3A9C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 58, 156, 0.2);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 0.5rem;
}

.checkbox-label.required span::after {
    content: '*';
    color: #FF6B35;
    margin-left: 3px;
}

/* Footer */
.site-footer {
    background: linear-gradient(to right, #FDFBFB, #EBEDEE);
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9rem;
}

.footer-nav-list,
.footer-legal-list {
    list-style: none;
}

.footer-nav-item,
.footer-legal-item {
    margin-bottom: 0.5rem;
}

.footer-nav-link,
.footer-legal-link {
    font-size: 0.9rem;
}

.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    max-width: 100%;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .cookie-popup {
        padding: 1rem;
    }
    .cookie-content {
        flex-direction: column;
    }
    .cookie-content p {
        margin-bottom: 1rem;
        text-align: center;
    }
    .cookie-content .btn {
        width: 100%;
    }
}

/* Policy Pages */
.policy-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
}

.policy-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 1rem;
}

.policy-container ul {
    padding-left: 1.5rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 4rem 0;
}

.thank-you-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you h1 {
    color: #2D3A9C;
    margin-bottom: 1.5rem;
}

.thank-you p {
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero h1,
.hero p,
.hero .btn {
    animation: fadeIn 1s ease forwards;
}

.hero p {
    animation-delay: 0.2s;
}

.hero .btn {
    animation-delay: 0.4s;
}

.service-card,
.advantage-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-icon {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    
    .menu-icon::before,
    .menu-icon::after,
    .menu-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #2D3A9C;
        transition: all 0.3s ease;
    }
    
    .menu-icon::before {
        top: 0;
    }
    
    .menu-icon::after {
        bottom: 0;
    }
    
    .menu-icon::after {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .menu-icon.open::before {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .menu-icon.open::after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    
    .menu-icon.open::after {
        opacity: 0;
    }
    
    .main-nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.mobile-open {
        height: auto;
        padding: 1rem 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header-phone {
        display: none;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-card,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}