/* Beena Enterprises - Premium Design CSS Variables & System Styles */

:root {
    --primary-color: #1e40af; /* Premium Indigo Royal Blue */
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
    --secondary-color: #f59e0b; /* Bright Gold Amber */
    --secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --accent-color: #06b6d4; /* Technical Cyan */
    --light-bg: #f8fafc; /* Slate light background */
    --dark-bg: #0f172a; /* Sleek Matte Slate 900 */
    --text-color-light: #1e293b;
    --text-color-dark: #f1f5f9;
    --card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
    --hover-shadow: 0 30px 60px -15px rgba(30, 64, 175, 0.15), 0 0 0 1px rgba(30, 64, 175, 0.05);
    --border-radius: 16px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(30, 64, 175, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Technical Geodetic Grid Background */
.tech-grid-bg {
    background-image: 
        radial-gradient(circle, rgba(30, 64, 175, 0.05) 1.5px, transparent 1.5px),
        linear-gradient(to right, rgba(30, 64, 175, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 64, 175, 0.02) 1px, transparent 1px);
    background-size: 24px 24px, 120px 120px, 120px 120px;
    background-position: center center;
}

/* Light / Dark Mode Core */
html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color-light);
    background-color: var(--light-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

section {
    max-width: 100%;
    overflow-x: hidden;
}


/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-secondary {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sticky Header with Glassmorphism */
.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 120px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 87, 217, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 122, 0, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

/* Premium Buttons */
.btn-premium-primary {
    background: var(--primary-color);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    transition: var(--transition);
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    background: #172554;
    box-shadow: 0 12px 24px -6px rgba(30, 64, 175, 0.4);
}

.btn-premium-secondary {
    background: var(--secondary-color);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    transition: var(--transition);
}

.btn-premium-secondary:hover {
    transform: translateY(-2px);
    background: #b45309;
    box-shadow: 0 12px 24px -6px rgba(245, 158, 11, 0.4);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card-blue {
    border-top: 4px solid var(--primary-color) !important;
}

.glass-card-orange {
    border-top: 4px solid var(--secondary-color) !important;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(30, 64, 175, 0.2);
}

/* Before / After Slider */
.ba-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.ba-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-slider-overlay {
    width: 50%;
    z-index: 2;
    border-right: 3px solid #FFFFFF;
}

.ba-slider-handle {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: 4px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Stats Counter */
.counter-box {
    text-align: center;
    padding: 20px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Step Timeline */
.timeline-track {
    position: relative;
    padding-left: 35px;
}

.timeline-track::after {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.35;
    border-radius: 2px;
    z-index: 1;
}

.timeline-step {
    position: relative;
    margin-bottom: 35px;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateX(5px);
}

.timeline-step h5, .timeline-step h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.timeline-step:hover h5, .timeline-step:hover h6 {
    color: var(--primary-color) !important;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.3);
}

/* Lead Generation Elements */
/* Floating WhatsApp and Call buttons */
.floating-action-buttons {
    position: fixed;
    right: 25px;
    bottom: 90px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 24px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.floating-whatsapp {
    background-color: #25D366;
}

.floating-call {
    background-color: #0057D9;
}

/* Sticky Mobile Bottom CTA Bar */
.sticky-mobile-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    z-index: 998;
    padding: 10px 15px;
    display: none;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .sticky-mobile-bottom {
        display: flex;
        justify-content: space-around;
        gap: 10px;
    }
    .floating-action-buttons {
        bottom: 75px;
        right: 15px;
    }
}

/* Testimonials Carousel Slider Customizations */
.swiper-slide {
    height: auto;
}

/* Footer layout styling (aligned with Sunaina Pharmacy reference) */
.main-footer {
    background: linear-gradient(180deg, #091324 0%, #030811 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
    border-top: 2px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.25);
}

.footer-top {
    padding: 75px 0 45px;
}

.footer-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3.5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--secondary-color);
    transition: var(--transition);
    font-weight: 700;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    transform: translateX(15px);
}

.footer-links li a:hover::before {
    opacity: 1;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85) !important;
    transition: var(--transition);
    font-size: 15px;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #FFFFFF !important;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.45);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
    font-size: 13px;
    background-color: rgba(0, 0, 0, 0.2);
}
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    background: rgba(0,87,217,0.1);
}
/* Exit intent modal custom rules */
.modal-content-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: inherit;
}

/* Full-Width Hero Slider Customizations */
.hero-swiper-container {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-swiper-container {
        height: 500px;
    }
}

.hero-swiper-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 8s ease; /* Smooth Ken Burns effect */
}

/* Background overlay gradient for contrast */
.hero-swiper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 54, 153, 0.75) 0%, rgba(26, 26, 26, 0.85) 100%);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-align: left;
}

/* Animations for Slide Elements */
.hero-slide-content .animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .hero-slide-content .animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .hero-slide-content .delay-1 {
    transition-delay: 0.2s;
}

.swiper-slide-active .hero-slide-content .delay-2 {
    transition-delay: 0.4s;
}

.swiper-slide-active .hero-slide-content .delay-3 {
    transition-delay: 0.6s;
}

.swiper-slide-active .hero-swiper-img {
    transform: scale(1.12); /* Slowly scale zoom active image */
}

/* Controls */
.hero-swiper-button-prev,
.hero-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.hero-swiper-button-prev { left: 30px; }
.hero-swiper-button-next { right: 30px; }

.hero-swiper-button-prev:hover,
.hero-swiper-button-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

/* Bullet Pagination */
.hero-swiper-pagination {
    position: absolute;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 6px !important;
    transition: var(--transition);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-color) !important;
    width: 30px;
    border-radius: 6px;
}

/* Subpage Hero Banner Design */
.subpage-hero {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(135deg, #002C80 0%, #111111 100%);
    overflow: hidden;
    border-bottom: 3px solid var(--secondary-color);
}

.subpage-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.15) 0%, transparent 40%),
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M0 0h60v60H0z" fill="none"/><path d="M0 30h60M30 0v60" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.8;
}

/* Step Wizard Progress Bar for Quote Forms */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E3E6F0;
    z-index: 1;
}

.wizard-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 33.3%;
}

.wizard-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #E3E6F0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    font-size: 14px;
    color: #AAAAAA;
    transition: var(--transition);
}

.wizard-step.active .wizard-icon {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #FFFFFF;
}

.wizard-step.completed .wizard-icon {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: #FFFFFF;
}

/* Milestone Timeline for About Us Page */
.milestone-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    position: relative;
    box-shadow: var(--card-shadow);
}

.milestone-year {
    margin-bottom: 5px;
}

/* Pulsing Helpline Call Button */
.floating-helpline-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-floating-helpline {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 87, 217, 0.4);
    z-index: 10;
    transition: var(--transition);
    text-decoration: none;
}

.btn-floating-helpline:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 87, 217, 0.5);
}

/* Pulsing Rings Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.8;
    z-index: 1;
    animation: pulseRings 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-2 {
    animation-delay: 0.5s;
}

@keyframes pulseRings {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Premium Info Cards (aligned with Sunaina Pharmacy reference) */
.info-card {
    border-radius: 24px;
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 35px 30px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 15px var(--accent-shadow) !important;
    position: relative;
    z-index: 2;
}

.info-card:hover .info-icon {
    transform: scale(1.15) rotate(8deg) !important;
    box-shadow: 0 8px 22px var(--accent-shadow) !important;
}

.info-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #0c231a;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

body.dark-mode .info-card h5 {
    color: #FFFFFF;
}

.info-card p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

body.dark-mode .info-card p {
    color: #CCCCCC;
}

.info-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--accent-bg) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.8;
    pointer-events: none;
}

.info-card:hover::after {
    transform: scale(1.6);
    opacity: 1;
}

/* Accent Themes for Info Cards */
.info-card.accent-gold {
    --accent-theme: #FFAA00;
    --accent-bg: rgba(255, 170, 0, 0.08);
    --accent-grad-start: #FFAA00;
    --accent-grad-end: #FF8800;
    --accent-shadow: rgba(255, 170, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 253, 246, 0.96) 100%) !important;
    border: 1px solid rgba(255, 170, 0, 0.15) !important;
    border-left: 5px solid #FFAA00 !important;
    box-shadow: 0 12px 35px rgba(255, 170, 0, 0.04) !important;
}

.info-card.accent-gold:hover {
    box-shadow: 0 20px 40px rgba(255, 170, 0, 0.18) !important;
    border-color: rgba(255, 170, 0, 0.4) !important;
    border-left-color: #FFAA00 !important;
}

.info-card.accent-blue {
    --accent-theme: #3b82f6;
    --accent-bg: rgba(59, 130, 246, 0.08);
    --accent-grad-start: #3b82f6;
    --accent-grad-end: #1d4ed8;
    --accent-shadow: rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 255, 0.96) 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-left: 5px solid #3b82f6 !important;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.04) !important;
}

.info-card.accent-blue:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.18) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    border-left-color: #3b82f6 !important;
}

.info-card.accent-purple {
    --accent-theme: #8e44ad;
    --accent-bg: rgba(142, 68, 173, 0.08);
    --accent-grad-start: #9b59b6;
    --accent-grad-end: #8e44ad;
    --accent-shadow: rgba(142, 68, 173, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 245, 255, 0.96) 100%) !important;
    border: 1px solid rgba(142, 68, 173, 0.15) !important;
    border-left: 5px solid #8e44ad !important;
    box-shadow: 0 12px 35px rgba(142, 68, 173, 0.04) !important;
}

.info-card.accent-purple:hover {
    box-shadow: 0 20px 40px rgba(142, 68, 173, 0.18) !important;
    border-color: rgba(142, 68, 173, 0.4) !important;
    border-left-color: #8e44ad !important;
}

.info-card.accent-green {
    --accent-theme: #10b981;
    --accent-bg: rgba(16, 185, 129, 0.08);
    --accent-grad-start: #10b981;
    --accent-grad-end: #059669;
    --accent-shadow: rgba(16, 185, 129, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 253, 244, 0.96) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
    border-left: 5px solid #10b981 !important;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.04) !important;
}

.info-card.accent-green:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.18) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    border-left-color: #10b981 !important;
}


/* Scroll Triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* delay variations */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* Overlapping Info Section Mobile Reset */
.overlapping-info-section {
    z-index: 10;
    margin-top: -80px;
    padding-bottom: 20px !important;
}

@media (max-width: 991px) {
    .overlapping-info-section {
        margin-top: 0 !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    
    /* Standard mobile menu drawer design for clean contrast */
    .sticky-navbar .navbar-collapse {
        background: #FFFFFF !important;
        border-radius: var(--border-radius) !important;
        box-shadow: 0 15px 35px rgba(0, 87, 217, 0.12) !important;
        padding: 20px !important;
        margin-top: 15px !important;
        border: 1px solid rgba(0, 87, 217, 0.08) !important;
    }
    
    .sticky-navbar .navbar-nav {
        align-items: flex-start !important;
    }
    
    .sticky-navbar .nav-item {
        width: 100% !important;
    }
    
    .sticky-navbar .nav-link {
        color: var(--text-color-light) !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        padding: 12px 0 !important;
        font-weight: 500 !important;
        width: 100% !important;
        transition: var(--transition) !important;
    }
    
    .sticky-navbar .nav-item:last-child .nav-link {
        border-bottom: none !important;
    }
    
    .sticky-navbar .nav-link:hover {
        color: var(--primary-color) !important;
        padding-left: 8px !important;
    }
}

@media (max-width: 768px) {
    /* Responsive font resizing for swiper slides to prevent cutting off text on mobile */
    .hero-swiper-container {
        height: 420px !important;
    }
    .hero-swiper-container h1.display-4 {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }
    .hero-swiper-container p.lead {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
    .hero-swiper-container .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    .hero-slide-content {
        padding-top: 60px !important; /* Spacing below the floating menu */
    }
    .ba-slider-container {
        height: 260px !important;
    }
}

/* ============================================
   PREMIUM ANIMATIONS & MICRO-INTERACTIONS
   ============================================ */

/* Smooth link underline hover effect for all nav links */
.nav-link {
    position: relative;
    transition: color 0.3s ease !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Smooth image zoom on hover */
.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
}

/* Card image top zoom on parent hover */
.glass-card .card-img-top {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-card:hover .card-img-top {
    transform: scale(1.06);
}

/* Subtle floating animation for hero elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Pulse glow effect for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 87, 217, 0.4); }
    50% { box-shadow: 0 0 20px 6px rgba(0, 87, 217, 0.15); }
}

.btn-premium-primary {
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-premium-primary:hover {
    animation: none;
}

/* Fade in animation variants for scroll observer */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Section heading animated underline */
.section-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-heading:hover::after {
    width: 100%;
}

/* Smooth footer link hover transitions */
.footer-links a {
    transition: color 0.3s ease, padding-left 0.3s ease !important;
}

.footer-links a:hover {
    padding-left: 6px !important;
}

/* Badge shimmer effect */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.badge-shimmer {
    background: linear-gradient(90deg, transparent 33%, rgba(255,255,255,0.3) 50%, transparent 66%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Smooth form input focus transitions */
.form-control,
.form-select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
}

/* Breadcrumb smooth hover */
.breadcrumb a {
    transition: color 0.3s ease !important;
}

/* Wizard step icon smooth state transitions */
.wizard-icon {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Social icon hover pop effect */
.footer-social-icon {
    transition: transform 0.3s ease, background 0.3s ease !important;
}

.footer-social-icon:hover {
    transform: translateY(-3px) scale(1.1) !important;
}

/* Page load fade-in for main content */
@keyframes pageLoad {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

main, section:first-of-type {
    animation: pageLoad 0.5s cubic-bezier(0.25, 1, 0.5, 1) both;
}

/* Modern Branch Page Redesign Styles */
.branch-card {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03);
    transition: var(--transition);
}
.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px -15px rgba(15, 23, 42, 0.1);
    border-color: rgba(30, 64, 175, 0.1);
}
.branch-pill {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.branch-pill-active {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.branch-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(30, 64, 175, 0.02) 100%);
    border: 1px solid rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.branch-card:hover .branch-icon-box {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.08) rotate(4deg);
}
.branch-quick-info {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.05);
}
.branch-quick-info:last-child {
    border-bottom: none;
}
.branch-quick-info i {
    font-size: 16px;
    margin-top: 2px;
}
.branch-map-embed {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.08);
    box-shadow: var(--card-shadow);
}
.branch-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition);
}
.branch-tag:hover {
    background: rgba(30, 64, 175, 0.05);
    color: var(--primary-color);
    border-color: rgba(30, 64, 175, 0.15);
}
.form-floating-modern .form-control {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background-color: #f8fafc;
}
.form-floating-modern .form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.08);
}

/* Before/After Image Slider CSS */
.ba-slider-container {
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
}
.ba-slider-overlay {
    transition: none !important;
}
.ba-slider-handle {
    transition: none !important;
}

/* Timeline Step Cards */
.timeline-step-card {
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}
.timeline-step-card:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.08) !important;
}

/* Service details custom improvements */
.service-description-wrapper h2, .service-description-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-bg);
    border-left: 4px solid var(--secondary-color);
    padding-left: 14px;
    margin-top: 38px;
    margin-bottom: 18px;
}

body.dark-mode .service-description-wrapper h2, 
body.dark-mode .service-description-wrapper h3 {
    color: #FFFFFF;
}

.service-description-wrapper blockquote {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-left: 5px solid var(--primary-color);
    padding: 22px 28px;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
    border-radius: 0 16px 16px 0;
    margin: 28px 0;
    box-shadow: inset 0 0 12px rgba(30, 64, 175, 0.02);
}

body.dark-mode .service-description-wrapper blockquote {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--accent-color);
}

.service-description-wrapper p {
    font-size: 15px;
    line-height: 1.85;
    color: #4b5563;
    margin-bottom: 22px;
}

body.dark-mode .service-description-wrapper p {
    color: #cbd5e1;
}

.service-description-wrapper ul, .service-description-wrapper ol {
    padding-left: 24px;
    margin-bottom: 28px;
}

.service-description-wrapper li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.75;
}

body.dark-mode .service-description-wrapper li {
    color: #cbd5e1;
}

.service-icon-badge {
    transition: all 0.3s ease;
}

.service-icon-badge:hover {
    transform: scale(1.05);
}

.application-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.application-card:hover {
    transform: translateY(-5px) translateX(3px);
    box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.15) !important;
}

.badge-equipment-used {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.badge-equipment-used:hover {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 64, 175, 0.25) !important;
}

/* Blog Listing Premium Styles */
.blog-card-premium {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.blog-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
    border-color: rgba(30, 64, 175, 0.1);
}

.blog-card-premium:hover .blog-card-image {
    transform: scale(1.08);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.3s ease;
}

.blog-card-premium:hover .read-more-link {
    color: var(--secondary-color) !important;
}

.blog-card-premium:hover .read-more-link i {
    transform: translateX(4px);
}

.sidebar-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
    background: transparent;
    border: 1px solid transparent;
    margin-bottom: 6px;
}

.sidebar-category-link:hover {
    background: rgba(30, 64, 175, 0.04);
    color: var(--primary-color) !important;
    border-color: rgba(30, 64, 175, 0.05);
}

.sidebar-category-link.active {
    background: var(--primary-color);
    color: #FFFFFF !important;
}

body.dark-mode .blog-card-premium {
    background: var(--dark-bg);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .sidebar-category-link {
    color: #cbd5e1;
}

body.dark-mode .sidebar-category-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color) !important;
}

/* ==========================================================================
   Premium WhatsApp Chat Popup Widget & Floating Button
   ========================================================================== */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 340px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15), 0 5px 15px rgba(15, 23, 42, 0.05);
    z-index: 1050;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.whatsapp-chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-chat-header {
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.whatsapp-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #25d366;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.whatsapp-status-text {
    font-size: 11px;
    opacity: 0.85;
    display: block;
}

.whatsapp-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
}

.whatsapp-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.whatsapp-chat-body {
    background-color: #efeae2;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-blend-mode: overlay;
    background-opacity: 0.06;
    padding: 20px;
    max-height: 250px;
    overflow-y: auto;
}

.whatsapp-message-bubble {
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 0 16px 16px 16px;
    max-width: 90%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
}

.whatsapp-message-bubble p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #334155;
}

.whatsapp-message-time {
    font-size: 9.5px;
    color: #64748b;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.whatsapp-chat-footer {
    padding: 15px 20px;
    background-color: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
}

.whatsapp-send-btn {
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 12px;
    padding: 11px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    width: 100%;
    text-align: center;
}

.whatsapp-send-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.45);
}

/* Floating WhatsApp Trigger Button */
.whatsapp-floating-trigger {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    z-index: 1049;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-floating-trigger:hover {
    transform: scale(1.08) rotate(10deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-badge-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    animation: whatsappPulseBadge 2s infinite;
}

@keyframes whatsappPulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Dark Mode Support */
body.dark-mode .whatsapp-chat-widget {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .whatsapp-chat-footer {
    background-color: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .whatsapp-message-bubble {
    background: #0f172a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

body.dark-mode .whatsapp-message-bubble p {
    color: #f1f5f9;
}

body.dark-mode .whatsapp-message-time {
    color: #94a3b8;
}

body.dark-mode .whatsapp-online-dot {
    border-color: #1e293b;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .whatsapp-chat-widget {
        width: 300px;
        right: 15px;
        bottom: 85px;
    }
    .whatsapp-floating-trigger {
        bottom: 15px;
        right: 15px;
        width: 54px;
        height: 54px;
        font-size: 28px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    }
}


