/* Base styles and variables */
:root {
    --background: #f7f3ed;
    --text: #1c1c1e;
    --accent-1: #4731d2;
    --accent-2: #f05454;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-1);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-2);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-1), #5b43e8);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(71, 49, 210, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(71, 49, 210, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(71, 49, 210, 0.3);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
    transition: 0.7s;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-1);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--accent-1);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--accent-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(71, 49, 210, 0.2);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(71, 49, 210, 0.15);
}

.btn-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-2), #ff6b6b);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(240, 84, 84, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-accent:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(240, 84, 84, 0.4);
}

.btn-accent:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(240, 84, 84, 0.3);
}

.btn-accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn-accent:hover::before {
    left: 100%;
    transition: 0.7s;
}

.btn-nav-cta {
    background-color: var(--accent-1);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
}

.btn-nav-cta:hover {
    background-color: #5b43e8;
    color: white !important;
    transform: translateY(-3px);
}

.btn-form {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-form::after {
    content: "→";
    margin-left: 8px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-form:hover::after {
    transform: translateX(5px);
}

/* Section styling */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: linear-gradient(135deg, rgba(71, 49, 210, 0.05), rgba(240, 84, 84, 0.05));
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text);
}

.logo span {
    color: var(--accent-1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li:last-child {
    margin-left: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent-1);
}

/* Mobile navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Main content */
main {
    margin-top: 80px;
}

/* Hero section */
.hero {
    background-color: var(--background);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(71, 49, 210, 0.1) 40%, rgba(71, 49, 210, 0.1) 60%, transparent 60%);
    transform: rotate(-5deg) scale(1.5);
}

.hero-content {
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--accent-1);
    margin: 1rem 0;
}

/* Testimonials section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
}

.testimonial-card:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(71, 49, 210, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: bold;
    color: var(--accent-1);
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-1);
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-1);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

/* Contact section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-info {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--accent-1);
    font-size: 1.5rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #2b2b2b;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-2);
}

footer a {
    color: #ddd;
}

footer a:hover {
    color: white;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 1rem;
}

.footer-contact span {
    font-weight: bold;
    color: var(--accent-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    z-index: 9999;
    max-width: 500px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.cookie-more {
    margin-left: auto;
    font-size: 0.9rem;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, rgba(71, 49, 210, 0.05), rgba(240, 84, 84, 0.05));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(71, 49, 210, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

.form-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(240, 84, 84, 0.1);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.form-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
}

.form-container::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 10%;
    right: 10%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 3px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-1);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.form-control {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(71, 49, 210, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%234731d2' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

select.form-control option {
    background-color: #f7f3ed;
    padding: 10px;
    color: var(--text);
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.form-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.form-divider span {
    position: relative;
    background-color: white;
    padding: 0 15px;
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 4px;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--accent-1);
    border-color: var(--accent-1);
}

.form-check-input:checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-check-label {
    font-size: 0.85rem;
    line-height: 1.5;
}

.form-check-label a {
    font-weight: 600;
    text-decoration: underline;
}

.form-error {
    background-color: rgba(240, 84, 84, 0.1);
    border-left: 3px solid var(--accent-2);
    color: var(--accent-2);
    padding: 10px 15px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-radius: 4px;
}

.form-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-icon {
    background-color: var(--accent-1);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 8rem 0;
}

.thank-you h1 {
    color: var(--accent-1);
    margin-bottom: 2rem;
}

/* Policy pages */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.policy-container h1 {
    margin-bottom: 2rem;
}

.policy-container h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .about-grid,
    .services-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-toggle-label {
        display: block;
        position: relative;
        height: 16px;
        width: 30px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background-color: var(--text);
        height: 2px;
        width: 100%;
        position: absolute;
        left: 0;
        transition: var(--transition);
    }
    
    .nav-toggle-label span {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
    }
    
    .nav-toggle-label span::before {
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        bottom: -8px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
        padding: 1rem 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .form-section {
        padding: 2rem 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn-secondary {
        margin-top: 0.5rem;
    }
} 