/********** ROOT VARIABLES **********/
/********** ROOT VARIABLES **********/
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
    --text: #333;
}

/********** DARK

/********** DARK MODE (OPTIONAL) **********/
body.dark-mode {
    --light: #121212;
    --dark: #ffffff;
    --text: #f1f1f1;
    background: #121212;
    color: var(--text);
}

/********** GLOBAL **********/
body {
    font-family: Arial, sans-serif;
    color: var(--text);
}

.fw-medium { font-weight: 600 !important; }

.btn {
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }

/********** BACK TO TOP **********/
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
/* SECTION BACKGROUND */
.outreach-section {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    padding: 60px 0;
}

/* SCROLL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CARD STYLE */
.outreach-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.outreach-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.outreach-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.outreach-card:hover img {
    transform: scale(1.05);
}

/* COLORS */
.card-blue h5 { color: #2563eb; }
.card-green h5 { color: #16a34a; }
.card-orange h5 { color: #f59e0b; }

/* BADGE */
.badge-custom {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
/********** IMAGES **********/
.founder-img,
.about-img-main,
.testimonial-item img,
.about-img-small {
    transition: transform 0.5s ease;
    object-fit: cover;
}
.founder-img:hover,
.about-img-main:hover,
.testimonial-item:hover { transform: scale(1.05); }

.about-img-main { height: 100%; min-height: 450px; }
.about-img-small { width: 180px; height: 180px; }

.testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: contain; /* face stays centered */
}

/********** CARDS **********/
.service-card,
.testimonial-item,
.impact-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}
.service-card:hover,
.testimonial-item:hover,
.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/********** ICON BOX **********/
.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/********** GALLERY **********/
.gallery-grid img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/********** IMPACT SECTION **********/
.impact-section {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('img/impact-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
}
.impact-item h2 { font-size: 40px; font-weight: 700; }

/********** COUNTERS **********/
.counter { font-size: 40px; font-weight: bold; }

/********** TRANSFORMATION CARDS **********/
.transformation-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.transformation-card .overlay,
.transformation-card .after-img {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}
.transformation-card .overlay {
    background: rgba(0,0,0,0.7);
    opacity: 0;
}
.transformation-card:hover .overlay { opacity: 1; }
.transformation-card .after-img {
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.transformation-card:hover .after-img { opacity: 1; }

/********** VIDEO BACKGROUND **********/
.video-bg-section { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.video-bg-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    width: 177.77vh; height: 100vh;
    transform: translate(-50%, -50%);
}
.video-bg-wrapper iframe { width: 100%; height: 100%; pointer-events: none; }
.video-bg-overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.video-bg-content { position: relative; z-index: 2; }

/********** NAVBAR **********/
.nav-bar { padding: 0 4rem; transition: 0.5s; }
.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 20px 0;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
}
.navbar-light .navbar-nav .nav-link:hover { color: var(--primary); }
.navbar { position: relative; z-index: 9999; }

/********** FOOTER **********/
.footer .btn-social { width: 35px; height: 35px; border-radius: 50%; }
.footer .btn-link { color: #fff; display: block; margin-bottom: 5px; }

/********** SCROLL SPINNER **********/
#spinner { opacity: 0; visibility: hidden; transition: opacity .5s ease; }
#spinner.show { opacity: 1; visibility: visible; }

/********** RESPONSIVE **********/
@media (max-width: 768px) {
    .about-img-main { min-height: 250px; }
    .video-bg-section { height: 70vh; }
    .navbar-light .navbar-nav .nav-link { padding: 10px 0; }
}