:root {
    --ink: #1c1a3d;
    --bg: #fbfaf7;
    --card: #fff;
    --muted: #5d5b78;
    --line: #e4e1ec;
    --navy: #262260;
    --wine: #0a2965;
    --gold: #ed9423;
    --soft: #f1eef8;
    --edge: #262260;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

*,
*:before,
*:after {
    box-sizing: inherit
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px
}

body {
    margin: 0;
    background: #fbfaf7;
    color: var(--ink);
    font: 400 17px/1.6 Figtree, system-ui, sans-serif;
    overflow-x: hidden
}

img {
    max-width: 100%
}

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.15;
    margin: 0
}

a {
    color: inherit
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px
}

.top {
    background: var(--navy);
    color: #fff;
    font-size: 14px
}

.top .wrap {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    padding-top: 6px;
    padding-bottom: 6px;
    flex-wrap: wrap
}

.ic {
    flex: none;
    vertical-align: -3px
}

.top a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none
}

.fc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px
}

.fc li {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.fc .ic {
    color: var(--gold);
    margin-top: 4px
}

header.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #b4732a;
    /* border-bottom: 1px solid var(--line) */
}

header.nav .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: none
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    text-align: center;
    background-color: white
}

.brand img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 110px
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font: 700 22px Figtree
}

.brand b {
    font: 400 22px "figtree", serif;
    display: block;
    line-height: 1.1
}

.brand small {
    color: var(--muted);
    font-size: 13px;
    display: block
}

nav {
    width: 100%;
    border-top: 1px solid var(--line)
}

nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap
}

nav li {
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

nav a {
    display: block;
    padding: 12px 11px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px
}

nav a:hover {
    COLOR: #262260;
    text-decoration: none;
}

nav a.cta {
    background: var(--wine);
    color: #fff;
    padding: 8px 16px;
    margin: 4px 0 4px 6px
}

.caret {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    padding: 8px 6px 8px 0;
    margin-left: -6px;
    border-radius: 6px;
        height: auto;
}

nav ul.sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding: 8px;
background: #f19323;
border-top: 2px solid #262260;

    box-shadow: 0 12px 28px #1c1a3d26;
    z-index: 20
}

nav ul.sub a {
    padding: 9px 12px;
    font-size: 14.5px;
    white-space: nowrap
}

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

/* Three-line (hamburger) menu button */
#burger {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    padding: 10px 11px;
    color: #fff;
    font: inherit;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 42px
}

#burger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    transition: transform .3s ease, opacity .2s ease
}

/* turns into an X when the menu is open */
#burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg) }
#burger[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
#burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) }

/* Nav switches to the burger menu below 1100px (10 items need the room) */
@media(max-width:1100px) {
    #burger {
        display: flex;
        position: static;
        align-self: flex-end;
        margin: 8px 20px
    }

    .brand b {
        font-size: 18px
    }

    .logo {
        width: 52px;
        height: 52px;
        font-size: 18px
    }

    nav {
        border-top: 0;
        margin-top: 0
    }

    nav>ul {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #f19323;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 8px 20px 14px;
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 120px);
        overflow-y: auto
    }

    nav>ul.open {
        display: flex
    }

    nav li {
        flex-wrap: wrap
    }

    nav li>a:first-child {
        flex: 1
    }

    nav li:hover>ul.sub,
    nav li:focus-within>ul.sub {
        display: none
    }

    nav ul.sub,
    nav li.open>ul.sub {
        position: static;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        margin: 0 0 6px 12px;
        width: 100%;
        padding: 0 0 0 8px;
        background: transparent
    }

    nav li.open>ul.sub {
        display: flex
    }

    .caret {
        padding: 12px 14px
    }

    nav a.cta {
        margin: 8px 0 0
    }
}

.hero {
    background: var(--navy);
    color: #fff;
    padding: 64px 0 0;
    overflow: hidden
}

.hero.hero-video {
    padding: 0
}

.hero.hero-video .wrap {
    display: block;
    max-width: none;
    padding: 0
}

.hero-video video {
    display: block;
    width: 100%;
    height: clamp(220px, 42vw, 540px);
    object-fit: cover;
    background: var(--navy)
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: end
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px)
}

.hero h1 em {
    color: var(--gold);
    font-style: normal
}

.hero p {
    font-size: 19px;
    max-width: 46ch;
    color: #d9d6f2;
    margin: 20px 0 28px
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--gold);
    background: var(--gold);
    color: #1c1a3d;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px
}

.btn.ghost {
    background: transparent;
    color: #fff;
    border-color: #8b88c9;
    margin-left: 8px
}

.motto {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    justify-content: center
}

.motto span {
    flex: 1;
    border-radius: 120px 120px 0 0;
    background: linear-gradient(#4a45a8, #322e7c);
    display: grid;
    place-items: end center;
    padding-bottom: 16px;
    font-size: 14px;
    color: #d9d6f2;
    text-align: center
}

.motto span:nth-child(1) {
    height: 230px
}

.motto span:nth-child(2) {
    height: 300px;
    background: linear-gradient(#a1295f, #6d1840)
}

.motto span:nth-child(3) {
    height: 260px
}

@media(max-width:800px) {
    .hero .wrap {
        grid-template-columns: 1fr
    }

    .motto span:nth-child(n) {
        height: 150px
    }
}

.flash {
    background: #14123a;
    color: #fff;
    border-top: 1px solid #ffffff22;
    overflow: hidden
}

.flash .wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 0;
    padding-bottom: 0;
    max-width: none
}

.flash b {
    flex: none;
    background: var(--gold);
    color: #1c1a3d;
    padding: 10px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: -20px;
    border-radius: 0 999px 999px 0
}

.flash .win {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent)
}

.flash .track {
    display: flex;
    width: max-content;
    animation: fl 38s linear infinite
}

.flash .win:hover .track,
.flash .win:focus-within .track,
.flash.paused .track {
    animation-play-state: paused
}

.flash .track a {
    white-space: nowrap;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0;
    display: inline-flex;
    align-items: center
}

.flash .track a:hover {
    color: var(--gold);
    text-decoration: underline
}

.flash .track a:after {
    content: "\2726";
    color: var(--gold);
    margin: 0 22px;
    font-size: 12px
}

.flash button {
    flex: none;
    background: none;
    border: 1px solid #ffffff44;
    color: #fff;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    padding: 3px 10px;
    cursor: pointer
}

@keyframes fl {
    to {
        transform: translateX(-50%)
    }
}

@media(prefers-reduced-motion:reduce) {
    .flash .track {
        animation: none
    }

    .flash .win {
        overflow-x: auto
    }
}

.quick {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    background: var(--gold)
}

.quick .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.quick a {
    padding: 18px 8px;
    text-decoration: none;
    font-weight: 700;
    color: #1c1a3d;
    text-align: center;
    border-right: 1px solid #0002
}

.quick a:hover {
    background: #ffd36b
}

@media(max-width:700px) {
    .quick .wrap {
        grid-template-columns: 1fr 1fr
    }
}

section {
    padding: 72px 0
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
    color: var(--gold);
}

.lead {
    color: var(--muted);
    max-width: 60ch;
    margin: 0 0 36px
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 24px
}

.ph {
    aspect-ratio: 4/3;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--soft), var(--line));
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 8px
}

.person {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px
}

.avatar {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    display: grid;
    place-items: center;
    font: 400 24px "figtree", serif
}

.person h3 {
    font-size: 19px
}

.person small {
    color: var(--muted)
}

.person p {
    margin: 8px 0 0;
    font-size: 15px;
    color: var(--muted)
}

.band {
    background: var(--soft)
}

.tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 20px;
    flex-wrap: wrap
}

.tabs button {
    background: none;
    border: 0;
    padding: 12px 18px;
    /* font: 700 16px Figtree; */
    color: var(--muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer
}

.tabs button[aria-selected=true] {
    color: var(--wine);
    border-color: var(--wine)
}

.panel {
    display: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px 22px
}

.panel.on {
    display: block
}
.row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-items: center
}

.row:last-child {
    border: 0
}

.row time {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap
}


.tag {
    background: #f19323;
    color: #fff;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.panel .row span {
    text-align: left;
    flex: 1;
}
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}

.card .ph {
    border-radius: 0
}

.card div.b {
    padding: 18px
}

.card h3 {
    font-size: 20px;
    margin-bottom: 6px
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px
}

.rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 16px
}

.rail .ph,
.rail img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px
}

.vid {
    flex: none;
    width: 170px;
    aspect-ratio: 9/14;
    border-radius: 14px;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 40px;
    scroll-snap-align: start;
    text-decoration: none
}

.vid:nth-child(even) {
    background: var(--wine)
}

form {
    display: grid;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px
}

label {
    font-weight: 700;
    font-size: 15px;
    display: grid;
    gap: 6px;
    min-width: 0
}

input,
select,
textarea {
    font: inherit;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    width: 100%;
    min-width: 0
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.two>* {
    min-width: 0
}

@media(max-width:600px) {
    .two {
        grid-template-columns: 1fr
    }

    form {
        padding: 18px
    }
}

footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    color: #d9d6f2;
    padding: 48px 0 24px;
    font-size: 15px
}

/* Building photo with a navy overlay so the text stays readable */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to bottom, rgba(20, 18, 58, .6) 0%, rgba(20, 18, 58, .42) 55%, rgba(20, 18, 58, .25) 100%),
        url("https://dbisegmore.in/assets/images/home/footer-bg.jpg") center bottom / cover no-repeat;
    pointer-events: none;
    transform-origin: center bottom;
    animation: footerZoom 22s ease-in-out infinite alternate
}

@keyframes footerZoom {
    from { transform: scale(1) translateX(0) }
    to { transform: scale(1.12) translateX(-1.5%) }
}

/* Columns fade up when the footer scrolls into view (JS adds .anim-ready / .in) */
footer.anim-ready .grid3>div,
footer.anim-ready .fbot {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease
}

footer.anim-ready.in .grid3>div,
footer.anim-ready.in .fbot {
    opacity: 1;
    transform: none
}

footer.anim-ready.in .grid3>div:nth-child(2) { transition-delay: .2s }
footer.anim-ready.in .grid3>div:nth-child(3) { transition-delay: .4s }
footer.anim-ready.in .fbot { transition-delay: .6s }

@media (prefers-reduced-motion: reduce) {
    footer::before { animation: none }

    footer.anim-ready .grid3>div,
    footer.anim-ready .fbot {
        opacity: 1;
        transform: none;
        transition: none
    }
}

footer .grid3 {
    margin-bottom: 28px
}

footer h3 {
    color: var(--gold);
    font-size: 27px;
    margin-bottom: 24px
}

footer .fbot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 14px
}

footer .fbot span { opacity: .85 }
footer .fbot a { color: var(--gold); font-weight: 700; text-decoration: none }
footer .fbot a:hover { text-decoration: underline }

@media(max-width:600px) {
    footer .fbot { flex-direction: column; text-align: center }
}

.spot {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px
}

.big {
    background: var(--wine);
    color: #fff;
    border-radius: 11px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px
}

.big .pic {
    width: 100%;
    height: clamp(300px, 42vw, 420px);
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
    border: 3px solid var(--gold)
}

.lead-card .face {
    flex: none;
    width: clamp(100px, 14vw, 140px);
    height: clamp(100px, 14vw, 140px);
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid var(--gold)
}

.big q {
    font: 400 clamp(22px, 3vw, 30px)/1.3 "figtree", serif;
    quotes: none
}

.big small {
    color: #f3c9dc
}

.stack {
    display: grid;
    gap: 20px
}

.lead-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center
}

.lead-card h3 {
    font-size: 20px
}

.lead-card small {
    color: var(--muted)
}

@media(max-width:800px) {
    .spot {
        grid-template-columns: 1fr
    }
}

.trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px
}

.pc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(28, 26, 61, .1);
    transition: transform .3s, box-shadow .3s
}

.pc:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 26, 61, .2)
}

.pimg {
    position: relative;
    aspect-ratio: 4/4.3;
    overflow: hidden;
    background: var(--soft)
}

.pimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .5s
}

.pc:hover .pimg img {
    transform: scale(1.06)
}

.pimg::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--wine))
}

.role {
    position: absolute;
    left: 14px;
    top: 14px;
    background: var(--gold);
    color: #1c1a3d;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25)
}

.pbody {
    padding: 20px 22px 24px;
    text-align: center;
    flex: 1
}

.pbody h3 {
    font: 400 22px "figtree", serif;
    margin: 0 0 8px
}

.pbody p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    text-align: justify
}

.pbody p.sub {
    text-align: center;
    font-weight: 600;
    color: var(--wine)
}

@media(max-width:900px) {
    .trio {
        grid-template-columns: 1fr 1fr
    }

    .pc.founder {
        grid-column: 1 / -1;
        flex-direction: row
    }

    .pc.founder .pimg {
        flex: 0 0 42%;
        aspect-ratio: auto
    }

    .pc.founder .pbody {
        align-self: center
    }
}

@media(max-width:560px) {
    .trio {
        grid-template-columns: 1fr
    }

    .pc.founder {
        flex-direction: column
    }

    .pc.founder .pimg {
        flex: none;
        aspect-ratio: 4/4.3
    }
}

.wm {
    display: grid;
    gap: 22px;
    margin-top: 8px
}

.wfounder {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr;
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #3a2a78 60%, var(--wine));
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(28, 26, 61, .25)
}

.wfounder::before {
    content: "\201C";
    position: absolute;
    right: 28px;
    top: -30px;
    font: 400 220px/1 "figtree", serif;
    color: var(--gold);
    opacity: .18;
    pointer-events: none
}

.wfig {
    margin: 0;
    position: relative;
    z-index: 0
}

.wfig::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid var(--gold);
    border-radius: 20px;
    transform: translate(14px, 14px);
    z-index: -1
}

.wfig img {
    width: 100%;
    aspect-ratio: 4/4.6;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    display: block
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px
}

.wtext h3 {
    font: 400 clamp(28px, 4vw, 40px)/1.15 "figtree", serif;
    margin: 0 0 14px;
    color: #fff
}

.wtext p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #e4e1f7;
    max-width: 60ch
}

.wpair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.wl {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 26px;
    box-shadow: 0 10px 26px rgba(28, 26, 61, .1);
    transition: transform .3s, box-shadow .3s
}

.wl:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(28, 26, 61, .2)
}

.wbanner {
    height: 96px;
    background: linear-gradient(120deg, var(--wine), var(--navy))
}

.wphoto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 5px solid var(--card);
    outline: 3px solid var(--gold);
    margin: -75px auto 14px;
    display: block;
    position: relative;
    background: var(--soft)
}

.wl h3 {
    font: 400 22px "figtree", serif;
    margin: 0 12px 6px
}

.wrole {
    margin: 0;
    display: inline-block;
    background: var(--soft);
    color: var(--wine);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 999px
}

@media(max-width:800px) {
    .wfounder {
        grid-template-columns: 1fr
    }

    .wfig {
        max-width: 320px;
        margin: 0 14px 14px 0
    }

    .wpair {
        grid-template-columns: 1fr
    }
}

.wx {
    display: flex;
    gap: 14px;
    height: clamp(420px, 50vw, 560px);
    margin-top: 8px
}

.wp {
    position: relative;
    flex: 1;
    border-radius: 26px;
    overflow: hidden;
    cursor: pointer;
    background: var(--navy);
    box-shadow: 0 12px 28px rgba(28, 26, 61, .2);
    transition: flex .6s cubic-bezier(.22, .8, .25, 1);
    outline-offset: 4px
}

.wp.on {
    flex: 3.4
}

.wp>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .8s, filter .5s;
    filter: brightness(.78) saturate(.9)
}

.wp.on>img {
    filter: none;
    transform: scale(1.03)
}

.wp::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 16, 52, .94) 6%, rgba(18, 16, 52, .35) 48%, transparent 75%)
}

.wcap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px;
    color: #fff
}

.wtag {
    display: inline-block;
    background: var(--gold);
    color: #1c1a3d;
    font-weight: 700;
    font-size: 12.5px;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 10px
}

.wcap h3 {
    margin: 0;
    font: 400 18px/1.25 "bigtree", serif;
    color: #fff;
    transition: font-size .4s
}

.wp.on .wcap h3 {
    font-size: clamp(26px, 3.4vw, 36px)
}

.wdesc {
    margin: 12px 0 0;
    max-width: 56ch;
    font-size: 16px;
    line-height: 1.7;
    color: #e8e5fa;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .6s, opacity .5s .15s
}

.wp.on .wdesc {
    max-height: 220px;
    opacity: 1
}

@media(max-width:800px) {
    .wx {
        flex-direction: column;
        height: auto
    }

    .wp,
    .wp.on {
        flex: none;
        transition: height .6s cubic-bezier(.22, .8, .25, 1)
    }

    .wp {
        height: 130px
    }

    .wp.on {
        height: 440px
    }

    .wcap h3,
    .wp.on .wcap h3 {
        font-size: 22px
    }
}

@media(prefers-reduced-motion:reduce) {

    .wp,
    .wp>img,
    .wdesc {
        transition: none
    }
}

.otree {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px
}

.ofounder {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 880px;
    background: var(--card);
    border: 1px solid #f49626;
    border-radius: 30px;
    padding: 26px 30px;
    box-shadow: 0 16px 36px rgba(28, 26, 61, .14)
}

.ofounder>img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    border-radius: 999px 999px 18px 18px;
    border: 4px solid var(--gold)
}

.otag {
    display: inline-block;
    background: var(--wine);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px
}

.ofounder h3 {
    font: 400 clamp(26px, 3.4vw, 34px)/1.15 "figtree", serif;
   
    margin: 0 0 12px
}

.ofounder p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 16.5px
}

.oline {
    width: 3px;
    height: 38px
}

.obranch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 880px;
    padding-top: 38px
}

.obranch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 3px
}

.leader {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    padding: 12px 26px 12px 12px;
    box-shadow: 0 12px 26px rgba(28, 26, 61, .25);
    transition: transform .3s
}

.leader:hover {
    transform: translateY(-5px)
}

.leader::before {
    content: "";
    position: absolute;
    top: -38px;
    left: 50%;
    width: 3px;
    height: 38px
}

.leader>img {
    flex: none;
    width: 122px;
    height: 122px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid var(--gold)
}

.leader h3 {
    margin: 0 0 4px;
    font: 400 clamp(16px, 1.9vw, 20px)/1.25 "figtree", serif;
    color: #fff
}

.leader span {
    color: var(--gold);
    font-weight: 600;
    font-size: 16px
}

@media(max-width:800px) {
    .ofounder {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center
    }

    .ofounder>img {
        max-width: 230px
    }

    .obranch {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .obranch::before {
        display: none
    }

    .obranch .leader:first-child::before {
        display: none
    }
}

/* Small phones: stack the Rector / Principal cards */
@media(max-width:480px) {
    .leader {
        flex-direction: column;
        text-align: center;
        border-radius: 28px;
        padding: 18px 16px
    }
}

.acc {
    display: flex;
    gap: 12px;
    height: 360px
}

.it {
    flex: 1;
    min-width: 0;
    border-radius: 22px;
    padding: 22px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: flex .45s ease;
    background: linear-gradient(160deg, #4a45a8, #262260)
}

/* Dark overlay on all three cards so white text stays readable */
.it:nth-child(1) {
    background: linear-gradient(to top, rgba(20, 18, 58, .92) 8%, rgba(20, 18, 58, .35) 55%, rgba(20, 18, 58, .1)), url("https://dbisegmore.in/assets/images/home/placement.jpg") center / cover no-repeat
}

.it:nth-child(2) {
    background: linear-gradient(to top, rgba(20, 18, 58, .92) 8%, rgba(20, 18, 58, .35) 55%, rgba(20, 18, 58, .1)), url("https://dbisegmore.in/assets/images/home/events-publications.jpg") center / cover no-repeat
}

.it:nth-child(3) {
    background: linear-gradient(to top, rgba(20, 18, 58, .92) 8%, rgba(20, 18, 58, .35) 55%, rgba(20, 18, 58, .1)), url("https://dbisegmore.in/assets/images/home/parent-testimonials.jpg") center / cover no-repeat
}

.it h3,
.it p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, .55)
}

.it[aria-expanded=true] {
    flex: 3.2
}

.it h3 {
    font-size: 22px
}

.it p {
    margin: 10px 0 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .3s, max-height .3s
}

.it[aria-expanded=true] p {
    max-height: 200px;
    opacity: 1
}

@media(max-width:800px) {
    .acc {
        flex-direction: column;
        height: auto
    }

    .it {
        flex: none;
        min-height: 84px
    }

    .it[aria-expanded=true] p {
        max-height: 340px
    }
}

.cf {
    --w: min(520px, 68vw);
    position: relative;
    margin-top: 24px;
    height: calc(var(--w) * .5625 + 40px);
    overflow: hidden;
    perspective: 1100px;
    outline-offset: 4px;
    touch-action: pan-y
}

.ctrack {
    position: absolute;
    inset: 0
}

.cs {
    position: absolute;
    top: 20px;
    left: 50%;
    width: var(--w);
    aspect-ratio: 16/9;
    margin-left: calc(var(--w) / -2);
    border-radius: 18px;
    overflow: hidden;
    background: var(--navy);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 36px rgba(28, 26, 61, .3);
    transform: translateX(calc(var(--o) * var(--w) * .66)) rotateY(calc(var(--o) * -22deg)) scale(calc(1 - var(--a) * .17));
    opacity: calc(1 - var(--a) * .38);
    z-index: calc(10 - var(--a));
    transition: transform .55s cubic-bezier(.22, .8, .25, 1), opacity .55s;
    filter: brightness(calc(1 - var(--a) * .25))
}

.cs.hide {
    opacity: 0;
    pointer-events: none
}

.cs::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--bg) center / cover;
    filter: blur(20px) brightness(.55)
}

.cs>img {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px
}

.cs iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 4
}

.cplay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: var(--gold);
    color: #1c1a3d;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 9px rgba(255, 255, 255, .25);
    z-index: 3;
    transition: transform .25s
}

.cs:hover .cplay {
    transform: scale(1.12)
}

.cs.playing .cplay {
    display: none
}

.cnav {
    position: absolute;
    top: 50%;
    margin-top: -22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--card);
    color: var(--ink);
    box-shadow: 0 6px 18px rgba(28, 26, 61, .3);
    cursor: pointer;
    z-index: 20;
    font-size: 16px
}

.cnav:hover {
    background: var(--gold);
    color: #1c1a3d
}

.cnav.prev {
    left: 8px
}

.cnav.next {
    right: 8px
}

.cinfo {
    text-align: center;
    margin-top: 14px
}

.cname {
    font: 400 22px "figtree", serif;
    min-height: 30px
}

.cdots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px
}

.cdots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: width .3s, background .3s
}

.cdots button.on {
    width: 28px;
    background: var(--wine)
}

@media(prefers-reduced-motion:reduce) {
    .cs {
        transition: none
    }
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 14px
}

.tile {
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(150deg, #4a45a8, #262260)
}

.tile:nth-child(2) {
    background: linear-gradient(150deg, #b32e6c, #6d1840)
}

.tile:nth-child(3) {
    background: linear-gradient(150deg, #d6960f, #7a5206);
    color: #1c1a3d
}

.tile:nth-child(4) {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line)
}

.tile:nth-child(5) {
    background: var(--soft);
    color: var(--ink);
    border: 1px solid var(--line)
}

.tile:nth-child(6) {
    background: linear-gradient(150deg, #2e6f8e, #173e52)
}

.tile h3 {
    font-size: 20px
}

.tile p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: .9
}

.tile.w2 {
    grid-column: span 2
}

.tile.h2 {
    grid-row: span 2
}

.tile.h2 h3 {
    font-size: 28px
}

@media(max-width:800px) {
    .bento {
        grid-template-columns: 1fr 1fr
    }

    .tile.w2 {
        grid-column: span 2
    }
}

.exp {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px
}

.list {
    display: grid;
    gap: 10px;
    align-content: start
}

.list button {
    text-align: left;
    padding: 14px 16px;
    border-radius: 16px;
    border: 2px solid #f19323;
    background: var(--card);
    color: var(--ink);
    font: 400 17px "figtree", serif;
    cursor: pointer
}

.list button[aria-selected=true] {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
    box-shadow: 4px 4px 0 var(--edge)
}

.fp {
    display: none
}

.fp.on {
    display: block
}

.fp .ph {
    aspect-ratio: 16/9;
    border: 2px solid var(--edge);
    box-shadow: 6px 6px 0 var(--edge);
    margin-bottom: 18px
}

.fp img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid var(--edge);
    box-shadow: 6px 6px 0 var(--edge);
    margin-bottom: 18px
}

.fp p {
    color: var(--muted);
    margin: 8px 0 0
}

.split {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
    align-items: start;
    margin-top: 56px
}

.info {
    background: var(--gold);
    color: #1c1a3d;
    border: 2px solid var(--edge);
    box-shadow: 5px 5px 0 var(--edge);
    border-radius: 26px;
    padding: 28px
}

.info ol {
    padding-left: 20px;
    margin: 12px 0 20px
}

.split form {
    border: 2px solid var(--edge)
}

.enq {
    background: #f1eef8;
    color: #5d5b78;
    padding: 80px 0
}

.enq .wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: start
}

.enq .wrap>* {
    min-width: 0
}

.enq h2 {
    color: #262260
}

.enq .lead {
    color: #5d5b78;
    margin-bottom: 28px
}

.steps {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
    counter-reset: s
}

.steps li {
    counter-increment: s;
    display: flex;
    gap: 14px;
    align-items: center;
    background: #ffffff14;
    border: 1px solid #262260;
    border-radius: 14px;
    padding: 14px 16px
}

.steps li:before {
    content: counter(s);
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    color: #1c1a3d;
    display: grid;
    place-items: center;
    font-weight: 700
}

.reach {
    display: grid;
    gap: 10px
}

.reach a,
.reach span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: #5d5b78;
    overflow-wrap: anywhere
}

.reach a:hover {
    color: #b36a0a
}

.reach i {
    font-style: normal;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff1f;
    display: grid;
    place-items: center
}

.enq form {
    border: 0;
    border-top: 6px solid var(--gold);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 40px #0004;
    color: var(--ink)
}

.enq form h3 {
    font-size: 24px
}

.enq form p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 15px
}

@media(max-width:800px) {
    .enq .wrap {
        grid-template-columns: 1fr
    }

    .enq {
        padding: 56px 0
    }

    section {
        padding: 56px 0
    }
}

@media(max-width:600px) {
    .enq form {
        padding: 20px
    }
}

@media(max-width:800px) {

    .exp,
    .split {
        grid-template-columns: 1fr
    }

    .list {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        padding-bottom: 8px
    }
}

#about .wrap h2 {
    font-size: clamp(28px, 4vw, 35px);
    color: var(--gold);
    text-align: center
}

/* ===== Page animations ===== */
@keyframes navIn {
    from { opacity: 0; transform: translateY(-24px) }
}

.top,
.nav {
    animation: navIn .7s ease backwards
}

.nav { animation-delay: .1s }

.rv {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform
}

.rv.rv-left { transform: translateX(-60px) }
.rv.rv-right { transform: translateX(60px) }
.rv.rv-zoom { transform: scale(.94) }
.rv.in { opacity: 1; transform: none }

/* hover polish */
.btn, .card, .leader, .rail img {
    transition: transform .3s ease, box-shadow .3s ease
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .22) }
.card:hover, .leader:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(20, 18, 58, .18) }
.rail img:hover { transform: scale(1.04) }

/* scroll progress bar */
#sprog {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 9999;
    pointer-events: none
}

@media(prefers-reduced-motion:reduce) {

    .top,
    .nav { animation: none }

    .rv { opacity: 1; transform: none; transition: none }
    #sprog { display: none }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: unset;
    border-color: #337ab7;
}



/* map */
.map{overflow:hidden;padding:0}
.map iframe{display:block;width:100%;height:clamp(280px,45vw,420px);border:0}
.grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:start}
.grid>*{min-width:0}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 16px 36px rgba(28,26,61,.12)}
.details{padding:30px;border-top:6px solid var(--gold)}
.details h2,.formcard h2{margin:0 0 6px;font-size:26px;line-height:1.2;font-weight:600;color:var(--navy)}
.details>p,.formcard>p{margin:0 0 22px;color:var(--muted);font-size:15.5px}
.reach{list-style:none;margin:0;padding:0;display:grid;gap:20px}
.reach li{display:flex;gap:14px;align-items:flex-start;overflow-wrap:anywhere}
.reach svg{flex:none;width:40px;height:40px;padding:9px;border-radius:50%;background:var(--soft);color:var(--navy)}
.reach b{display:block;font-weight:600;color:var(--navy);line-height:1.3}
.reach a{text-decoration:none}
.reach a:hover{text-decoration:underline;color:#b36a0a}
.reach address{font-style:normal}
 
 @media(max-width:900px){
  .grid{grid-template-columns:1fr;margin-top:-32px}
}
@media(max-width:600px){
  .hero{padding:40px 0 64px}
  .two{grid-template-columns:1fr}
  .details,.formcard{padding:22px 18px}
}

/* ===== About / org-tree RWD fixes ===== */
/* image width/height attribute irundhaalum aspect-ratio dhaan apply aagum */
.ofounder > img { height: auto }

/* empty <p class="lead"></p> 36px blank gap-a thadukkum */
#about .lead:empty { display: none }

/* chinna phone-la heading 4 line-ku pogaama */
#about .wrap h2 {
    font-size: clamp(24px, 7vw, 35px);
    overflow-wrap: anywhere
}

@media (max-width: 800px) {
    /* mobile-la founder-ku leaders-ku naduvula irundha ~76px blank space kuraikkum */
    .oline { height: 24px }
    .obranch { padding-top: 0 }
    .leader::before { display: none }
}

@media (max-width: 480px) {
    .ofounder {
        padding: 20px 16px;
        gap: 20px;
        border-radius: 24px
    }
    .ofounder p { font-size: 15.5px }
    .leader { width: 100% }
}


.page-banner {
	background: url(../images/about.jpg) no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	padding-top: 80px;
	padding-bottom: 80px;
	position: relative;
}

.page-banner .overlay {
	background: #af7c44;
	opacity: 0.7;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.page-banner-single {
	background: #333!important;
	padding-top: 40px;
	padding-bottom: 40px;
}

.banner-text {
	text-align: center;
}

.banner-text h1 {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	color: #fff;
	margin-bottom: 20px;
	font-weight: 700;
}

.banner-text ul {
	margin-bottom: 0;
	text-align: center;
}

.banner-text ul li {
	font-family: 'Roboto', sans-serif;
	display: inline-block;
	list-style-type: none;
	font-style: italic;
	color: #d8d8d8;
	font-weight: 700;
	margin-right: 5px;
	font-size: 14px;
}

.banner-text ul li a {
	color: #d8d8d8;
}

#academics.feature { padding: 70px 0; background: #faf8f4; }

.feature-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(42, 36, 80, .12);
}

.feature-img { min-height: 380px; }
.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    border-left: 6px solid #b87333;
}

.feature-tag {
    color: #b87333;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
}

.feature-body h3 {
    margin: 0;
    font-size: 32px;
    color: #2a2450;
}

.feature-body p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

.feature-btn {
    align-self: flex-start;
    margin-top: 8px;
    padding: 12px 28px;
    background: #2a2450;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background .3s;
}
.feature-btn:hover { background: #b87333; color: #fff;}

@media (max-width: 800px) {
    .feature-card { grid-template-columns: 1fr; }
    .feature-img { min-height: 240px; }
    .feature-body { padding: 30px 24px; border-left: 0; border-top: 6px solid #b87333; }
}
