/* DIA Heals - Custom Styles */
:root {
    --medical-green: #28a745;
    --medical-green-dark: #218838;
    --medical-green-light: #d4edda;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--medical-green) !important;
}

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 8px;
    padding: 0.5rem 0;
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    color: #555;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    background-color: var(--medical-green);
    color: white;
}

/* Hero Section */
.hero-section {
    background: #ffffff;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
}

.hero-slides-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 500px;
}

.hero-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.hero-slide .row {
    min-height: 500px;
    align-items: center;
}

.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 20px 0;
}

.hero-doctor-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

.hero-indicators {
    margin-top: 30px;
}

.hero-indicator {
    transition: all 0.3s ease;
}

.hero-indicator:hover {
    transform: scale(1.2);
}

.hero-indicator.active {
    background-color: #17a2b8 !important;
    transform: scale(1.2);
}

/* About Section Styles */
.about-us-section {
    background-color: #ffffff;
}

.about-images-container {
    position: relative;
    min-height: 400px;
    padding: 20px;
}

.circular-image-wrapper {
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.circular-image-wrapper:hover {
    transform: scale(1.1);
    z-index: 10 !important;
}

.circular-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circular-image-wrapper:hover .circular-image {
    box-shadow: 0 15px 40px rgba(45, 162, 171, 0.4) !important;
}

.stethoscope-bg {
    pointer-events: none;
}

/* Clinic Details Section */
.clinic-details-image-section {
    transition: transform 0.3s ease;
}

.clinic-details-image-section:hover {
    transform: scale(1.02);
}

/* Accordion Styles */
.accordion-button:not(.collapsed) span {
    content: "−" !important;
}

.accordion-button.collapsed span {
    content: "+" !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: #333;
}

.accordion-button::after {
    display: none;
}

/* Responsive adjustments for About section */
@media (max-width: 991px) {
    .about-images-container {
        min-height: 300px;
        margin-bottom: 30px;
    }
    
    .circular-image-wrapper {
        width: 150px !important;
        height: 150px !important;
    }
    
    .about-us-section h1 {
        font-size: 2rem !important;
    }
    
    .clinic-details-image-section {
        min-height: 400px !important;
    }
}

@media (max-width: 767px) {
    .about-images-container {
        min-height: 250px;
    }
    
    .circular-image-wrapper {
        width: 120px !important;
        height: 120px !important;
    }
    
    .stethoscope-bg {
        width: 200px !important;
        height: 200px !important;
    }
    
    .stethoscope-bg i {
        font-size: 200px !important;
    }
    
    .clinic-details-image-section {
        min-height: 350px !important;
    }
}

/* Service Cards Section - Matching Image Design */
.service-card {
    background: #ffffff;
    border: 1px solid #80c9d0;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 162, 171, 0.15);
}

.service-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.service-icon-wrapper i {
    font-size: 45px;
    color: #2da2ab;
}

.service-title {
    font-weight: bold;
    color: #000000;
    margin-bottom: 18px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.service-description {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 991px) {
    .service-card {
        margin-bottom: 20px;
    }
}

/* Conditions We Treat Section */
.condition-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.condition-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #2da2ab;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.condition-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 162, 171, 0.2);
}

/* Treatment Cards - Image Style */
.treatment-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 162, 171, 0.2);
}

.treatment-image-wrapper {
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-image-wrapper {
    transform: scale(1.05);
}

/* Approach Carousel Styles */
#approachCarousel {
    position: relative;
    padding-bottom: 60px;
}

#approachCarousel .carousel-control-prev,
#approachCarousel .carousel-control-next {
    opacity: 1;
}

#approachCarousel .carousel-control-prev-icon,
#approachCarousel .carousel-control-next-icon {
    background-color: #2da2ab;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#approachCarousel .carousel-control-prev-icon:hover,
#approachCarousel .carousel-control-next-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

#approachCarousel .carousel-indicators {
    bottom: -50px;
}

#approachCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2da2ab;
    opacity: 0.5;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#approachCarousel .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

#approachCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.hero-section .btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 129, 40, 0.3);
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 129, 40, 0.4);
    background-color: #d46a1f !important;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Buttons */
.btn-success {
    background-color: var(--medical-green);
    border-color: var(--medical-green);
    font-weight: 500;
    transition: all 0.3s;
}

.btn-success:hover {
    background-color: var(--medical-green-dark);
    border-color: var(--medical-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-outline-success {
    color: var(--medical-green);
    border-color: var(--medical-green);
    font-weight: 500;
}

.btn-outline-success:hover {
    background-color: var(--medical-green);
    border-color: var(--medical-green);
    color: white;
}

/* Text Colors */
.text-success {
    color: var(--medical-green) !important;
}

/* Badges */
.badge.bg-success {
    background-color: var(--medical-green) !important;
}

/* Alerts */
.alert-success {
    background-color: var(--medical-green-light);
    border-color: var(--medical-green);
    color: #155724;
}

/* Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: var(--medical-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Footer */
footer {
    background-color: #1a3a52 !important; /* Dark blue background */
}

.footer-custom {
    background-color: #1a3a52 !important;
    color: #ffffff;
}

.footer-content {
    padding: 20px 0;
}

.footer-column {
    padding: 0 30px;
}

.footer-column-border {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column:first-child {
    border-left: none;
}

/* Contact Information Section */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #4a90e2; /* Light blue */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-icon-circle i {
    color: #ffffff;
    font-size: 18px;
}

.footer-contact-details {
    flex: 1;
}

.footer-contact-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-contact-text {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Logo Section */
.footer-logo-section {
    padding-right: 20px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.footer-logo-text {
    flex: 1;
}

.footer-brand-name {
    color: #17a2b8; /* Teal-blue */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-tagline {
    color: #6eb5d1; /* Lighter blue */
    font-size: 13px;
    margin-bottom: 0;
}

.footer-description {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Quick Links Section */
.footer-links-heading {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: #4a90e2 !important;
}

.footer-link i {
    font-size: 12px;
}

/* Footer Separator */
.footer-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 30px 0 20px 0;
}

/* Footer Copyright */
.footer-copyright {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 0;
}

footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: #4a90e2 !important;
}

/* Footer Responsive Styles */
@media (max-width: 991px) {
    .footer-column-border {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 30px;
        margin-top: 30px;
    }
    
    .footer-column:first-child {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }
    
    .footer-column {
        padding: 0 15px;
    }
    
    .footer-logo-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-logo {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-icon-circle {
        width: 40px;
        height: 40px;
    }
    
    .footer-icon-circle i {
        font-size: 16px;
    }
    
    .footer-brand-name {
        font-size: 20px;
    }
    
    .footer-tagline {
        font-size: 12px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .footer-links-heading {
        font-size: 18px;
    }
    
    .footer-link {
        font-size: 14px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
}

/* Forms */
.form-control:focus {
    border-color: var(--medical-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Contact Hero Banner Section */
.contact-hero-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.contact-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 162, 171, 0.85) 0%, rgba(40, 150, 160, 0.9) 100%);
    z-index: 2;
}

.contact-banner-content {
    position: relative;
    z-index: 3;
    padding: 100px 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    color: #fff;
}

.contact-banner-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

/* Responsive adjustments for contact banner */
@media (max-width: 992px) {
    .contact-banner-title {
        font-size: 2.8rem;
    }
    
    .contact-banner-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-banner {
        min-height: 300px;
    }
    
    .contact-banner-content {
        padding: 60px 20px;
    }
    
    .contact-banner-content > div {
        padding: 40px 50px !important;
    }
    
    .contact-banner-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .contact-banner-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-banner-content > div {
        padding: 30px 40px !important;
    }
    
    .contact-banner-title {
        font-size: 1.8rem;
    }
    
    .contact-banner-subtitle {
        font-size: 1rem;
    }
}

/* Appointment Booking Form */
.appointment-booking-section {
    min-height: 100vh;
    padding: 80px 0;
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), 
                repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(45, 162, 171, 0.03) 10px, rgba(45, 162, 171, 0.03) 20px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.appointment-booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(45, 162, 171, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(45, 162, 171, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 70%, rgba(45, 162, 171, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, rgba(45, 162, 171, 0.1) 2px, transparent 2px);
    background-size: 200px 200px, 250px 250px, 180px 180px, 220px 220px;
    background-position: 0 0, 100px 50px, 50px 150px, 150px 200px;
    pointer-events: none;
    opacity: 0.4;
}

.appointment-card {
    backdrop-filter: blur(10px);
}

.appointment-input {
    transition: all 0.3s ease;
}

.appointment-input:focus {
    border-color: #2da2ab !important;
    box-shadow: 0 0 0 0.2rem rgba(45, 162, 171, 0.25) !important;
    outline: none;
}

.appointment-input::placeholder {
    color: #999;
}

.appointment-card .btn:hover {
    background-color: #238a94 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 162, 171, 0.4);
}

.appointment-card .form-check-input:checked {
    background-color: #2da2ab;
    border-color: #2da2ab;
}

.appointment-card .form-check-input:focus {
    border-color: #2da2ab;
    box-shadow: 0 0 0 0.2rem rgba(45, 162, 171, 0.25);
}

/* Responsive adjustments for appointment form */
@media (max-width: 768px) {
    .appointment-booking-section {
        padding: 40px 0;
    }
    
    .appointment-card .card-body {
        padding: 2rem !important;
    }
    
    .appointment-card h1 {
        font-size: 1.8rem !important;
    }
    
    .appointment-card .fas.fa-stethoscope {
        font-size: 50px !important;
    }
}

/* Icons */
i.fas,
i.far,
i.fab {
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-image-wrapper i {
        font-size: 200px !important;
    }
    
    .hero-section .btn {
        width: 100%;
    }
}

/* Admin Panel Styles */
.admin-sidebar {
    min-height: 100vh;
    background-color: #343a40;
}

.admin-sidebar .logo-container {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.admin-sidebar .logo-container img {
    transition: transform 0.3s ease;
}

.admin-sidebar .logo-container a:hover img {
    transform: scale(1.05);
}

.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--medical-green);
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Blog Detail Page Styles */
.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: #2da2ab;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Sidebar Widgets */
.sidebar-widgets .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widgets .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.sidebar-widgets .list-unstyled li a {
    transition: color 0.3s ease;
}

.sidebar-widgets .list-unstyled li a:hover {
    color: #2da2ab !important;
}

.sidebar-widgets .list-unstyled li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Related Posts */
.related-posts .card {
    transition: transform 0.3s ease;
}

.related-posts .card:hover {
    transform: translateY(-5px);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Hero Banner Sections */
.about-hero-banner,
.treatments-hero-banner {
    margin-top: 0;
}

@media (max-width: 768px) {
    .about-hero-banner,
    .treatments-hero-banner {
        height: 300px !important;
    }
    
    .about-hero-banner h1,
    .treatments-hero-banner h1 {
        font-size: 2rem !important;
    }
    
    .about-hero-banner p,
    .treatments-hero-banner p {
        font-size: 1rem !important;
    }
    
    .about-hero-banner > .container > div,
    .treatments-hero-banner > .container > div {
        padding: 40px 50px !important;
    }
}

@media (max-width: 576px) {
    .about-hero-banner > .container > div,
    .treatments-hero-banner > .container > div {
        padding: 30px 40px !important;
    }
    
    .about-hero-banner h1,
    .treatments-hero-banner h1 {
        font-size: 1.8rem !important;
    }
}

/* FAQ Section - Symbol and Icon Toggle */
/* Show minus when expanded, plus when collapsed */
.accordion-button:not(.collapsed) .faq-symbol-minus {
    display: inline-block !important;
}

.accordion-button:not(.collapsed) .faq-symbol-plus {
    display: none !important;
}

.accordion-button.collapsed .faq-symbol-minus {
    display: none !important;
}

.accordion-button.collapsed .faq-symbol-plus {
    display: inline-block !important;
}

/* Show list icon when expanded, bars icon when collapsed */
.accordion-button:not(.collapsed) .faq-icon-expanded {
    display: inline-block !important;
}

.accordion-button:not(.collapsed) .faq-icon-collapsed {
    display: none !important;
}

.accordion-button.collapsed .faq-icon-expanded {
    display: none !important;
}

.accordion-button.collapsed .faq-icon-collapsed {
    display: inline-block !important;
}

/* Modern Image Slider Section */
.modern-slider-section {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

#modernImageSlider {
    height: 100%;
}

#modernImageSlider .carousel-inner {
    height: 100%;
}

#modernImageSlider .carousel-item {
    height: 100%;
}

.slider-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: 90%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    background-color: rgba(45, 162, 171, 0.5);
    padding: 40px 50px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slider-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 20px;
    margin-top: 0;
    color: rgba(255, 255, 255, 1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    color: #ffffff;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.slider-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #ffffff;
    color: #2da2ab;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    border: none;
    margin-top: 20px;
}

.slider-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #238a94;
}

/* Carousel Controls */
#modernImageSlider .carousel-control-prev,
#modernImageSlider .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#modernImageSlider .carousel-control-prev {
    left: 20px;
}

#modernImageSlider .carousel-control-next {
    right: 20px;
}

#modernImageSlider .carousel-control-prev:hover,
#modernImageSlider .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

#modernImageSlider .carousel-control-prev-icon,
#modernImageSlider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
#modernImageSlider .carousel-indicators {
    right: 20px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    flex-direction: column;
    margin: 0;
    width: auto;
    height: auto;
}

#modernImageSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(245, 129, 40, 0.4);
    border: 2px solid #f58128;
    margin: 5px 0;
    transition: all 0.3s ease;
}

#modernImageSlider .carousel-indicators button.active {
    background-color: #f58128;
    width: 12px;
    height: 30px;
    border-radius: 6px;
}

/* Fade animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-slider-section,
    .slider-image-wrapper {
        height: 500px;
    }
    
    .slider-title {
        font-size: 2rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .slider-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        word-wrap: break-word;
    }
    
    .slider-content {
        padding: 25px 20px;
        max-width: 95%;
        width: 90%;
    }
    
    .slider-content .container {
        padding: 0;
    }
    
    .slider-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-width: 140px;
        display: inline-block;
    }
    
    #modernImageSlider .carousel-control-prev,
    #modernImageSlider .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    #modernImageSlider .carousel-control-prev {
        left: 10px;
    }
    
    #modernImageSlider .carousel-control-next {
        right: 10px;
    }
    
    #modernImageSlider .carousel-control-prev-icon,
    #modernImageSlider .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .modern-slider-section,
    .slider-image-wrapper {
        height: 450px;
        min-height: 450px;
    }
    
    .slider-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 12px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .slider-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .slider-content {
        padding: 20px 15px;
        max-width: 92%;
        width: 92%;
    }
    
    .slider-content .container {
        padding: 0;
    }
    
    .slider-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: 120px;
        margin-top: 10px;
    }
    
    #modernImageSlider .carousel-control-prev,
    #modernImageSlider .carousel-control-next {
        width: 30px;
        height: 30px;
    }
    
    #modernImageSlider .carousel-control-prev {
        left: 5px;
    }
    
    #modernImageSlider .carousel-control-next {
        right: 5px;
    }
    
    #modernImageSlider .carousel-control-prev-icon,
    #modernImageSlider .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
    
    #modernImageSlider .carousel-indicators {
        right: 10px;
    }
    
    #modernImageSlider .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 3px 0;
    }
    
    #modernImageSlider .carousel-indicators button.active {
        width: 8px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    .modern-slider-section,
    .slider-image-wrapper {
        height: 400px;
        min-height: 400px;
    }
    
    .slider-title {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .slider-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .slider-content {
        padding: 18px 12px;
        max-width: 90%;
        width: 90%;
    }
    
    .slider-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
        min-width: 110px;
    }
}

/* Integrative Treatment Approach Section */
.numbered-list-item {
    margin-bottom: 2rem;
}

.numbered-badge {
    font-family: 'Georgia', serif;
}

.doctor-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image-wrapper img {
    max-height: 500px;
    object-fit: contain;
}

.quote-box {
    position: relative;
    min-height: 150px;
}

/* Responsive adjustments for Integrative Approach section */
@media (max-width: 991px) {
    .numbered-list-item {
        margin-bottom: 1.5rem;
    }
    
    .numbered-badge {
        font-size: 2.5rem !important;
    }
    
    .doctor-image-wrapper {
        margin: 30px 0;
    }
    
    .quote-box {
        margin-top: 30px !important;
    }
}

@media (max-width: 768px) {
    .numbered-badge {
        font-size: 2rem !important;
    }
    
    .numbered-list-item h4 {
        font-size: 1.1rem !important;
    }
    
    .doctor-image-wrapper img {
        max-height: 400px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
}

/* Our Specialist Doctors Section */
.doctor-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Responsive adjustments for doctor cards */
@media (max-width: 991px) {
    .doctor-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .doctor-card h4 {
        font-size: 1.1rem !important;
    }
    
    .doctor-card p {
        font-size: 0.9rem !important;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2da2ab;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(45, 162, 171, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    font-size: 20px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #238a94;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(45, 162, 171, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(45, 162, 171, 0.4), 0 0 0 3px rgba(45, 162, 171, 0.2);
}

/* Mobile responsive for scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 85px;
        right: 20px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 15px;
        font-size: 16px;
    }
}

