/* =======================================================
   NIMONKAR'S PHYSIOTHERAPY CLINIC - MAIN STYLESHEET
   Aesthetics: Premium, Modern, Trustworthy Medical
   ======================================================= */

/* --- CSS VARIABLES & THEME SYSTEM --- */
:root {
    --primary: #30479e;
    --primary-rgb: 48, 71, 158;
    --primary-light: #e8ecfa;
    --primary-dark: #213275;
    
    --secondary: #813431;
    --secondary-rgb: 129, 52, 49;
    --secondary-light: #fbebeb;
    --secondary-dark: #5e2422;
    
    --accent: #6e7d18;
    --accent-light: #f3f5e5;
    
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #12151c;
    --bg-dark-card: #1c202b;
    
    --text-primary: #1e2530;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(48, 71, 158, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* --- GENERAL RESET & BASE --- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--primary-dark);
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-light);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- HEADER / NAVIGATION (GLASSMORPHISM) --- */
.top-bar {
    background-color: var(--primary-dark);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a {
    color: #ffffff;
}
.top-bar a:hover {
    color: var(--primary-light);
}

.main-navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    padding: 15px 0;
}
.main-navbar.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1.2;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1.2;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.navbar-brand .brand-text,
.footer-brand .brand-text {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
}

/* Nimonkar's: Maroon with top-left framing line */
.navbar-brand .brand-nimonkar {
    color: var(--secondary) !important;
    display: inline-flex;
    align-items: baseline;
    position: relative;
    font-weight: 800;
}

.footer-brand .brand-nimonkar {
    color: #ff7b72 !important;
    display: inline-flex;
    align-items: baseline;
    position: relative;
    font-weight: 800;
}

.navbar-brand .brand-imonkar,
.footer-brand .brand-imonkar {
    position: relative;
    display: inline-block;
}

.navbar-brand .brand-imonkar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    right: 0;
    height: 7px;
    border-top: 2.5px solid var(--secondary);
    border-left: 2.5px solid var(--secondary);
    pointer-events: none;
}

.footer-brand .brand-imonkar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    right: 0;
    height: 6px;
    border-top: 2px solid #ff7b72;
    border-left: 2px solid #ff7b72;
    pointer-events: none;
}

/* Physiotherapy: Royal Blue with bottom-right framing line */
.navbar-brand .brand-physio {
    color: var(--primary) !important;
    position: relative;
    display: inline-block;
    margin-left: 6px;
    font-weight: 800;
}

.footer-brand .brand-physio {
    color: #60a5fa !important;
    position: relative;
    display: inline-block;
    margin-left: 5px;
    font-weight: 800;
}

.navbar-brand .brand-physio::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: -1px;
    height: 7px;
    border-bottom: 2.5px solid var(--primary);
    border-right: 2.5px solid var(--primary);
    pointer-events: none;
}

.footer-brand .brand-physio::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: -1px;
    height: 6px;
    border-bottom: 2px solid #60a5fa;
    border-right: 2px solid #60a5fa;
    pointer-events: none;
}

.navbar-brand:hover,
.footer-brand:hover {
    text-decoration: none;
}
.navbar-brand:hover .brand-nimonkar {
    color: var(--secondary-dark) !important;
}
.navbar-brand:hover .brand-physio {
    color: var(--primary-dark) !important;
}
.footer-brand:hover .brand-nimonkar {
    color: #fca5a5 !important;
}
.footer-brand:hover .brand-physio {
    color: #93c5fd !important;
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.15rem;
    }
    .navbar-brand .brand-imonkar::before {
        height: 6px;
        border-top-width: 2px;
        border-left-width: 2px;
    }
    .navbar-brand .brand-physio::after {
        height: 6px;
        border-bottom-width: 2px;
        border-right-width: 2px;
    }
}

@media (max-width: 380px) {
    .navbar-brand {
        font-size: 0.95rem;
    }
}


.nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 8px 16px !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

/* --- HERO BANNER --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    background: linear-gradient(135deg, rgba(232, 236, 250, 0.6) 0%, rgba(251, 235, 235, 0.4) 100%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(48, 71, 158, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content h1 span {
    color: var(--primary);
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-image-container {
    position: relative;
}
.hero-img-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- PREMIUM BUTTONS --- */
.btn-premium-primary {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(48, 71, 158, 0.3);
    transition: var(--transition-smooth);
    border: 2px solid var(--primary);
}
.btn-premium-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 71, 158, 0.4);
}

.btn-premium-secondary {
    background-color: transparent;
    color: var(--secondary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--secondary);
    transition: var(--transition-smooth);
}
.btn-premium-secondary:hover {
    background-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 52, 49, 0.3);
}

.btn-premium-accent {
    background-color: var(--secondary);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(129, 52, 49, 0.3);
    transition: var(--transition-smooth);
    border: 2px solid var(--secondary);
}
.btn-premium-accent:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- SECTION DECORATION --- */
.section-padding {
    padding: 80px 0;
}
.section-bg-alt {
    background-color: var(--bg-alt);
}
.section-header {
    margin-bottom: 50px;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}
.section-header-left .section-title::after {
    left: 0;
    transform: translateX(0);
}
.subtitle-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- STATS COUNTER --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 60px 0;
}
.stat-card {
    text-align: center;
    padding: 20px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}
.stat-title {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
}

/* --- ABOUT DOCTOR HOME PREVIEW / ABOUT PAGE --- */
.doctor-info-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.badge-nhs {
    background: #005eb8; /* Official NHS Blue */
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 800;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* --- CONDITIONS GRID (HOME) --- */
.condition-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px 25px;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.condition-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}
.condition-card:hover .condition-icon {
    background-color: var(--primary);
    color: #ffffff;
}

/* --- PATIENT JOURNEY / TIMELINE --- */
.journey-step {
    position: relative;
    background-color: var(--bg-main);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-top: 4px solid var(--primary);
    transition: var(--transition-smooth);
}
.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(48, 71, 158, 0.1);
    font-family: var(--font-heading);
}

/* --- TESTIMONIAL SLIDER --- */
.testimonial-card {
    background-color: var(--bg-main);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin: 15px;
    position: relative;
}
.testimonial-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: rgba(48, 71, 158, 0.05);
}
.rating-stars {
    color: #ffc107;
    margin-bottom: 15px;
}
.patient-quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}
.patient-meta {
    display: flex;
    align-items: center;
}
.patient-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    border: 2px solid var(--primary);
}
.patient-details h5 {
    margin-bottom: 2px;
    font-size: 1rem;
}
.patient-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- TESTIMONIAL CAROUSEL CONTROLS --- */
.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: none;
    margin: 0 6px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}
.carousel-indicators-custom button.active {
    background-color: var(--primary);
    opacity: 1;
    width: 25px;
    border-radius: 10px;
}

/* --- ACCORDION FAQ STYLE --- */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md) !important;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    padding: 20px 25px;
    background-color: var(--bg-main);
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(48, 71, 158, 0.2);
}
.accordion-body {
    padding: 20px 25px;
    background-color: var(--bg-main);
    color: var(--text-secondary);
}

/* --- GALLERY CATEGORY FILTERS --- */
.gallery-filters {
    margin-bottom: 40px;
    text-align: center;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 24px;
    border-radius: 50px;
    margin: 5px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}
.gallery-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    margin-bottom: 30px;
    position: relative;
}
.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-card:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(48, 71, 158, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: #ffffff;
    padding: 20px;
    text-align: center;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h5 {
    color: #ffffff;
}
.video-gallery-card {
    background-color: #000000;
}
.video-gallery-card video {
    background-color: #000000;
}
.video-floating-badge {
    transition: opacity 0.3s ease;
}

/* --- LIGHTBOX MODAL --- */
#custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}
#custom-lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: #ffffff;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    white-space: pre-line;
    line-height: 1.6;
    font-size: 1.05rem;
}
.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* --- CONTACT INFO & FORM --- */
.contact-info-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.contact-detail-item {
    display: flex;
    margin-bottom: 25px;
}
.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-detail-content h5 {
    margin-bottom: 5px;
    font-size: 1.05rem;
}
.contact-detail-content p, .contact-detail-content a {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

/* --- PREMIUM FORM INPUTS --- */
.form-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-floating > .form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da;
    padding: 1rem 0.75rem;
}
.form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(48, 71, 158, 0.15);
}
.form-floating > label {
    padding: 1rem 0.75rem;
}
.form-select-floating {
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da;
    height: 58px;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    display: block;
    width: 100%;
}
.form-select-floating:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(48, 71, 158, 0.15);
    outline: 0;
}

/* --- BREADCRUMBS --- */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(48, 71, 158, 0.05) 0%, rgba(129, 52, 49, 0.02) 100%);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb {
    margin-bottom: 0;
    font-weight: 500;
}
.breadcrumb-item a {
    color: var(--text-secondary);
}
.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 700;
}

/* --- FOOTER & MEGA FOOTER --- */
.mega-footer {
    background-color: var(--bg-dark);
    color: #a0a5b0;
    padding: 80px 0 30px 0;
    font-size: 0.95rem;
    border-top: 5px solid var(--primary);
}
.mega-footer h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.mega-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}
.footer-logo span {
    color: var(--secondary);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #a0a5b0;
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.social-icon:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 50px;
    font-size: 0.85rem;
}

/* --- FLOATING & STICKY ACTIONS --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    z-index: 999;
    transition: var(--transition-smooth);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-call {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    z-index: 999;
    transition: var(--transition-smooth);
}
.floating-call:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(48, 71, 158, 0.4);
}

.back-to-top {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 999;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Sticky Bottom Call-to-Action for Mobile */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 990;
    border-top: 1px solid var(--border-color);
    padding: 10px;
}
.mobile-sticky-cta .btn {
    flex: 1;
    margin: 0 5px;
    font-size: 0.9rem;
    padding: 10px;
}

/* --- ANIMATIONS --- */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
