/* =============================================
   Ro Care Bharat - Custom Styles
   Premium Healthcare-Grade UI
   ============================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
    /* Primary Colors */
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3399FF;
    --primary-rgb: 0, 102, 204;

    /* Secondary Colors */
    --secondary: #28A745;
    --secondary-dark: #1E7E34;
    --secondary-light: #48C764;

    /* Accent Colors */
    --accent: #17A2B8;
    --accent-light: #5BC0DE;

    /* Neutral Colors */
    --white: #FFFFFF;
    --light: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --dark: #212529;

    /* Status Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Utility Classes ---- */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-gradient-primary {
    background: var(--primary);
}

/* ---- Buttons ---- */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.35);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--light);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ---- Top Bar ---- */
.top-bar {
    background: #1f2937;
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-bar-left span {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-left i {
    color: var(--primary);
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-right a:hover {
    color: #ffffff;
}

/* ---- Navbar Premium ---- */
.navbar {
    padding: 16px 0;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Brand Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.brand-tagline {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0066CC;
}

/* Nav Links */
.navbar-nav {
    gap: 8px;
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    color: #1f2937;
    padding: 10px 18px;
    margin: 0 4px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #0066CC;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0066CC;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 8px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f0f7ff;
    color: #0066CC;
}

/* Nav Action Buttons */
.nav-cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cart-btn:hover {
    background: #e6f0fa;
    color: #0066CC;
}

.nav-cart-btn .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-account-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-account-btn:hover {
    background: #e6f0fa;
    color: #0066CC;
}

.nav-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 2px solid #0066CC;
    border-radius: 10px;
    color: #0066CC;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    background: #0066CC;
    color: #ffffff;
}

.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #0066CC;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta-btn:hover {
    background: #004C99;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-cart-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    text-decoration: none;
}

.mobile-cart-btn .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: 16px;
        margin-top: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        gap: 4px;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .navbar-nav .nav-link:hover {
        background: #f3f4f6;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        gap: 12px !important;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e5e7eb;
    }

    .nav-login-btn,
    .nav-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f0f7ff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-height: 500px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-badge {
    position: absolute;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-badge.badge-1 {
    top: 20%;
    left: -10%;
}

.hero-badge.badge-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 1.5s;
}

.hero-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.hero-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.hero-badge-subtext {
    font-size: 0.8rem;
    color: var(--gray-600);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---- Trust Badges ---- */
.trust-strip {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.trust-item span {
    font-weight: 500;
    color: var(--gray-700);
}

/* ---- Services Section ---- */
.services-section {
    background: var(--light);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray-500);
}

/* ---- Products Section ---- */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    flex-grow: 1;
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating i {
    color: var(--warning);
    font-size: 0.85rem;
}

.product-rating span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 1rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-footer {
    padding: 0 20px 20px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
}

/* ---- Categories Section ---- */
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-overlay h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.category-overlay span {
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* ---- Testimonials Section ---- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: 15px;
}

.testimonial-content {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding-top: 60px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-about {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 8px;
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0 30px;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    justify-content: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Forms ---- */
.form-control,
.form-select {
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    font-family: var(--font-secondary);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

/* ---- Cards ---- */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 15px 20px;
    font-weight: 600;
}

/* ---- Tables ---- */
.table {
    margin-bottom: 0;
}

.table th {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--gray-700);
    border-top: none;
}

/* ---- Badges ---- */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

/* ---- Alerts ---- */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 15px 20px;
}

/* ---- Pagination ---- */
.pagination .page-link {
    border: none;
    padding: 10px 16px;
    color: var(--gray-700);
    margin: 0 3px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
}

/* ---- Loading Spinner ---- */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Page Header */
.page-header {
    background: var(--primary);
    padding: 3rem 0;
    margin-bottom: 2rem;
    color: var(--white);
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.page-header .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
    font-weight: 500;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.page-header .breadcrumb-item a:hover {
    color: var(--white);
}