/* domain.com - Main Stylesheet */

/* -------------- Global Styles -------------- */
:root {
    /* Color palette */
    --primary: #2E1A47;      /* Deep Indigo */
    --secondary: #FF6B6B;    /* Vibrant Coral */
    --accent: #B6FF00;       /* Electric Lime */
    --background: #F8F8F5;   /* Off-White */
    --text: #2B2B2B;         /* Charcoal Gray */
    
    /* Font settings */
    --main-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Container width */
    --container-width: 1440px;
}

/* Importing fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
    scroll-margin-top: 100px; /* Add scroll margin for anchors */
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 26, 71, 0.2);
    color: white;
}

.btn:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* -------------- Header & Navigation -------------- */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: var(--spacing-md);
}

.main-nav a {
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* -------------- Hero Section -------------- */
.hero {
    background-image: url('../img/CPuXxU.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px; /* Account for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section titles centered */
.section-title, .section-subtitle {
    text-align: center;
}

/* -------------- About Section -------------- */
.about {
    background-color: white;
}

.about-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: var(--spacing-md);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.reveal-text {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.6s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.9s;
}

/* -------------- Services Section -------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: var(--spacing-md);
    text-align: center;
    animation: slideIn 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100%;
    height: 180px;
    margin: 0 auto var(--spacing-sm);
    overflow: hidden;
    border-radius: 10px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------- Benefits Section -------------- */
.benefits {
    background-color: #f5f5f5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-box {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    animation: popIn 0.5s forwards;
    opacity: 0;
}

.benefit-box:nth-child(1) { animation-delay: 0.1s; }
.benefit-box:nth-child(2) { animation-delay: 0.2s; }
.benefit-box:nth-child(3) { animation-delay: 0.3s; }
.benefit-box:nth-child(4) { animation-delay: 0.4s; }
.benefit-box:nth-child(5) { animation-delay: 0.5s; }
.benefit-box:nth-child(6) { animation-delay: 0.6s; }

.benefit-box:hover {
    transform: rotate(2deg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -------------- Process Section -------------- */
.process {
    background-image: url('../img/De8bCj.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 26, 71, 0.85);
}

.process-inner {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: -1;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 var(--spacing-sm);
    animation: fadeInUp 0.7s forwards;
    opacity: 0;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    position: relative;
    z-index: 1;
}

/* -------------- Testimonials Section -------------- */
.testimonials {
    background-color: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
}

.testimonial {
    padding: var(--spacing-md);
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.8s;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 500;
}

.testimonial-company {
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonial-stars {
    color: gold;
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.testimonial-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--secondary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* -------------- Form Section -------------- */
.order-form-section {
    background-image: url('../img/DVPLGq.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.order-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.order-form-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
}

.form-content {
    flex: 1;
    min-width: 300px;
    padding-right: var(--spacing-md);
}

.form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--text);
}

.form-group {
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.4s forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--main-font);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-error {
    background-color: #ffeeee;
    color: #d32f2f;
    padding: 10px;
    margin-bottom: var(--spacing-sm);
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
}

/* -------------- FAQ Section -------------- */
.faq {
    background-color: white;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    padding: var(--spacing-sm) 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h4 {
    margin: 0;
    flex: 1;
}

.accordion-header h4 a {
    color: var(--text);
    text-decoration: none;
    display: block;
}

.accordion-header h4 a:hover {
    color: var(--secondary);
}

.accordion-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content-inner {
    padding: 0 0 var(--spacing-sm);
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

/* -------------- Footer -------------- */
footer {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.contact-info p {
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

/* -------------- Cookie Consent -------------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(43, 43, 43, 0.95);
    color: white;
    padding: var(--spacing-sm);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    padding-right: var(--spacing-sm);
}

.cookie-buttons {
    display: flex;
    align-items: center;
}

.cookie-buttons .btn {
    margin-left: var(--spacing-sm);
    white-space: nowrap;
}

/* -------------- Policy Pages -------------- */
.policy-page {
    padding-top: 120px; /* Account for fixed header */
    padding-bottom: var(--spacing-lg);
}

.policy-frame {
    background-color: white;
    border-radius: 10px;
    padding: var(--spacing-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-frame h2 {
    margin-top: var(--spacing-md);
}

.policy-frame h3 {
    margin-top: var(--spacing-sm);
}

.breadcrumbs {
    margin-bottom: var(--spacing-md);
    color: var(--secondary);
}

.breadcrumbs a {
    color: var(--primary);
}

.back-to-home {
    margin-top: var(--spacing-md);
    text-align: center;
}

/* -------------- Thank You Page -------------- */
.thank-you {
    padding-top: 120px; /* Account for fixed header */
    padding-bottom: var(--spacing-xl); /* Extra spacing before footer */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto; /* Center horizontally */
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-content h1 {
    margin-bottom: var(--spacing-md);
}

/* -------------- Responsive Styles -------------- */
@media (max-width: 1200px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 3rem; }
    .process-steps::before { display: none; }
}

@media (max-width: 1024px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 6rem;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.7rem; }
    
    .header-inner {
        padding: 0.8rem 0;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: var(--spacing-sm);
    }
    
    .main-nav li {
        margin: 0.5rem 0;
        margin-left: 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero { 
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-text,
    .about-image,
    .form-content,
    .form-container {
        flex: 100%;
        padding-right: 0;
        margin-bottom: var(--spacing-md);
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.8rem 2rem;
    }
    
    .footer-column {
        flex: 100%;
    }
}
