/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #24616D;
    --secondary: #FFAA56;
    --white: #ffffff;
    --soft-gray: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-padding { padding: 80px 0; }
.text-primary-brand { color: var(--primary); }
.text-secondary-brand { color: var(--secondary); }

/* =========================================
   2. ANIMATED BUTTONS (The "Click Me" Style)
   ========================================= */
.btn-nav-contact, .hero-contact-btn {
    background: var(--secondary) !important;
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 170, 86, 0.3);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-nav-contact:hover, .hero-contact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 170, 86, 0.5);
    background: #ff9933 !important;
}

.btn-nav-contact:active, .hero-contact-btn:active {
    transform: translateY(2px) scale(0.95);
}

.hero-contact-btn { animation: pulse-orange 2s infinite; }

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0px rgba(255, 170, 86, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 170, 86, 0); }
    100% { box-shadow: 0 0 0 0px rgba(255, 170, 86, 0); }
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    padding: 15px 0;
    background: var(--white) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.brand-logo { height: 50px; }
.nav-link { color: var(--text-dark) !important; font-weight: 500; margin: 0 12px; }
.nav-link:hover { color: var(--primary) !important; }

/* =========================================
   4. HERO SECTION
   ========================================= */
#hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)),
            url('./images/hero-eagle.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 80px;
    text-align: center;
}
/* linear-gradient(rgba(36, 97, 109, 0.85), rgba(36, 97, 109, 0.85)), */
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: var(--white); }
.shayari-urdu { font-family: 'Noto Nastaliq Urdu', serif; font-size: clamp(1.2rem, 3vw, 1.8rem); line-height: 2.5; color: var(--white); margin-bottom: 40px !important; }

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(36, 97, 109, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.service-icon-box {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* =========================================
   6. LEADERSHIP & TEAM (ENHANCED)
   ========================================= */
.badge-accent {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--secondary);
    display: block;
}

.shadow-soft { box-shadow: 0 15px 35px rgba(0,0,0,0.07); }

.rounded-custom { border-radius: 30px; }

.team-card {
    transition: var(--transition);
}

.team-card img {
    border: 5px solid var(--white);
    transition: var(--transition);
}

.team-card:hover img {
    transform: scale(1.05);
    border-color: var(--secondary);
}

/* =========================================
   7. MENTORS & FOOTER
   ========================================= */
.mentor-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.mentor-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.mentor-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 5px solid var(--soft-gray);
}

.footer-section { background: var(--primary); color: var(--white); padding: 80px 0 30px; }
.founder-img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
}
/* =========================================
   5. FOOTER (FULLY RESTORED)
   ========================================= */
.footer-section {
    background: #1a454e;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-logo-container {
    background: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo { height: 45px; }
.footer-heading { font-weight: 700; margin-bottom: 25px; font-size: 1.25rem; color: var(--secondary); }
.footer-link { margin-bottom: 15px; display: flex; align-items: flex-start; opacity: 0.9; }
.footer-link i { margin-top: 5px; color: var(--secondary); }

.social-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: white; text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover { background: var(--secondary); transform: translateY(-3px); color: white; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; margin-top: 50px; font-size: 0.9rem; opacity: 0.7; }
/* =========================================
   7. ANIMATED WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    /* Adding a constant gentle wobble to attract attention */
    animation: whatsapp-wobble 3s infinite ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(15deg);
    background: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Wobble Animation Logic */
@keyframes whatsapp-wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
}

/* Ensuring it stays readable on mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}




.rotate-icon {
    transform: rotate(45deg);
}

    .carousel-control-prev, .carousel-control-next {
        width: 45px;
        height: 45px;
        background-color: #fff;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border: 1px solid #eee;
        z-index: 5;
    }
    .carousel-control-prev { left: -10px; }
    .carousel-control-next { right: -10px; }
    
    .carousel-control-prev-icon-custom, .carousel-control-next-icon-custom {
        color: #333;
        font-size: 30px;
        font-weight: bold;
        line-height: 1;
    }

    @media (max-width: 768px) {
        .carousel-control-prev { left: 5px; }
        .carousel-control-next { right: 5px; }
    }
/* Story Tree Styles */
.story-tree-section {
    background-color: #fcfbf7; /* Soft organic background */
    padding: 80px 0;
    overflow: hidden;
}




/* Positioning for Desktop */
.left-1 { top: 5%; left: 0%; }
.right-1 { top: 5%; right: 0%; }
.left-2 { top: 35%; left: -5%; }
.right-2 { top: 35%; right: -5%; }
.left-3 { top: 65%; left: 5%; }
.right-3 { top: 65%; right: 5%; }
.center-bottom { bottom: -50px; left: 50%; transform: translateX(-50%); width: 300px; }

.clinic-drawer {
    border-top: 5px solid #008080;
    overflow: hidden;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gallery Image Design */
.gallery-img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Service Card Hover Effect */

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: none;
    border-radius: 15px;
}
   @media (max-width: 768px) {
    .clinic-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--white);
        z-index: 1050; /* Above Navbar */
        padding: 20px;
        overflow-y: auto;
        display: none; /* Controlled by JS toggle */
    }
    .clinic-drawer.open {
        display: block;
    }
}
.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Social icons (requires Bootstrap Icons CDN or FontAwesome) */
.team-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

.team-card-hover i {
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

.team-card-hover a:hover i {
    opacity: 0.7;
}
.supporter-category-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.supporter-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.mentor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}

.hidden-item {
    display: none;
}

.see-more-btn {
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}
