@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
@font-face {
    font-family: "Futura Light BT";
    src: url("/assets/font/futura/futura light bt.ttf") format("truetype");
    font-weight: 300;
}

:root {
    --primary: #1a3165;
    --primary-dark: #151d30;
    --accent: #f3c340;
    --accent-dark: #d99a00;
    --highlight: #ffcc33;
    --white: #ffffff;
    --text-dark: #1f2a44;
    --text-muted: #6b7280;
    --overlay: rgba(15, 23, 42, 0.6);
    --glass: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.35);

    /* --font-main: 'Poppins', sans-serif; */
    --font-main: 'Futura Light BT';
    /* --font-display: 'Bebas Neue', sans-serif; */
    --font-display: 'Futura Light BT';

    --r-xl: 20px;
    --r-lg: 15px;
    --r-md: 10px;
    --r-pill: 40px;

    --ease: all 0.3s ease;
    --ease-cb: all 0.5s cubic-bezier(0.51, 0.026, 0.368, 1.016);
    --section: 80px 0;

    /* Title scale — responsive overrides live in the media queries below */
    --title-xl: 52px;
    /* hero / page-level             */
    --title-lg: 42px;
    /* every section heading         */
    --title-md: 20px;
    /* card / sub-headings           */
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 110%;
}

body {
    font-family: var(--font-main);
    background: var(--primary);
    overflow-x: hidden;
}

section {
    overflow-x: hidden !important;
}

.navbar>.container {
    padding: 0;
}

.section-padding {
    padding: var(--section);
}

.highlight {
    color: var(--highlight);
}

/* ============================================================
   SHARED TYPOGRAPHY UTILITIES
   Single source of truth for all section titles & descriptions.
   ============================================================ */

/* Section title — dark bg variant */
.section-title {
    font-family: var(--font-display);
    font-size: var(--title-lg);
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: 1px;
    margin: 0 0 16px;
}

section:last-of-type {
    padding-bottom: 160px;
}

/* Light bg variant (white text) */
.section-title--light {
    color: var(--white);
}

/* Centred variant */
.section-title--center {
    text-align: center;
}

/* Section body text — on white bg */
.section-desc {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 30px;
}

/* On dark/primary bg */
.section-desc--light {
    color: rgba(255, 255, 255, 0.75);
}

/* Centred + capped width */
.section-desc--center {
    text-align: center;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

/* Accent bar beneath a title */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 16px 0 24px;
}

/* Card-level title */
.card-title {
    font-family: var(--font-main);
    font-size: var(--title-md);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

/* Card body copy */
.card-text {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   SHARED DOT-PATTERN UTILITY
   Add .dot-pattern to any section that needs the radial grid.
   Modifier classes control position and tint.
   ============================================================ */
.dot-pattern {
    position: relative;
    overflow: hidden;
}

.dot-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
}

/* Subtle tint for white/light backgrounds */
.dot-pattern--subtle::before {
    background-image: radial-gradient(rgba(26, 49, 101, 0.06) 1.5px, transparent 1.5px);
}

/* Confined to right 40% */
.dot-pattern--right::before {
    inset: 0 0 0 60%;
}

/* Confined to left 40% */
.dot-pattern--left::before {
    inset: 0 60% 0 0;
}

/* ============================================================
   SHARED SECTION HEADER ROW
   ============================================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.section-header .section-title {
    margin: 0;
}

/* ============================================================
   HERO WRAPPER
   ============================================================ */
.hero-wrapper {
    margin: 10px;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.custom-navbar {
    background: transparent;
    padding: 10px;
    position: fixed;
    inset: 0 10px auto 10px;
    z-index: 1000;
    transition: var(--ease);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.custom-navbar.scrolled {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.custom-navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.custom-navbar.scrolled .nav-link:hover {
    color: var(--accent) !important;
}

.custom-navbar.scrolled .nav-link.active {
    background: rgba(26, 48, 101, 0.19);
    border: 1px dashed var(--primary);
    border-radius: 30px;
    padding: 10px 20px;
}

.custom-navbar.scrolled .nav-search button {
    background: var(--primary);
}

.custom-navbar.scrolled .navbar-toggler {
    background: var(--glass);
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31,42,68,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

}

.custom-navbar.scrolled .navbar-brand {
    transform: translateY(0);
}

.navbar-toggler {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} */

.navbar-brand {
    transform: translateY(10px);
    transition: 0.2s ease;
    margin-left: 18px;
}

.navbar-brand img {
    /* height: 96px; */
    width: 70px;
    transform: scale(1.4);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    display: block;
    margin-right: 30px;
    transition: var(--ease);
}

.nav-link:hover {
    color: #ffd6d6 !important;
}

.nav-link.active {
    background: var(--glass);
    border: 1px dashed var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(10px);


}

@media (min-width: 992px) {
    .navbar-nav .nav-item:first-child {
        margin-left: 100px;
    }
}

.nav-search {
    border: 1px solid var(--primary);
    background: var(--white);
    border-radius: var(--r-pill);
    padding: 5px;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.nav-search input {
    border: none;
    outline: none;
    padding: 3px 14px;
    width: 180px;
    font-size: 14px;
    font-family: var(--font-main);
}

.nav-search button {
    border: none;
    background: var(--primary);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-search button:hover {
    background: var(--primary-dark);
}

/* Custom CTA button */
.custom-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.83);
    border: none;
    border-radius: 50px;
    min-width: 8.5rem;
    min-height: 2.92rem;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: var(--ease-cb);
    box-shadow: inset 1px 2px 5px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.custom-btn:hover,
.btn-active {
    background: var(--accent);
}

.btn-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 4px;
}

.btn-fill {
    width: 0;
    height: 100%;
    transition: var(--ease-cb);
}

.custom-btn:hover .btn-fill {
    width: 100%;
}


.btn-active .btn-fill {
    width: 100%;
}

.btn-icon-wrapper {
    height: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 1px -1px 3px 0 black;
    transition: var(--ease-cb);
}

.custom-btn:hover .btn-icon-wrapper {
    background: var(--white);
}

.btn-active .btn-icon-wrapper {
    background: var(--white);
}

.btn-icon {
    width: 0.8rem;
    height: 0.8rem;
    color: var(--white);
    transition: var(--ease-cb);
}

.btn-icon svg {
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
}

.custom-btn:hover .btn-icon {
    color: var(--primary);
    transform: rotate(-45deg);
}

.btn-active .btn-icon {
    color: var(--primary);
    transform: rotate(-45deg);
}

.btn-text {
    padding: 0 1.1rem 0 3.4rem;
    color: var(--primary);
    transition: var(--ease-cb);
    z-index: 2;
    position: relative;
}

.custom-btn:hover .btn-text {
    padding: 0 3.4rem 0 1.1rem;
    color: black;
}

.btn-active .btn-text {
    padding: 0 3.4rem 0 1.1rem;
    color: black;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    padding: 180px 0 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.2);
    filter: blur(1px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

.main-parent {
    position: absolute;
    top: 0;
    right: 0;
    width: 79%;
    height: 90px;
    background: var(--primary);
    border-radius: 0 0 0 var(--r-xl);
    z-index: 1;
}

.curve1,
.curve2 {
    position: absolute;
    height: 40px;
    width: 30px;
    border-bottom-right-radius: var(--r-xl);
    box-shadow: 0 20px 0 0 var(--primary);
    transform: rotate(-93deg);
}

.curve1 {
    left: -35px;
    top: -4px;
}

.curve2 {
    right: 5px;
    bottom: -36px;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.badge-admissions {
    display: inline-block;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    margin-bottom: 5px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 64px);
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    opacity: 0.95;
    max-width: 900px;
    margin: 20px auto 0;
}

.btn-apply {
    background: var(--accent);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-top: 20px;
    transition: var(--ease);
}

.btn-apply:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(243, 195, 64, 0.35);
}

/* ============================================================
   AMENITIES / FACULTY SECTION
   ============================================================ */
.faculty-section {
    position: relative;
}

.faculty-section .shape {
    position: absolute;
    right: 100px;
    bottom: 20px;
    z-index: -1;
    max-width: 25%;
}

.faculty-card {
    padding: 30px 20px;
    border-radius: 20px;
    background: transparent;
    transition: transform 0.35s;
}

.faculty-card:hover {
    transform: translateY(-8px);
}

.faculty-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 30px;
    border: 2px dashed #cfd6e4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.35s;
}

.faculty-icon img {
    padding: 25px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: invert(1) brightness(2);
}

.faculty-card:hover .faculty-icon {
    background: var(--accent);
    border-color: var(--accent);
}

.faculty-card:hover .faculty-icon img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(67%) saturate(4560%) hue-rotate(210deg) brightness(16%) contrast(93%);
}

.faculty-card h5 {
    margin-top: 18px;
    font-weight: 600;
    color: var(--white);
}

.semester {
    display: block;
    margin: 6px 0 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.learn {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: var(--ease);
}

.learn:hover {
    color: var(--accent);
}

.btn-categories {
    background: var(--white);
    color: var(--primary-dark);
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--ease);
}

.btn-categories:hover {
    background: var(--accent);
}

/* ============================================================
   ABOUT SECTION (homepage)
   ============================================================ */
.about-section {
    background: var(--white);
}

.about-feature {
    gap: 18px;
    margin-bottom: 22px;
}

.about-feature h5 {
    font-weight: 600;
    color: var(--primary);
}

.about-feature p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.icon-box {
    width: 65px;
    height: 65px;
    background: #e7ebf2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    flex-shrink: 0;
}

.icon-box.orange {
    color: var(--accent);
}

.btn-about {
    background: var(--primary);
    color: var(--white);
    padding: 16px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--ease);
}

.btn-about:hover {
    background: var(--accent);
    color: var(--white);
}

.video-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(244, 180, 0, 0.35);
    cursor: pointer;
    transition: var(--ease);
}

.video-btn:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.video-btn .play {
    width: 0;
    height: 0;
    border-left: 18px solid var(--accent);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.watch-text {
    font-weight: 600;
    color: var(--primary);
}

.about-images {
    min-height: 520px;
}

.img-card {
    position: absolute;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 10px solid var(--white);
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img1 {
    width: 300px;
    height: 420px;
    left: 40px;
    top: 0;
    transform: rotate(-8deg);
}

.img2 {
    width: 300px;
    height: 420px;
    left: 220px;
    top: 80px;
    transform: rotate(6deg);
}

/* ============================================================
   PROGRAMS / KEY FEATURES
   ============================================================ */
.programs-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.program-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s, box-shadow 0.35s;
    position: relative;
    z-index: 2;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.program-img {
    height: 220px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.program-card:hover .program-img img {
    transform: scale(1.08);
}

.program-content {
    padding: 22px;
    overflow: visible;
}

.program-content h5 {
    text-align: center;
    width: 95%;
    background: var(--primary);
    color: var(--accent);
    margin: -45px auto 0;
    padding: 10px 30px;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    font-size: 16px;
}

.program-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 20px 0 15px;
}

.program-content hr {
    opacity: 0.2;
}

.program-tags {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.program-tags span {
    border: 1px solid var(--accent);
    background: var(--primary);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.apply-btn {
    display: block;
    text-align: center;
    background: var(--accent);
    color: var(--white);
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose-section {
    background: var(--white);
}

.why-feature {
    background: var(--white);
}

.why-number {
    font-size: 52px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    line-height: 1;
}

.why-feature h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.why-feature p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    transition: var(--ease);
}

.explore-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.explore-link i {
    font-size: 16px;
    transition: var(--ease);
}

.explore-link:hover i {
    transform: translateX(3px);
}

.why-image-wrapper {
    background: url('assets/images/gmic/ClassRoom.png') 210px/cover no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.events-section {
    background: var(--primary);
}

.view-all-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    white-space: nowrap;
    transition: var(--ease);
}

.view-all-link:hover {
    gap: 12px;
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

.event-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--ease);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.event-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    padding: 20px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-xl);
    border: 2px dashed var(--primary);
    transition: var(--ease);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.event-date,
.event-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    align-self: flex-start;
    transition: var(--ease);
    transform: rotate(45deg);
}

.event-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: rotate(0deg);
}

.event-arrow i {
    font-size: 20px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    background: var(--white);
    overflow: visible !important;
}

.faq-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    min-height: 500px;
}

.faq-img-item {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ease);
}

.faq-img-item:hover img {
    transform: scale(1.05);
}

.faq-img-1 {
    grid-area: 1 / 1 / 2 / 2;
}

.faq-img-2 {
    grid-area: 1 / 2 / 3 / 3;
}

.faq-img-3 {
    grid-area: 2 / 1 / 3 / 2;
}

.faq-accordion {
    border: none;
}

.faq-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 20px 0;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
}

.faq-item .accordion-button:not(.collapsed),
.faq-item .accordion-button:focus {
    background: transparent;
    box-shadow: none;
}

.faq-item .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    width: auto;
    height: auto;
    background-size: auto;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: '×';
    transform: none;
    font-size: 36px;
}

.faq-item .accordion-body {
    padding: 0 0 20px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
    position: relative;
    overflow: visible;
}

.newsletter-cta {
    background: var(--primary);
    padding: 0;
}

.newsletter-card {
    background: var(--accent);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    top: -80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.newsletter-image {
    background: url('assets/images/gmic/IMAGES SCHOOL C II.png') center/cover no-repeat;
    height: -webkit-fill-available;
}

.newsletter-content {
    padding: 40px;
}

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: var(--title-lg);
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.newsletter-content .highlight-red {
    color: #c5162a;
}

.newsletter-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: var(--ease);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.btn-subscribe {
    background: #c5162a;
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--ease);
}

.btn-subscribe:hover {
    background: #a01221;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 22, 42, 0.3);
}

.footer-main {
    background: var(--primary);
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -80px;
}

.footer-heading {
    font-family: var(--font-main);
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: var(--ease);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: var(--ease);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 3px;
}

.footer-contact span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   All title sizes now scale via --title-xl / --title-lg variables.
   No need to repeat per-class overrides.
   ============================================================ */
@media (max-width: 1200px) {
    :root {
        --title-xl: 44px;
        --title-lg: 36px;
    }
}

@media (max-width: 992px) {
    :root {
        --title-xl: 38px;
        --title-lg: 32px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-video {
        transform: scale(2.1);
    }

    .hero {
        padding: 80px 0 60px;
    }

    .navbar-collapse {
        background: var(--primary);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: var(--r-md);
        margin-top: 15px;
    }

    .custom-navbar.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
    }

    .navbar-brand {
        transform: translateY(0);
    }

    .navbar-brand img {
        width: 70px;
        height: 70px;
        transform: scale(1)
    }

    .navbar {
        background: var(--white);
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    }

    .main-parent {
        top: -100px;
    }

    .about-images {
        min-height: 450px;
        margin-bottom: 40px;
    }

    .img1 {
        left: 10%;
        width: 240px;
        height: 340px;
    }

    .img2 {
        left: 40%;
        width: 240px;
        height: 340px;
    }

    .faculty-icon {
        width: 100px;
        height: 100px;
    }

    .faq-images-grid {
        min-height: 400px;
        margin-bottom: 40px;
    }

    .why-image-wrapper {
        margin-top: 30px;
    }

    .newsletter-card {
        top: 0;
        margin: 20px;
        border-radius: var(--r-lg);
    }

    .newsletter-content {
        padding: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
        justify-content: center;
    }

    .footer-main {
        padding: 60px 0 30px;
        margin-top: 0;
    }

    .footer-heading {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --title-xl: 30px;
        --title-lg: 26px;
    }

    .hero-wrapper {
        margin: 0;
        border-radius: 0;
    }

    .custom-navbar {
        border-radius: 0;
        inset: 0 0 auto 0;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .btn-apply {
        width: 100%;
        justify-content: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .img1 {
        left: 5%;
        width: 180px;
        height: 260px;
    }

    .img2 {
        left: 40%;
        width: 180px;
        height: 260px;
        top: 60px;
    }

    .about-images {
        min-height: 360px;
    }

    .faq-images-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: 300px;
    }

    .faq-img-1,
    .faq-img-2,
    .faq-img-3 {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }

    .faq-item .accordion-button {
        font-size: 15px;
        padding: 15px 0;
    }

    .event-image {
        height: 220px;
    }

    .event-title {
        font-size: 18px;
    }

    .newsletter-image {
        min-height: 250px;
    }

    .newsletter-content {
        padding: 25px;
    }

    .newsletter-form input {
        padding: 12px 15px;
    }

    .btn-subscribe {
        padding: 12px 20px;
    }

    .footer-heading {
        font-size: 18px;
    }

    .breadcrumb-hero {
        padding-top: 120px !important;
    }

    .why-image-wrapper {
        background: url(assets/images/gmic/ClassRoom.png) center / cover no-repeat;
        background-attachment: fixed;
    }



    section:last-of-type {
        padding-bottom: 0px !important;
    }


}



/* about us page*/

.breadcrumb-hero {
    height: 400px;
    display: flex;
    align-items: center;
    padding-top: 50px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: var(--white);
    padding: 0 8px;
    position: relative;
    top: 5px !important;
}

.breadcrumb-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--ease);
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    padding-left: 0;
}

/* ============================================================
   ABOUT INTRO SECTION
   Uses: .section-title, .section-desc, .section-divider (from style.css)
   ============================================================ */
.about-page-section {
    background: var(--white);
}

.about-header-col {
    padding-right: 40px;
}

/* Left-border separator for description column */
.about-desc-col {
    padding-left: 20px;
    border-left: 1px solid #c5ccdb;
    display: flex;
    align-items: center;
}

.about-top-divider {
    border-top: 1px solid #6d80a7;
    margin: 40px 0 60px;
}

/* About image */
.about-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 80px rgba(26, 49, 101, 0.15);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Stat cards */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stat-card {
    background: var(--primary);
    border-radius: var(--r-md);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateX(6px);
    box-shadow: 0 15px 40px rgba(243, 195, 64, 0.49);
}

/* Decorative circles */
.stat-card::before,
.stat-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.stat-card::before {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
}

.stat-card::after {
    width: 70px;
    height: 70px;
    bottom: -20px;
    left: -20px;
}

.stat-info {
    position: relative;
    z-index: 1;
}

/* .stat-number inherits --title-xl via the variable */
.stat-number {
    font-family: var(--font-display);
    font-size: var(--title-xl);
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-weight: 500;
    color: var(--accent);
    margin-top: 6px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards;
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideLeft 0.7s ease forwards;
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideRight 0.7s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   OUR VISION SECTION
   Uses: .section-title.section-title--light
         .section-desc.section-desc--light
         .dot-pattern.dot-pattern--left
         .card-title, .card-text
   ============================================================ */
.vision-section {
    background: var(--primary);
    padding: 90px 0 140px;
    /* extra bottom for floating icons */
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.vision-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 36px 30px 34px;
    position: relative;
    overflow: visible;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.vision-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transition: width 0.4s ease;
}

.vision-card:hover::after {
    width: 100%;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.vision-icon-wrap {
    width: 90px;
    height: 90px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -80px auto 28px;
    position: relative;
    box-shadow: 0 8px 25px rgba(243, 195, 64, 0.4);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.vision-icon-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(12%) sepia(67%) saturate(4560%) hue-rotate(210deg) brightness(60%) contrast(93%);
    transition: filter 0.35s ease;
}

.vision-card:hover .vision-icon-wrap {
    background: var(--primary);
    box-shadow: 0 8px 25px var(--accent);
}

.vision-card:hover .vision-icon-wrap img {
    filter: brightness(0) invert(1);
}

/* ============================================================
   CAMPUS TOUR SECTION
   Uses: .section-title.section-title--center
         .dot-pattern.dot-pattern--subtle.dot-pattern--right
   ============================================================ */
.campus-tour-section {
    background: var(--white);
    padding: 90px 0 100px;
}

.campus-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto 36px;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(26, 49, 101, 0.18);
    cursor: pointer;
}

.campus-video-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.campus-video-wrapper:hover img {
    transform: scale(1.03);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 49, 101, 0.25);
    transition: background 0.3s ease;
}

.campus-video-wrapper:hover .play-overlay {
    background: rgba(26, 49, 101, 0.38);
}

.play-btn-circle {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-video-wrapper:hover .play-btn-circle {
    transform: scale(1.12);
    box-shadow: 0 12px 40px rgba(243, 195, 64, 0.55);
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 22px solid var(--primary);
    margin-left: 5px;
}

/* Campus body text block uses .section-desc--center from style.css */
.campus-body-text {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.campus-visit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    transition: var(--ease);
}

.campus-visit-link:hover {
    color: var(--accent);
    gap: 13px;
}


/* ============================================================
   FEATURED PROGRAMS SECTION
   Uses: .section-title (from style.css)
         .card-title, .card-text
   ============================================================ */
.featured-programs-section {
    background: var(--white);

}

.programs-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

/* Right side description reuses .section-desc */
.programs-header-right {
    max-width: 400px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Program cards */
.fp-card {
    background: var(--white);
    border: 1px solid #e8eaf0;
    border-radius: var(--r-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.fp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(26, 49, 101, 0.14);
    border-color: transparent;
}

.fp-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.fp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fp-card:hover .fp-card-img img {
    transform: scale(1.07);
}

.fp-img-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.fp-card-body {
    padding: 24px 22px 18px;
    flex: 1;
}

.fp-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-features li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fp-features li::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

/* ============================================================
   RESPONSIVE
   --title-xl and --title-lg scale globally via style.css.
   Only layout-specific overrides needed here.
   ============================================================ */
@media (max-width: 992px) {
    .about-header-col {
        padding-right: 15px;
        margin-bottom: 20px;
    }

    .about-desc-col {
        border-left: none;
        border-top: 1px solid #c5ccdb;
        padding: 20px 0 0;
    }

    .about-img-wrapper {
        height: 380px;
    }

    .vision-section {
        padding-bottom: 120px;
    }

    .vision-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 90px;
    }

    .campus-video-wrapper img {
        height: 340px;
    }



    .programs-header-row {
        flex-direction: column;
    }

    .programs-header-right {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-img-wrapper {
        height: 300px;
    }

    .stat-card {
        padding: 20px;
    }

    .vision-section {
        padding: 60px 0 100px;
    }

    .vision-cards {
        grid-template-columns: 1fr;
        margin-top: 90px;
    }

    .vision-card {
        padding: 28px 22px;
    }

    .campus-tour-section {
        padding: 60px 0;
    }

    .campus-video-wrapper img {
        height: 220px;
    }



    .featured-programs-section {
        padding: 60px 0;
    }
}



/* ============================================================
   CONTACT INFO CARDS SECTION
   ============================================================ */
.contact-info-section {
    background: var(--white);
}

/* Reuse .breadcrumb-hero from about.css — same hero treatment */

.contact-card {
    background: var(--white);
    border: 1px solid #e8eaf0;
    border-radius: var(--r-lg);
    padding: 36px 24px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transition: width 0.4s ease;
}

.contact-card:hover::after {
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(26, 49, 101, 0.13);
    border-color: transparent;
}

/* Icon circle */
.contact-card-icon {
    width: 72px;
    height: 72px;
    background: #eef1f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: background 0.35s ease, color 0.35s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--accent);
    color: var(--primary);
}

/* .card-title used for label — no override needed */

.contact-card-lines {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-card-lines li {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.8;
}

.contact-card-lines a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card-lines a:hover {
    color: var(--primary);
}

/* ============================================================
   GET IN TOUCH + MAP SECTION
   ============================================================ */
.contact-form-section {
    background: var(--white);
}

/* Left column — dark form panel */
.contact-form-panel {
    background: var(--primary);
    border-radius: var(--r-lg);
    padding: 48px 44px;
    height: 100%;
}

/* .section-title--light used for heading — no override needed */

.contact-form-panel .section-desc--light {
    margin-bottom: 32px;
}

/* Form inputs */
.contact-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-md);
    padding: 14px 18px;
    font-size: 14.5px;
    font-family: var(--font-main);
    color: var(--white);
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    resize: none;
}

.contact-field::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-field:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.11);
}

/* Checkbox row */
.contact-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 28px;
}

.contact-check-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}

.contact-check-row label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit button */
.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--r-md);
    padding: 15px 30px;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(243, 195, 64, 0.35);
}

/* Right column — map */
.contact-map-wrapper {
    border-radius: var(--r-lg);
    overflow: hidden;
    height: 100%;
    min-height: 540px;
    box-shadow: 0 20px 55px rgba(26, 49, 101, 0.13);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 540px;
    border: none;
    display: block;
}

/* ============================================================
   RESPONSIVE
   --title-xl / --title-lg scale globally via style.css.
   ============================================================ */
@media (max-width: 992px) {
    .contact-form-panel {
        padding: 36px 28px;
    }

    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        min-height: 420px;
    }

    .contact-social-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-form-panel {
        padding: 28px 20px;
    }

    .contact-card {
        padding: 28px 18px 24px;
    }

    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        min-height: 320px;
    }
}



/* ================= BLOG PAGE ================= */

.blog-section {
    background: var(--white);
}

/* CARD */
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

/* IMAGE */
.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

/* FLOAT CONTENT */
.float-content {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--white);
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    border-top-right-radius: 18px;
    z-index: 2;
}

/* Smooth Curve Shape */
.float-content::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: 0px;
    width: 40px;
    height: 40px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 18px 0 0 var(--white);
    transform: rotate(89deg);
}

/* Category */
.blog-category {
    border: 1px dashed var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* Date */
.blog-date {
    color: #6c757d;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CONTENT */
.blog-content {
    padding: 20px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--primary);
}

.blog-desc {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* READ MORE */
.blog-read {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: .3s;
}

.blog-read:hover {
    color: var(--accent);
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
    .blog-image {
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .blog-image {
        height: 200px;
    }

    .float-content {
        padding: 10px 15px;
        gap: 6px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-desc {
        font-size: 13px;
    }
}


/* today */


/* ============================================================
   CAMPUS LIFE SECTION  (assets/css/campus-life.css)
   Depends on variables in style.css

   BEHAVIOUR:
   - Default : plain white bg, content (title + desc) visible
   - On hover : background image fades in BEHIND content
                content remains fully visible (text flips white)
   ============================================================ */

.campus-life-section {
    background: var(--white);
    overflow: visible !important;
}



/* ── Left column ── */
.campus-life-left {
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: sticky;
    top: 250px !important;
}



/* ── Right column ── */
.campus-life-right {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    padding: 0;
}

/* ============================================================
   CARD  — unified for every row (featured + plain rows)
   ============================================================ */
.cl-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 24px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    /* Default bg is plain white — NO image visible */
    background: var(--white);
}

.cl-card:last-child {
    border-bottom: none;
}

/* Layer 1 — background image (hidden at rest) */
.cl-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.5s ease, transform 0.65s ease;
    z-index: 0;
}

/* Layer 2 — dark scrim so text stays readable over the image (hidden at rest) */
.cl-card-scrim {
    position: absolute;
    inset: 0;
    background: rgba(15, 24, 55, 0.62);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* HOVER — reveal image + scrim */
.cl-card:hover .cl-card-bg {
    opacity: 1;
    transform: scale(1);
}

.cl-card:hover .cl-card-scrim {
    opacity: 1;
}

/* Layer 3 — content (always above image layers) */
.cl-card-body {
    position: relative;
    z-index: 2;
    flex: 1;
}

/* Tag badge — slides down into view on hover */
.cl-card-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.cl-card:hover .cl-card-tag {
    opacity: 1;
    transform: translateY(0);
}

/* Title */
.cl-card-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    /* dark on white bg */
    margin-bottom: 6px;
    line-height: 1.35;
    transition: color 0.35s ease;
}

/* Description */
.cl-card-desc {
    color: var(--text-muted);
    /* muted on white bg */
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
    transition: color 0.35s ease;
}

/* Flip text to white when image is behind */
.cl-card:hover .cl-card-title {
    color: var(--white);
}

.cl-card:hover .cl-card-desc {
    color: rgba(255, 255, 255, 0.82);
}

/* Arrow button */
.cl-card-btn {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid #d1d5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    flex-shrink: 0;
    transition: border-color 0.35s ease, background 0.35s ease,
        color 0.35s ease, transform 0.35s ease;
    transform: rotate(45deg);
}

.cl-card:hover .cl-card-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    transform: rotate(0deg);
}



/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .campus-life-left {
        padding-right: 0;
        margin-bottom: 40px;
    }




}

@media (max-width: 576px) {
    .cl-card {
        padding: 20px 16px;
        gap: 14px;
    }

    .cl-card-title {
        font-size: 16px;
    }


}


/* ============================================================
   STUDENT FEEDBACK SECTION  (assets/css/feedback.css)
   Depends on variables in style.css
   ============================================================ */

.feedback-section {
    background: var(--primary);
    overflow: hidden;
}

/* ── Two-column grid ── */
.feedback-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

/* Nav buttons */
.feedback-nav {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.feedback-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ease);
    flex-shrink: 0;
}

.feedback-nav-btn:hover,
.feedback-nav-btn:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    outline: none;
}

/* ── Slider viewport ── */
.feedback-right {
    overflow: hidden;
    position: relative;
}

.feedback-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── Individual card ── */
.feedback-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 32px 28px 26px;
    /* Each card takes exactly half the track width (2 visible) */
    width: fit-content;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Stars */
.feedback-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 18px;
}

.star-filled {
    color: var(--accent);
}

.star-empty {
    color: #d1d5db;
}

/* Review text */
.feedback-text {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
}

/* Author row */
.feedback-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.feedback-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feedback-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.feedback-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.feedback-role {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Decorative quote mark */
.feedback-quote-icon {
    font-size: 52px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.12;
    font-family: Georgia, serif;
    user-select: none;
    flex-shrink: 0;
    margin-bottom: -8px;
}

/* Dot indicators */
.feedback-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.feedback-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--ease);
}

.feedback-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .feedback-left {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .feedback-card {
        min-width: calc(100% - 0px);
    }
}

@media (max-width: 576px) {
    .feedback-card {
        padding: 24px 20px 20px;
    }

    .feedback-text {
        font-size: 14px;
    }

    .feedback-nav {
        margin-top: 28px;
    }
}