:root {
    color-scheme: light;
    --primary-color: #1a5f2a;
    --primary-dark: #0d3d16;
    --secondary-color: #1a1a2e;
    --accent-color: #f0a500;
    --surface-color: #ffffff;
    --surface-muted: #f8f9fa;
    --text-color: #1f2937;
    --text-soft: #5b6473;
    --border-color: #e5e7eb;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 18px 45px rgba(15, 23, 42, 0.14);
    --border-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(180deg, #f7faf8 0%, #eef4ef 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.flash-wrap {
    padding-top: 1rem;
}

.top-bar {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    padding: 0.75rem 0;
}

.top-bar-items,
.top-bar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.top-bar i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.top-bar a,
.top-bar span {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: #ffffff;
}

.scms-navbar {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.brand-text {
    margin-left: 0.85rem;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.05rem;
    color: var(--secondary-color);
}

.brand-text small {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.85rem 0.95rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .show > .nav-link {
    color: var(--primary-color);
}

.dropdown-menu {
    border: 1px solid rgba(26, 95, 42, 0.08);
    box-shadow: var(--shadow-soft);
    border-radius: 14px;
    padding: 0.6rem;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font-weight: 600;
}

.dropdown-item:hover {
    background: rgba(26, 95, 42, 0.08);
    color: var(--primary-color);
}

.page-content {
    min-height: 60vh;
}

.page-content > section:not(.full-width) {
    width: min(1120px, 92%);
    margin: 0 auto 1.75rem;
}

.hero,
.card,
.stat {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.hero {
    padding: 2.4rem;
    margin-top: 2rem;
}

.hero h2 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    padding: 1.5rem;
}

.card h3 {
    margin-top: 0;
}

.stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
    border-left: 4px solid var(--primary-color);
    padding: 1.15rem 1.2rem;
}

.btn-primary-custom,
.btn-outline-custom,
.btn-outline-light-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.92rem 1.45rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 12px 24px rgba(26, 95, 42, 0.22);
}

.btn-primary-custom:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(26, 95, 42, 0.28);
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid rgba(26, 95, 42, 0.25);
    color: var(--primary-color);
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.btn-outline-light-custom:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 700;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.9rem;
}

.section-heading p {
    color: var(--text-soft);
    margin-bottom: 0;
}

.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.93) 0%, rgba(26, 26, 46, 0.93) 100%), ;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 7s ease-in-out infinite;
}

.hero-shape-1 {
    width: 360px;
    height: 360px;
    top: -110px;
    right: -120px;
}

.hero-shape-2 {
    width: 260px;
    height: 260px;
    bottom: -80px;
    left: -60px;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.3rem);
    line-height: 1.14;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.08rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-top: 2rem;
}

.hero-stat h3 {
    font-size: 2.2rem;
    margin: 0;
    color: var(--accent-color);
}

.hero-stat p {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-image-wrap {
    position: relative;
}

.hero-image-blob {
    position: absolute;
    inset: -20px -25px auto auto;
    width: 360px;
    height: 360px;
    background: linear-gradient(135deg, rgba(240, 165, 0, 0.9), rgba(26, 26, 46, 0.9));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.22;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--shadow-strong);
}

.about-preview-section,
.features-section {
    padding: 6rem 0;
    background: #ffffff;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
}

.about-badge {
    position: absolute;
    right: -15px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-radius: 22px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 14px 32px rgba(26, 95, 42, 0.24);
    text-align: center;
}

.about-badge h3 {
    margin: 0;
    font-size: 2rem;
}

.about-badge p {
    margin: 0;
    opacity: 0.9;
}

.about-preview-section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.about-preview-section p {
    color: var(--text-soft);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.check-grid div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: var(--surface-muted);
    border-radius: 14px;
    font-weight: 700;
}

.check-grid i {
    color: var(--primary-color);
    font-size: 1.15rem;
}

.programs-section,
.news-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8edf0 100%);
}

.program-card,
.news-card,
.facility-card {
    height: 100%;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.program-card:hover,
.news-card:hover,
.facility-card:hover,
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.program-card {
    position: relative;
    overflow: hidden;
    padding: 2rem 1.7rem;
    text-align: center;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.program-icon,
.facility-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    font-size: 1.7rem;
}

.program-card h3,
.facility-card h3,
.news-card h3,
.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.program-card p,
.facility-card p,
.news-card p,
.feature-box p {
    color: var(--text-soft);
}

.program-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.2rem 0 1rem;
    color: #64748b;
    font-size: 0.95rem;
}

.program-meta i {
    color: var(--primary-color);
    margin-right: 0.35rem;
}

.program-eligibility {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

.stats-section {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 55%, var(--secondary-color) 100%);
    color: #ffffff;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card i {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.stat-card h3 {
    font-size: 2.6rem;
    margin: 0;
}

.stat-card p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    background: var(--surface-muted);
    border-radius: var(--border-radius);
    padding: 1.6rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.feature-box:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.feature-box:hover h3,
.feature-box:hover p {
    color: #ffffff;
}

.feature-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    font-size: 1.45rem;
}

.feature-box:hover .feature-icon {
    background: #ffffff;
    color: var(--primary-color);
}

.facilities-section {
    padding: 6rem 0;
    background: #ffffff;
}

.facility-card {
    padding: 1.8rem 1.4rem;
    text-align: center;
}

.news-card {
    overflow: hidden;
}

.news-card-visual {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-size: 3rem;
}

.news-card-body {
    padding: 1.6rem;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.news-date,
.news-category {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.news-date {
    background: rgba(26, 95, 42, 0.12);
    color: var(--primary-color);
}

.news-category {
    background: rgba(240, 165, 0, 0.18);
    color: #8a5b00;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.94) 0%, rgba(26, 26, 46, 0.95) 100%),  fixed;
}

.cta-box {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.cta-box h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.8rem;
}

form {
    display: grid;
    gap: 1rem;
    max-width: 680px;
}

input,
textarea,
button {
    font: inherit;
}

input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(26, 95, 42, 0.45);
    box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.12);
}

button {
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

button:hover {
    box-shadow: 0 14px 28px rgba(26, 95, 42, 0.24);
}

.alert {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.alert.success {
    background: #ecfdf3;
    color: #166534;
}

.alert.error {
    background: #fef2f2;
    color: #991b1b;
}

ul {
    padding-left: 1.2rem;
}

.site-footer {
    background: #0f172a;
    color: #d7dde8;
    padding: 4rem 0 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand h4,
.site-footer h5 {
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.footer-brand p,
.footer-copy {
    color: rgba(215, 221, 232, 0.75);
    margin-bottom: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: #111827;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.85rem;
}

.footer-links a,
.footer-contact span {
    color: rgba(215, 221, 232, 0.8);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(215, 221, 232, 0.75);
}

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .about-badge {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .top-bar-items,
    .top-bar-links,
    .hero-actions,
    .hero-stats,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .card {
        padding: 1.5rem;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }

    .about-preview-section,
    .programs-section,
    .features-section,
    .facilities-section,
    .news-section,
    .cta-section {
        padding: 4rem 0;
    }
}

/* Inner page shared sections */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(26,95,42,0.92) 0%, rgba(15,15,26,0.92) 100%), ;
    padding: 5rem 0 4rem;
    text-align: center;
    color: #ffffff;
}

.breadcrumb-section h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.breadcrumb-section .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    font-size: 0.95rem;
}

.breadcrumb-section .breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item.active {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.page-hero-alt {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.page-hero-alt .section-kicker {
    margin-bottom: 0.75rem;
}

.page-hero-alt h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.page-hero-alt p {
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto;
}

/* Owner section */
.owner-section {
    padding: 5rem 0;
    background: #ffffff;
}

.owner-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e6e6e6;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.owner-photo {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.owner-content {
    padding: 2.5rem;
}

.owner-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.owner-role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.owner-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Mission/Vision cards */
.mv-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid #eee;
    background: #ffffff;
}

.mv-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mv-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
    font-size: 2rem;
}

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.mv-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* Values */
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow-soft);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.value-icon {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.value-item p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin: 0;
}

/* Timeline */
.timeline-section {
    padding: 5rem 0;
    background: #ffffff;
}

.timeline {
    position: relative;
    padding: 1.25rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
    width: 45%;
    padding: 1.5rem 1.75rem;
    background: var(--surface-muted);
    border-radius: var(--border-radius);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 55%;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -20px;
    border-left-color: var(--surface-muted);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -20px;
    border-right-color: var(--surface-muted);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin: 0;
}

/* Faculty cards */
.faculty-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.faculty-img {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.faculty-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.faculty-body {
    padding: 1.5rem;
}

.faculty-body h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.faculty-designation {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.faculty-qualification,
.faculty-experience {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.department-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Facility cards (inner page variant) */
.facility-inner-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.facility-inner-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.facility-inner-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.facility-inner-card:hover .facility-inner-icon {
    transform: scale(1.1) rotate(5deg);
}

.facility-inner-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.facility-inner-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin: 0;
}

/* Gallery */
.gallery-item-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 280px;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.gallery-item-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item-box:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,95,42,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}

/* Video cards */
.video-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.video-card video {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    background: #111;
}

.video-body {
    padding: 1.25rem;
}

.video-body h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.video-body p {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin: 0;
}

/* Download cards */
.download-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.download-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
}

.download-icon {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
}

.download-info {
    flex: 1;
}

.download-info h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.download-info p {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
}

.download-btn {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.download-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.download-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

/* News list */
.news-list-card {
    display: flex;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.75rem;
    border: 1px solid #eee;
}

.news-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.news-list-date {
    min-width: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
}

.news-list-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.news-list-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-list-date .year {
    font-size: 0.8rem;
    opacity: 0.8;
}

.news-list-body {
    padding: 1.5rem 1.75rem;
    flex: 1;
}

.category-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.news-list-body h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-list-body p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.read-more-link:hover {
    color: var(--secondary-color);
}

/* Contact */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.75rem;
    height: 100%;
}

.contact-info-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-top: 0.15rem;
}

.contact-info-item h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.contact-info-item p,
.contact-info-item a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin: 0;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

.contact-form-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    height: 100%;
}

.form-control-custom {
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26,95,42,0.1);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    display: block;
}

.map-section {
    position: relative;
    min-height: 460px;
    background: #e9ecef;
}

.map-section iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

.map-info {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    width: min(92%, 760px);
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.1rem 1.4rem;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
}

.map-info p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

.map-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.email-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.email-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-color);
}

.email-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.email-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.email-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.email-card a:hover {
    color: var(--secondary-color);
}

.email-card p {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin: 0;
}

/* Scholarship cards */
.scholarship-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #eee;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.scholarship-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.scholarship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.scholarship-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
    font-size: 2rem;
}

.scholarship-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.scholarship-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.scholarship-amount {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.criteria-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-strong);
}

.criteria-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.criteria-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.criteria-item p {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin: 0;
}

/* Admission steps */
.admission-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--surface-muted);
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.admission-step:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(10px);
}

.admission-step:hover h4,
.admission-step:hover p {
    color: #ffffff;
}

.admission-step:hover .step-number {
    background: #ffffff;
    color: var(--primary-color);
}

.step-number {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.admission-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.admission-step p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin: 0;
}

.admission-step:hover p {
    color: rgba(255,255,255,0.9);
}

/* FAQ accordion */
.accordion-item-custom {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.accordion-button-custom {
    background: #ffffff;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 1.25rem 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
}

.accordion-button-custom:not(.collapsed) {
    background: var(--primary-color);
    color: #ffffff;
}

.accordion-button-custom:focus {
    outline: none;
}

.accordion-body-custom {
    padding: 1.25rem 1.5rem;
    color: var(--text-soft);
    background: #ffffff;
    font-size: 0.95rem;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.accordion-button-custom:not(.collapsed) .accordion-icon {
    transform: rotate(180deg);
}

/* Program list cards (inner programs page) */
.program-list-card {
    display: flex;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.75rem;
    border: 1px solid #eee;
}

.program-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.program-list-icon {
    min-width: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
}

.program-list-body {
    padding: 1.75rem;
    flex: 1;
}

.program-list-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.program-list-body p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.program-list-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    color: #888;
    font-size: 0.85rem;
}

.program-list-meta span i {
    color: var(--primary-color);
    margin-right: 0.35rem;
}

.program-list-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Program detail */
.program-detail-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
}

.program-detail-hero h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.program-detail-hero p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.info-card-block {
    background: var(--surface-muted);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.info-card-block h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.info-card-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card-block ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-soft);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-card-block ul li:last-child {
    border-bottom: none;
}

.info-card-block ul li i {
    color: var(--primary-color);
    width: 20px;
}

.info-card-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-left: none;
}

.info-card-dark h4 {
    color: #ffffff;
}

.info-card-dark ul li {
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.2);
}

.info-card-dark ul li i {
    color: var(--accent-color);
}

.syllabus-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.syllabus-table th {
    background: var(--primary-color);
    color: #ffffff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.syllabus-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--text-soft);
}

.syllabus-table tr:hover {
    background: var(--surface-muted);
}

.career-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
}

.career-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.career-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.career-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* CTA inner */
.cta-section-inner {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26,95,42,0.95) 0%, rgba(26,26,46,0.95) 100%),  fixed;
    text-align: center;
    color: #ffffff;
}

.cta-section-inner h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
}

.cta-section-inner p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

/* Tables inner */
.programs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.programs-table th {
    background: var(--primary-color);
    color: #ffffff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.programs-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.programs-table tr:hover {
    background: var(--surface-muted);
}

.programs-table a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.programs-table a:hover {
    color: var(--secondary-color);
}

/* Dev credits */
.dev-credits {
    padding: 1.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    background: var(--surface-muted);
    text-align: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.dev-credits a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive inner */
@media (max-width: 991px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item::after {
        left: 20px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 50px;
        margin-right: 0;
    }
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -20px;
        border-right-color: var(--surface-muted);
        border-left-color: transparent;
    }
}

@media (max-width: 767px) {
    .news-list-card {
        flex-direction: column;
    }
    .news-list-date {
        min-width: 100%;
        flex-direction: row;
        gap: 0.6rem;
        padding: 1rem;
    }
    .program-list-card {
        flex-direction: column;
    }
    .program-list-icon {
        min-width: 100%;
        height: 100px;
    }
    .map-info {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .breadcrumb-section {
        padding: 3.5rem 0 3rem;
    }
    .owner-photo {
        height: 300px;
    }
    .page-hero-alt,
    .timeline-section,
    .owner-section,
    .cta-section-inner {
        padding: 3rem 0;
    }
}
