/* --- Modern UI Variables & Core Fixes --- */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #EC4899;
    --bg-color: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #64748B;
}

/* FIX: Prevent horizontal scroll across all devices */
html,
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
}


/* --- Typography & Hero Section --- */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
    /* background-image: url('image/hearingaids-hero-section-img.png'); */
    background-image: linear-gradient(rgba(101, 101, 101, 0.5),
            rgba(73, 73, 73, 0.5)), url('image/hearingaids-hero-section-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--text-dark);
}

.hero-title-accent {
    background: linear-gradient(135deg, #4F46E5, #7C3AED, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* --- Hero Form Card --- */
.hero-form-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.1);
    overflow: hidden;
}

.hero-form-header {
    background: rgb(41, 73, 255);
    padding: 1.6rem 2rem;
}

.hero-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.hero-form-subtitle {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.hero-form-body {
    padding: 1.8rem 2rem;
}

.hero-form-input {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.93rem;
    color: var(--text-dark);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-form-input:focus {
    background: #ffffff;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.hero-form-input::placeholder {
    color: #94a3b8;
}

select.hero-form-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234F46E5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 1rem center !important;
    padding-right: 2.5rem;
}

.hero-form-btn {
    /* background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); */
    background: rgb(41, 73, 255);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.97rem;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    border: none;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
    background: rgb(30, 58, 180);
    color: #ffffff;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 110px;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-section .d-flex.gap-3 {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-form-header {
        padding: 1.2rem 1.4rem;
    }

    .hero-form-body {
        padding: 1.4rem;
    }
}

/* --- Modern Buttons --- */
.btn-modern {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary.btn-modern {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

/* --- Feature Cards --- */
.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    z-index: 1;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(79, 70, 229, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- Floating Background Animations --- */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    border-radius: 50%;
}

.shape-1 {
    background: var(--primary-color);
    width: 400px;
    height: 400px;
    top: -10%;
    left: -5%;
}

.shape-2 {
    background: var(--secondary-color);
    width: 500px;
    height: 500px;
    top: 20%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* --- General Section Padding --- */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* --- Placeholders (Simulating Images) --- */
.img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
}

.img-placeholder-small {
    height: 200px;
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    border-radius: 20px 20px 0 0;
}

/* .avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
} */

.news-img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    object-fit: cover;
}

/* Navbar Active Link */
.navbar-nav .nav-link.nav-active {
    color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
}

/* Navbar Logo */
.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Logo Styling */
.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    background-color: white;
    /* Optional: Agar aapka logo transparent PNG/JPG hai aur dark background pe nahi dikh raha */
    padding: 5px;
}

/* Footer Links Hover Effect */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    /* Bootstrap text-white-50 color */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.footer-links a:hover {
    color: #0d6efd;
    /* Bootstrap Primary Blue */
    transform: translateX(8px);
    /* Mouse laane par thoda right side slide hoga */
}

/* Contact Items Hover Effect */
.contact-item a {
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff !important;
    /* Email/Phone par hover karne par text white hoga */
}

/* Social Media Icons Styling */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight dark/transparent background */
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background-color: #0d6efd;
    /* Primary color on hover */
    color: #fff;
    transform: translateY(-5px);
    /* Upar ki taraf pop hoga */
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

/* Map Styling */
.map-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 36px;
    }
}

/* --- Partners Section --- */
.partner-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.partner-logo-img:hover {
    transform: scale(1.15);
}

@media (max-width: 576px) {
    .partner-logo-img {
        height: 40px;
    }

    .shape-1,
    .shape-2 {
        width: 250px;
        height: 250px;
    }
}

/* =======================================
   CARD CONTAINER LAYOUT
   ======================================= */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
}

/* =======================================
   CARD THEME VARIABLES
   ======================================= */
.theme-purple {
    --color-light: #E9D5FF;
    --color-dark: #7C3AED;
    --color-price-bg: #EDE9FE;
    --color-price-text: #7C3AED;
    --color-btn: #7C3AED;
}

.theme-pink {
    --color-light: #FBCFE8;
    --color-dark: #DB2777;
    --color-price-bg: #FCE7F3;
    --color-price-text: #DB2777;
    --color-btn: #DB2777;
}

.theme-yellow {
    --color-light: #FEF08A;
    --color-dark: #CA8A04;
    --color-price-bg: #FEF9C3;
    --color-price-text: #CA8A04;
    --color-btn: #CA8A04;
}

.theme-green {
    --color-light: #BBF7D0;
    --color-dark: #16A34A;
    --color-price-bg: #DCFCE7;
    --color-price-text: #16A34A;
    --color-btn: #16A34A;
}

/* =======================================
   CARD STRUCTURE
   ======================================= */
.product-card {
    background: #FFFFFF;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--color-dark);
    border-radius: 0 0 24px 24px;
    transition: width 0.4s ease;
}

.product-card:hover::after {
    width: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

.card-header {
    height: 220px;
    background: var(--color-light);
    position: relative;
}

.u-shape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: var(--color-dark);
    border-radius: 0 0 120px 120px;
}

.badge-new {
    position: absolute;
    top: 25px;
    left: 0;
    background: #FFFFFF;
    color: #4B5563;
    padding: 4px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0 4px 4px 0;
    z-index: 5;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.product-img {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(10deg);
    height: 220px;
    width: auto;
    /* FIX: Make image responsive within card */
    max-width: 85%;
    object-fit: contain;
    z-index: 0;
    border-radius: 80px;
    filter: drop-shadow(-15px 20px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: translateX(-50%) rotate(0deg) scale(1.05);
}

.card-body {
    padding: 0 30px 30px 30px;
    text-align: center;
    position: relative;
}

.price-box {
    background: var(--color-price-bg);
    display: inline-block;
    padding: 8px 40px 8px 30px;
    border-radius: 0 50px 50px 0;
    position: relative;
    left: -30px;
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: left;
    width: 60%;
}

.price {
    color: var(--color-price-text);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
}

.product-title {
    color: #374151;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.product-desc {
    color: #2f2f30;
    font-size: 14px;
    /* line-height: 1.6;
    margin: 0 0 25px 0; */
}

.buy-btn {
    background: var(--color-btn);
    color: #FFFFFF;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buy-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.testimonial-card,
.news-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
}

.custom-input {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* ========================================== */
/* --- New About Section Styles (Organic Blob)--- */
/* ========================================== */

.btn-light-blue {
    background-color: #EAF4FC;
    color: #0288D1;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-light-blue:hover {
    background-color: #D6EAF8;
    color: #0277BD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 136, 209, 0.15);
}

.blob-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border-radius: 50% 40% 60% 40% / 40% 50% 50% 60%;
    overflow: hidden;
    box-shadow: -30px 30px 80px rgba(230, 57, 70, 0.3);
    animation: morphBlob 8s ease-in-out infinite alternate;
    z-index: 1;
    background-color: #333;
}

.blob-image {
    width: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

@keyframes morphBlob {
    0% {
        border-radius: 50% 40% 60% 40% / 40% 50% 50% 60%;
    }

    50% {
        border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    }

    100% {
        border-radius: 60% 50% 40% 60% / 60% 60% 40% 40%;
    }
}

.blob-blue-arc {
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    right: -10%;
    border: 5px solid transparent;
    border-right-color: #00A8E8;
    border-top-color: #00A8E8;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transform: rotate(15deg);
}



/* =======================================
   RESPONSIVE FIXES (MOBILE & TABLET)
   ======================================= */

@media (max-width: 991px) {

    /* Adjust Cards padding on smaller columns */
    .card-body {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 768px) {

    /* FIX: Blob size for mobile */
    .blob-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {

    /* FIX: Product Cards padding scaling */
    .product-img {
        height: 180px;
        /* Prevent huge images pushing bounds */
        top: 25px;
    }

    .card-header {
        height: 180px;
    }

    .card-body {
        padding: 0 15px 20px 15px;
    }

    /* FIX: Ensure contact form doesn't look broken when stacked */
    .contact-sidebar {
        border-radius: 1rem 1rem 0 0 !important;
    }
}

/* Contact Section — Image Overlay Layout */
.contact-card {
    position: relative;
    min-height: 480px;
}

.contact-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 10, 30, 0.82) 40%, rgba(10, 10, 30, 0.55) 100%);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    min-height: 480px;
    align-items: center;
}

.contact-info-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-panel {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0 1rem 1rem 0;
}

.contact-glass-input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-glass-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.contact-glass-input option {
    background: #1a1a2e;
    color: #fff;
}

select.contact-glass-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.7)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 1rem center !important;
    padding-right: 2.5rem;
}

/* =======================================
   TESTIMONIALS SCROLLING TRACK
   ======================================= */
.testimonials-section {
    background: #f8fafc;
    overflow: hidden;
}

.testimonial-track-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollTrack 45s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTrack {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    width: 320px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #e8edf2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

@media (max-width: 767px) {
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-form-panel {
        border-radius: 0 0 1rem 1rem;
    }
}



/* =======================================
   FLOATING ACTION BUTTONS (FAB)
   ======================================= */
.fab-container {
    position: fixed;
    bottom: 32px;
    /* right: 32px; */
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 9999;
}

.fab {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.fab:hover {
    transform: scale(1.15) translateY(-3px);
    color: #fff;
}

/* Tooltip */
.fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #1e293b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1e293b;
}

.fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Call — purple */
.fab-call {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    animation: fabPulse 2.5s ease-in-out infinite;
}

/* Call button — fixed bottom left */
.fab-left {
    position: fixed;
    bottom: 32px;
    left: 20px;
    z-index: 9999;
}

.fab-tooltip-right {
    left: calc(100% + 12px);
    right: auto;
    transform: translateY(-50%) translateX(-8px);
}

.fab-tooltip-right::after {
    left: auto;
    right: 100%;
    border-left-color: transparent;
    border-right-color: #1e293b;
}

.fab-left:hover .fab-tooltip-right {
    transform: translateY(-50%) translateX(0);
}

/* Go to Top — blue */
.fab-gototop {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-gototop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* WhatsApp — green */
.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: fabPulse 2.5s ease-in-out infinite 0.8s;
}

@keyframes fabPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .fab-container {
        bottom: 20px;
        right: 18px;
        gap: 10px;
    }

    .fab-left {
        bottom: 20px;
        left: 18px;
    }

    .fab {
        width: 46px;
        height: 46px;
        font-size: 19px;
    }

    .fab-tooltip {
        display: none;
    }
}

@media (max-width:576px) {

    .price-box {
        left: 0;
        width: 100%;
        border-radius: 50px;
        text-align: center;
    }

}

/* =======================================
   FAQ SECTION — MODERN UI
   ======================================= */

.faq-section {
    padding: 90px 0 80px;
    background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 50%, #f8f0ff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background blobs */
.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.faq-section::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #c7d2fe, transparent 70%);
    top: -100px;
    left: -120px;
}

.faq-section::after {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, #e9d5ff, transparent 70%);
    bottom: -80px;
    right: -80px;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

/* --- Section Header --- */
.faq-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 60%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* --- FAQ Card --- */
.faq-item {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(79, 70, 229, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.14);
    border-color: rgba(79, 70, 229, 0.28);
}

/* --- Question Bar --- */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1.1rem 1.4rem;
    background: rgb(28, 28, 62);
    position: relative;
    cursor: pointer;
    user-select: none;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.4rem;
    right: 1.4rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.faq-question span {
    font-size: 0.97rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

/* --- Toggle Icon --- */
.faq-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s ease;
}

.faq-item.faq-open .faq-icon {
    background: rgba(255, 255, 255, 0.35);
}

/* Active card highlight */
.faq-item.faq-open {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}

/* --- Answer Body --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.4rem;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.faq-open .faq-answer {
    padding: 1.25rem 1.4rem;
}

.faq-answer p {
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.72;
    margin-bottom: 0;
}

/* --- FAQ List --- */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.faq-list li {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
    padding-left: 1.4rem;
    position: relative;
}

.faq-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    flex-shrink: 0;
}

.faq-list li strong {
    color: #1e1b4b;
}

/* --- Info Note Box --- */
.faq-note {
    display: flex;
    gap: 8px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-left: 3px solid #4F46E5;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    color: #3730a3;
    font-weight: 500;
    margin-top: 0.85rem;
    line-height: 1.5;
}

.faq-note i {
    color: #4F46E5;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .faq-section {
        padding: 70px 0 60px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 55px 0 50px;
    }

    .faq-question {
        padding: 1rem 1.1rem;
    }

    .faq-item.faq-open .faq-answer {
        padding: 1rem 1.1rem;
    }

    .faq-question span {
        font-size: 0.93rem;
    }
}