
        :root {
            --primary-color: #d464a4;
            --secondary-color: #692483;
            --light-pink: #f8e8f1;
            --text-dark: #333;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-dark);
            overflow-x: hidden;
        }
        
        /* Header */
        .top-header {
            background: #fff;
            padding: 10px 0;
            position: sticky;
    top: 0;
    z-index: 99;
            border-bottom: 1px solid #eee;
        }
        
        .top-header .nav-link {
            color: var(--text-dark);
            font-size: 14px;
            padding: 5px 15px;
        }
        
        .top-header .btn-book {
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 14px;
        }
        
        .logo {
             max-width: 200px;
    /* transform: translateY(35px); */
    background: white;
    /* position: relative; */
    z-index: 999;
    border-radius: 24px;
    padding: 12px;
    padding-top: 0;
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--secondary-color) 0%, #4a1563 100%);
            position: relative;
            overflow: hidden;
            min-height: 600px;
        }
        
        .hero-content {
            padding: 80px 0 100px;
            position: relative;
            z-index: 2;
        }
        
        .hero-section h1 {
            color: var(--primary-color);
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .hero-section h2 {
            color: #fff;
            font-size: 1.8rem;
            font-weight: 600;
        }
        
        .hero-image {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            max-width: 50%;
            opacity: 0.3;
        }
        
        /* Consultation Form */
        .consultation-form {
            background: var(--primary-color);
            padding: 30px;
            border-radius: 15px;
            margin-top: -50px;
            position: relative;
            z-index: 10;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .consultation-form h3 {
            color: #fff;
            margin-bottom: 20px;
            font-size: 1.3rem;
        }
        
        .consultation-form input,
        .consultation-form select {
            border-radius: 8px;
            border: none;
            padding: 12px;
            margin-bottom: 15px;
        }
        
        .consultation-form .btn-submit {
            background: #fff;
            color: var(--primary-color);
            border: none;
            padding: 12px 40px;
            border-radius: 25px;
            font-weight: 600;
            width: 100%;
        }
        
        .consultation-form small {
            color: #fff;
            font-size: 11px;
            display: block;
            margin-top: 10px;
        }
        
        /* About Section */
        .about-section {
            padding: 80px 0;
            background: #fff;
        }
        
        .about-section img {
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .about-section h3 {
            color: var(--secondary-color);
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .about-section p {
            line-height: 1.8;
            color: #555;
        }
        
        /* Specialities Section */
        .specialities-section {
            padding: 80px 0;
            background: var(--light-pink);
        }
        
        .specialities-section h2 {
            color: var(--primary-color);
            text-align: center;
            font-weight: 700;
            margin-bottom: 50px;
            font-size: 2rem;
        }
        
        /* Custom Tabs */
        .custom-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
            border: none;
        }
        
        .custom-tabs .nav-link {
            background: #fff;
            color: var(--text-dark);
            border: 2px solid #ddd;
            border-radius: 25px;
            padding: 12px 25px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .custom-tabs .nav-link:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .custom-tabs .nav-link.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }
        
        /* Tab Content */
        .tab-content {
            background: #fff;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .specialty-icon {
            background: linear-gradient(135deg, var(--primary-color), #e989c3);
            padding: 60px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        
        .specialty-icon i {
            font-size: 80px;
            color: #fff;
        }
        
        .specialty-list h5 {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .specialty-list ul {
            list-style: none;
            padding: 0;
        }
        
        .specialty-list ul li {
            padding: 8px 0;
            color: #555;
            position: relative;
            padding-left: 25px;
        }
        
        .specialty-list ul li:before {
            content: "●";
            color: var(--primary-color);
            position: absolute;
            left: 0;
            font-size: 18px;
        }
        
        /* Book Appointment Button */
        .btn-appointment {
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 15px 50px;
            border-radius: 30px;
            font-weight: 600;
            margin: 40px auto;
            display: block;
            transition: all 0.3s;
        }
        
        .btn-appointment:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(214, 100, 164, 0.4);
        }
        
        /* Why Choose Section */
        .why-choose-section {
            background: linear-gradient(135deg, var(--secondary-color) 0%, #4a1563 100%);
            padding: 80px 0;
            color: #fff;
        }
        
        .why-choose-section h2 {
            font-weight: 700;
            margin-bottom: 40px;
        }
        
        .why-choose-section p {
            line-height: 1.8;
            margin-bottom: 30px;
        }
        
        .feature-box {
            text-align: center;
            padding: 20px;
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .feature-icon i {
            font-size: 35px;
            color: #fff;
        }
        
        .feature-box h5 {
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .feature-box p {
            font-size: 14px;
            margin-bottom: 0;
        }
        
        /* Services Section */
        .services-section {
            padding: 80px 0;
            background: #fff;
        }
        
        .services-section h2 {
            color: var(--primary-color);
            text-align: center;
            font-weight: 700;
            margin-bottom: 50px;
            font-size: 2rem;
        }
        
        .service-item {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        
        .service-item i {
            color: var(--primary-color);
            margin-right: 10px;
        }
        
        .btn-know-more {
            background: transparent;
            color: var(--secondary-color);
            border: 2px solid var(--secondary-color);
            padding: 10px 40px;
            border-radius: 25px;
            margin: 30px auto;
            display: block;
            width: fit-content;
        }
        
        /* Scan Types Section */
        .scan-section {
            padding: 80px 0;
            background: var(--light-pink);
        }
        
        .scan-box {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            padding: 50px;
            border-radius: 15px;
            color: #fff;
                max-width: 1000px;
    margin: auto;
        }
        
        .scan-box h2 {
            text-align: center;
            margin-bottom: 40px;
            font-weight: 700;
        }
        
        .scan-list {
            list-style: none;
            padding: 0;
        }
        
        .scan-list li {
            padding: 12px 0;
            position: relative;
            padding-left: 35px;
            font-size: 15px;
        }
        
        .scan-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            width: 25px;
            height: 25px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        /* Footer */
        footer {
            background: #1a1a1a;
            color: #fff;
            padding: 40px 0 20px;
        }
        
        footer .logo-footer {
            max-width: 200px;
            margin-bottom: 20px;
        }
        
        footer a {
            color: #aaa;
            text-decoration: none;
            font-size: 13px;
            margin: 0 10px;
        }
        
        footer a:hover {
            color: var(--primary-color);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid #333;
            font-size: 12px;
            color: #888;
        }

        .hero-section{
            position: relative;
        }
        .hero-section .overlay{
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            background:linear-gradient(135deg, #000000a8 0%, #4a1563 100%)

        }
        ._services{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
            gap: 20px;
        }
        ._service_item{
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }
        ._service_item a{
            text-decoration: none;
            color:var(--secondary-color);;
        }
        ._service_item p{
                font-weight: 600;
    margin-top: 10px;
        font-size: 18px;

        }
        .whatsapp_fixed{
            position: fixed;
            left:20px;
            bottom: 20px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            ._services{
                grid-template-columns: 1fr 1fr;
        }
            .logo{
                position: static;
             
            }
            .hero-section h1 {
                font-size: 1.8rem;
            }
            
            .hero-section h2 {
                font-size: 1.3rem;
            }
            
            .consultation-form {
                margin-top: 20px;
            }
            
            .custom-tabs .nav-link {
                padding: 10px 15px;
                font-size: 14px;
            }
        }
    



        /* ============================================
   RESPONSIVE CSS - Mobile & Tablet Styles
   ============================================ */

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .about-section img {
        margin-bottom: 30px;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
    
    .why-choose-section .col-md-6:first-child {
        margin-bottom: 40px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Header */
    .top-header .col-md-6 {
        display: none;
    }
    
    .top-header .col-md-3 {
        width: 50%;
        text-align: left !important;
    }
    
    .top-header .col-md-3:last-child {
        width: 50%;
        text-align: right !important;
    }
    
    .logo {
        max-width: 120px;
    }
    .x1{
        text-align: right;
    }
    .xcakl i{
        margin-right: 0 !important; 
    }
    .hide_mobile{
        display: none;
    }
    
    .top-header .btn-book {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 410px;
    }
    
    .hero-content {
        padding: 30px 0 80px;
    }
    .specialty-list ul li:before{
        display: none;
    }
    .hero-content .consultation-form{
        display: none;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    /* Consultation Form */
    .consultation-form {
        padding: 20px;
        margin-top: 20px;
    }
    
    .consultation-form h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .consultation-form input,
    .consultation-form select {
        padding: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .consultation-form .btn-submit {
        padding: 10px 30px;
        font-size: 14px;
    }
    
    /* About Section */
    .about-section {
        padding: 50px 0;
    }
    
    .about-section h3 {
        font-size: 1.3rem;
        margin-top: 20px;
    }
    
    .about-section p {
        font-size: 14px;
    }
    
    /* Specialities Section */
    .specialities-section {
        padding: 50px 0;
    }
    
    .specialities-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    /* Custom Tabs */
    .custom-tabs {
        gap: 8px;
    }
    
    .custom-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    /* Tab Content */
    .tab-content {
        padding: 25px 15px;
    }
    
    .specialty-icon {
        padding: 40px;
        margin-bottom: 30px;
    }
    
    .specialty-icon i {
        font-size: 60px;
    }
    
    .specialty-list h5 {
        font-size: 16px;
        margin-top: 20px;
    }
    
    .specialty-list ul li {
        font-size: 14px;
        padding: 6px 0;
    }
    
    /* Button */
    .btn-appointment {
        padding: 12px 35px;
        font-size: 14px;
        margin: 30px auto;
    }
    
    /* Why Choose Section */
    .why-choose-section {
        padding: 50px 0;
    }
    
    .why-choose-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .why-choose-section p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .feature-box {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 28px;
    }
    
    .feature-box h5 {
        font-size: 14px;
    }
    
    .feature-box p {
        font-size: 12px;
    }
    
    /* Services Section */
    .services-section {
        padding: 50px 0;
    }
    
    .services-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .service-item {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .btn-know-more {
        padding: 8px 30px;
        font-size: 14px;
    }
    
    /* Scan Section */
    .scan-section {
        padding: 50px 0;
    }
    
    .scan-box {
        padding: 30px 20px;
    }
    
    .scan-box h2 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .scan-list li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 30px;
    }
    
    /* Footer */
    footer {
        padding: 30px 0 15px;
    }
    
    footer .logo-footer {
        max-width:120px;
        margin-bottom: 0;
    }
    
    footer a {
        font-size: 12px;
        margin: 0 5px;
        display: inline-block;
        padding: 3px 0;
    }
    
    .copyright {
        font-size: 11px;
        padding-top: 15px;
        margin-top: 15px;
    }
}

/* Small Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    /* Consultation Form */
    .consultation-form {
        padding: 15px;
    }
    
    .consultation-form h3 {
        font-size: 1rem;
    }
    
    /* Tabs */
    .custom-tabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Tab Content */
    .tab-content {
        padding: 20px 10px;
    }
    
    .specialty-icon {
        padding: 30px;
    }
    
    .specialty-icon i {
        font-size: 50px;
    }
    
    .specialty-list h5 {
        font-size: 15px;
    }
    
    .specialty-list ul li {
        font-size: 13px;
    }
    
    /* Why Choose Section */
    .why-choose-section h2 {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    
    .feature-box h5 {
        font-size: 13px;
        
    }
    
    /* Scan Section */
    .scan-box h2 {
        font-size: 1.1rem;
    }
    
    .scan-list li {
        font-size: 13px;
    }
    
    /* Button */
    .btn-appointment {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .btn-know-more {
        padding: 8px 25px;
        font-size: 13px;
    }
}

/* Extra Small Devices (max-width: 400px) */
@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section h2 {
        font-size: 0.9rem;
    }
    
    .consultation-form h3 {
        font-size: 0.95rem;
    }
    
    .specialities-section h2,
    .services-section h2,
    .why-choose-section h2 {
        font-size: 2rem;
    }
    
    .custom-tabs .nav-link {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .specialty-icon {
        padding: 25px;
    }
    
    .specialty-icon i {
        font-size: 40px;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 300px;
    }
    
    .hero-content {
        padding: 40px 0 60px;
    }
    
    .consultation-form {
        margin-top: 10px;
    }
}

/* Print Styles */
@media print {
    .top-header,
    .consultation-form,
    .btn-appointment,
    .btn-know-more,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: #000 !important;
    }
    
    .why-choose-section {
        background: none !important;
        color: #000 !important;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .logo-footer {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch Devices - Increase touch targets */
@media (hover: none) and (pointer: coarse) {
    .custom-tabs .nav-link {
        padding: 12px 20px;
        min-height: 44px;
    }
    
    .btn-appointment,
    .btn-know-more {
        min-height: 44px;
        padding: 12px 30px;
    }
    
    .top-header .btn-book {
        min-height: 44px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   BOOTSTRAP BUTTON OVERRIDES
   Primary Color: #d464a4 (Pink)
   Secondary Color: #692483 (Purple)
   ============================================ */

:root {
    --btn-primary-color: #d464a4;
    --btn-primary-hover: #c04d8f;
    --btn-primary-active: #ab3b7a;
    --btn-secondary-color: #692483;
    --btn-secondary-hover: #532073;
    --btn-secondary-active: #411a5c;
}

/* ============================================
   PRIMARY BUTTON - SOLID
   ============================================ */

.btn-primary {
    background-color: var(--btn-primary-color);
    border-color: var(--btn-primary-color);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 100, 164, 0.4);
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(212, 100, 164, 0.5);
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--btn-primary-active);
    border-color: var(--btn-primary-active);
    color: #ffffff;
    transform: translateY(0);
}

.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 100, 164, 0.5);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: var(--btn-primary-color);
    border-color: var(--btn-primary-color);
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   PRIMARY BUTTON - OUTLINE
   ============================================ */

.btn-outline-primary {
    color: var(--btn-primary-color);
    border-color: var(--btn-primary-color);
    background-color: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--btn-primary-color);
    border-color: var(--btn-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 100, 164, 0.3);
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 100, 164, 0.5);
}

.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
    background-color: var(--btn-primary-active);
    border-color: var(--btn-primary-active);
    color: #ffffff;
}

.btn-outline-primary:active:focus,
.btn-outline-primary.active:focus,
.btn-outline-primary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 100, 164, 0.5);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: var(--btn-primary-color);
    background-color: transparent;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   SECONDARY BUTTON - SOLID
   ============================================ */

.btn-secondary {
    background-color: var(--btn-secondary-color);
    border-color: var(--btn-secondary-color);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover);
    border-color: var(--btn-secondary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 36, 131, 0.4);
}

.btn-secondary:focus,
.btn-secondary.focus {
    background-color: var(--btn-secondary-hover);
    border-color: var(--btn-secondary-hover);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(105, 36, 131, 0.5);
}

.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
    background-color: var(--btn-secondary-active);
    border-color: var(--btn-secondary-active);
    color: #ffffff;
    transform: translateY(0);
}

.btn-secondary:active:focus,
.btn-secondary.active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(105, 36, 131, 0.5);
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    background-color: var(--btn-secondary-color);
    border-color: var(--btn-secondary-color);
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   SECONDARY BUTTON - OUTLINE
   ============================================ */

.btn-outline-secondary {
    color: var(--btn-secondary-color);
    border-color: var(--btn-secondary-color);
    background-color: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--btn-secondary-color);
    border-color: var(--btn-secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 36, 131, 0.3);
}

.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
    box-shadow: 0 0 0 0.25rem rgba(105, 36, 131, 0.5);
}

.btn-outline-secondary:active,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show {
    background-color: var(--btn-secondary-active);
    border-color: var(--btn-secondary-active);
    color: #ffffff;
}

.btn-outline-secondary:active:focus,
.btn-outline-secondary.active:focus,
.btn-outline-secondary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(105, 36, 131, 0.5);
}

.btn-outline-secondary:disabled,
.btn-outline-secondary.disabled {
    color: var(--btn-secondary-color);
    background-color: transparent;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   BUTTON GROUP OVERRIDES
   ============================================ */

.btn-group > .btn-primary:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn-group:not(:last-child) > .btn-primary {
    border-right-color: var(--btn-primary-hover);
}

.btn-group > .btn-secondary:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn-group:not(:last-child) > .btn-secondary {
    border-right-color: var(--btn-secondary-hover);
}

/* ============================================
   BUTTON SIZES - CUSTOM CLASSES
   ============================================ */

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.btn-xs {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

/* ============================================
   GRADIENT BUTTON VARIANTS (BONUS)
   ============================================ */

.btn-gradient-primary {
    background: linear-gradient(135deg, var(--btn-primary-color) 0%, #e989c3 100%);
    border: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, var(--btn-primary-hover) 0%, var(--btn-primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 100, 164, 0.4);
    color: #ffffff;
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, var(--btn-secondary-color) 0%, #8b3bad 100%);
    border: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-gradient-secondary:hover {
    background: linear-gradient(135deg, var(--btn-secondary-hover) 0%, var(--btn-secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(105, 36, 131, 0.4);
    color: #ffffff;
}

/* ============================================
   ROUNDED BUTTON VARIANTS (BONUS)
   ============================================ */

.btn-rounded {
    border-radius: 50px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.btn-pill {
    border-radius: 50px;
}

/* ============================================
   BUTTON WITH ICONS
   ============================================ */

.btn i,
.btn .fa,
.btn .fas,
.btn .far,
.btn .fab {
    margin-right: 0.5rem;
}

.btn i:last-child,
.btn .fa:last-child,
.btn .fas:last-child,
.btn .far:last-child,
.btn .fab:last-child {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* ============================================
   LOADING STATE (BONUS)
   ============================================ */

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-right-color: transparent;
    animation: btn-loading-spin 0.6s linear infinite;
}

@keyframes btn-loading-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   BUTTON SHADOWS (BONUS)
   ============================================ */

.btn-shadow-primary {
    box-shadow: 0 4px 12px rgba(212, 100, 164, 0.3);
}

.btn-shadow-primary:hover {
    box-shadow: 0 6px 20px rgba(212, 100, 164, 0.4);
}

.btn-shadow-secondary {
    box-shadow: 0 4px 12px rgba(105, 36, 131, 0.3);
}

.btn-shadow-secondary:hover {
    box-shadow: 0 6px 20px rgba(105, 36, 131, 0.4);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .btn-xl {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   DARK MODE SUPPORT (OPTIONAL)
   ============================================ */

@media (prefers-color-scheme: dark) {
    .btn-outline-primary {
        color: #e989c3;
        border-color: #e989c3;
    }
    
    .btn-outline-primary:hover {
        background-color: #e989c3;
        border-color: #e989c3;
    }
    
    .btn-outline-secondary {
        color: #8b3bad;
        border-color: #8b3bad;
    }
    
    .btn-outline-secondary:hover {
        background-color: #8b3bad;
        border-color: #8b3bad;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

.btn:focus-visible {
    outline: 3px solid var(--btn-primary-color);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

.btn,.btn-close{
    box-shadow: none !important;
}
.text-primary{
    color: var(--primary-color) !important;
}