/* 
 * Main Stylesheet for domain.com
 * Colors:
 * - Deep Blue: #1e3a8a
 * - Mandarin Orange: #fb923c
 * - Lavender: #c084fc
 * - White: #ffffff
 * - Coal Gray: #111827
 */

/* ===== Reset & Base Styles ===== */
:root {
    --deep-blue: #1e3a8a;
    --mandarin: #fb923c;
    --lavender: #c084fc;
    --white: #ffffff;
    --coal-gray: #111827;
    --light-gray: #f3f4f6;
    --medium-gray: #9ca3af;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--coal-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--deep-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--mandarin);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--mandarin);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Apply animation delay to children */
.animate-stagger > * {
    opacity: 0;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.5s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.7s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.9s; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--deep-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1c3378;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--mandarin);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #fa8522;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
}

.btn-outline:hover {
    background-color: var(--deep-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cta-button {
    background-color: var(--mandarin);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #fa8522;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== Header & Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    margin-right: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--deep-blue);
}

.logo svg {
    margin-right: 0.5rem;
}

.logo span {
    color: var(--deep-blue);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.main-nav a {
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--mandarin);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--deep-blue);
    transition: var(--transition);
}

/* ===== Mobile Navigation ===== */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .logo-container {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 74px; /* header height */
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        overflow: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        height: auto;
        box-shadow: var(--shadow-md);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
    }
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2d4eaa 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: rgba(192, 132, 252, 0.15); /* Lavender with opacity */
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(251, 146, 60, 0.15); /* Mandarin with opacity */
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: rotate(0);
    box-shadow: var(--shadow-md);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(192, 132, 252, 0.2); /* Lavender with opacity */
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(251, 146, 60, 0.15); /* Mandarin with opacity */
    z-index: -1;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--deep-blue);
    z-index: 2;
    transition: var(--transition);
}

.service-card:nth-child(2)::before {
    background: var(--mandarin);
}

.service-card:nth-child(3)::before {
    background: var(--lavender);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

/* ===== Advantages Section ===== */
.advantages {
    background-color: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--lavender);
    opacity: 0.1;
    z-index: -1;
    transition: var(--transition);
}

.advantage-item:hover::before {
    transform: scale(1.2);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--mandarin);
    margin-bottom: 1rem;
}

.advantage-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

.advantage-description {
    color: var(--coal-gray);
}

/* ===== Process Section ===== */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-item {
    display: flex;
    gap: 2rem;
    position: relative;
}

.process-number {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background: var(--deep-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.process-item:nth-child(2) .process-number {
    background: var(--mandarin);
}

.process-item:nth-child(3) .process-number {
    background: var(--lavender);
}

.process-item:nth-child(4) .process-number {
    background: var(--coal-gray);
}

.process-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 39px;
    width: 2px;
    height: calc(100% + 2rem - 80px);
    background: var(--light-gray);
    z-index: 1;
}

.process-content {
    padding-top: 1rem;
}

.process-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2d4eaa 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before,
.testimonials::after {
    content: '"';
    position: absolute;
    font-size: 300px;
    line-height: 0;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonials::before {
    top: 50px;
    left: 30px;
}

.testimonials::after {
    bottom: 30px;
    right: 30px;
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.testimonials .section-title::after {
    background-color: var(--mandarin);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--mandarin);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--light-gray);
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--mandarin);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-position {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== FAQ Section ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    border-left-color: var(--mandarin);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    height: auto;
}

/* ===== Contact Form ===== */
.contact {
    background: var(--light-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-container::before,
.form-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.form-container::before {
    width: 300px;
    height: 300px;
    background: rgba(30, 58, 138, 0.05);
    top: -100px;
    left: -100px;
}

.form-container::after {
    width: 200px;
    height: 200px;
    background: rgba(251, 146, 60, 0.05);
    bottom: -70px;
    right: -70px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--deep-blue);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--deep-blue);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.checkbox-group label {
    font-size: 0.95rem;
}

.checkbox-group label a {
    font-weight: 500;
    text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo svg {
    margin-right: 0.5rem;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--mandarin);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--mandarin);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--mandarin);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--coal-gray);
    color: var(--white);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--mandarin);
    text-decoration: underline;
}

#accept-cookies {
    background: var(--mandarin);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#accept-cookies:hover {
    background: #fa8522;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .process-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-item:not(:last-child)::before {
        left: 39px;
        top: 80px;
        height: calc(100% - 80px + 1rem);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .advantage-item,
    .service-card {
        padding: 1.5rem;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .process-item:not(:last-child)::before {
        left: 29px;
        top: 60px;
    }
}

/* Special classes for unique pages */
.thank-you-page {
    text-align: center;
    padding: 6rem 0;
}

.thank-you-content {
    border: 2px solid var(--mandarin);
    border-radius: 10px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--mandarin);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.thank-you-title {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}

.policy-page {
    padding: 4rem 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-title {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}

.policy-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-list li {
    margin-bottom: 0.5rem;
}

/* Special hover effects */
.hover-card {
    transition: var(--transition);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Image effects */
.image-tilt {
    transform: perspective(1000px) rotateY(2deg);
    transition: var(--transition);
}

.image-tilt:hover {
    transform: perspective(1000px) rotateY(0);
} 