/* 
Theme Name: MCHD
Version: 1.0.0
Description: Custom stylesheet for the MCHD WordPress theme.
*/

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --primary-blue: #0b4c8c;
    --dark-blue: #042444;
    --accent-blue: #0076df;
    --text-dark: #1a1a2e;
    --text-light: #4b5563;
    --bg-light: #f4f8fc;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

/* Button System */
.btn-primary,
.btn-outline,
.btn-accent-action,
.btn-join {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.65rem 1.4rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.2px;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #005cb8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 118, 223, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    transform: translateY(-1px);
}

.btn-accent-action {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-accent-action:hover {
    background-color: var(--dark-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 76, 140, 0.2);
}

.btn-join {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-join:hover {
    background-color: var(--dark-blue);
    transform: translateY(-1px);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.55rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.top-bar-left a:hover {
    opacity: 1;
    color: #cbd5e1;
}

.top-bar-right span {
    opacity: 0.85;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--white);
    opacity: 0.85;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* --- Header / Navigation --- */
.main-header {
    background-color: var(--white);
    padding: 1rem 6%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo,
.footer__brand-logo .site-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    background-color: var(--primary-blue);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 0 0 2px var(--primary-blue);
    flex-shrink: 0;
}

.branding {
    max-width: 320px;
}

.branding h1 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-blue);
    line-height: 1.2;
    font-weight: 700;
}

.branding p {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.45rem 0.7rem;
    align-items: center;
    flex-wrap: nowrap;
}

.main-nav a {
    color: #374151;
    font-size: 0.79rem;
    font-weight: 600;
    padding: 0.2rem 0.15rem;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}


/* Dropdown chevron — injected toggle button, keeps underline ::after free */
.submenu-toggle {
    background: transparent;
    border: none;
    padding: 0 0.3rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    transition: var(--transition);
    line-height: 1;
}

.submenu-toggle i {
    transition: transform 0.25s ease;
    pointer-events: none;
}

/* Desktop: hide toggle button, use CSS hover instead */
@media (min-width: 769px) {
    .submenu-toggle {
        display: none;
    }
}

/* ── Hamburger toggle ─────────────────────────────────────────────────────── */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--dark-blue);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--bg-light);
}

/* ── Navigation list structure ────────────────────────────────────────────── */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.45rem 0.7rem;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

.main-nav li {
    position: relative;
    margin: 0;
}

/* ── Dropdown sub-menu (desktop hover) ────────────────────────────────────── */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid #e5edf5;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(4, 36, 68, 0.12);
    padding: 0.5rem 0;
    z-index: 200;
    flex-direction: column;
    animation: dropdownFade 0.18s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul,
.main-nav li.is-open > ul {
    display: flex;
}

.main-nav li.is-open > a {
    color: var(--primary-blue);
}

.main-nav li.is-open > a::after {
    color: var(--primary-blue);
    transform: translateY(1px);
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    display: block;
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
    color: var(--dark-blue);
    font-size: 0.79rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.main-nav ul ul a::after {
    display: none !important;
}

.main-nav ul ul a:hover,
.main-nav ul ul a:focus {
    background: var(--bg-light);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
    padding-left: 1.5rem;
}

/* Tiny down-arrow hint on parent items so submenus are obvious */
.main-nav li.menu-item-has-children > a {
    padding: 0.12rem 0.08rem 0.12rem 0;
    font-size: 0.72rem;
    line-height: 1.15;
    display: inline-flex;
    align-items: center;
    gap: 0.16rem;
}

.main-nav li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    padding-top: 4px;
    font-weight: 600;
    font-size: 0.68rem;
    margin-left: 0;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.2s ease, color 0.2s ease;
}

.main-nav li.menu-item-has-children:hover > a::after,
.main-nav li.menu-item-has-children:focus-within > a::after {
    color: var(--primary-blue);
    transform: translateY(1px);
}

/* ── Leadership & Faculty — Dedicated card component ─────────────────────── */
.leadership-section {
    padding: 3.5rem 6%;
    background-color: var(--white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.leadership-card {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 76, 140, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(11, 76, 140, 0.1);
}

.leadership-card__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.leadership-card:hover .leadership-card__img {
    transform: scale(1.04);
}

.leadership-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2ecf7 0%, #f0f5f9 100%);
    color: var(--primary-blue);
    font-size: 4rem;
    opacity: 0.4;
}

.leadership-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leadership-card__name {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.leadership-card__designation {
    color: var(--primary-blue);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

.leadership-card__bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.5rem;
}

.leadership-card__bio p {
    margin-bottom: 0.5rem;
}

.leadership-card__bio p:last-child {
    margin-bottom: 0;
}

/* Row-wise leadership card layout */
.leadership-card--row {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 76, 140, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
    align-items: stretch;
}

.leadership-card--row:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(11, 76, 140, 0.1);
}

.leadership-card--row .leadership-card__photo {
    width: 240px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.leadership-card--row .leadership-card__body {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-card--row .leadership-card__name {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.leadership-card--row .leadership-card__designation {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 0.5rem 0;
}

.leadership-card--row .leadership-card__bio {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 0;
}

@media (max-width: 768px) {
    .leadership-card--row {
        flex-direction: column;
    }
    .leadership-card--row .leadership-card__photo {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
    .leadership-card--row .leadership-card__body {
        padding: 1.5rem;
    }
}

.leadership-group-heading {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leadership-group-heading:first-of-type {
    margin-top: 0;
}

/* ── Media Room Section ───────────────────────────────────────────────────── */
.media-room-section {
    padding: 3.5rem 6%;
    background-color: var(--white);
}

.media-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.media-room-card {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 76, 140, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.media-room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(11, 76, 140, 0.1);
}

.media-room-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-room-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.media-room-card:hover .media-room-card__image img {
    transform: scale(1.04);
}

.media-room-card__image--placeholder {
    background: linear-gradient(135deg, #e2ecf7 0%, #f0f5f9 100%);
}

.media-room-card__placeholder-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    opacity: 0.25;
}

.media-room-card__type-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.media-room-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.media-room-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.media-room-card__date {
    font-size: 0.78rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.media-room-card__title {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.media-room-card__title a {
    color: inherit;
    transition: color 0.2s;
}

.media-room-card__title a:hover {
    color: var(--primary-blue);
}

.media-room-card__desc {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-room-card__link {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
}

.media-room-card__link i {
    font-size: 0.72rem;
}

/* Media Room pagination */
.media-room-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.media-room-pagination ul {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.media-room-pagination ul li a,
.media-room-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border: 1px solid #e5edf5;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-blue);
    background: var(--white);
    transition: var(--transition);
}

.media-room-pagination ul li a:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.media-room-pagination ul li .current {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* Media Room / Leadership empty state */
.media-room-empty {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 520px;
    margin: 0 auto;
}

.media-room-empty__icon {
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 1.5rem;
}

.media-room-empty h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.media-room-empty p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}


.hero-section {
    position: relative;
    padding: 4rem 6% 3.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.hero-content h2 span.highlight {
    color: #8ec5fc;
}

.hero-content p {
    font-size: 1rem;
    max-width: 550px;
    margin-bottom: 2.2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-features-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(4, 36, 68, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-item {
    background-color: transparent;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.feature-item:hover {
    background-color: rgba(255,255,255,0.05);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.6rem;
    color: #8ec5fc;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.feature-text p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.slider-dots .dot.active {
    background-color: var(--white);
    width: 20px;
    border-radius: 4px;
}

/* --- Welcome Section --- */
.welcome-section {
    padding: 3rem 6%;
    background-color: var(--white);
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-image-wrapper {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.dots-grid-pattern {
    position: absolute;
    left: -15px;
    bottom: -15px;
    width: 90px;
    height: 170px;
    background-image: radial-gradient(var(--primary-blue) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.4;
    z-index: 1;
}

.profile-img {
    width: 100%;
    max-width: 440px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.welcome-content {
    position: relative;
}

.sub-title {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.85rem;
    display: block;
}

.welcome-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    color: var(--dark-blue);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.heading-divider {
    width: 45px;
    height: 3px;
    background-color: var(--primary-blue);
    margin-bottom: 1.75rem;
}

.welcome-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.bold-highlight {
    color: var(--dark-blue);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* --- Three-Dimensional Approach Section --- */
.approach-section {
    background-color: var(--bg-light);
    padding: 2.5rem 6%;
}

.section-tag {
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.approach-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.approach-card {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(11, 76, 140, 0.03);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(11, 76, 140, 0.08);
}

.card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-blue { background-color: var(--primary-blue); }
.icon-dark-blue { background-color: var(--dark-blue); }
.icon-accent-blue { background-color: var(--accent-blue); }

.approach-card-body h4 {
    font-family: var(--font-body);
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.approach-card-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* --- What We Offer Section --- */
.offer-section {
    padding: 1.75rem 6%;
    background-color: var(--white);
    text-align: center;
}

.about-hero {
    padding: 3.5rem 6%;
    background-color: var(--bg-light);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: center;
}

.about-hero-copy {
    max-width: 620px;
}

.about-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark-blue);
    margin: 1rem 0 1.5rem;
    line-height: 1.05;
}

.about-hero-copy .entry-content {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.about-hero-media {
    display: flex;
    justify-content: center;
}

.about-hero-image {
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(4, 36, 68, 0.08);
}

.about-values {
    padding: 3.5rem 6%;
    background-color: var(--white);
}

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

.about-card {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(11, 76, 140, 0.04);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
}

.about-card h3 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.8;
}

.about-impact {
    padding: 3.5rem 6%;
    background-color: var(--bg-light);
}

.about-impact-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.impact-cards {
    display: grid;
    gap: 1rem;
}

.impact-card {
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: 14px;
    padding: 1.75rem;
}

.impact-card h3 {
    color: var(--dark-blue);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.impact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.programs-hero {
    padding: 3.5rem 6%;
    background-color: var(--bg-light);
}

.programs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr);
    gap: 2rem;
}

.programs-hero-copy {
    /*max-width: 760px;*/
    margin: 0 auto;
    text-align: center;
}

.programs-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-blue);
    margin: 1rem 0 1.25rem;
    line-height: 1.05;
}

.programs-list {
    padding: 2.5rem 6%;
    background-color: var(--white);
}

.programs-list .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(11, 76, 140, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-4px);
}

.program-card-media {
    min-height: 220px;
    overflow: hidden;
}

.program-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.program-card-body h3 {
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin: 0;
}

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

.program-card-body .btn-outline {
    margin-top: auto;
    align-self: flex-start;
}

.program-card.no-programs {
    grid-column: span 3;
    padding: 2rem;
    text-align: center;
}

.programs-join.btn-container {
    text-align: center;
    margin-top: 3rem;
}

.offer-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    max-width: 720px;
    margin: 0 auto 1.2rem;
}

.offer-section .section-logo {
    max-height: 70px;
    width: auto;
    display: block;
}

.offer-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.offer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid #e8eef4;
    border-radius: 6px;
    overflow: hidden;
}

.offer-column {
    position: relative;
    padding: 2rem 1rem;
    text-align: center;
    border-right: 1px solid #e8eef4;
    transition: var(--transition);
}

.offer-column:last-child {
    border-right: none;
}

.offer-column:hover {
    background-color: #f4f8fc;
}

.offer-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.offer-column:hover .offer-icon-wrap {
    background-color: var(--accent-blue);
}

.offer-icon-wrap i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: var(--transition);
}

.offer-column:hover .offer-icon-wrap i {
    color: var(--white);
}

.offer-column h4 {
    color: var(--dark-blue);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-column p {
    color: var(--text-light);
    font-size: 0.79rem;
    line-height: 1.55;
    margin: 0;
}

/* --- Metrics & Trust Bar --- */
.metrics-trust-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 2rem 6%;
}

.metrics-trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.metric-icon {
    font-size: 1.8rem;
    color: #8ec5fc;
    opacity: 0.9;
    flex-shrink: 0;
}

.metric-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.metric-info p {
    font-size: 0.8rem;
    color: #9cb1c9;
    margin-top: 2px;
    line-height: 1.3;
}

.trust-showcase {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-label {
    font-size: 0.78rem;
    color: #9cb1c9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.partner-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    color: var(--white);
}

.partner-logo-badge .logo-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.iim-calcutta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.iim-calcutta .logo-circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #8ec5fc;
}

.ntpc .logo-text {
    font-size: 0.62rem;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.2px;
}

.powergrid .logo-text {
    font-style: italic;
    font-weight: 800;
    letter-spacing: 1px;
}

.springer-nature .logo-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* --- The Visionary Section --- */
.visionary-section {
    padding: 0;
    background-color: var(--white);
    overflow: hidden;
}

.visionary-inner {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 480px;
}

.visionary-text {
    background-color: #f0f5f9;
    padding: 3rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.visionary-text .section-tag {
    text-align: left;
    margin-bottom: 0.75rem;
}

.visionary-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: var(--dark-blue);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0;
}

.visionary-text .heading-divider {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.visionary-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.75;
    max-width: 480px;
}

.visionary-media {
    position: relative;
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 20px;
}

.visionary-media img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.timeline-container {
    position: relative;
    padding: 2.5rem 6%;
    background-color: var(--white);
    max-width: 100%;
}

.timeline-container .container {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 25px; /* Center with timeline nodes */
    left: 0;
    right: 0;
    height: 2px;
    background-image: linear-gradient(to right, transparent, rgba(11, 76, 140, 0.18) 5%, rgba(11, 76, 140, 0.18) 95%, transparent);
    z-index: 1;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-item {
    text-align: center;
}

.timeline-node {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 1px var(--primary-blue);
    transition: var(--transition);
}

.timeline-item:hover .timeline-node {
    background-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue), 0 4px 12px rgba(0, 118, 223, 0.2);
    transform: scale(1.05);
}

.timeline-item strong {
    display: block;
    font-size: 1.15rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
    padding: 0 0.5rem;
}

/* --- Testimonials Section --- */
.testimonial-section {
    background-color: var(--bg-light);
    padding: 3rem 6%;
}

.testimonial-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 76, 140, 0.25);
    transition: var(--transition);
    flex-shrink: 0;
    outline: none;
}

.carousel-nav-btn:hover {
    background-color: var(--dark-blue);
    box-shadow: 0 8px 20px rgba(4, 36, 68, 0.3);
    transform: scale(1.05);
}

.testimonial-shell {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    width: 100%;
}

.testimonial {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(12, 38, 71, 0.04);
    text-align: left;
    position: relative;
    flex: 0 0 calc(33.333% - 1rem);
    box-sizing: border-box;
}

.quote-mark {
    font-size: 2.5rem;
    color: var(--primary-blue);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial__quote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--dark-blue);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-meta .line-divider {
    width: 35px;
    height: 2px;
    background-color: var(--primary-blue);
}

.testimonial-meta strong {
    font-size: 0.82rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 2rem;
}

.testimonial-controls .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.testimonial-controls .dot.active {
    background-color: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

/* --- Split CTA Section --- */
.split-cta-section {
    padding: 1.5rem 0 1rem;
    background-color: var(--white);
}

.split-cta-container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(4, 36, 68, 0.08);
}

.cta-image {
    min-height: 380px;
}

.cta-content-card {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.cta-content-card p {
    font-size: 0.95rem;
    color: #9cb1c9;
    margin-bottom: 2.2rem;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
}

/* --- Contact Section --- */
.contact-section {
    padding: 1rem 6% 1.25rem;
    background-color: var(--bg-light);
}

.contact-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-copy .section-tag {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: var(--dark-blue);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-copy .heading-divider {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.contact-copy .section-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
    line-height: 1.65;
    max-width: 620px;
}

.contact-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(12, 38, 71, 0.04);
}

.contact-card.contact-form-card {
    max-width: 380px;
    margin-left: auto;
    width: 100%;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    border: 1px solid #dbe4ee;
    border-radius: 6px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text-dark);
    background: #f8fbff;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(31, 79, 139, 0.12);
}

.contact-form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-card .wpcf7-submit,
.contact-form-card .btn-primary {
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    width: fit-content;
}

.contact-form-card .wpcf7-response-output {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.contact-detail-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.contact-detail-item a {
    color: inherit;
}

.contact-detail-item a:hover {
    color: var(--primary-blue);
}

.contact-services-list {
    list-style: none;
    border-top: 1px solid #edf2f7;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-services-list li {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-services-list li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: 700;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-blue);
    color: rgba(255,255,255,0.8);
    padding: 2.5rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1fr 1.1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer__brand-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer__branding-link {
    display: inline-block;
    text-decoration: none;
}

.footer__branding-link h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}

.footer__branding-link .tagline {
    font-size: 0.65rem;
    color: #9cb1c9;
    margin-top: 2px;
}

.footer__brand-copy {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer__socials {
    display: flex;
    gap: 0.85rem;
}

.footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__socials a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

.footer__title {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list li {
    font-size: 0.88rem;
}

.footer-list a {
    color: rgba(255,255,255,0.75);
}

.footer-list a:hover {
    color: var(--white);
    padding-left: 3px;
}

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer__contact-item i {
    color: #8ec5fc;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.footer__contact-item p {
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
}

.footer__contact-item a {
    color: inherit;
}

.footer__contact-item a:hover {
    color: var(--white);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__legal a {
    color: rgba(255,255,255,0.65);
}

.footer__legal a:hover {
    color: var(--white);
}

.footer__legal .divider {
    color: rgba(255,255,255,0.2);
}

/* --- Mobile Menu and Responsive Style Overrides --- */

@media (max-width: 1180px) {
    .metrics-trust-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .trust-showcase {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-left: 0;
        padding-top: 1.5rem;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-features-panel {
        max-width: 500px;
    }
    .welcome-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .welcome-image-wrapper {
        margin: 0 auto;
        padding-left: 0;
        display: flex;
        justify-content: center;
    }
    .dots-grid-pattern {
        display: none;
    }
    .approach-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .visionary-inner {
        grid-template-columns: 1fr;
    }
    .visionary-text {
        padding: 3rem 6%;
    }
    .visionary-media {
        max-width: 100%;
        min-height: 320px;
    }
    .testimonial {
        flex: 0 0 calc(50% - 0.75rem);
    }
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .timeline-line {
        display: none;
    }
    .timeline-node {
        border-color: #f7fafc;
        box-shadow: none;
    }
    .split-cta-container {
        grid-template-columns: 1fr;
    }
    .cta-image {
        min-height: 280px;
    }
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .contact-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    /* ── Hamburger nav ──────────────────────────────────────── */
    .nav-toggle {
        display: flex;
        order: 2;
    }

    .main-header .container {
        position: relative;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.07);
        padding: 1rem 6% 1.5rem;
        display: none;
        border-top: 1px solid #edf2f7;
        z-index: 150;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .main-nav li {
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav > ul > li > a {
        display: block;
        flex: 1;
        padding: 0.8rem 0;
        font-size: 0.92rem;
    }

    /* Mobile sub-menu accordion */
    .submenu-toggle {
        display: inline-flex;
        padding: 0.6rem 0.8rem;
        color: var(--primary-blue);
    }

    .main-nav ul ul {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-light);
        padding: 0.25rem 0 0.5rem 1rem;
        width: 100%;
        animation: none;
        flex-direction: column;
    }

    .main-nav ul ul.submenu-open {
        display: flex;
    }

    /* Override desktop hover-open on mobile */
    .main-nav li:hover > ul,
    .main-nav li:focus-within > ul {
        display: none;
    }

    .main-nav li:hover > ul.submenu-open,
    .main-nav ul ul.submenu-open {
        display: flex;
    }

    .main-nav ul ul a {
        padding: 0.6rem 0.75rem;
        font-size: 0.88rem;
        border-left: none;
        white-space: normal;
    }

    .main-nav ul ul a:hover {
        padding-left: 1rem;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-container {
        gap: 0.75rem;
    }

    .btn-join {
        display: none;
    }

    /* ── Hero ──────────────────────────────────────────────── */
    .hero-section {
        padding: 4rem 6% 3.5rem;
    }

    /* ── Grids ─────────────────────────────────────────────── */
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-media {
        order: -1;
    }

    .about-impact-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .media-room-grid {
        grid-template-columns: 1fr;
    }

    /* ── Testimonials ───────────────────────────────────────── */
    .testimonial {
        flex: 0 0 100%;
        padding: 2rem 1.5rem;
    }

    .testimonial-carousel-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .testimonial-shell {
        width: 100%;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* ── Footer ─────────────────────────────────────────────── */
    .site-footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .site-logo,
    .footer__brand-logo .site-logo {
        max-height: 80px;
    }

    /* ── Programs page ──────────────────────────────────────── */
    .program-card.no-programs {
        grid-column: span 1;
    }

    /* ── SKC hero ───────────────────────────────────────────── */
    .skc-hero-inner {
        grid-template-columns: 1fr;
    }

    .skc-hero-media {
        order: -1;
    }

    .skc-hero-media .profile-img {
        max-width: 280px;
    }

    /* ── Misc ───────────────────────────────────────────────── */
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .split-cta-container {
        grid-template-columns: 1fr;
    }

    .cta-image {
        min-height: 240px;
    }

    .cta-content-card {
        padding: 2.5rem 2rem;
    }

    .media-room-pagination ul li a,
    .media-room-pagination ul li span {
        min-width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }
}

@media (max-width: 580px) {
    .offer-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-logos {
        gap: 1rem;
    }

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .cta-buttons,
    .contact-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }

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

    .media-room-grid {
        grid-template-columns: 1fr;
    }

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

    .branding h1 {
        font-size: 0.88rem;
    }

    .branding p {
        font-size: 0.6rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }
}

/* ============================================================
   Professor S. K. Chakraborty — Page Template
   ============================================================ */

/* Hero */
.skc-hero-section {
    background: linear-gradient(135deg, #f0f5f9 60%, #e2ecf7 100%);
    padding: 4rem 6%;
    overflow: hidden;
}

.skc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.skc-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skc-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--dark-blue);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.skc-hero-content .heading-divider {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.skc-hero-content p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.8;
    max-width: 520px;
}

.skc-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skc-hero-media .profile-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(4, 36, 68, 0.15);
    position: relative;
    z-index: 2;
}

.skc-hero-media .dots-grid-pattern {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 140px;
    height: 140px;
    z-index: 1;
}

/* Page content */
.skc-content-section {
    padding: 3rem 6%;
    background-color: var(--white);
}

.skc-content-inner {
    max-width: 860px;
    margin: 0 auto;
}

.skc-content-inner .entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
}

/* Timeline section on SKC page */
.skc-timeline-section {
    padding: 3.5rem 6%;
    background-color: var(--bg-light);
}

/* Contributions section on SKC page */
.skc-contributions-section {
    padding: 3.5rem 6%;
    background-color: var(--white);
}

/* Responsive: SKC hero */
@media (max-width: 768px) {
    .skc-hero-inner {
        grid-template-columns: 1fr;
    }

    .skc-hero-media {
        order: -1;
    }

    .skc-hero-media .profile-img {
        max-width: 280px;
    }
}
