/* ==========================================================
   OHCN 2026 – Advancing Oral Health in India
   ========================================================== */

/* ---------- Fonts (supplied with the design artwork) ---------- */
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
/* Poppins Bold (700) was not packaged – loaded from Google Fonts in the layout */
@font-face { font-family: 'Swiss 721'; src: url('../fonts/Swiss721BT-Roman.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Swiss 721'; src: url('../fonts/Swiss721BT-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Swiss 721'; src: url('../fonts/Swiss721BT-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Myriad Pro'; src: url('../fonts/MyriadPro-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }

:root {
    --green: #3eaa36;          /* headings / text green */
    --green-btn: #56b947;      /* buttons */
    --green-dark: #2f8a28;
    --green-light: #e2f6dc;
    --blue: #3dbff0;           /* agenda header */
    --blue-dark: #1679b0;
    --blue-light: #dff0fc;
    --blue-pale: #eaf5fd;
    --header-bg: #d8eefb;
    --ink: #111;
    --muted: #555b61;
    --radius: 12px;
    --font-agenda: 'Swiss 721', Arial, Helvetica, sans-serif;
    --font-label: 'Myriad Pro', 'Poppins', Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 15px; }
a { color: var(--blue-dark); }
img { max-width: 100%; }
.text-green { color: var(--green) !important; }
@media (min-width: 1200px) { .container { max-width: 1350px; } }

/* ---------- Buttons ---------- */
.btn-green {
    background: var(--green-btn); color: #fff; border: 0; border-radius: 8px;
    padding: .5rem 1.4rem; font-weight: 700;
}
.btn-green:hover, .btn-green:focus { background: var(--green-dark); color: #fff; }
.btn-click {
    display: inline-flex; align-items: center; gap: .6rem; background: var(--green-btn); color: #fff;
    border-radius: 8px; padding: .4rem 1rem; font-weight: 700; font-size: 1rem; border: 0;
}
.btn-click img { width: 22px; }
.btn-click:hover { background: var(--green-dark); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--header-bg); }
.site-nav { padding: .7rem 0; }
.site-logo { height: 64px; width: auto; }
.site-nav .nav-link { color: var(--ink); font-size: .92rem; padding: .3rem .8rem !important; position: relative; }
.site-nav .nav-link:hover { color: var(--green); }
.site-nav .nav-link.active { color: var(--green); }
.site-nav .nav-link.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -1px; height: 3px; border-radius: 2px; background: var(--green); }
.edition-menu { border: 0; border-radius: 0; padding: 0; min-width: 0; background: transparent; text-align: center; }
.edition-menu .dropdown-item {
    background: #fff; font-size: .72rem; font-weight: 500; padding: .2rem .45rem; margin: 0 auto 2px; width: max-content;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.edition-menu .dropdown-item:hover, .edition-menu .dropdown-item.active { background: var(--green-btn); color: #fff; }
.nav-search { display: flex; align-items: center; background: var(--green); border-radius: 8px; height: 34px; margin-left: 1rem; overflow: hidden; }
.nav-search input { background: transparent; border: 0; outline: 0; color: #fff; width: 120px; padding: 0 .75rem; font-size: .85rem; }
.nav-search input::-webkit-search-cancel-button { filter: invert(1); }
.nav-search button { background: transparent; border: 0; color: #fff; padding: 0 .75rem 0 .25rem; font-size: 1.05rem; }
@media (min-width: 992px) {
    .nav-hover { position: relative; }
    .nav-hover > .dropdown-menu { left: 50%; transform: translateX(-50%); margin-top: 0; }
    .nav-hover:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
    .edition-menu { text-align: left; padding-left: 1rem; }
    .edition-menu .dropdown-item { margin: 0 0 4px; }
    .nav-search { margin: .75rem 0 0; }
    .nav-search input { width: 100%; flex: 1; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3rem 0 9rem; background: #fff url('../images/bg-hero-bottom.jpg') center bottom / 100% auto no-repeat; }
.hero-title { font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.22; margin-bottom: 1.4rem; }
.hero-underline { display: inline-block; position: relative; }
.hero-underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 5px; background: var(--green); }
.hero-text { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.hero-art { position: relative; padding: 2rem 1.5rem 0; }
.hero-img { position: relative; max-height: 440px; }
.hero-heart { position: absolute; color: #bde3fa; }

/* ---------- Pillars ---------- */
.pillars { background: #efefef; padding: 1.6rem 0; }
.pillar-col + .pillar-col { border-left: 1px solid #c9c9c9; }
.pillar { display: flex; gap: 1.1rem; align-items: center; padding: .3rem 1.5rem; }
.pillar-col:first-child .pillar { padding-left: 0; }
.pillar-icon { flex: 0 0 78px; width: 78px; height: 78px; object-fit: contain; }
.pillar h3 { font-size: 1rem; font-weight: 700; color: #555; margin: 0; }
.pillar p { font-size: .95rem; color: #555; margin-bottom: .55rem; }
.learn-more { font-size: .72rem; color: var(--green); text-decoration: none; }
.learn-more:hover { color: var(--green-dark); text-decoration: underline; }
@media (max-width: 767.98px) {
    .pillar-col + .pillar-col { border-left: 0; border-top: 1px solid #d5d5d5; }
    .pillar { padding: 1rem 0; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-title { font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.15; position: relative; padding-bottom: .35rem; margin-bottom: 1.25rem; display: inline-block; }
.section-title::after { content: ""; position: absolute; left: 2px; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--green-btn) 0 62%, var(--ink) 62% 100%); }
.section-sub { color: var(--green); font-weight: 600; font-size: 1.4rem; margin: -.85rem 0 .5rem; }
.section-intro { color: var(--muted); font-size: .92rem; line-height: 1.45; margin-bottom: 1.5rem; }
.page-header { background: var(--header-bg); padding: 2rem 0 1.6rem; }
.page-header .breadcrumb { font-size: .85rem; }
.page-header .breadcrumb a { color: var(--green); text-decoration: none; }
.page-header .section-sub { margin-top: .4rem; }

/* ---------- Agenda ---------- */
.agenda-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.agenda-slash { width: 11px; height: 30px; background: #8c8c8c; transform: skewX(-15deg); flex: 0 0 auto; }
.agenda-title { font-family: var(--font-label); font-weight: 700; font-size: 2rem; letter-spacing: .3em; color: var(--green-btn); line-height: 1; }
.agenda-line { flex: 1; height: 1px; background: #d9d9d9; }
.session-tag { background: var(--green-light); transform: skewX(-15deg); padding: .3rem 1.1rem; border-radius: 3px; }
.session-tag span { display: inline-block; transform: skewX(15deg); font-family: var(--font-label); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; color: #6b6b6b; white-space: nowrap; }
.agenda-scroll { border-radius: 12px; border: 1px solid #dfe8ef; }
.agenda-table { width: 100%; font-family: var(--font-agenda); border-collapse: collapse; background: #fff; }
.agenda-table thead th { background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem; padding: .45rem .7rem; position: relative; }
.agenda-table thead th.col-time::after { content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.85); }
.agenda-table td { padding: .5rem .7rem; vertical-align: middle; border-top: 1px solid #e6eef4; font-size: .8rem; color: #222; }
.agenda-table tbody tr:nth-child(even) td { background: var(--blue-light); }
.agenda-table tbody tr.is-break td { background: #ecfbe6; }
.agenda-table .col-time { width: 25%; white-space: nowrap; font-size: .82rem; position: relative; }
.agenda-table td.col-time::after { content: ""; position: absolute; right: 0; top: 25%; bottom: 25%; width: 1px; background: #cfdbe4; }
.agenda-table .col-icon { width: 52px; text-align: center; font-size: 1.35rem; color: #2fa9e4; }
.agenda-table .break-icon { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--green-btn); color: #fff; align-items: center; justify-content: center; }
.agenda-table .break-icon svg { width: 15px; height: 15px; }
.agenda-item-title { font-weight: 500; font-size: .92rem; color: #000; }
.agenda-item-desc { color: #4d4d4d; font-size: .76rem; line-height: 1.3; }
.program-img { width: 125%; max-width: none; margin-left: -5%; }
@media (max-width: 575.98px) {
    .agenda-title { font-size: 1.5rem; }
    .session-tag span { font-size: .8rem; }
    .agenda-line { display: none; }
    .agenda-head { justify-content: space-between; }
    .agenda-table .col-time { white-space: normal; width: 24%; font-size: .75rem; }
    .agenda-table .col-icon { width: 36px; padding: .5rem .2rem; font-size: 1.1rem; }
}

/* ---------- Venue ---------- */
.venue-band { background: linear-gradient(180deg, #fff 0, var(--blue-pale) 18%, #e0effc 100%); padding-top: 3.5rem; margin-top: 2rem; }
.venue-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.venue-address { background: linear-gradient(90deg, #5fcdf3, #18bdf0); padding: .7rem 1rem; font-size: 1.12rem; line-height: 1.3; color: #000; }
.venue-address strong { font-weight: 600; }
.venue-map { aspect-ratio: 16 / 9; background: #e9eef2; }
.venue-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.venue-row { border-bottom: 4px solid #b4b9c0; }
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.5rem; padding: 0 1rem; position: relative; z-index: 1; }
.venue-img { width: 100%; aspect-ratio: 135 / 145; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.btn-directions {
    position: relative; display: block; width: 190px; aspect-ratio: 520 / 177; margin: 2.2rem 0 1rem 3rem;
    background: url('../images/btn-directions.png') left center / contain no-repeat;
    color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; transition: transform .2s;
}
.btn-directions span { position: absolute; left: 25%; top: 70%; transform: translateY(-50%); white-space: nowrap; }
.btn-directions:hover { color: #fff; transform: translateY(-2px); }
.skyline { display: block; width: 100%; margin-top: -10rem; position: relative; z-index: 0; pointer-events: none; }
@media (max-width: 991.98px) {
    .venue-grid { padding: 0; gap: .8rem; }
    .btn-directions { margin: 1rem 0 0; }
    .skyline { margin-top: 1rem; }
}

/* ---------- Speakers ---------- */
.speakers-section { background: #fff; }
.speaker-photo {
    aspect-ratio: 16 / 9; overflow: hidden;
    background: radial-gradient(120% 90% at 100% 100%, #fff 0 34%, transparent 35%), linear-gradient(160deg, #d9edfb, #a9d3f2);
}
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.speaker-name { font-weight: 600; font-size: 1rem; margin-top: .55rem; line-height: 1.2; }
.speaker-role, .speaker-loc { color: #666; font-size: .9rem; line-height: 1.2; }
.speaker-feature { background: #fff; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,.1); overflow: hidden; height: 100%; display: flex; flex-direction: column; text-align: center; }
.speaker-feature .p-3 { background: linear-gradient(180deg, #fff, var(--blue-pale)); }
.speaker-bio { background: #b3dbf6; color: #3b4148; font-size: .9rem; line-height: 1.4; padding: 1rem; border-radius: var(--radius); flex: 1 1 auto; min-height: 120px; max-height: 340px; overflow-y: auto; text-align: left; }
.speaker-card {
    width: 100%; background: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 0 0 .7rem; overflow: hidden;
    text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.1); transition: transform .2s, border-color .2s;
}
.speaker-card .speaker-photo { border-radius: 0; }
.speaker-card:hover { transform: translateY(-3px); }
.speaker-card.selected { border-color: var(--green-btn); }
#speakersCarousel .carousel-inner { padding: 4px 6px 16px; }
#speakersCarousel .round-arrow.prev { left: -2.2rem; }
#speakersCarousel .round-arrow.next { right: -2.2rem; }

/* ---------- Arrows & horizontal slider ---------- */
.round-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 28px; height: 28px; border-radius: 50%;
    border: 0; background: #7ecb74; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.round-arrow:hover { background: var(--green-dark); }
.round-arrow[disabled] { opacity: .35; }
.hslider { position: relative; }
.hslider .round-arrow.prev { left: -2.6rem; }
.hslider .round-arrow.next { right: -2.6rem; }
.hslider-track { display: flex; gap: 2.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .25rem 1rem; scrollbar-width: none; }
.hslider-track::-webkit-scrollbar { display: none; }
.hslide { flex: 0 0 calc((100% - 4.4rem) / 3); scroll-snap-align: start; }
@media (max-width: 1199.98px) {
    .hslider { padding: 0 1.6rem; }
    .hslider .round-arrow.prev, #speakersCarousel .round-arrow.prev { left: -.3rem; }
    .hslider .round-arrow.next, #speakersCarousel .round-arrow.next { right: -.3rem; }
}
@media (max-width: 991.98px) { .hslide { flex-basis: calc((100% - 2.2rem) / 2); } }
@media (max-width: 575.98px) { .hslide { flex-basis: 85%; } .hslider-track { gap: 1rem; } }

/* ---------- Gallery ---------- */
.gallery-section { background: #ddeefd; }
.gallery-section .hslider + .hslider { margin-top: 1.2rem; }
.gallery-thumb { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 288 / 241; box-shadow: 0 3px 10px rgba(0,0,0,.15); background: #c9dbe8; border: 1px solid #fff; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-thumb:hover img { transform: scale(1.05); }
.video-thumb { position: relative; display: block; border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 288 / 243; background: #0d0d0d; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.video-thumb img, .video-thumb video { width: 100%; height: 100%; object-fit: cover; opacity: .65; pointer-events: none; }
.play-btn {
    position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff;
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; padding-left: 3px; transition: transform .2s;
}
.video-thumb:hover .play-btn { transform: scale(1.1); }
.video-title { position: absolute; left: 0; right: 0; top: 0; padding: .5rem .8rem; color: #fff; font-size: .8rem; text-align: left; background: linear-gradient(rgba(0,0,0,.7), transparent); }
.video-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .45rem; padding: .6rem .7rem; color: #ddd; font-size: .7rem; }
.vb-track { flex: 1; height: 2px; background: rgba(255,255,255,.35); position: relative; }
.vb-track span { position: absolute; left: 0; top: 0; bottom: 0; width: 48%; background: #e3262c; }
.vb-track span::after { content: ""; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #e3262c; }
#mediaModalBody img { max-width: 100%; max-height: 85vh; }
#mediaModalBody video { width: 100%; max-height: 85vh; }
#mediaModalBody .ratio iframe { border: 0; }

/* ---------- Resources ---------- */
.resources-section { background: #fff; }
.hslider-pdf .hslide { flex-basis: calc((100% - 4.4rem) / 3); }
.pdf-card {
    display: block; background: #fff; border-radius: 10px; padding: .4rem .4rem .7rem; text-decoration: none; color: var(--ink);
    box-shadow: 0 3px 12px rgba(0,0,0,.12); transition: transform .2s;
}
.pdf-card:hover { transform: translateY(-4px); color: var(--ink); }
.pdf-icon { aspect-ratio: 152 / 120; border-radius: 6px; background: #ececec; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: .6rem; }
.pdf-icon .pdf-cover { width: 100%; height: 100%; object-fit: cover; }
.pdf-icon .pdf-svg { height: 90%; width: auto; }
.pdf-title { font-size: .82rem; line-height: 1.3; padding: 0 .3rem; }
.pdf-desc { color: var(--muted); font-size: .75rem; line-height: 1.3; padding: 0 .3rem; margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.resources-img { max-height: 380px; }

/* ---------- Search ---------- */
.search-page-form { display: flex; gap: .5rem; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-section { padding: 3.5rem 0; position: relative; overflow: hidden; background: linear-gradient(115deg, #5fd0f3 0, #16b7ec 40%, #12b5ea 100%); }
.contact-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background: url('../images/bg-hero.jpg') center 80% / 140% auto no-repeat; mix-blend-mode: multiply;
}
.contact-section .container { position: relative; }
.pill-label { display: inline-block; background: var(--green-btn); color: #fff; font-size: 1.35rem; line-height: 1.2; padding: .15rem .55rem; border: 2px solid #fff; border-radius: 3px; }
.contact-intro { font-size: .95rem; line-height: 1.4; max-width: 330px; }
.contact-list li { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.1rem; font-size: .95rem; line-height: 1.35; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.ci { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; }
.contact-card { background: #fff; border-radius: 10px; padding: 1.8rem 1.8rem 1.4rem; }
.contact-card .form-label { font-size: .75rem; margin-bottom: .3rem; }
.contact-card .form-control { border-radius: 8px; border-color: #e3e3e3; }
.contact-card .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(62,170,54,.15); }
.contact-card .btn-green { padding: .35rem 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; }
.footer-block { text-align: center; }
.footer-label { font-size: .88rem; margin-bottom: .6rem; }
.footer-logo { height: 52px; width: auto; }
.footer-logo-haleon { height: 32px; }
.footer-bottom { background: #ddeefd; text-align: center; font-size: .88rem; padding: .45rem; }

@media (max-width: 991.98px) {
    .site-logo { height: 50px; }
    .site-nav .navbar-collapse { padding: .5rem 0 1rem; }
    .site-nav .nav-link.active::after { right: auto; width: 40px; }
    .hero { padding: 2rem 0 5rem; background-size: 180% auto; }
    .section { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
    .site-logo { height: 40px; }
}
