/* Core variables */
:root {
    --color-indigo: #2E026D;
    --color-teal: #00BFB3;
    --color-lime: #C8FF00;
    --color-coral: #FF6F59;
    --color-white: #FFFFFF;
    --color-gray: #E0E0E0;
    --color-gold: #FFD700;
    
    --gradient-main: linear-gradient(135deg, var(--color-indigo), var(--color-teal));
    --gradient-hover: linear-gradient(135deg, var(--color-teal), var(--color-indigo));
    
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    --transition-speed: 0.3s;
}

/* Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

/* Anchor offset to account for fixed header */
:target {
    scroll-margin-top: 100px;
}

.anchor-target {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: clamp(16px, 1vw + 14px, 20px);
    line-height: 1.6;
    color: var(--color-white);
    background: var(--gradient-main);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-lime);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-coral);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--color-coral);
    color: var(--color-white);
    padding: 0.8em 2em;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

/* Header and Navigation */
header {
    padding: 1rem 0;
    background: rgba(46, 2, 109, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
}

.logo a {
    color: var(--color-white);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-lime);
    transition: width var(--transition-speed);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--gradient-main);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/VGrMq4.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-text {
    margin-bottom: 2rem;
    color: var(--color-gray);
    font-size: 1.2em;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 0.5rem auto;
}

/* About Section */
.about {
    background-color: rgba(0, 0, 0, 0.1);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(46, 2, 109, 0.8);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-teal);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    margin-bottom: 1rem;
}

.service-text {
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits {
    background-color: rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-coral);
    margin-bottom: 1rem;
}

.benefit-title {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: url('../img/stmDMD.jpg') center/cover no-repeat;
    position: relative;
}

.testimonials:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 2, 109, 0.8);
}

.testimonials-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    width: 300%;
    animation: slide 15s infinite;
}

.testimonial-item {
    width: 100%;
    padding: 0 2%;
    text-align: center;
}

.testimonial-content {
    background: rgba(0, 191, 179, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: rgba(0, 191, 179, 0.2) transparent transparent;
}

.testimonial-author {
    font-weight: 700;
}

@keyframes slide {
    0%, 33% { transform: translateX(0); }
    34%, 66% { transform: translateX(-33.33%); }
    67%, 100% { transform: translateX(-66.66%); }
}

/* Process Section */
.process {
    background-color: rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--color-gold);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 2.5rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    left: 50%;
}

.timeline-content {
    background-color: rgba(46, 2, 109, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    width: 100%;
    border-left: 3px solid var(--color-lime);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--color-lime);
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    right: -15px;
    width: 20px;
    height: 20px;
    background-color: var(--color-gold);
    border-radius: 50%;
    border: 4px solid var(--color-indigo);
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: auto;
    left: -15px;
}

.timeline-step {
    font-weight: 700;
    color: var(--color-lime);
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--gradient-main);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--color-lime);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    background: url('../img/rjIeP1.jpg') center/cover no-repeat;
    position: relative;
}

.contact:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 2, 109, 0.9);
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid var(--color-teal);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 191, 179, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-primary);
    appearance: none;
}

.form-group select {
    background-image: linear-gradient(45deg, transparent 50%, var(--color-lime) 50%),
                      linear-gradient(135deg, var(--color-lime) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: var(--color-indigo);
    color: var(--color-white);
    padding: 0.5rem;
}

.form-group select:focus {
    border-color: var(--color-lime);
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 255, 0, 0.2);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-lime);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    flex: 1;
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    margin-bottom: 1.5rem;
    color: var(--color-lime);
    position: relative;
}

.footer-about h3:after,
.footer-contact h3:after,
.footer-links h3:after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-gold);
    margin-top: 0.5rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--color-lime);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-page {
    padding: 7rem 0 3rem;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.gold-frame {
    border: 2px solid var(--color-gold);
    padding: 2rem;
    border-radius: 10px;
    background-color: rgba(46, 2, 109, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    color: var(--color-lime);
    margin-bottom: 1rem;
}

/* Thank You Page */
.thankyou {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 0 3rem;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
}

.thankyou-icon {
    font-size: 5rem;
    color: var(--color-lime);
    margin-bottom: 1.5rem;
}

/* CSS-only animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
    animation-delay: calc(var(--item-index, 0) * 0.2s);
}

.animate-slide-in {
    opacity: 0;
    animation: slideIn 0.8s forwards;
    animation-delay: calc(var(--item-index, 0) * 0.2s);
}

/* FAQ Section */
.faq-section {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-question a {
    color: var(--color-white);
    display: block;
    padding: 0.5rem 0;
    position: relative;
    padding-right: 30px;
}

.faq-question a:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 0.5rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-main);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content h3 {
    margin: 0;
    flex: 0 0 100%;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-button {
    background-color: var(--color-lime);
    color: var(--color-indigo);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color var(--transition-speed);
}

.cookie-button:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-content:before {
        left: -15px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 3px solid var(--color-lime);
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--color-indigo);
        z-index: 1001;
        transition: right var(--transition-speed);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }
    
    .main-nav.menu-open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .mobile-menu {
        display: block;
        z-index: 1002;
    }
    
    .menu-toggle {
        font-size: 1.8rem;
        color: var(--color-white);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-button {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .service-card,
    .pricing-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
