/* Color Palette */
:root {
    --deep-blue: #1E2A78;
    --electric-purple: #A730FF;
    --ice-mint: #D4FFF2;
    --charcoal-gray: #2F2F2F;
    --bright-yellow: #FFEB3B;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--charcoal-gray);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--electric-purple);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-blue);
}

.btn {
    display: inline-block;
    background-color: var(--electric-purple);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--deep-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

section {
    padding: 60px 0;
    scroll-margin-top: 80px; /* Fix for header overlap with anchors */
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--deep-blue);
}

.text-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-blue);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 30px;
}

.nav-desktop ul li a {
    color: var(--deep-blue);
    font-weight: 600;
}

.nav-desktop ul li a:hover {
    color: var(--electric-purple);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-blue);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: var(--ice-mint);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Features Section */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background-color: var(--ice-mint);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Services Section */
.services {
    background-color: var(--deep-blue);
    color: var(--white);
}

.services .section-title {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Form Section */
.contact-form {
    background-color: var(--ice-mint);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background-color: var(--ice-mint);
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

/* FAQ Section */
.faq {
    background-color: var(--ice-mint);
}

.faq .container {
    max-width: 800px; /* Make FAQ content narrower */
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    background-color: var(--deep-blue);
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* CTA Section */
.cta {
    background-color: var(--electric-purple);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    margin-bottom: 30px;
}

.cta-contacts {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--bright-yellow);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
}

.footer-links ul li a:hover {
    color: var(--bright-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.cookie-popup h3 {
    margin-bottom: 10px;
}

.cookie-popup p {
    margin-bottom: 20px;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--deep-blue);
}

.policy-container h1 {
    color: var(--deep-blue);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--electric-purple);
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 150px 0 80px;
    background-color: var(--ice-mint);
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white);
    border: 2px solid var(--deep-blue);
    border-radius: 20px;
}

.thank-you h1 {
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.thank-you p {
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}