* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* About Hero */

.about-hero {
  background: url("/static/images/hero-banner-1.62cf3f9edfa7.png");
  background-size: cover;
  background-position: center;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  margin-bottom: 50px;
}

.about-hero-text {
    display: flexbox;
    flex-direction: column;
    text-align: left;
    padding-left: 5px;
    padding-right: 50%;
    padding-top: 0;
    padding-bottom: 0;
    margin: 3px;
}

.about-hero-text h1 {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 0.5rem;
    color: #223A66;
}

.about-hero-text h3 {
    color: #1AB006;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 1rem;
}


/* Welcome Section */
.about-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 0;
    gap: 32px;
}
.about-content img {
    width: 340px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    height: 520px;

}
.about-text {
    flex: 1;
    text-align: left;
    padding: 0 10px;
}
.about-text h3 {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: left;
}
.about-text h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 15px;
    color: #223A66;
    text-align: left;
}
.about-list {
    display: flex;
    justify-content: left;
    justify-items: left;
    align-items: left;
    gap: 30px;
    max-width: 600px;
}
.about-list ul {
    list-style: none;
    list-style-type: none;
    padding: 0;
    justify-content: left;
    justify-items: left;
    align-items: left;
}
.about-list li {
    margin-bottom: 10px;
    list-style: none;
    line-height: 1.6;
    text-align: justify;
    font-size: 1rem;
}
.about-list li::before {
    color: #007bff;
    font-weight: bold;
    margin-right: 10px;
    list-style-type: none;
}
.about-list i {
    color: #1AB006;
    font-size: 1.2rem;
}
.about-content p {
    font-size: 1rem;
    text-align: justify;
    margin-top: -20px ;
}



/* mission-vision-values */

.mvv h3 {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
.mvv h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;

}

.card-big-shadow {
    max-width: 320px;
    position: relative;
}

.coloured-cards .card {
    margin-top: 30px;
}

.card[data-radius="none"] {
    border-radius: 0px;
}
.card {
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
    background-color: #FFFFFF;
    color: #252422;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    height: 100%;
}


.card[data-background="image"] .title, .card[data-background="image"] .stats, .card[data-background="image"] .category, .card[data-background="image"] .description, .card[data-background="image"] .content, .card[data-background="image"] .card-footer, .card[data-background="image"] small, .card[data-background="image"] .content a, .card[data-background="color"] .title, .card[data-background="color"] .stats, .card[data-background="color"] .category, .card[data-background="color"] .description, .card[data-background="color"] .content, .card[data-background="color"] .card-footer, .card[data-background="color"] small, .card[data-background="color"] .content a {
    color: #FFFFFF;
}
.card.card-just-text .content {
    padding: 50px 50px;
    text-align: center;
}
.card .content {
    padding: 20px 20px 20px 20px;
}
.card[data-color="blue"] .category {
    color: #7a9e9f;
}

.card .category, .card .label {
    font-size: 14px;
    margin-bottom: 0px;
}
.card-big-shadow:before {
    background-image: url("http://static.tumblr.com/i21wc39/coTmrkw40/shadow.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    bottom: -12%;
    content: "";
    display: block;
    left: -12%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}
h4, .h4 {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.2em;
}
h6, .h6 {
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
}
.card .description {
    font-size: 16px;
    color: #66615b;
    text-align: left;
}
.content-card{
    margin-top:30px;    
}
a:hover, a:focus {
    text-decoration: none;
}

/*======== COLORS ===========*/
.card[data-color="blue"] {
    background: #223A66;
}
.card[data-color="blue"] .description {
    color: #BFD2F8;
}
.card[data-color="blue"] .category {
    color: #BFD2F8;
}

.card[data-color="light-blue"] {
    background: #BFD2F8;
}
.card[data-color="light-blue"] .description {
    color: #223A66;
}
.card[data-color="light-blue"] .category {
    color: #223A66;
}

.card[data-color="green"] {
    background: #30DB19;
}
.card[data-color="green"] .description {
    color: #223A66;
}
.card[data-color="green"] .category {
    color: #223A66;
}


/* Section Styling */
.why-us-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Center Content */
.section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hospital-name {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
}

.why-description {
    font-size: 0.9rem;
    text-align: left;
    margin-top: -20px;
}

/* Split List into Two Columns */
.why-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    list-style-type: none;
    text-align: left;
}

.why-list i {
    color: #1AB006;
    font-size: 1.2rem;
}

.why-list li::before {
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

/* Ensure spacing for two-column layout */
.why-list .col-6 {
    display: flex;
    justify-content: center;
}

/* Summary Text */
.why-summary {
    font-size: 1.2rem;
    font-weight: bold;
    color: #223A66;
    margin-top: 15px;
}

/* Image Styling */
.image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.rounded-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.rounded-img:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}



/* Testimonial Section */

.testimonial-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    background: url("/static/images/testimonial-bg-2.8c5080b5c47e.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 240px; /* Ensures enough space for testimonials */
    display: flex;
    align-items: center; /* Centers content vertically */
}

.testimonial-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 253, 253, 0.2); /* Semi-transparent overlay */
    z-index: 1; /* Keeps it behind content */
}

/* Slider Container */
.testimonial-slider {
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.testimonial-section h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    z-index: 2;
}

/* Track for sliding */
.testimonial-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollTestimonial 60s linear infinite;
}

/* Testimonial Card */
.testimonial-card {
    flex: 0 0 300px;
    height: 250px;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    background: rgba(255, 255, 255, 0.15); /* Transparent white */
    backdrop-filter: blur(10px); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;

}

/* Image Styling */
.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #28a745;
}

/* Name */
.testimonial-card h4 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
    color: #333;
}

/* Review Text */
.testimonial-card p {
    font-size: 0.95rem;
    color: #666;
    padding: 0 10px;
}

/* Stars */
.stars {
    font-size: 1.2rem;
    color: #f4b400;
}

/* Infinite Scrolling */
@keyframes scrollTestimonial {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* Partners Section */
.partners-section {
    padding: 70px 0;
    text-align: center;
}

.partners-section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.partners-section h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    z-index: 2;
}

/* Logos Grid */
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.partners-logos img {
    width: 80px; 
    height: 60px; 
    object-fit: contain;
    filter: grayscale(50%); 
    transition: 0.3s ease-in-out;
    margin-bottom: 6px;
}

.partner-name {
    font-size: 0.95rem;
    color: #223A66;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.partners-logos img:hover {
    filter: grayscale(0%);
}

/* Contact section */

.brief h3 {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
.brief h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;

}

.contact-section-title {
    font-size: 1rem;
    color: #36c919;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    z-index: 2;
}

.contact-section h1 {
    font-size: 2.8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: #223A66;
    text-align: center;
    z-index: 2;
}
.contact-card, .contact-card-2{
    background-color: #BFD2F8 !important; 
    min-width: 220px;
    max-width: 100%;
}
.contact-card i {
    color: #223A66;
}

.contact-card h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #223A66;
}

.contact-card p {
    color: #223A66;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.contact-card-2 {
    background-color: #223A66 !important; 
}
.contact-card-2 i {
    color: #BFD2F8;
}

.contact-card-2 h5 {
    justify-content: left;
    align-items: center;
    text-align: left;
    color: #BFD2F8;
}

.contact-card-2 p {
    color: #BFD2F8;
    text-align: left;
    justify-content: left;
    align-items: center;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.card i {
    display: block;
    text-align: left;
}


/* --- About Hero Responsive --- */
@media (max-width: 992px) {
  .about-hero {
    height: 220px;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .about-hero-text {
    padding-right: 10%;
    font-size: 2rem;
  }
  .about-hero-text h1 {
    font-size: 2rem;
  }
  .about-hero-text h3 {
    font-size: 0.95rem;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
  }
  .about-content img {
    width: 80vw;
    max-width: 400px;
    height: 260px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .about-text {
    text-align: justify;
    padding: 0 8px;
    justify-content: center;
    align-items: center;
  }
  
  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
  }
  .coloured-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .card-big-shadow {
    max-width: 100%;
    margin: 0 auto;
  }
  .card.card-just-text .content {
    padding: 24px 10px;
  }

  .testimonial-section {
    padding: 40px 0;
    min-height: 120px;
  }
  .testimonial-slider {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .testimonial-card {
    flex: 0 0 220px;
    height: 180px;
    padding: 10px;
  }
  .testimonial-img {
    width: 50px;
    height: 50px;
  }
  .testimonial-card h4 {
    font-size: 1rem;
  }
  .testimonial-card p {
    font-size: 0.85rem;
    padding: 0 2px;
  }

  .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .contact-section .col-md-3 {
        width: 100%;
        margin-bottom: 0;
    }
}

/* --- Tablets and Large Phones --- */
@media (max-width: 768px) {
    .about-hero {
        height: 160px;
        margin-bottom: 20px;
    }
    .about-hero-text h1 {
        font-size: 1.5rem;
    }
    .about-content img {
        width: 100vw;
        height: 180px;
    }
    .about-text h1 {
        font-size: 2rem;
    }
    .about-list {
        gap: 8px;
    }
    .about-content p {
        font-size: 0.95rem;
        margin-top: 0;
        padding: 0 4px;
    }
    .contact-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px; 
    }

    .contact-card, .contact-card-2{
        margin-bottom: 0;
        width: 100%;
    }
}

/* --- Mobile Phones --- */
@media (max-width: 576px) {
  .about-hero {
    height: 120px;
    margin-bottom: 10px;
    padding: 0 2px;
  }
  .about-hero-text {
    padding-right: 0;
    font-size: 1.2rem;
  }
  .about-hero-text h1 {
    font-size: 1.1rem;
  }
  .about-content {
    padding: 12px 0px;
    gap: 16px;
  }
  .about-content img {
    width: 100vw;
    max-width: 100%;
    height: 120px;
    border-radius: 8px;
  }
  .about-text {
    padding: 0 4px;
    text-align: justify;
  }
  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
  }
  .about-list ul {
    padding: 0;
    margin: 0;
  }
  .about-list li {
    font-size: 0.95rem;
    padding: 0 2px;
    text-align: justify;
    margin-bottom: 0;
  }
  .about-content p {
    font-size: 0.9rem;
    padding: 0 2px;
  }

  .why-us-section .image-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .why-us-section .image-column img {
    width: 48%;
    height: 50vw;
    margin-bottom: 0;
    gap: 8px;
  }

  .contact-section .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px; 
    }

    .contact-card, .contact-card-2{
        width: 100%;
    }
}

/* --- Extra Small Screens --- */
@media (max-width: 375px) {
    .about-hero {
        height: 80px;
    }
    .about-hero-text h1 {
        font-size: 0.9rem;
    }
    .about-content img {
        height: 80px;
    }
    .about-text h1 {
        font-size: 1rem;
    }
    .about-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

