/* Global styles */
:root {
    --bg-color: #fdf6e3;
    --text-color: #1e1e1e;
    --primary-color: #004e89;
    --accent-color: #ff6b6b;
    --accent-yellow: #ffd93d;
    --accent-green: #00b894;
    --gradient: linear-gradient(90deg, #004e89, #ff6b6b);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-green);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Animation classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Header styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo-text:hover {
    transform: scale(1.05);
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

/* Mobile menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--primary-color);
        transition: var(--transition);
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
    }
    
    .nav-menu li {
        margin: 15px 25px;
    }
    
}

@media (min-width: 769px) {
}

/* Main content padding for fixed header */
main {
    padding-top: 80px;
}

/* Hero section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 45%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero h1 {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeIn 0.8s 0.4s ease forwards;
    opacity: 0;
}

/* About section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 0 0 45%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

/* Services section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-image img:hover {
    transform: scale(1.05);
}

/* Benefits section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Process section */
.process {
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.process-step {
    flex: 0 0 calc(33.333% - 30px);
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-line {
    position: absolute;
    top: 75px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--accent-green);
    transform: translateX(-50%);
    z-index: -1;
}

/* Testimonials section */
.testimonials {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    color: white;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/I1ljHF.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title h2:after {
    background: var(--accent-yellow);
}

.testimonial-slider {
    position: relative;
    z-index: 1;
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slides {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-radio {
    display: none;
}

.testimonial-radio:checked + .testimonial-slide {
    opacity: 1;
}

.testimonial-author {
    margin-top: 20px;
    font-style: italic;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-radio:checked + .testimonial-slide + .testimonial-dot {
    background: white;
}

/* Contact section */
.contact {
    background-color: white;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 78, 137, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    margin-top: 5px;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background: white;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

.faq-answer {
    background: var(--bg-color);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-toggle {
    display: none;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-toggle:checked + .faq-question:after {
    content: '−';
}

/* Footer styles */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    color: white;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.contact-white a {
    color: white;
}

.contact-white a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy pages styles */
.policy-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-page h1 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-green);
}

/* Cookie popup styles */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    display: none;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-content .btn {
    width: 100%;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-wrapper {
        flex-direction: column;
    }
    
    .hero-image {
        flex: 0 0 100%;
        order: -1;
        margin-bottom: 30px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .process-step {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        min-height: calc(100vh - 140px);
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
