/* About Us Page Styles */

.about-page {
    background-color: #fff;
}

/* About Difference Section */
.about-difference-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-difference-container {
    display: flex;
    align-items: start;
    gap: 50px;
    justify-content: space-between;

}

.about-difference-content {
    flex: 1;
}
.about-difference-content p {
    color: var(--hcmd-navy);
}
.about-intro-description {
    margin-bottom: 30px;
    color: var(--hcmd-navy);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-difference-heading {
    margin-bottom: 25px;
}

.difference-tag {
    display: block;
    color: var(--hcmd-teal, #4BB4BF);
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1;
}

.difference-title {
    color: var(--hcmd-navy, #2E3E73);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.about-difference-description {
    color: var(--hcmd-navy);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-difference-image {
    flex: 1;
    text-align: center;
    display: flex;
}

.about-difference-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

/* Comparison Section (503B vs 503A) */
.about-comparison-section {
    background-color: var(--hcmd-sky);
}

.comparison-title {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-title h2 {
    color: var(--hcmd-navy, #2E3E73);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.comparison-container {
    display: flex;
    gap: 30px;
}

.comparison-column {
    flex: 1;
    background-color: unset;
}

.comparison-column-title {
    color: var(--hcmd-navy);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    text-align: center;
}

.comparison-points {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.comparison-point {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: var(--hcmd-navy);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.comparison-point:last-child {
    border-bottom: none;
    color: var(--hcmd-navy);
    max-width: 411px;
    margin: auto;
    line-height: 29px;
}

.section-spacing{
    padding: 50px 0  !important;
}
/* Significance Section */
.about-significance-section {
    background-color: #fff;
}

.significance-title,.quality-title {
    color: var(--hcmd-navy, #2E3E73);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.significance-content, .quality-content{
    color: var(--hcmd-navy);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 1000px;
}

.significance-content p, .quality-content p{
    color: var(--hcmd-navy);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 1000px;
}

/* Quality Section */
.about-quality-section {
    background-color: var(--background-color);
}
.about-page-divider{
    gap: 50px !important;
}

.partner-content{
    padding: 0 !important;
}

/* Partner Separator */
.partner-separator {
    display: none;
}

/* Partners Section */
.about-partners-section {
    background-color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-title {
    color: var(--hcmd-navy);
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 20px 0;
}

.partners-description {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Partners Logo Slider */
.partners-slider-container {
    padding: 20px 0 60px;
    position: relative;
    margin: 0 auto;
    max-width: 90%;
}

.partners-logo-slider {
    padding: 10px 0;
    margin-bottom: 50px;
    position: relative;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 0;
    height: 120px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.partner-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.4s ease;
}

.partner-logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo-item:hover .partner-logo-wrapper {
    transform: scale(1.05);
}

.partner-logo-item img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.4s ease;
}

.partner-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Logo Slider Navigation */
.logo-slider-next,
.logo-slider-prev {
    color: white;
    background-color: var(--hcmd-blue);
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.logo-slider-next:after,
.logo-slider-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.logo-slider-next:hover,
.logo-slider-prev:hover {
    background-color: white;
    color: var(--hcmd-blue);
    transform: translateY(-50%) scale(1.1);
}

.logo-slider-next {
    right: -20px;
}

.logo-slider-prev {
    left: -20px;
}

/* Partner Cards Slider */
.partners-cards-container {
    position: relative;
    padding: 30px 0;
    margin-top: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    text-align: center;
    padding: 20px;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.partner-card-logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card-logo img {
    max-width: 85%;
    max-height: 85px;
    object-fit: contain;
    transition: filter 0.4s ease;
}


.partner-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.partner-title {
    color: var(--hcmd-navy);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: var(--font-weight-bold);
}

.partner-location {
    color: var(--hcmd-navy);
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.partner-action {
    margin-top: auto;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    background-color: var(--hcmd-blue);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.partner-link:hover {
    background-color: var(--hcmd-navy);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Slider Navigation */
.partners-button-next,
.partners-button-prev {
    color: white;
    background-color: var(--hcmd-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.partners-button-next:after,
.partners-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.partners-button-next:hover,
.partners-button-prev:hover {
    background-color: white;
    color: var(--hcmd-blue);
    transform: scale(1.1);
}

.partners-button-next {
    right: -5px;
}

.partners-button-prev {
    left: -5px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-partners-section {
        padding: 60px 0;
    }
    
    .partners-title {
        font-size: 2rem;
    }
    
    .partners-description {
        font-size: 1rem;
    }
    
    .partner-logo-item {
        height: 100px;
    }
    
    .partner-logo-item img {
        max-height: 60%;
    }
    
    .partner-card-logo {
        height: 120px;
    }
    
    .partner-card-logo img {
        max-height: 70px;
    }
    
    .logo-slider-next,
    .logo-slider-prev {
        width: 35px;
        height: 35px;
    }
    
    .logo-slider-next:after,
    .logo-slider-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .about-partners-section {
        padding: 40px 0;
    }
    
    .partners-header {
        margin-bottom: 40px;
    }
    
    .partners-title {
        font-size: 1.8rem;
    }
    
    .partners-slider-container {
        padding: 10px 0 40px;
    }
    
    .partners-logo-slider {
        margin-bottom: 30px;
    }
    
    .partner-logo-item {
        height: 90px;
    }
    
    .partner-logo-wrapper {
        padding: 15px;
    }
    
    .partner-title {
        font-size: 1.2rem;
    }
    
    .partner-card-logo {
        height: 100px;
    }
    
    .partner-link {
        padding: 8px 20px;
    }
    
    .logo-slider-next,
    .logo-slider-prev,
    .partners-button-next,
    .partners-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .logo-slider-next:after,
    .logo-slider-prev:after,
    .partners-button-next:after,
    .partners-button-prev:after {
        font-size: 12px;
    }
    
    .logo-slider-next {
        right: -10px;
    }
    
    .logo-slider-prev {
        left: -10px;
    }
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--hcmd-navy);
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-content h3 {
    color: var(--hcmd-navy);
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
    font-weight: 500;
}

.about-content p {
    color: var(--hcmd-navy);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content ul, 
.about-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.about-content li {
    color: var(--hcmd-navy);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Team Section Styles */
.team-section {
    background-color:var(--hcmd-navy);
    padding: 80px 0;
}

.team-title {
    text-align: center;
    margin-bottom: 50px;
}

.team-title h2 {
    color: var(--hcmd-sky);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: var(--font-weight-bold);
}

.team-title p {
    color: var(--hcmd-sky);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(64, 166, 194, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(64, 166, 194, 0.2);
}

.team-member-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), rgba(255,255,255,0));
    z-index: 1;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 25px;
    text-align: center;
}

.team-member-name {
    color: var(--hcmd-navy);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 5px;
}

.team-member-position {
    color: var(--hcmd-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: var(--font-weight-medium);
}

.team-member-bio {
    color: var(--hcmd-navy);
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.team-member-bio::-webkit-scrollbar {
    width: 4px;
}

.team-member-bio::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.team-member-bio::-webkit-scrollbar-thumb {
    background: var(--hcmd-blue);
}

.team-member-bio-preview {
    color: var(--hcmd-navy);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-bio-btn {
    background-color: var(--hcmd-navy);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.team-bio-btn:hover {
    background-color: var(--hcmd-blue);
    transform: translateY(-2px);
}

/* Doctor Modal Styles */
.doctor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.doctor-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.doctor-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: white;
    z-index: 9999;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.doctor-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.doctor-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--hcmd-navy);
    color: white;
}

.doctor-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.doctor-modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
}

.doctor-modal-close:hover {
    color: var(--hcmd-blue);
}

.doctor-modal-body {
    padding: 25px;
    display: flex;
    gap: 25px;
    overflow-y: auto;
    max-height: calc(90vh - 80px); /* Subtract header height */
}

.doctor-modal-image {
    flex: 0 0 250px;
}

.doctor-modal-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.doctor-modal-info {
    flex: 1;
}

.doctor-modal-position {
    color: var(--hcmd-blue);
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 15px;
}

.doctor-modal-bio {
    color: var(--hcmd-navy);
    font-size: 1rem;
    line-height: 1.7;
}

.doctor-modal-bio p {
    margin-bottom: 15px;
    color: var(--hcmd-navy);
}

/* Responsive Modal Styles */
@media (max-width: 767px) {
    .doctor-modal {
        width: 95%;
    }
    
    .doctor-modal-body {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .doctor-modal-image {
        flex: 0 0 auto;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .doctor-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .doctor-modal-position {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .doctor-modal-bio {
        font-size: 0.95rem;
    }
}

/* Media Queries */
@media (max-width: 991px) {
    .about-difference-container {
        flex-direction: column;
    }
    
    .about-difference-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .difference-title {
        font-size: 2rem;
    }
    
    .comparison-container {
        flex-direction: column;
    }
    

    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .about-difference-section,
    .about-comparison-section,
    .about-significance-section,
    .about-quality-section,
    .about-partners-section {
        padding: 40px 0;
    }
    
    .difference-title,
    .significance-title,
    .quality-title,
    .partners-title {
        font-size: 1.8rem;
    }
    
    .comparison-column-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .team-title h2 {
        font-size: 1.8rem;
    }
    
    .about-content-section {
        padding: 40px 0;
    }
    
    /* Update partners grid for mobile */
    .partners-grid {
        flex-direction: column;
    }
    
    .partner-card {
        width: 100%;
        margin-bottom: 0;
        padding: 15px 0;
    }
    
    .partner-separator {
        width: 80%;
        height: 1px;
    }
} 
.team-section .container{
    overflow:  unset !important;
}
