/* Main stylesheet for domain.com */

/* Color variables */
:root {
    --gradient-start: #4B0082; /* Indigo */
    --gradient-end: #9370DB; /* Light purple */
    --accent-1: #00F5E0; /* Neon turquoise */
    --accent-2: #FF6F61; /* Coral orange */
    --text-light: #FFFFFF; /* White text */
    --text-dark: #1C1C2D; /* Dark blue text */
    --shadow-color: rgba(0, 0, 0, 0.2);
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: rgba(28, 28, 45, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-1);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-1);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-1);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile menu trigger (PHP-based) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background-color: var(--accent-1);
    border-radius: 3px;
    transform-origin: center;
    transition: 0.3s;
}

/* Section styles */
section {
    padding: 80px 0;
    min-height: 50vh;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 245, 224, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Button styles */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 245, 224, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 224, 0.5);
}

/* About section */
.about {
    background-color: rgba(28, 28, 45, 0.9);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    bottom: -10px;
    left: 25%;
}

/* Services section */
.services {
    background-color: rgba(75, 0, 130, 0.8);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background-color: rgba(28, 28, 45, 0.9);
    border-radius: 10px;
    padding: 0;
    flex: 1 1 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Why us section */
.why-us {
    background-color: rgba(28, 28, 45, 0.9);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-item {
    flex: 1 1 250px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-1);
}

.feature-item:hover {
    transform: scale(1.05);
}

/* Process section */
.process {
    background-color: rgba(75, 0, 130, 0.8);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    counter-reset: step;
}

.step-item {
    flex: 1 1 200px;
    position: relative;
    padding: 30px 20px;
    background-color: rgba(28, 28, 45, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    counter-increment: step;
}

.step-item::before {
    content: counter(step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
    background-color: rgba(28, 28, 45, 0.9);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1 1 350px;
    background-color: rgba(75, 0, 130, 0.6);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: var(--accent-1);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-author-title {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* FAQ section */
.faq {
    background-color: rgba(75, 0, 130, 0.8);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: rgba(28, 28, 45, 0.9);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 20px;
    background-color: rgba(75, 0, 130, 0.4);
}

/* Contact Form */
.contact-form {
    background-color: rgba(28, 28, 45, 0.9);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(75, 0, 130, 0.6);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    height: 10px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 10px 10px 0 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

select.form-control:not(:invalid) {
    border-color: var(--accent-1);
    background-color: rgba(0, 245, 224, 0.1);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(0, 245, 224, 0.3);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
    padding-right: 40px;
}

select.form-control option {
    background-color: rgba(28, 28, 45, 1);
    color: white;
    padding: 12px;
    font-size: 16px;
}

select.form-control:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(0, 245, 224, 0.3);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--accent-1);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.error-messages {
    background-color: rgba(255, 107, 107, 0.3);
    border-left: 4px solid #ff6b6b;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-messages p {
    margin: 5px 0;
    color: #fff;
}

/* Contact section */
.contact {
    background-color: rgba(75, 0, 130, 0.8);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    color: var(--accent-1);
    font-size: 1.5rem;
}

.map-container {
    flex: 1 1 400px;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: rgba(28, 28, 45, 1);
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h3 {
    color: var(--accent-1);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 45, 0.95);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-popup p {
    margin: 0;
    flex: 1;
}

/* Policy pages styling */
.policy-page {
    min-height: 100vh;
    padding: 120px 0 60px;
}

.policy-container {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.policy-container h1 {
    color: var(--gradient-start);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gradient-start);
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container h2 {
    color: var(--gradient-start);
    margin: 40px 0 20px;
}

.policy-container ul, .policy-container ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank you page */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(28, 28, 45, 0.9);
    padding: 50px;
    border-radius: 15px;
    border: 2px solid var(--accent-1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 245, 224, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.thank-you-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

@keyframes border-glow {
    0% { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 245, 224, 0.3); }
    50% { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 245, 224, 0.6); }
    100% { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 245, 224, 0.3); }
}

.thank-you-container {
    animation: border-glow 2s infinite;
}

.thank-you h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-1);
}

.thank-you p {
    margin-bottom: 30px;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Header mobile styles */
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(28, 28, 45, 0.95);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    /* Hero section */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Form */
    .form-container {
        padding: 30px 20px;
    }
    
    /* Cookie popup */
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Hero section */
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* Step items */
    .step-item {
        flex: 0 0 100%;
    }
    
    /* Testimonials */
    .testimonial-card {
        flex: 0 0 100%;
    }
}
