/* 
 * Apostille Services - Premium Redesign
 * Theme: Modern Luxury (Deep Navy, Gold, Vivid Cyan)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary-navy: #0f172a;
    --gold: #b45309;
    /* Darker Gold for visibility on white */
    --gold-bright: #d97706;
    --accent-blue: #0ea5e9;

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.9);

    /* Text */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-dim: #64748b;
    --text-light: #f8fafc;
    /* Keep for hero/footer */

    /* UI */
    --glass-border: rgba(15, 23, 42, 0.1);
    --shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    --radius: 20px;
    --container: 1280px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body,
html {
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Gradient */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--gold) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #ca8a04 100%);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    opacity: 0.2;
    transition: 0.3s;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    transition: 0.4s ease;
}

.header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    height: 80px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
}

.logo img {
    height: 80px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    /* Default white for hero */
    position: relative;
    padding: 5px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-link {
    color: var(--text-main);
    /* Dark text on scroll */
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    color: var(--text-light);
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.header.scrolled .mobile-toggle {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 6rem;
    /* Added space for Info Bar overlap */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

/* Desktop Banner Images */
.hero-slide.slide-1 {
    background-image: url('../img/hero-bg.png');
}

.hero-slide.slide-2 {
    background-image: url('../img/hero-bg2.png');
}

.hero-slide.slide-3 {
    background-image: url('../img/hero-bg3.png');
}

/* Mobile Banner Images */
@media (max-width: 768px) {
    .hero-slide.slide-1 {
        background-image: url('../img/hero-bg-mob.png');
    }

    .hero-slide.slide-2 {
        background-image: url('../img/hero-bg2-mob.png');
    }

    .hero-slide.slide-3 {
        background-image: url('../img/hero-bg3-mob.png');
    }
}

.hero-slide.active {
    opacity: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-navy);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.h-stat h3 {
    color: var(--gold);
    font-size: 2.5rem;
}

.h-stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Animated Form Box */
/* Animated Form Box */
.form-box {
    /* Base background + Shine Gradient */
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.8) 30%,
            rgba(255, 255, 255, 0.95) 38%,
            rgba(255, 255, 255, 0.8) 48%);
    background-size: 200% 100%;
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    transform-style: preserve-3d;
    animation: floatForm 6s ease-in-out infinite, shineBg 6s linear infinite;
    position: relative;
    /* overflow: hidden;  <-- REMOVED TO FIX DROPDOWN CLIPPING */
}

@keyframes floatForm {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg);
    }

    50% {
        transform: translateY(-10px) rotateX(1deg);
    }
}

/* Background Shine Animation */
@keyframes shineBg {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Obsolete ::after removed */

.form-box h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .input-group {
    flex: 1;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 10px;
    color: var(--primary-navy);
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Info Bar - Unique Premium Style */
.info-bar {
    background: var(--primary-navy);
    padding: 3rem 0;
    margin-top: -3rem;
    /* Overlap Hero */
    position: relative;
    z-index: 20;
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);

    @media (max-width: 768px) {
        .info-item {
            flex-direction: column;
            text-align: center;
            gap: 0.5rem;
        }

        .info-item:first-child {
            border-left: 1px solid rgba(255, 255, 255, 0.1);
        }
    }

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-item:first-child {
    border-left: none;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
    z-index: 0;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.info-item:hover::before {
    width: 100%;
}

.info-icon {
    font-size: 2rem;
    color: var(--gold);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    flex-shrink: 0;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
    filter: drop-shadow(0 0 15px var(--gold));
}

.info-text {
    z-index: 1;
    flex: 1;
    min-width: 0;
    /* Helps with text truncation if needed, though we want wrap */
}

.info-text h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px;
    line-height: 1.2;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Services */
.section-head h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.section-head p {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    flex: 1 1 280px;
    max-width: 400px;
    /* Prevent overly wide cards */
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.s-img {
    height: 220px;
    overflow: hidden;
}

.s-img img {
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.service-card:hover .s-img img {
    transform: scale(1.1);
}

.s-content {
    padding: 2rem;
}

.s-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.s-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-btn {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-btn i {
    transition: 0.3s;
}

.service-card:hover .read-btn i {
    transform: translateX(5px);
}

/* Why Us - Grid Layout */
.why-us {
    background: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.feature-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(180, 83, 9, 0.3));
}


/* Process Timeline (Redesigned) */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.t-content {
    width: 45%;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: 0.3s;
}

.t-content h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.timeline-item:hover .t-content {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.t-num {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-navy);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    z-index: 2;
}

/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-dim);
}

/* Countries Section - Slider */
.country-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

/* Gradient Fade Masks */
.country-slider-container::before,
.country-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.country-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface), transparent);
}

.country-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface), transparent);
}

.country-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    /* Animation will be handled by JS cloning for seamless loop */
    animation: scroll 40s linear infinite;
}

.country-slider-container:hover .country-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.country-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    min-width: 250px;
    /* Fixed width for slider */
    flex-shrink: 0;
}

.country-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.c-img-box {
    height: 80px;
    width: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.c-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.country-card:hover .c-img-box img {
    transform: scale(1.1) rotate(5deg);
}

.country-placeholder {
    font-size: 3rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-navy);
}

.country-card h3 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Testimonials */
.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.testimonial-slider-container:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: var(--radius);
    width: 400px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.t-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.t-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.t-info h4 {
    color: var(--primary-navy);
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.t-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.t-rating {
    color: #FFB400;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.95rem;
}

.quote-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 300px;
        padding: 1.5rem;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin: 0;
    font-weight: 600;
}

.faq-toggle {
    color: var(--gold);
    font-size: 1.2rem;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fcfcfc;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate height */
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-blue);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .form-box {
        max-width: 500px;
        margin: 0 auto;
        transform: none;
        animation: none;
        /* Stop floating animation on mobile */
    }

    .form-box:hover {
        transform: none;
    }

    .form-box::after {
        animation: none;
        /* Stop shine animation on mobile */
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .t-content {
        width: 100%;
    }

    .t-num {
        left: -30px;
        transform: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================
   Thank You Page Styling
   ========================================= */
.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-bg.png') no-repeat center center/cover;
    position: relative;
    padding: 120px 20px 60px;
}

.thank-you-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay matching theme */
    backdrop-filter: blur(5px);
}

.thank-you-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: var(--radius);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.thank-you-card.active {
    transform: translateY(0);
    opacity: 1;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    animation: pulseIcon 2s infinite;
}

.success-icon i {
    font-size: 3rem;
    color: #fff;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.thank-you-card h1 {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.thank-you-card .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.thank-you-card .sub-text {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Hero Text Slider */
.hero-text-slider {
    display: grid;
    grid-template-areas: "stack";
    min-height: 400px;
    align-items: center;
}

.hero-text-slide {
    grid-area: stack;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.hero-text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-navy);
}

.highlight-text {
    background: linear-gradient(120deg, var(--gold) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Price Badge */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.95);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    backdrop-filter: blur(5px);
}

.price-badge p {
    margin: 0 !important;
    color: #fff !important;
    font-weight: 500;
    font-size: 1.1rem !important;
    max-width: none !important;
}

.price-amount {
    color: var(--gold-bright);
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 5px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text-slider {
        min-height: 350px;
    }
}

/* Floating Buttons */
.float-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.whatsapp-btn {
    right: 30px;
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1faf53;
}

.call-btn {
    left: 30px;
    background: var(--gold);
}

.call-btn:hover {
    background: #cba04b;
}

@media (max-width: 768px) {
    .float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        right: 20px;
    }

    .call-btn {
        left: 20px;
    }
}