:root {
    --primary-red: #ff5a5a;
    --soft-pink: #fff5f5;
    --icon-bg: #ffeaea;
    --text-dark: #333;
    --text-muted: #666;
    --warning-custom: #ffb03a;
    --warning-bg: #fffbf2;
}

/* Hero Section */
.about-hero-section {
    background-color: var(--soft-pink);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: var(--icon-bg);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--primary-red);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-book {
    background: linear-gradient(135deg, #860000 0%, #ff4d4d 100%) !important;
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 20px rgba(134, 0, 0, 0.2) !important;
    display: inline-block;
}

.btn-book:hover {
    background: #a30000 !important;
    transform: translateY(-5px) scale(1.05) !important;
    color: white !important;
    box-shadow: 0 12px 25px rgba(134, 0, 0, 0.3) !important;
}

.btn-contact-outline {
    border: 2px solid #860000 !important;
    color: #860000 !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease !important;
}

.btn-contact-outline:hover {
    background: #860000 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(134, 0, 0, 0.15) !important;
}

.hero-img-container img {
    max-width: 100%;
    height: auto;
}

/* About Intro Section */
.about-intro-section {
    padding: 50px 0;
    background: #ffffff;
}

.intro-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-red);
    line-height: 1.5;
}

.about-intro-box {
    background: #fffafa;
    border: 1px solid rgba(255, 90, 90, 0.1);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(255, 90, 90, 0.02);
    position: relative;
    overflow: hidden;
}

.about-intro-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 90, 90, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.intro-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.intro-icon-circle {
    width: 50px;
    height: 50px;
    background: var(--icon-bg);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.intro-card-text {
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How We Started Section */
.started-section {
    padding: 50px 0;
    background: #fbfbfb;
}

.started-img-container {
    position: relative;
    padding-right: 20px;
}

.started-img-container img {
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.started-img-container:hover img {
    transform: scale(1.02);
}

.started-experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff7c7c 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 90, 90, 0.3);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.started-experience-badge .year {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.started-experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission & Vision Detailed */
.mission-vision-section {
    padding: 50px 0;
    background: white;
}

.section-badge {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.mission-vision-section .row {
    align-items: stretch !important;
}

.mission-vision-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 45px 40px;
    border-radius: 30px;
    height: 100% !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mission-card-detailed:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 90, 90, 0.2);
    box-shadow: 0 20px 40px rgba(255, 90, 90, 0.05);
}

.vision-card-detailed:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 176, 58, 0.3);
    box-shadow: 0 20px 40px rgba(255, 176, 58, 0.05);
}

.card-icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.bg-warning-custom {
    background: var(--warning-custom) !important;
}

.text-warning-custom {
    color: var(--warning-custom) !important;
}

.mission-vision-card h4 {
    font-weight: 800;
    margin-bottom: 15px;
}

.card-intro-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0;
}

.card-divider {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    margin: 25px 0;
}

.points-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.points-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.points-list li i {
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.card-outro-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner-red {
    background: var(--primary-red);
    padding: 60px 0;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* What Makes Us Different */
.different-section {
    padding: 50px 0;
    background: #ffffff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.7;
}

.trust-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.trust-card {
    background: #fffafa;
    border: 1px solid rgba(255, 90, 90, 0.05);
    padding: 30px 25px;
    border-radius: 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    background: white;
    border-color: var(--primary-red);
    box-shadow: 0 15px 35px rgba(255, 90, 90, 0.08);
}

.trust-icon-box {
    width: 55px;
    height: 55px;
    background: var(--icon-bg);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.trust-card:hover .trust-icon-box {
    transform: scale(1.1) rotate(10deg);
}

.trust-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.different-footer-text {
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    line-height: 1.6;
}

/* Facilities Section */
.facilities-section {
    padding: 50px 0;
    background: #fbfbfb;
}

.facility-collage {
    position: relative;
}

.facility-img-main {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.facility-badge-experience {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: var(--primary-red);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.service-list-item:hover {
    background: var(--soft-pink);
    border-color: rgba(255, 90, 90, 0.2);
    transform: translateX(5px);
}

.service-list-item i {
    font-size: 1.1rem;
    color: var(--primary-red);
}

.facility-footer-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--soft-pink);
    border-left: 4px solid var(--primary-red);
    border-radius: 0 15px 15px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Our Approach */
.approach-section {
    padding: 50px 0;
    background: #fafafa;
}

.approach-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 40px 30px;
    border-radius: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.approach-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 90, 90, 0.15);
    box-shadow: 0 20px 40px rgba(255, 90, 90, 0.04);
}

.approach-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.approach-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 90, 90, 0.15);
    line-height: 1;
}

.approach-header i {
    font-size: 1.5rem;
}

.approach-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.approach-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.approach-conclusion-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Team Section */
.team-section {
    padding: 50px 0;
    background: #ffffff;
}

.doctor-card {
    background: white;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 90, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.doctor-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--soft-pink);
}

.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card h4 {
    font-weight: 800;
    margin-bottom: 5px;
}

.doctor-card .role {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.doctor-card .bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.doctor-card .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.doctor-card .social-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.doctor-card .social-links a:hover {
    color: var(--primary-red);
}

.promise-section {
    padding: 50px 0;
    background: #ffffff;
}

.promise-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 30px;
    padding: 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promise-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 90, 90, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.promise-badge {
    display: inline-block;
    background: rgba(255, 90, 90, 0.2);
    color: #ff7c7c;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.promise-banner h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.promise-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.6;
}

.promise-subtext {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.btn-promise-appointment {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 90, 90, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-promise-appointment:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

/* Newsletter */
.newsletter-section {
    padding: 80px 0;
    background: #ffffff;
}

.newsletter-card {
    background: var(--primary-red);
    border-radius: 30px;
    padding: 50px;
    color: white;
}

.newsletter-content h3 {
    font-weight: 800;
    margin-bottom: 10px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    outline: none;
}

.btn-subscribe {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
}

/* Responsive styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-img-container {
        margin-top: 50px;
    }

    .services-list-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-hero-section {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .started-experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        display: inline-block;
    }

    .promise-banner {
        text-align: center;
    }

    .promise-banner::before {
        display: none;
    }

    .about-intro-box {
        padding: 25px;
    }

    .intro-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Force all text on the About page to be dark black for optimal contrast */
.about-page-wrapper p,
.about-page-wrapper .text-muted,
.about-page-wrapper span.text-muted,
.about-page-wrapper .hero-desc,
.about-page-wrapper .intro-lead,
.about-page-wrapper .card-intro-text,
.about-page-wrapper .points-list li,
.about-page-wrapper .intro-card-text {
    color: #000000 !important;
}

/* Exclude dark background sections from the black text override to keep them highly readable */
.about-page-wrapper .promise-section p,
.about-page-wrapper .promise-section .promise-text,
.about-page-wrapper .promise-section .promise-subtext,
.about-page-wrapper .newsletter-section p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile Slider for Team Section */
@media (max-width: 767px) {
    .team-slider-wrapper {
        position: relative;
        padding: 0 10px;
    }
    
    .team-slider-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    
    .team-slider-container::-webkit-scrollbar {
        height: 6px;
    }
    .team-slider-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.03);
        border-radius: 10px;
    }
    .team-slider-container::-webkit-scrollbar-thumb {
        background: rgba(255, 90, 90, 0.2);
        border-radius: 10px;
    }

    .team-slide-col {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;
        padding: 0 10px !important;
    }

    .team-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--primary-red);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .team-slider-btn:active {
        background: var(--primary-red);
        color: white;
    }

    .team-slider-prev {
        left: -10px;
    }

    .team-slider-next {
        right: -10px;
    }

    /* Trust Slider styling */
    .trust-slider-wrapper {
        position: relative;
        padding: 0 10px;
    }
    
    .trust-slider-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    
    .trust-slider-container::-webkit-scrollbar {
        height: 6px;
    }
    .trust-slider-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.03);
        border-radius: 10px;
    }
    .trust-slider-container::-webkit-scrollbar-thumb {
        background: rgba(255, 90, 90, 0.2);
        border-radius: 10px;
    }

    .trust-slide-col {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;
        padding: 0 10px !important;
    }

    .trust-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--primary-red);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .trust-slider-btn:active {
        background: var(--primary-red);
        color: white;
    }

    .trust-slider-prev {
        left: -10px;
    }

    .trust-slider-next {
        right: -10px;
    }
}