/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Merriweather:wght@400;700;900&family=Rubik:wght@400;500;600&display=swap');

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

html, body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #ffffff;
    overflow-x: clip;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* Top Bar */
.top-bar {
    background-color: #65498C;
    color: white;
    padding: 10px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-family: 'Domine', sans-serif;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    font-size: 1rem;
}

.top-bar-left .divider {
    width: 1px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right .follow-text {
    font-weight: 600;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 10px;
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
}

.social-icons a {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26.39px;
    height: 26.39px;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

.social-icons .fa-facebook-f { background: #3b5998; }
.social-icons .fa-twitter { background: #1da1f2; }
.social-icons .fa-youtube { background: #ff0000; }
.social-icons .fa-instagram { background: #c13584; }
.social-icons .fa-linkedin-in { background: #0077b5; }

.main-header {
    background-color: white;
    padding: 10px 6%;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: #653C89;
    cursor: pointer;
}

.logo img {
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #65498C;
    font-weight: 500;
    font-size: 18px;
    font-family: 'Domine', sans-serif;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #198754;
}

.nav-links a.active-link {
    color: #49BFBF;
}

.donate-btn {
    margin-left: auto;
    background-color: #198754;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Domine', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

.donate-btn:hover {
    background-color: #146c43;
}

/* Slider Section */
.slider-section {
    position: relative;
    height: 600px;
}

.slider-viewport {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-image: url('../img/slider.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 30px 0 90px;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #030410A3;
}

.slider-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    color: white;
}

.slider-content h1 {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    font-family: 'Domine', sans-serif;
}

.slider-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'Rubik', sans-serif;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-family: 'Domine', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    background: #65498C;
    border-color: #65498C;
    margin-top: 10px;
}

.contact-btn:hover {
    background: #533a75;
    border-color: #533a75;
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 8%;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F29A2E;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.slider-nav button:hover {
    background-color: #d68910;
}

/* Stats Block */
.stats-block {
    position: absolute;
    bottom: -50px;
    right: 8%;
    background-color: #49BFBF;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    z-index: 20;
    box-shadow: 0 6px 15px rgba(50, 20, 80, 0.4), inset 0 0 0 1px rgba(255,255,255,0.2);
}

.stat-item {
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
    min-width: 170px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.stat-item h3 {
    color: #664A8C;
    font-size: 30px;
    font-family: 'Domine', sans-serif;
    margin-bottom: 5px;
}

.stat-item p {
    color: #000000;
    font-size: 18px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.floating-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.floating-icon:hover {
    transform: scale(1.1);
}

.whatsapp-icon { background-color: #25d366; }
.phone-icon { background-color: #000000; }

@media (max-width: 992px) {
    .slider-content h1 {
        font-size: 3rem;
    }
    .stats-block {
        right: 5%;
        bottom: -20px;
        padding: 10px;
        gap: 10px;
    }
    .stat-item {
        min-width: 130px;
        padding: 15px 15px;
    }
    .stat-item h3 {
        font-size: 1.5rem;
    }
    .about-container {
        flex-direction: column;
    }
}

/* About Section */
.about-section {
    padding: 60px 5% 30px;
    background-color: white;
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 0 0 40%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 0 0 60%;
    padding: 0 20px 0 0;
}

.about-content h2 {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: #F89B1C;
}

.about-content h2 span:hover {
    color: #000;
}

.about-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 30px;
    font-family: 'Rubik', sans-serif;
    text-align: justify;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #664A8C;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Domine', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s;
}

.about-btn:hover {
    background-color: #4a3469;
}

/* Events & Activities Section */
.events-section {
    padding: 30px 8%;
    background-color: #F5F5F5;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    margin-bottom: 20px;
}

.section-title span {
    color: #F89B1C;
}

.section-title span:hover {
    color: #000;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.event-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.event-img {
    padding: 10px;
    text-align: center;
}

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

.event-details {
    padding: 0 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-details h3 {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #653C89;
    margin-bottom: 20px;
}

.event-details h3 span {
    color: #F89B1C;
    transition: color 0.3s ease;
}
.event-details h3 span:hover {
    color: #000000;
}

.event-details p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin: 0 20px auto 10px;
}

.empower-left h2 {
    color: #fff;
    font-family: 'Domine', sans-serif;
    font-size: 40px;
    margin-bottom: 30px;
}

.empow.meet-team-title {
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    margin: 0;
    font-weight: 500;
    padding-left: 20px;
}

/* =========================================================================
   Contact Page Styles
   ========================================================================= */

.contact-hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-hero-container {
    text-align: right;
    padding-right: 5%;
}

.contact-hero-title {
    font-family: 'Domine', sans-serif;
    font-size: 32px;
    color: #653C89;
    font-weight: 600;
    margin: 0;
}

.contact-hero-title span {
    color: #F89B1C;
}

.contact-main-section {
    padding: 80px 0;
    background: #fff;
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 400px 450px;
    justify-content: center;
    gap: 80px;
    min-height: 500px;
    margin-bottom: 60px;
}

.contact-info-col {
    padding: 50px 40px 50px 0;
}

.contact-info-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #F89B1C;
    margin-bottom: 40px;
    line-height: 1.4;
    font-weight: 600;
}

.contact-detail {
    margin-bottom: 30px;
}

.contact-detail h4 {
    font-family: 'Domine', sans-serif;
    font-size: 20px;
    color: #F89B1C;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.contact-detail p {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    color: #000000;
    margin: 0;
}

.address-block {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.address-icon {
    font-size: 24px;
    color: #F89B1C;
    padding-top: 2px;
}

.address-text h5 {
    font-family: 'Domine', sans-serif;
    font-size: 16px;
    color: #000000;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.address-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.contact-info-bottom {
    padding: 30px 0 60px;
}

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

.contact-details-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-details-flex .contact-detail {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.contact-form-col {
    background-size: cover;
    background-position: right center;
    position: relative;
}

.form-overlay {
    background-color: rgba(200, 200, 200, 0.85); /* Translucent grey matching screenshot */
    padding: 50px 40px;
    height: 100%;
    box-sizing: border-box;
}

.form-overlay h3 {
    font-family: 'Domine', sans-serif;
    font-size: 24px;
    color: #000000;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
}

.submit-btn {
    background-color: #0371B9;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #025a94;
}

.contact-map-col iframe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
}

.map-container iframe {
    width: 100% !important;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-col {
        padding: 40px 15px;
    }
    .contact-map-col {
        height: 400px;
    }
}

.empower-subtitle {
    color: #F89B1C;
    font-family: 'Domine', sans-serif;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
}

.empower-right img {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
}

.read-more {
    color: #10904C;
    font-family: 'Domine', sans-serif;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 24px;
}

.read-more:hover {
    color: #146c43;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: transform 0.3s;
}

.back-to-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Footer Section */
.site-footer {
    background-color: #65498C;
    color: white;
    padding-top: 60px;
    font-family: 'Rubik', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 300px;
}

.about-col .footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
}

.about-col p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    padding: 2px 0;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s;
}
.social-icon:hover { transform: scale(1.1); }
.social-icon.fb { background-color: #3b5998; }
.social-icon.tw { background-color: #00acee; }
.social-icon.yt { background-color: #c4302b; }
.social-icon.ig { background-color: #262626; }
.social-icon.in { background-color: #0072b1; }

.footer-heading {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: #664A8C;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info h4 {
    font-family: 'Domine', sans-serif;
    font-size: 18px;
    margin: 0 0 5px 0;
}

.contact-info p {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
    color: #e0e0e0;
}

.map-container {
    width: 100%;
    overflow: hidden;
}

.open-maps-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    color: #1a73e8; /* Google Maps blue */
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}
.open-maps-btn:hover {
    background-color: #f8f9fa;
    color: #174ea6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    padding: 20px 5%;
    background-color: #653C89;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-container p {
    font-size: 16px;
    margin: 0;
}

.footer-bottom-container a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

/* Empower Section */
.empower-section {
    background-color: #653C89;
    padding: 80px 5% 40px;
    position: relative;
}

.empower-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
}

.empower-left {
    flex: 1;
}

.empower-left h2 {
    color: #fff;
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    margin-bottom: 20px;
}

.empower-subtitle {
    color: #F89B1C;
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    margin-bottom: 40px;
    font-weight: 500;
}

.empower-tabs-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.empower-tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 150px;
}

.empower-tab {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Domine', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.empower-tab:hover {
    background: rgba(255, 255, 255, 0.25);
}

.empower-tab.active {
    background: #10904C;
}

.empower-tab-content {
    flex: 1;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 15px;
}

.empower-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.empower-pane.active {
    display: block;
    opacity: 1;
}

.empower-right {
    flex: 1;
}

.empower-right img {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
}

/* Floating Founder Box */
.founder-floating-box {
    position: absolute;
    top: calc(100% - 30px);
    left: 8%;
    background: #fff;
    padding: 40px 30px 20px;
    border-radius: 0 0 170px 170px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 10;
    width: 340px;
    overflow: hidden;
}

.founder-floating-box h4 {
    color: #653C89;
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.founder-floating-box h4 span {
    color: #F89B1C;
}

.founder-floating-box p {
    color: #000;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.founder-img {
    margin-top: 25px;
}

.founder-img img {
    width: 100%;
    display: block;
}

/* Dialysis Section */
.dialysis-section {
    padding: 0 5% 80px;
    background-color: #F2F5F7;
    position: relative;
}

.dialysis-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.dialysis-left {
    flex: 0 0 340px; /* Spacer for the floating box */
    min-height: 450px;
}

.dialysis-right {
    flex: 1;
    padding-top: 10px;
}

.dialysis-title {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    margin-bottom: 20px;
    font-weight: 700;
}

.dialysis-title span {
    color: #F89B1C;
}

.dialysis-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    color: #4B4F58;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Team Section */
.team-section {
    padding: 50px 5% 40px;
    background-color: #fff;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Domine', sans-serif;
    font-size: 36px;
    color: #653C89;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-title span {
    color: #F89B1C;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.team-card {
    border: 2px solid #0371B9;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #0371B9;
    transition: all 0.3s;
    cursor: pointer;
}

/* .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(3, 113, 185, 0.2);
} */

.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: opacity 0.3s;
}

/* .team-card:hover img {
    opacity: 0.4;
} */

.team-info {
    background: linear-gradient(to bottom, #0371B9 0%, #023e66 100%);
    padding: 10px 5px 8px;
    text-align: left;
    color: #fff;
    flex: 1;
    position: relative;
    z-index: 2;
}

/* .team-card:hover .team-info {
    background: linear-gradient(to bottom, #0488df 0%, #03538a 100%);
} */

.team-info h4 {
    font-family: 'Domine', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 2px 0;
    font-weight: 600;
}

.team-info p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    margin: 0;
}

.team-view-more {
    text-align: center;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #653C89;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: 3px solid #e5d7f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #4a2b66;
}

/* Inspire Section */
.inspire-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/hbg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 5%;
    text-align: center;
}

.inspire-container {
    max-width: 1120px;
    margin: 0 auto;
}

.inspire-title {
    font-family: 'Domine', sans-serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.testimonial-slider-viewport {
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

/* =========================================================================
   About Page Styles
   ========================================================================= */

/* Page Banner */
.page-banner {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: right;
    padding: 0 5%;
}

.banner-title {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    font-weight: 700;
    margin: 0;
}

.banner-title span {
    color: #F89B1C;
}

/* About Details Section */
.about-details-section {
    padding: 60px 9% 80px;
    background-color: #fff;
}

.about-page-title {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.about-top-section {
    display: flex;
    justify-content: flex-start;
    gap: 160px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-top-text {
    width: 550px;
}

.about-top-text p.intro-text {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    text-align: justify;
    font-weight: 400;
}

.about-top-image {
    text-align: right;
}

.about-top-image img {
    width: 302.5px;
    height: 270px;
    display: block;
    margin-left: 0;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.about-bottom-section {
    width: 100%;
    clear: both;
}

.about-bottom-section p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.about-bottom-section a {
    color: #0371B9;
    text-decoration: underline;
}

.about-bottom-section a:hover {
    color: #653C89;
}

.camps-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    font-weight: 400;
}

.camps-list li {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.3;
    
}

.testimonial-box {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    text-align: left;
    background-color: transparent;
}

.testimonial-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-author {
    font-family: 'Domine', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.testimonial-body {
    padding: 20px 30px 30px;
}

.testimonial-text {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin: 0;
}

/* =========================================
   DIALYSIS PAGE STYLES
   ========================================= */

/* Dialysis Banner */
.dialysis-banner {
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-overlay-light {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.dialysis-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.banner-text-right {
    text-align: right;
    max-width: 600px;
}

.dialysis-banner-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #653C89;
    font-weight: 700;
    margin-bottom: 20px;
}

.dialysis-banner-subtitle {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #653C89;
    font-weight: 700;
    margin-bottom: 5px;
}

.dialysis-banner-highlight {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #F89623;
    font-weight: 700;
    margin: 0;
}

/* Dialysis Intro */
.dialysis-intro {
    padding: 80px 5%;
    background-color: #fff;
}

.dialysis-intro-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dialysis-intro-text {
    flex: 0 0 570px;
    padding: 10px;
    box-sizing: border-box;
}

.dialysis-intro-text .section-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #653C89;
    font-weight: 700;
    margin-bottom: 40px;
}

.dialysis-intro-text .section-title span {
    color: #F89623;
}

.dialysis-intro-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.dialysis-intro-text a {
    color: #0371B9;
    text-decoration: underline;
}

.dialysis-intro-image {
    width: 550px;
}

.dialysis-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Dialysis Reasons (Black Section) */
.dialysis-reasons {
    padding: 50px 0;
    background-color: #000;
}

.reasons-row {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.reason-box {
    flex: 0 0 546px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 25px;
    box-sizing: border-box;
}

.reason-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #653C89;
    font-weight: 700;
    margin-bottom: 30px;
}

.reason-title span {
    color: #F89623;
}

.reason-box p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Dialysis Info Cards */
.dialysis-info {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.dialysis-info .section-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #653C89;
    font-weight: 700;
    margin-bottom: 60px;
}

.dialysis-info .section-title span {
    color: #F89623;
}

.info-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background-color: #fff;
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
}

.info-icon {
    margin-bottom: 20px;
}

.info-icon img {
    width: 71.39px;
    height: 71.39px;
}

.info-title {
    font-family: 'Domine', sans-serif;
    font-size: 20px;
    color: #000;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-card p, .info-card ul li {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000;
    line-height: 1.5;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.info-card ul.text-center {
    text-align: center;
}

.info-card ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.info-card ul:not(.text-center) li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.info-card ul.text-center li::before {
    display: none;
}

/* Dialysis Rates */
.dialysis-rates {
    padding: 60px 0;
    background-color: #000;
}

.general-rate {
    font-family: 'Rubik', sans-serif;
    font-size: 25px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
}

.maya-rate {
    font-family: 'Rubik', sans-serif;
    font-size: 25px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.rate-highlight {
    color: #F89623;
}

/* =========================================================================
   Events Page Styles
   ========================================================================= */

/* Banner */
.events-page-banner {
    padding: 180px 5% 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f8f8f8; /* Fallback */
}

.events-page-banner .container {
    display: flex;
    justify-content: flex-end;
}

.events-banner-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #65498C;
    margin-bottom: 5px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.events-banner-subtitle {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #F89B1C;
    text-align: right;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Event List Layout */
.events-list-section {
    background-color: #fff;
    overflow: hidden;
    padding-bottom: 50px;
}

.event-group {
    padding: 20px 0;
    position: relative;
}

.event-group.has-wave-bg {
    background-color: #f7f9f2; /* Light beige-green matching screenshot */
    padding-bottom: 120px; /* Space for the wave divider */
}

.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px; /* -1px to prevent any white gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF;
}

.event-row {
    padding: 40px 8%;
    position: relative;
}



.event-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.reverse-row .event-flex {
    flex-direction: row-reverse;
}

/* Text Column */
.event-col-text {
    flex: 1;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.event-title {
    font-family: 'Domine', sans-serif;
    font-size: 26px;
    color: #65498C;
    margin-bottom: 20px;
    font-weight: 700;
}

.event-title span {
    color: #F89B1C;
}

.event-col-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

/* Image Column */
.event-col-img {
    flex: 1;
    text-align: center;
}

.event-col-img img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Diamond Images Layout */
.diamond-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.diamond-item {
    width: 220px;
    height: 220px;
    transform: rotate(45deg);
    overflow: hidden;
    border: 5px solid #1ba395; /* Teal color from reference */
    position: relative;
    box-shadow: inset 0 0 0 5px #fff;
    margin: 0 -20px; /* Overlap */
    background: #fff;
}

.diamond-item img {
    width: 150%;
    height: 150%;
    object-fit: cover;
    transform: rotate(-45deg) translate(-15%, -15%);
    max-width: none;
}

/* =========================================================================
   Team Page Styles
   ========================================================================= */

.team-page-section {
    padding: 60px 15px;
    background-color: #fff;
}

.team-page-header {
    text-align: left;
    max-width: 100% !important;
    margin: 0 0 40px;
}

h1.team-page-title {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    margin-bottom: 25px;
    font-weight: 400; /* Regular weight based on screenshot */
}

h1.team-page-title span {
    color: #F89B1C;
}

p.team-page-intro {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    margin: 0 0 25.6px 0;
}

.team-page-intro a {
    color: #0371B9;
    font-weight: 400;
    text-decoration: underline;
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 208px);
    justify-content: center;
    column-gap: 20px;
    row-gap: 50px;
    padding: 20px 0;
}

.team-page-card {
    background: #ffffff;
    padding: 10px;
    margin: 0;
    text-align: center;
    border: 1px solid #000000;
    width: 100%;
    box-sizing: border-box;
    border-width: 2px 2px 2px 2px;
}

.team-img-wrapper {
    width: 100px;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 10px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    border: none;
}

.team-page-info h3 {
    font-family: 'Domine', sans-serif;
    font-size: 20px;
    color: #0088C9;
    margin: 0 0 20px 0;
    font-weight: 400;
    text-transform: uppercase;
}

.team-page-info p {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    margin: 0;
}

/* =========================================================================
   Responsive Design Media Queries
   ========================================================================= */

@media (max-width: 991px) {
    .top-bar {
        display: none;
    }
    .main-header {
        justify-content: space-between;
        gap: 20px;
        padding: 10px 4%;
    }
    .menu-toggle {
        display: block;
        order: 3;
    }
    .donate-btn {
        margin-left: auto;
        order: 2;
        padding: 8px 15px;
        font-size: 14px;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        gap: 15px;
        border-top: 1px solid #eee;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }
    .nav-links.active {
        max-height: 400px;
        padding: 20px 0;
    }
    
    .slider-content h1 {
        font-size: 38px;
    }
    .slider-content p {
        font-size: 18px;
    }
    .slide {
        padding: 0 40px;
    }
    
    /* About Page Responsive */
    .about-details-section {
        padding: 40px 5% 60px;
    }
    .about-top-section {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .about-top-text {
        width: 100%;
    }
    .about-top-image {
        text-align: center;
        width: 100%;
    }
    .about-top-image img {
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }
    
    /* Dialysis Page Responsive */
    .dialysis-intro-row, .reasons-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .dialysis-intro-text, .dialysis-intro-image, .reason-box {
        flex: auto;
        width: 100%;
        max-width: 100%;
    }
    .dialysis-intro-image img {
        margin: 0 auto;
    }
    .info-cards-row {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .general-rate, .maya-rate {
        font-size: 18px;
        padding: 0 15px;
    }
    
    /* Events Page Responsive */
    .events-page-banner {
        padding: 100px 5% 80px;
        text-align: center;
    }
    .event-flex, .reverse-row .event-flex {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .event-col-text.text-left, .event-col-text.text-right {
        text-align: center;
    }
    .event-row {
        padding: 30px 5%;
    }
    
    /* Team Page Responsive */
    .team-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }
    .team-page-info h3 {
        font-size: 16px;
    }
    .team-page-info p {
        font-size: 14px;
    }
    
    /* Contact Page Responsive */
    .contact-hero {
        justify-content: center;
    }
    .contact-hero-container {
        text-align: center;
        padding: 0 5%;
    }
    .contact-grid {
        gap: 30px;
        padding: 0 5%;
    }
    .form-overlay {
        padding: 40px 20px;
    }
    .contact-info-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .slider-section {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .slider-viewport {
        position: relative;
        height: 500px;
    }
    .slider-content h1 {
        font-size: 30px;
    }
    .slider-content p {
        font-size: 16px;
    }
    .slide {
        padding: 0 30px;
    }
    .slider-nav {
        left: 30px;
        bottom: 30px;
    }
    .stats-block {
        right: auto;
        left: auto;
        transform: none;
        width: 100%;
        border-radius: 0;
        justify-content: center;
        flex-wrap: wrap;
        position: static;
        margin-top: 0;
    }
    .stat-item {
        min-width: 140px;
        flex: 1;
        padding: 15px;
    }
    
    /* Dialysis Banner Responsive */
    .dialysis-banner {
        padding: 100px 0 80px;
    }
    .dialysis-banner .container {
        justify-content: center;
        padding: 0 5%;
    }
    .banner-text-right {
        text-align: center;
        max-width: 100%;
    }
    .dialysis-banner-title {
        font-size: 26px;
    }
    .dialysis-banner-subtitle,
    .dialysis-banner-highlight {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .slider-section {
        height: auto;
    }
    .slider-viewport {
        height: 450px;
    }
    .slider-content h1 {
        font-size: 24px;
    }
    .slider-content p {
        font-size: 15px;
    }
    .slide {
        padding: 0 15px;
    }
    .slider-nav {
        left: 15px;
        bottom: 20px;
    }
    .stats-block {
        margin-top: 0;
    }
    .stat-item {
        min-width: 100px;
        padding: 10px;
    }
    .stat-item h3 {
        font-size: 20px;
    }
    .stat-item p {
        font-size: 14px;
    }
}

/* Responsive Fix for Founder Floating Box & Dialysis Section */
@media (max-width: 991px) {
    .founder-floating-box {
        position: relative;
        top: auto;
        left: auto;
        margin: 40px auto -150px;
        width: 90%;
        max-width: 340px;
        border-radius: 30px;
        z-index: 10;
    }
    .dialysis-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .dialysis-left {
        flex: none;
        width: 100%;
        min-height: 180px;
    }
    .dialysis-right {
        width: 100%;
        padding-top: 0;
    }
}

/* Legal Page Styles */
.legal-page {
    padding: 80px 5%;
    background-color: #fff;
    font-family: 'Rubik', sans-serif;
}
.legal-container {
    max-width: 1140px;
    margin: 0 auto;
}
.legal-title {
    font-family: 'Domine', sans-serif;
    font-size: 30px;
    color: #653C89;
    margin-bottom: 40px;
    font-weight: 700;
}
.legal-section {
    margin-bottom: 40px;
}
.legal-section h3 {
    font-family: 'Domine', sans-serif;
    font-size: 25px;
    color: #653C89;
    margin-bottom: 20px;
    font-weight: 600;
}
.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #000;
    text-align: justify;
}
.legal-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}
.legal-section ul.terms-list {
    list-style: none;
    margin-left: 0;
    padding-left: 20px;
}
.legal-section ul.terms-list > li {
    position: relative;
    margin-bottom: 25px;
}
.legal-section ul.terms-list > li::before {
    content: 'Ø';
    font-family: 'Wingdings';
    position: absolute;
    left: -20px;
    top: 0;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

/* Global Heading Span Hover (Orange Text) */
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    transition: color 0.3s ease;
}
h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover, h5 span:hover, h6 span:hover {
    color: #000000;
}

/* Prevent hover effect on dark backgrounds where black text would be invisible */
.reason-title span:hover {
    color: #F89B1C;
}

/* Explicit hover effect for all orange text across the site */
.events-banner-subtitle,
.about-content h2 span,
.section-title span,
.event-details h3 span,
.contact-hero-title span,
.contact-info h3,
.founder-floating-box h4 span,
.dialysis-title span,
.dialysis-banner-highlight,
.banner-title span,
.team-page-title span,
.event-title span,
h1.team-page-title span,
.empower-subtitle {
    transition: color 0.3s ease;
}

.events-banner-subtitle:hover,
.about-content h2:hover span,
.event-details h3:hover span,
.contact-hero-title:hover span,
.contact-info h3:hover,
.founder-floating-box h4:hover span,
.dialysis-title:hover span,
.dialysis-banner-highlight:hover,
.banner-title:hover span,
.team-page-title:hover span,
.event-title:hover span,
h1.team-page-title:hover span,
.empower-subtitle:hover,
.banner-title span:hover,
.section-title span:hover {
    color: #000000 !important;
}

.hover-black {
    color: inherit;
    transition: color 0.3s ease;
}

.hover-black:hover {
    color: #000000 !important;
}
.legal-section li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #000;
}
@media (max-width: 768px) {
    .legal-page { padding: 50px 5%; }
    .legal-title { font-size: 28px; }
    .legal-section h3 { font-size: 20px; }
}
