/* TERI ESG Academy - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #2c3e50;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, #eaf3fc 0%, #e8f5f0 55%, #fef5e4 100%);
    box-shadow: 0 4px 24px rgba(26, 82, 118, 0.10);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    overflow: hidden;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a5276 0%, #117a65 50%, #f39c12 100%);
}

.header-deco-svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 72%;
    height: 100%;
    pointer-events: none;
    opacity: 0.22;
}

.site-header .logo img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    line-height: 1.3;
    border-left: 3px solid #1a5276;
    padding-left: 16px;
}

.logo-text .title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a5276;
    letter-spacing: 0.2px;
}

.logo-text .subtitle {
    font-size: 0.72rem;
    color: #888;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Social Icons */
.header-social {
    gap: 6px !important;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(26, 82, 118, 0.18);
    color: #1a5276;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.social-btn:hover {
    background: linear-gradient(135deg, #1a5276, #117a65);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(26, 82, 118, 0.32);
}

/* ===== Navbar ===== */
.main-navbar {
    background-color: #1a5276;
}

.main-navbar .navbar-nav {
    gap: 2px;
}

.main-navbar .nav-item {
    position: relative;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.94rem;
    font-weight: 500;
    padding: 8px 18px !important;
    letter-spacing: 0.3px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin: 4px 2px;
}

.main-navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.13);
    color: #ffffff !important;
}

.main-navbar .nav-link.active {
    background-color: rgba(243, 156, 18, 0.22);
    color: #f8c45a !important;
}

/* Hover dropdown — desktop only */
@media (min-width: 992px) {
    .main-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        animation: fadeSlideDown 0.17s ease forwards;
    }
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
    padding: 8px;
    min-width: 210px;
    border-top: 3px solid #f39c12;
}

.main-navbar .dropdown-item {
    font-size: 0.875rem;
    color: #2c3e50;
    padding: 9px 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
}

.main-navbar .dropdown-item:hover {
    background-color: #eaf2f8;
    color: #1a5276;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    filter: invert(1);
}

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

/* ===== Hero Banner ===== */
.hero-banner {
    width: 100%;
    line-height: 0;
}

.hero-banner .hero-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Section Common ===== */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f39c12;
    margin-bottom: 8px;
    display: block;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a5276;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 16px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: #f39c12;
    border-radius: 2px;
}

.section-heading.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== About Section ===== */
.about-section {
    padding: 55px 0;
    background-color: #f8f9fa;
}

.about-section .about-text {
    font-size: 0.955rem;
    line-height: 1.9;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.about-section .strategic-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a5276;
    margin-bottom: 12px;
    margin-top: 8px;
}

.about-section .strategic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-section .strategic-list li {
    position: relative;
    padding: 8px 8px 8px 28px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: #4a4a4a;
    line-height: 1.65;
    background-color: rgba(26,82,118,0.04);
    border-radius: 4px;
    border-left: 3px solid #f39c12;
}

.about-section .strategic-list li::before {
    content: '▸';
    position: absolute;
    left: 9px;
    color: #f39c12;
    font-size: 0.8rem;
    top: 10px;
}

.about-image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.about-image-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-image-card .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,82,118,0.95) 0%, transparent 100%);
    color: #fff;
    padding: 36px 22px 20px;
    font-size: 0.87rem;
    text-align: center;
    font-weight: 500;
}

.about-badge {
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* ===== Services Section ===== */
.services-section {
    padding: 55px 0;
    background-color: #ffffff;
}

/* Service Card */
.service-card {
    border: 1px solid #e5edf5;
    border-radius: 14px;
    padding: 34px 28px 30px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-card.card-green  { background: linear-gradient(150deg, #ffffff 55%, #edfaf1 100%); }
.service-card.card-blue   { background: linear-gradient(150deg, #ffffff 55%, #eaf3fc 100%); }
.service-card.card-amber  { background: linear-gradient(150deg, #ffffff 55%, #fdf5e6 100%); }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(26,82,118,0.11);
}

/* Decorative big faded number */
.card-deco-num {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 5.5rem;
    font-weight: 800;
    color: rgba(26,82,118,0.055);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -3px;
}

.service-card.card-green  .card-deco-num { color: rgba(30,132,73,0.07); }
.service-card.card-amber  .card-deco-num { color: rgba(230,126,34,0.07); }

.service-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-wrap.green { background: linear-gradient(135deg, #d4edda, #a9d9b4); }
.service-icon-wrap.blue  { background: linear-gradient(135deg, #cce5ff, #99c9f5); }
.service-icon-wrap.amber { background: linear-gradient(135deg, #ffeeba, #fcd271); }

.service-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a5276;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    font-size: 0.9rem;
    color: #5a6a7a;
    line-height: 1.8;
    margin: 0;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #1a5276;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: gap 0.2s, color 0.2s;
}

.service-card .learn-more:hover {
    color: #f39c12;
    gap: 10px;
}

/* ===== Modal Styles ===== */
.service-modal {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.service-modal-header {
    background: linear-gradient(135deg, #1a5276, #117a65);
}

.service-modal-header.modal-header-blue {
    background: linear-gradient(135deg, #154360, #1a5276);
}

.service-modal-header.modal-header-amber {
    background: linear-gradient(135deg, #b7770d, #e67e22);
    padding: 22px 28px;
    border: none;
    border-radius: 0;
}

.modal-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 3px;
}

.service-modal-header .modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.modal-intro {
    padding: 20px 28px 16px;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.75;
    background-color: #f8fafc;
    border-bottom: 1px solid #e8eef4;
}

.modal-activities {
    padding: 8px 0;
}

.activity-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border-bottom: 1px solid #f0f4f8;
    transition: background-color 0.15s;
}

.activity-row:hover {
    background-color: #f8fafc;
}

.activity-row.last {
    border-bottom: none;
}

.activity-area {
    padding: 16px 20px 16px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a3550;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-right: 1px solid #f0f4f8;
    line-height: 1.5;
}

.area-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.activity-desc {
    padding: 16px 24px 16px 20px;
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.75;
}

.service-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
    gap: 10px;
}

.btn-modal-close {
    background: transparent;
    border: 1.5px solid #c5cfe0;
    color: #5a6a7a;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
}

.btn-modal-close:hover {
    background-color: #e8eef4;
    color: #1a5276;
}

.btn-modal-enquire {
    background: linear-gradient(135deg, #1a5276, #117a65);
    border: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-modal-enquire:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff;
}

/* ===== Certificate Programs Section ===== */
.cert-section {
    padding: 55px 0;
    background-color: #f0f4f8;
}

.cert-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2eaf2;
    border-left: 4px solid transparent;
    padding: 24px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #eaf3fc 0%, #f0f9f4 100%);
    border-left-color: #1a5276;
    box-shadow: 0 12px 32px rgba(26, 82, 118, 0.12);
}

.cert-card:hover .cert-icon {
    background: #1a5276;
}

.cert-card:hover .cert-icon svg * {
    stroke: #ffffff;
}

.cert-icon {
    width: 46px;
    height: 46px;
    background: #eaf2fb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon svg {
    width: 22px;
    height: 22px;
}

.cert-body {
    flex: 1;
}

.cert-body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a3550;
    margin-bottom: 10px;
    line-height: 1.45;
}

.cert-audience {
    font-size: 0.82rem;
    color: #5a6a7a;
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.audience-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background-color: #1a5276;
    padding: 2px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ===== Quotes Slider ===== */
.quotes-section {
    padding: 55px 0;
    background: linear-gradient(135deg, #1a5276 0%, #117a65 100%);
}

.quotes-section .section-eyebrow {
    color: rgba(255,255,255,0.65);
}

.quotes-section .section-heading {
    color: #ffffff;
}

.quotes-section .section-heading::after {
    background-color: #f39c12;
    left: 50%;
    transform: translateX(-50%);
}

.quotes-carousel {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.quote-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 28px 44px 26px;
    text-align: center;
    backdrop-filter: blur(4px);
    position: relative;
}

.quote-mark {
    font-size: 5rem;
    line-height: 0.6;
    color: #f39c12;
    font-family: Georgia, serif;
  
    display: block;
    opacity: 0.85;
}

.quote-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 400;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.quote-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
}

.quote-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quote-info {
    text-align: left;
}

.quote-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.quote-role {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* Indicators */
.quotes-indicators {
    bottom: 8px;
}

.quotes-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.35);
    border: none;
    transition: background-color 0.2s, width 0.2s;
}

.quotes-indicators button.active {
    background-color: #f39c12;
    width: 24px;
    border-radius: 4px;
}

/* Prev / Next buttons */
.quotes-prev,
.quotes-next {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 42%;
    transition: background 0.2s;
}

.quotes-prev { left: -10px; }
.quotes-next { right: -10px; }

.quotes-prev:hover,
.quotes-next:hover {
    background: rgba(255,255,255,0.22);
}

@media (max-width: 768px) {
    .quote-card { padding: 28px 22px 26px; }
    .quote-text { font-size: 0.92rem; }
    .quotes-prev { left: 0; }
    .quotes-next { right: 0; }
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, #1a5276 0%, #117a65 100%);
    padding: 52px 0 44px;
}

.page-hero-inner {
    max-width: 680px;
}

.page-hero .section-eyebrow {
    color: rgba(255,255,255,0.7);
}

.page-hero-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 6px 0 12px;
    letter-spacing: 0.3px;
}

.page-hero-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin: 0;
}

/* ===== Resources Tab Section ===== */
.resources-section {
    padding: 55px 0 70px;
    background: #f8f9fa;
}

.res-tabs-wrap {
    margin-bottom: 0;
}

.res-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid #dde5ef;
    padding-bottom: 0;
    margin-bottom: 0;
}

.res-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7a8d;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    letter-spacing: 0.2px;
    outline: none;
}

.res-tab-btn .tab-icon {
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.res-tab-btn:hover {
    color: #1a5276;
    background: rgba(26,82,118,0.05);
}

.res-tab-btn:hover .tab-icon {
    opacity: 1;
}

.res-tab-btn.active {
    color: #1a5276;
    border-bottom-color: #1a5276;
    background: rgba(26,82,118,0.06);
}

.res-tab-btn.active .tab-icon {
    opacity: 1;
}

.res-tab-content {
    background: #ffffff;
    border: 1px solid #dde5ef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    min-height: 320px;
    padding: 36px 32px;
}

/* Tab inner content */
.tab-content-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tab-text-block p {
    font-size: 0.93rem;
    color: #4a5568;
    line-height: 1.85;
    margin-bottom: 14px;
}

.tab-text-block p:last-child { margin-bottom: 0; }

.tab-text-block strong {
    color: #1a3550;
    font-weight: 600;
}

.supported-by {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 16px;
    background: #eaf3fc;
    border-left: 3px solid #1a5276;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
}

.supported-label {
    font-weight: 700;
    color: #1a5276;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.72rem;
}

.supported-names {
    color: #2c3e50;
    font-weight: 600;
}

.supported-collab {
    color: #6b7a8d;
    font-style: italic;
}

/* Gallery */
.gallery-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3;
}

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

.gallery-img-wrap:hover img {
    transform: scale(1.04);
}

/* Single tab image — natural size, no crop */
.tab-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.tab-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.tab-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #aab4c0;
    gap: 14px;
}

.tab-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ===== Vision & Mission ===== */
.vm-section {
    padding: 70px 0 80px;
    background: #f8f9fa;
}

.vm-card {
    border-radius: 16px;
    padding: 44px 38px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.vm-vision {
    background: linear-gradient(145deg, #1a5276 0%, #117a65 100%);
}

.vm-mission {
    background: linear-gradient(145deg, #154360 0%, #1a5276 100%);
}

.vm-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.vm-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.vm-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.3;
}

.vm-text {
    font-size: 0.97rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Decorative circle */
.vm-deco {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

@media (max-width: 768px) {
    .vm-card { padding: 30px 24px; }
    .vm-title { font-size: 1.35rem; }
    .vm-section { padding: 46px 0 55px; }
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 60px 0 70px;
    background: #f8f9fa;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 36px 30px;
    box-shadow: 0 4px 20px rgba(26,82,118,0.08);
    border: 1px solid #e5edf5;
    height: 100%;
}

.contact-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf2fb;
    color: #1a5276;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f39c12;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 0.9rem;
    color: #3a4a5a;
    line-height: 1.75;
}

.contact-value a {
    color: #1a5276;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: #f39c12;
}

.contact-divider {
    height: 1px;
    background: #eef2f7;
    margin: 24px 0;
}

.contact-map-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26,82,118,0.08);
    border: 1px solid #e5edf5;
    height: 100%;
    min-height: 400px;
}

.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 768px) {
    .contact-info-card { padding: 26px 22px; }
    .contact-map-wrap { min-height: 300px; margin-top: 8px; }
    .contact-map-wrap iframe { min-height: 300px; }
}

/* ===== Team Page ===== */
.team-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

/* Leadership top row — 2 centered cards */
.team-leadership-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.team-leadership-row .team-card {
    width: 300px;
    flex-shrink: 0;
}

/* Heading above member grid */
.team-members-heading {
    margin-bottom: 28px;
    padding-top: 48px;
    border-top: 2px solid #e2eaf2;
    margin-top: 8px;
}

.team-members-heading .section-heading {
    font-size: 1.45rem;
    margin-bottom: 0;
    padding-bottom: 14px;
}

/* Bottom row — flex, 300px cards */
.team-members-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.team-members-row .team-card {
    width: 300px;
    flex-shrink: 0;
}

/* Card base */
.team-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2eaf2;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 18px rgba(26,82,118,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(26,82,118,0.13);
}

/* Photo area */
.team-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #d4e6f1 0%, #d5f5e3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Initials fallback avatar */
.team-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a5276;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #d4e6f1 0%, #d5f5e3 100%);
    opacity: 0.7;
}

/* Card body */
.team-card-body {
    padding: 22px 20px 26px;
}

.team-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3550;
    margin-bottom: 8px;
    line-height: 1.4;
}

.team-designation {
    font-size: 0.82rem;
    color: #6b7a8d;
    line-height: 1.6;
    margin: 0;
}

.team-card-lead .team-name {
    font-size: 1.08rem;
}

@media (max-width: 768px) {
    .team-leadership-row .team-card { width: 260px; }
    .team-card-body { padding: 18px 16px 22px; }
}

@media (max-width: 480px) {
    .team-leadership-row { gap: 18px; }
    .team-leadership-row .team-card { width: 100%; }
}

/* ===== Events List Page ===== */
.events-section {
    padding: 60px 0 70px;
    background: #f8f9fa;
}

.event-card-row {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.event-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2eaf2;
    overflow: hidden;
    display: grid;
    grid-template-columns: 340px 1fr;
    box-shadow: 0 4px 18px rgba(26,82,118,0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.event-card:hover {
    box-shadow: 0 10px 36px rgba(26,82,118,0.13);
    transform: translateY(-3px);
}

.event-card-img {
    position: relative;
    overflow: hidden;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.event-card:hover .event-card-img img {
    transform: scale(1.04);
}

.event-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f39c12;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.event-card-body {
    padding: 20px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 16px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #6b7a8d;
    font-weight: 500;
}

.event-meta-item svg {
    color: #1a5276;
    flex-shrink: 0;
}

.event-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #1a3550;
    line-height: 1.45;
    margin-bottom: 14px;
}

.event-card-excerpt {
    font-size: 0.9rem;
    color: #5a6a7a;
    line-height: 1.8;
    margin-bottom: 22px;
}

.btn-event-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a5276, #117a65);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-event-read-more:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #ffffff;
}

@media (max-width: 900px) {
    .event-card {
        grid-template-columns: 1fr;
    }
    .event-card-img {
        height: 240px;
    }
    .event-card-body {
        padding: 24px 26px;
    }
}

@media (max-width: 480px) {
    .event-card-img { height: 200px; }
    .event-card-body { padding: 20px 18px; }
    .event-card-title { font-size: 1rem; }
}

/* ===== Event Detail Page ===== */
.event-detail-hero .page-hero-inner {
    max-width: 820px;
}

.event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
}

.event-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.event-hero-meta-item svg {
    opacity: 0.75;
}

.event-detail-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.event-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: flex-start;
}

/* Feature image */
.event-feature-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 6px 24px rgba(26,82,118,0.1);
}

.event-feature-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article body */
.event-article p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 18px;
}

.event-article p:last-child { margin-bottom: 0; }

.event-article strong {
    color: #1a3550;
    font-weight: 600;
}

/* Partners bar */
.event-partners-bar {
    background: #eaf3fc;
    border-left: 3px solid #1a5276;
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 24px 0;
}

.partners-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a5276;
    display: block;
    margin-bottom: 12px;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-chip {
    background: #ffffff;
    border: 1px solid #cce0f0;
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.partner-role {
    font-size: 0.67rem;
    color: #7a8da0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a3550;
}

/* Event subheading */
.event-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a5276;
    margin: 32px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2eaf2;
}

/* Speaker blocks */
.speaker-block {
    padding: 18px 20px;
    border-left: 3px solid #e2eaf2;
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    transition: border-color 0.2s;
}

.speaker-block:hover {
    border-left-color: #1a5276;
}

.speaker-block.last { margin-bottom: 0; }

.speaker-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.speaker-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a3550;
}

.speaker-title {
    font-size: 0.78rem;
    color: #7a8da0;
    font-weight: 500;
}

.speaker-block p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
}

/* Focus areas grid */
.event-focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 28px;
}

.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #3a4a5a;
    font-weight: 500;
    background: #f0f7ff;
    border-radius: 8px;
    padding: 12px 14px;
    line-height: 1.5;
}

.focus-item svg {
    color: #1a5276;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Event links bar */
.event-links-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid #e2eaf2;
}

.event-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a5276, #117a65);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.event-link-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #ffffff;
}

.event-link-btn-outline {
    background: transparent;
    border: 1.5px solid #1a5276;
    color: #1a5276;
}

.event-link-btn-outline:hover {
    background: #1a5276;
    color: #ffffff;
    opacity: 1;
}

/* Natural (no-crop) event image */
.event-img-natural {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.event-img-natural img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Event photo gallery (detail page) */
.event-photo-gallery {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 2px solid #e2eaf2;
}

.event-closing {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.9;
    font-style: italic;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eaf3fc, #f0f9f4);
    border-radius: 10px;
    margin-top: 28px;
    border-left: 3px solid #117a65;
}

/* Sidebar */
.sidebar-card {
    background: #ffffff;
    border: 1px solid #e2eaf2;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 3px 14px rgba(26,82,118,0.06);
    margin-bottom: 20px;
}

.sidebar-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #1a5276;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2f7;
}

.sidebar-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4f8;
}

.sidebar-detail-row.last { border-bottom: none; }

.sidebar-detail-row > svg {
    color: #1a5276;
    flex-shrink: 0;
    margin-top: 3px;
}

.sidebar-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9aaabb;
    margin-bottom: 3px;
}

.sidebar-detail-value {
    font-size: 0.88rem;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

/* Sidebar partners */
.sidebar-partner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
}

.sidebar-partner-row.last { border-bottom: none; }

.sidebar-partner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-partner-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a3550;
}

.sidebar-partner-role {
    font-size: 0.75rem;
    color: #7a8da0;
    margin-top: 1px;
}

/* Documents Tab */
.event-docs-section {
    margin-top: 44px;
    border-top: 2px solid #e2eaf2;
    padding-top: 32px;
}

.event-doc-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #dde5ef;
    margin-bottom: 0;
}

.event-doc-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7a8d;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    outline: none;
}

.event-doc-tab-btn:hover {
    color: #1a5276;
    background: rgba(26,82,118,0.05);
}

.event-doc-tab-btn.active {
    color: #1a5276;
    border-bottom-color: #1a5276;
    background: rgba(26,82,118,0.06);
}

.event-doc-tab-content {
    background: #ffffff;
    border: 1px solid #dde5ef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 24px 26px;
}

.doc-file-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2eaf2;
    border-radius: 10px;
}

.doc-file-icon {
    width: 52px;
    height: 52px;
    background: #e8f1fb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5276;
    flex-shrink: 0;
}

.doc-file-info {
    flex: 1;
}

.doc-file-name {
    font-size: 0.94rem;
    font-weight: 700;
    color: #1a3550;
    margin-bottom: 4px;
}

.doc-file-meta {
    font-size: 0.78rem;
    color: #7a8da0;
}

.btn-doc-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #1a5276, #117a65);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.btn-doc-download:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #ffffff;
}

@media (max-width: 480px) {
    .doc-file-card { flex-wrap: wrap; }
    .btn-doc-download { width: 100%; justify-content: center; }
}

/* Back button */
.btn-back-events {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a5276;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 11px 18px;
    border: 1.5px solid #c5d8ec;
    border-radius: 8px;
    background: #ffffff;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-back-events:hover {
    background: #1a5276;
    color: #ffffff;
    border-color: #1a5276;
}

@media (max-width: 991px) {
    .event-detail-layout {
        grid-template-columns: 1fr;
    }
    .event-detail-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        align-items: flex-start;
    }
    .btn-back-events { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .event-detail-sidebar {
        grid-template-columns: 1fr;
    }
    .event-focus-grid {
        grid-template-columns: 1fr;
    }
    .partners-list { flex-direction: column; }
}

/* ===== Lightbox ===== */
.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.img-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.28s ease;
}

.img-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== Footer ===== */
.site-footer {
    background-color: #1a2b3c;
    color: rgba(255,255,255,0.6);
    padding: 22px 0;
    font-size: 0.84rem;
    text-align: center;
}

.site-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover { color: #f39c12; }

/* ===== Responsive ===== */

/* Tablet / Mobile */
@media (max-width: 991px) {
    .main-navbar .dropdown-menu {
        display: block !important;
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border-top: none;
        background-color: rgba(255,255,255,0.08);
        border-radius: 6px;
        margin: 4px 8px;
        padding: 0 4px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.22s ease;
    }
    .main-navbar .dropdown-menu.show {
        max-height: 400px;
        opacity: 1;
        padding: 4px;
    }
    .main-navbar .dropdown-item {
        color: rgba(255,255,255,0.85);
        background: transparent;
        border-radius: 4px;
    }
    .main-navbar .dropdown-item:hover {
        background-color: rgba(255,255,255,0.12);
        color: #ffffff;
    }

    .main-navbar .nav-link {
        border-radius: 0;
        margin: 0;
        padding: 10px 16px !important;
    }

    .logo-text .title  { font-size: 1.05rem; }
    .logo-text .subtitle { font-size: 0.65rem; }

    .about-image-card img { height: 340px; }
    .section-heading { font-size: 1.7rem; }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .site-header { padding: 10px 0; }
    .site-header .logo img { height: 56px; }
    .logo-text .title  { font-size: 0.95rem; }
    .logo-text .subtitle { display: none; }

    .about-section,
    .services-section,
    .cert-section { padding: 40px 0; }

    .about-image-card { margin-top: 32px; }
    .about-image-card img { height: 240px; }

    .section-heading { font-size: 1.5rem; }
    .section-eyebrow { font-size: 0.7rem; }

    .service-card { padding: 24px 20px; }
    .cert-card { padding: 18px 16px; gap: 14px; }
    .cert-icon { width: 38px; height: 38px; }
    .cert-body h4 { font-size: 0.88rem; }

    /* Modal */
    .activity-row { grid-template-columns: 1fr; }
    .activity-area { border-right: none; border-bottom: 1px solid #f0f4f8; padding: 12px 18px 8px; }
    .activity-desc { padding: 8px 18px 14px; }
    .service-modal-header { padding: 16px 18px; }
    .modal-intro { padding: 14px 18px; }
}

/* Mobile */
@media (max-width: 480px) {
    .site-header .logo img { height: 46px; }
    .logo-text .title { font-size: 0.88rem; }

    .about-section,
    .services-section,
    .cert-section { padding: 32px 0; }

    .section-heading { font-size: 1.3rem; }

    .about-image-card img { height: 200px; }

    .service-icon-wrap { width: 48px; height: 48px; }
    .service-card h3 { font-size: 0.97rem; }
    .service-card p  { font-size: 0.85rem; }

    .cert-card { flex-direction: column; gap: 10px; }
    .cert-audience { font-size: 0.78rem; }

    .modal-title { font-size: 1rem; }
    .activity-area { font-size: 0.8rem; }
    .activity-desc { font-size: 0.82rem; }

    .social-btn { width: 30px; height: 30px; }
}
