/* =============================================
   Dr. Tarun Bali - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --accent-color: #20c997;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 0 auto 30px;
}

/* =============================================
   Header & Navigation
   ============================================= */
.top-bar {
    background: var(--dark-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color) !important;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.btn-appointment {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

/* =============================================
   Hero Slider
   ============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(13, 110, 253, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-top: 150px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-content .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-right: 15px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   Overview Section
   ============================================= */
.overview-section {
    background: var(--light-color);
}

.overview-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.overview-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.overview-image {
    position: relative;
}

.overview-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.experience-badge span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =============================================
   Specialities Section
   ============================================= */
.speciality-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.speciality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.speciality-icon {
 
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.speciality-card:hover .speciality-icon {
    transform: rotateY(180deg);
}

.speciality-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.speciality-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.speciality-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =============================================
   Credibility / Stats Section
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 30px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =============================================
   About Page
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: #fff;
}

.about-content {
    padding: 40px;
}

.mission-vision-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.mission-vision-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.award-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.award-card:hover {
    transform: translateY(-5px);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.award-icon i {
    font-size: 2rem;
    color: #fff;
}

.hospital-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.hospital-card:hover {
    transform: translateX(10px);
}

.hospital-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hospital-icon i {
    font-size: 1.8rem;
    color: #fff;
}

/* =============================================
   Speciality Detail Page
   ============================================= */
.speciality-detail {
    padding: 80px 0;
}

.speciality-detail-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.speciality-detail-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.speciality-detail-content {
    padding: 30px;
}

.speciality-detail-content h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.speciality-features {
    list-style: none;
    padding: 0;
}

.speciality-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =============================================
   Specialities Page New Design
   ============================================= */
.speciality-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.speciality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.speciality-img-wrapper {
    position: relative;
    overflow: hidden;
}

.speciality-img-wrapper img {
    transition: transform 0.5s ease;
}

.speciality-item:hover .speciality-img-wrapper img {
    transform: scale(1.1);
}

.speciality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(25, 135, 84, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.speciality-img-wrapper:hover .speciality-overlay {
    opacity: 1;
}

.speciality-overlay i {
    color: #fff;
    font-size: 3rem;
}

.speciality-content {
    padding: 30px;
}

.speciality-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(25, 135, 84, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speciality-icon-small i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-tag {
    display: inline-block;
    background: #f8f9fa;
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.feature-tag i {
    color: var(--secondary-color);
}

/* Stats Section */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Why Choose Us */
.why-choose-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.why-choose-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.why-choose-icon i {
    font-size: 1.8rem;
    color: #fff;
}

/* Page header wave */
.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.speciality-features li i {
    color: var(--secondary-color);
}

/* =============================================
   Reviews Section
   ============================================= */
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
}

.review-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(13, 110, 253, 0.1);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark-color);
}

.review-source {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.google-rating {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.google-rating img {
    height: 40px;
    margin-bottom: 20px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* =============================================
   Contact Page
   ============================================= */
.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: #fff;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-control {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.contact-form .btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    width: 100%;
    transition: var(--transition);
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* =============================================
   FAQ Section
   ============================================= */
.faq-section .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-section .accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--dark-color);
    background: #fff;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 20px 25px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding-top: 80px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary-color);
}

/* =============================================
   Privacy Policy
   ============================================= */
.privacy-content {
    background: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.privacy-content h2 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.privacy-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

.privacy-content ul {
    color: var(--text-muted);
    padding-left: 20px;
}

.privacy-content ul li {
    margin-bottom: 10px;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 991px) {
    .hero-slider .carousel-item {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-slider .carousel-item {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .btn {
        padding: 12px 25px;
        font-size: 1rem;
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .privacy-content {
        padding: 30px;
    }
}
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-float i {
        margin-top: 12px;
    }
}


/* =============================================
   Utility Classes
   ============================================= */
.bg-light-custom {
    background: var(--light-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.mb-section {
    margin-bottom: 80px;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float i {
    margin-top: 15px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =============================================
   New Specialities Cards Hover Effects
   ============================================= */
.specialities-section .speciality-card,
.why-choose-section .speciality-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid #eee;
}

.specialities-section .speciality-card:hover,
.why-choose-section .speciality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specialities-section .speciality-card .speciality-icon,
.why-choose-section .speciality-card .speciality-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 18px;
    margin: 0;
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.18);
}

.specialities-section .speciality-card .speciality-icon i,
.why-choose-section .speciality-card .speciality-icon i {
    font-size: 1.6rem;
}

.specialities-section .speciality-card-content,
.why-choose-section .speciality-card-content {
    flex: 1;
}

.specialities-section .speciality-card h4,
.why-choose-section .speciality-card h4 {
    margin-bottom: 10px;
}

.specialities-section .speciality-card p,
.why-choose-section .speciality-card p {
    margin-bottom: 0;
}

.specialities-section .row > div:nth-child(4n + 1) .speciality-icon {
    background: linear-gradient(135deg, #ff8a00, #ff3d54);
}

.specialities-section .row > div:nth-child(4n + 2) .speciality-icon {
    background: linear-gradient(135deg, #0d6efd, #32b3ff);
}

.specialities-section .row > div:nth-child(4n + 3) .speciality-icon {
    background: linear-gradient(135deg, #12b886, #20c997);
}

.specialities-section .row > div:nth-child(4n) .speciality-icon {
    background: linear-gradient(135deg, #7c4dff, #b388ff);
}

.why-choose-section .row > div:nth-child(3n + 1) .speciality-icon {
    background: linear-gradient(135deg, #ff8a00, #ff3d54);
}

.why-choose-section .row > div:nth-child(3n + 2) .speciality-icon {
    background: linear-gradient(135deg, #0d6efd, #32b3ff);
}

.why-choose-section .row > div:nth-child(3n) .speciality-icon {
    background: linear-gradient(135deg, #12b886, #20c997);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.specialities-section .btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
    .specialities-section .speciality-card,
    .why-choose-section .speciality-card {
        padding: 28px 22px;
        gap: 14px;
    }

    .specialities-section .speciality-card .speciality-icon,
    .why-choose-section .speciality-card .speciality-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 16px;
    }

    .specialities-section .speciality-card .speciality-icon i,
    .why-choose-section .speciality-card .speciality-icon i {
        font-size: 1.35rem;
    }
}

/* =============================================
   New Speciality Detail Page Design
   ============================================= */
.speciality-detail-section .speciality-detail-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    padding: 20px;
}

.speciality-detail-content {
    padding: 20px;
}

.other-services-section .card {
    transition: var(--transition);
}

.other-services-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* More Specialities Grid */
.speciality-grid-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.speciality-grid-item h5 {
    margin: 0 0 10px;
}

.speciality-grid-item p {
    margin-bottom: 0;
}

.speciality-grid-content {
    flex: 1;
}


.speciality-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.speciality-grid-item .speciality-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.18);
}

.speciality-grid-item .speciality-icon i {
    font-size: 1.6rem;
}

.more-specialities-section .row > div:nth-child(6n + 1) .speciality-icon {
    background: linear-gradient(135deg, #ff8a00, #ff3d54);
}

.more-specialities-section .row > div:nth-child(6n + 2) .speciality-icon {
    background: linear-gradient(135deg, #0d6efd, #32b3ff);
}

.more-specialities-section .row > div:nth-child(6n + 3) .speciality-icon {
    background: linear-gradient(135deg, #12b886, #20c997);
}

.more-specialities-section .row > div:nth-child(6n + 4) .speciality-icon {
    background: linear-gradient(135deg, #7c4dff, #b388ff);
}

.more-specialities-section .row > div:nth-child(6n + 5) .speciality-icon {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
}

.more-specialities-section .row > div:nth-child(6n) .speciality-icon {
    background: linear-gradient(135deg, #198754, #74c69d);
}

@media (max-width: 575.98px) {
    .speciality-grid-item {
        padding: 28px 22px;
        gap: 14px;
    }

    .speciality-grid-item .speciality-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 16px;
    }

    .speciality-grid-item .speciality-icon i {
        font-size: 1.35rem;
    }
}
