﻿/* =========================
   GLOBAL STYLES
========================= */
body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #f59e0b;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
    font-size: 14px;
    background: #f8f9fa;
}

.top-bar i {
    margin-right: 5px;
}

.top-bar i:hover {
    color: #f59e0b;
    cursor: pointer;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    font-size: 22px;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    margin-left: 15px;
}

.nav-link:hover {
    color: #f59e0b !important;
}

/* Sticky effect (optional JS later) */
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* =========================
   HERO SECTION
========================= */
.hero {
    height: 500px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    height: 100%;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero .btn {
    padding: 10px 25px;
    font-size: 16px;
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #f59e0b;
    display: block;
    margin-top: 8px;
}

/* =========================
   ABOUT SECTION
========================= */
.about img {
    border-radius: 10px;
}

/* =========================
   CARDS (PROGRAMS)
========================= */
.card {
    border: none;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* =========================
   IMPACT SECTION
========================= */
.bg-warning {
    background-color: #f59e0b !important;
}

.bg-warning h2 {
    font-weight: bold;
    font-size: 36px;
}

/* =========================
   GALLERY
========================= */
.gallery img {
    border-radius: 8px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* =========================
   CONTACT FORM
========================= */
form .form-control {
    border-radius: 5px;
    box-shadow: none;
}

form .form-control:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
}

/* =========================
   BUTTONS
========================= */
.btn-warning {
    background-color: #f59e0b;
    border: none;
}

.btn-warning:hover {
    background-color: #d97706;
}

/* =========================
   FOOTER
========================= */
footer {
    font-size: 14px;
}

footer p {
    margin: 0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 28px;
    }

    .hero {
        height: 350px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* =========================
   FIELDS OF WORK SECTION
========================= */
.fields-work {
    background-color: #fafafa;
}

.field-box {
    padding: 15px;
    transition: 0.3s;
}

.field-box img {
    max-height: 60px;
}

.field-box h6 {
    font-weight: 600;
    letter-spacing: 1px;
}

.field-box:hover {
    transform: translateY(-8px);
}

/* Custom Colors (matching reference style) */
.text-pink {
    color: #ff6b81;
}

.text-orange {
    color: #f97316;
}

.text-purple {
    color: #8b5cf6;
}

/* =========================
   SHIKSHA SECTION
========================= */
.shiksha-section {
    position: relative;
}

/* IMAGE */
.shiksha-img {
    border-radius: 10px 0 0 10px;
    height: 100%;
    object-fit: cover;
}

/* CONTENT BOX */
.shiksha-content {
    background-color: #9fd3d7; /* soft teal like reference */
    border-radius: 0 20px 20px 0;
    height: 100%;
}

/* TEXT */
.shiksha-content h3 {
    font-weight: 700;
    color: #007c84;
}

.shiksha-content p {
    font-size: 15px;
    color: #333;
}

/* BUTTON */
.btn-teal {
    background-color: #2aa6ad;
    color: #fff;
    border: none;
    padding: 10px 20px;
}

.btn-teal:hover {
    background-color: #1d8b91;
    color: #fff;
}

/* =========================
   OVERLAP EFFECT (OPTIONAL)
========================= */
@media (min-width: 768px) {
    .shiksha-content {
        margin-left: -50px; /* overlap effect */
        position: relative;
        z-index: 2;
    }
}
/* =========================
   IMPACT SECTION
========================= */
.impact-section {
    background: #f5f5f5;
}

/* LEFT TEXT */
.impact-title {
    font-size: 28px;
    font-weight: 600;
}

.impact-title span {
    font-size: 40px;
    font-weight: bold;
}

.impact-text {
    font-size: 16px;
    margin-top: 10px;
}

/* CARDS */
.impact-card {
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    min-height: 160px;
    transition: 0.3s;
}

.impact-card h4 {
    font-weight: bold;
    font-size: 26px;
}

.impact-card p {
    font-size: 14px;
}

/* HOVER EFFECT */
.impact-card:hover {
    transform: translateY(-8px);
}

/* COLORS (matching reference) */
.pink { background: #f8a5c2; }
.teal { background: #1abc9c; }
.yellow { background: #f39c12; }
.orange { background: #e67e22; }
.green { background: #2ecc71; }
.purple { background: #9b59b6; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .impact-title span {
        font-size: 30px;
    }
}
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
}

.blog-title {
    color: #d62828;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: 0.3s;
}

.blog-title:hover {
    text-decoration: underline;
}

.blog-card {
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}
.blog-section {
    background: linear-gradient(135deg, #fff5f5, #fefefe);
}

.blog-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
}

.logo-img {
    height: 90px;
    width: auto;
}

.brand-text {
    font-size: 18px;
    color: #0d6efd;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 8px;
}

.navbar-nav .nav-link:hover {
    color: #d62828;
}

.top-bar {
    background: linear-gradient(90deg, #f59e0b, #ea580c); /* orange gradient */
    color: #ffffff;
    font-size: 14px;
}

.top-left i {
    margin-right: 5px;
}

.top-right .social-icon {
    color: #ffffff;
    margin-left: 12px;
    font-size: 16px;
    transition: 0.3s;
}

.top-right .social-icon:hover {
    color: #000;
}

@media (max-width: 768px) {
    .top-left {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .top-right {
        width: 100%;
        text-align: center;
    }
}

.top-bar .bi:hover {
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}

.about-section {
    margin-top: 40px;
}