/* TCA – visual design and responsive layout.
 * Loaded last on every public page. Brand colours and spacing live in :root.
 * Breakpoints: 1200 (full menu), 992, 768, 576.
 */
:root {
  --ink: #0f1b2d;
  --ink-2: #172740;
  --red: #9b1c2e;
  --red-dark: #7a1423;
  --gold: #f2b01e;
  --paper: #f3f5f9;
  --text: #1b2534;
  --muted: #56637a;
  --line: #e2e7ef;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,27,45,.05), 0 14px 34px -18px rgba(15,27,45,.28);
  --shadow-up: 0 2px 4px rgba(15,27,45,.06), 0 24px 44px -18px rgba(15,27,45,.38);
  --space: clamp(56px, 7vw, 96px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* colours used by site.css */
  --tca-red: var(--red);
  --tca-red-dark: var(--red-dark);
  --tca-amber: var(--gold);
  --tca-ink: var(--ink);
  --tca-muted: var(--muted);
  --tca-line: var(--line);
  --tca-bg: var(--paper);
}

/* ===== base ===== */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body, h1, h2, h3, h4, h5, h6, p, a, li, span, input, textarea, button, td, th, label, summary { font-family: var(--font); }
body { color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.01em; overflow-wrap: break-word; }
p { line-height: 1.7; }
img, video { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold) !important; outline-offset: 2px; }

/* ===== buttons ===== */
.main-button-red a, .button, section.contact-us #contact button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px;
  background: var(--red); color: #fff; border: 0; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.3;
  text-transform: none; text-align: center; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(155,28,46,.8);
  transition: background .2s, box-shadow .2s;
}
.main-button-red a:hover, .button:hover, section.contact-us #contact button:hover { background: var(--red-dark); color: #fff; opacity: 1; }
.tca-btn, .tca-btn-sm { border-radius: 8px; justify-content: center; }
.tca-btn-sm { min-height: 38px; padding: 8px 16px; }

/* ===== top bar ===== */
.sub-header { background: var(--ink); position: relative; z-index: 111; border-bottom: 1px solid rgba(255,255,255,.08); }
.sub-header .row { align-items: center; flex-wrap: nowrap; min-height: 40px; }
.sub-header .row > div { width: auto; flex: 1 1 auto; }
.sub-header .left-content p { color: #fff; font-size: 13px; margin: 0; }
.sub-header .left-content p em { font-style: normal; color: var(--gold); font-weight: 600; margin-right: 4px; }
.sub-header .right-icons { text-align: right; }
.sub-header .right-icons ul li { display: inline-block; margin-left: 4px; }
.sub-header .right-icons a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.sub-header .right-icons a:hover { color: var(--gold); }

/* ===== header ===== */
.header-area { position: absolute; top: 40px; left: 0; right: 0; z-index: 100; background: rgba(15,27,45,.94); border-bottom: 1px solid rgba(255,255,255,.08); }
body.tca-has-ticker .header-area:not(.background-header) { top: 76px; }
.header-area.background-header { position: fixed; top: 0; background: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); animation: tca-drop .25s ease; }
@keyframes tca-drop { from { transform: translateY(-100%); } }
.header-area .main-nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.header-area .main-nav .logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; max-width: calc(100% - 64px); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: .02em; text-transform: uppercase; }
.header-area .main-nav .logo img { width: 78px; height: auto; max-width: 78px !important; flex-shrink: 0; }
.header-area .main-nav .logo { width: 260px; padding-right: 0; }
.header-area .main-nav .logo:hover { color: #fff; }
.header-area .main-nav .nav li { position: relative; list-style: none; }
.header-area .main-nav .nav a { display: flex; align-items: center; color: #e8ecf4; font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s; }
.header-area .main-nav .nav li.has-sub > a::after { content: ""; width: 6px; height: 6px; margin-left: 8px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.header-area .main-nav .nav a.active, .header-area .main-nav .nav a:hover { color: var(--gold); }
.header-area .menu-trigger { display: none; }

@media (min-width: 1200px) {
  .header-area .main-nav .nav { display: flex !important; flex-wrap: nowrap; gap: 4px; margin: 0; }
  .header-area .main-nav .nav > li > a { height: 76px; padding: 0 13px; }
  .header-area .main-nav .nav li ul.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 236px; padding: 8px; background: #fff; border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow-up); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .header-area .main-nav .nav li.has-sub:hover > ul.sub-menu, .header-area .main-nav .nav li.has-sub:focus-within > ul.sub-menu { opacity: 1; visibility: visible; transform: none; }
  .header-area .main-nav .nav ul.sub-menu a { color: var(--text); padding: 11px 14px; border-radius: 8px; font-weight: 500; }
  .header-area .main-nav .nav ul.sub-menu a:hover { background: var(--paper); color: var(--red); }
}

@media (max-width: 1199.98px) {
  .header-area .menu-trigger { display: block; position: relative; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; cursor: pointer; }
  .header-area .menu-trigger span { position: absolute; left: 11px; top: 20px; width: 20px; height: 2px; background: #fff; font-size: 0; transition: background .2s; }
  .header-area .menu-trigger span::before, .header-area .menu-trigger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: transform .25s, top .25s; }
  .header-area .menu-trigger span::before { top: -6px; }
  .header-area .menu-trigger span::after { top: 6px; }
  .header-area .menu-trigger.active span { background: transparent; }
  .header-area .menu-trigger.active span::before { top: 0; transform: rotate(45deg); }
  .header-area .menu-trigger.active span::after { top: 0; transform: rotate(-45deg); }
  .header-area .main-nav .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px 16px 18px; background: var(--ink);
    max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 24px 40px -16px rgba(0,0,0,.55); z-index: 120;
  }
  .header-area.background-header .main-nav .nav { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); }
  .header-area .main-nav .nav > li { border-bottom: 1px solid rgba(255,255,255,.09); }
  .header-area .main-nav .nav > li:last-child { border-bottom: 0; }
  .header-area .main-nav .nav > li > a { min-height: 50px; padding: 0 6px; justify-content: space-between; font-size: 15px; }
  .header-area .main-nav .nav li.has-sub.is-open-sub > a { color: var(--gold); }
  .header-area .main-nav .nav li.is-open-sub > a::after { transform: rotate(225deg); margin-top: 3px; }
  .header-area .main-nav .nav ul.sub-menu { display: none; margin: 0 0 10px; padding: 4px; background: var(--ink-2); border-radius: 10px; }
  .header-area .main-nav .nav ul.sub-menu a { min-height: 44px; padding: 0 14px; font-weight: 500; }
}

/* ===== hero ===== */
.main-banner { position: relative; display: flex; min-height: min(88vh, 780px); min-height: min(88svh, 780px); margin: 0; overflow: hidden; background: var(--ink); }
.main-banner #bg-video { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; max-height: none; object-fit: cover; z-index: 0; }
.main-banner .video-overlay { position: relative; z-index: 1; display: flex; align-items: center; width: 100%; padding: 120px 0 130px; background: linear-gradient(95deg, rgba(10,19,34,.93) 0%, rgba(10,19,34,.78) 48%, rgba(10,19,34,.4) 100%); }
.main-banner .caption { position: static; transform: none; max-width: 760px; }
.main-banner .caption h6 { display: inline-block; margin: 0 0 18px; padding-left: 14px; border-left: 4px solid var(--gold); color: #dbe2ee; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.main-banner .caption h2 { margin: 0 0 18px; color: #fff; font-size: clamp(30px, 5.2vw, 60px); line-height: 1.12; font-weight: 800; text-transform: none; letter-spacing: -.025em; text-wrap: balance; }
.main-banner .caption p { max-width: 560px; margin: 0; color: #d3dae7; font-size: clamp(15px, 1.6vw, 18px); }
.main-banner .caption .main-button-red { margin-top: 30px; }
.main-banner .caption .main-button-red a { min-height: 54px; background: var(--gold); color: var(--ink); font-size: 15px; box-shadow: 0 14px 30px -14px rgba(242,176,30,.8); }
.main-banner .caption .main-button-red a:hover { background: #ffc23d; color: var(--ink); }
.main-banner.tca-sub { min-height: min(66vh, 560px); }
.main-banner.tca-sub .video-overlay { padding: 110px 0; }

/* ===== section headings ===== */
.section-heading h2, section.upcoming-meetings .section-heading h2, .tca-board .section-heading h2, .counselling-section .section-header h2 {
  margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; border: 0; color: var(--ink); font-size: clamp(25px, 3.4vw, 38px); line-height: 1.2; font-weight: 800; text-transform: none; text-align: center;
}
.section-heading h2::after, .tca-board .section-heading h2::after, .counselling-section .section-header h2::after {
  content: ""; display: block; position: static; width: 52px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--gold) !important;
}

/* ===== service cards ===== */
.services { position: relative; z-index: 5; width: 100%; margin: -74px 0 0; padding-bottom: var(--space); }
.owl-service-item .owl-stage, .owl-courses-item .owl-stage { display: flex; }
.owl-service-item .owl-item, .owl-courses-item .owl-item { display: flex; float: none; }
.owl-carousel .owl-item > .item { width: 100%; }
.owl-carousel .owl-stage-outer { padding: 6px 0 14px; }
.services .item { height: 100%; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; color: var(--text); }
.services .item .icon { width: 64px; height: 64px; max-width: none; margin: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--ink); }
.services .item .icon img, .services .owl-carousel .item .icon img { width: 40px; height: 40px; object-fit: contain; }
.services .item h4 { margin: 20px 0 8px; color: var(--ink); font-size: 19px; line-height: 1.35; font-weight: 700; }
.services .item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.owl-carousel .owl-nav { display: none !important; }
.services .owl-dots, .our-courses .owl-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 16px; }
.services .owl-dots .owl-dot, .our-courses .owl-dots .owl-dot { width: 9px; height: 9px; margin: 0; padding: 0; border: 0; border-radius: 9px; background: #bcc5d4; transition: width .25s, background .25s; }
.services .owl-dots .owl-dot.active, .our-courses .owl-dots .owl-dot.active { width: 26px; height: 9px; background: var(--gold); }

/* ===== exam forms + important links ===== */
section.upcoming-meetings { padding: var(--space) 0; background: var(--paper); }
.services + section.upcoming-meetings { padding-top: var(--space); }
section.upcoming-meetings .categories { height: auto; margin: 0 0 28px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
section.upcoming-meetings .categories h4 { margin: 0 0 8px; padding-bottom: 14px; border-bottom: 3px solid var(--gold); color: var(--ink); font-size: 18px; line-height: 1.4; font-weight: 800; }
section.upcoming-meetings .categories ul { margin: 0; padding: 0; }
section.upcoming-meetings .categories ul li { display: block; margin: 0; border-bottom: 1px solid var(--line); }
section.upcoming-meetings .categories ul li:last-of-type { border-bottom: 0; }
section.upcoming-meetings .categories ul li a { display: block; padding: 12px 0; color: var(--text); font-size: 14.5px; line-height: 1.5; font-weight: 600; }
section.upcoming-meetings .categories ul li a:hover { color: var(--red); }
section.upcoming-meetings .categories .main-button-red { margin-top: 14px; padding: 0; border: 0; }
section.upcoming-meetings .categories .main-button-red a { width: 100%; }
@media (min-width: 992px) { [data-render="home-links"] + .main-button-red { margin-top: 18px; } }

[data-render="home-exams"] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; margin: 0; }
[data-render="home-exams"] > div { width: auto; max-width: none; margin: 0; padding: 0; display: flex; }
[data-render="home-exams"] > .col-12 { grid-column: 1 / -1; }
.meeting-item { display: flex; flex-direction: column; width: 100%; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.meeting-item:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.meeting-item .thumb { position: relative; background: var(--ink-2); }
.meeting-item .thumb img, .tca-exam-card .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.meeting-item .thumb .price { top: auto; left: 12px; right: 12px; bottom: 12px; pointer-events: none; }
.meeting-item .thumb .price span { display: inline-block; padding: 6px 11px; border-radius: 7px; background: rgba(15,27,45,.9); color: #fff; font-size: 12.5px; line-height: 1.4; font-weight: 600; }
.meeting-item .down-content { flex: 1; display: grid; grid-template-columns: 68px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-content: start; padding: 20px; border-radius: 0; }
.meeting-item .down-content .date { grid-column: 1; grid-row: 1 / span 2; align-self: start; float: none; margin: 0; }
.meeting-item .down-content .date h6 { display: flex; flex-direction: column; justify-content: center; min-height: 68px; margin: 0; padding: 8px 4px; border-radius: 12px; background: var(--ink); color: var(--gold); font-size: 12px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.meeting-item .down-content .date span { margin: 2px 0 0; color: #fff; font-size: 22px; line-height: 1.1; font-weight: 800; letter-spacing: 0; }
.meeting-item .down-content > a { grid-column: 2; }
.meeting-item .down-content h4 { display: block; margin: 0; color: var(--ink); font-size: 17.5px; line-height: 1.35; font-weight: 700; }
.meeting-item .down-content a:hover h4 { color: var(--red); }
.meeting-item .down-content .tca-card-status { grid-column: 2; margin: 8px 0 0; }
.meeting-item .down-content p { grid-column: 1 / -1; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

/* ===== updates board ===== */
.tca-board { padding: var(--space) 0 calc(var(--space) - 30px); background: #fff; }
.tca-board-col { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tca-board-col h4 { background: var(--ink); border-bottom: 4px solid var(--gold); padding: 16px 20px; }
.tca-board-col li a { color: var(--ink); line-height: 1.45; }
.tca-board-col li a:hover { color: var(--red); }
.tca-board-col li span .tca-badge { font-size: 10.5px; margin-left: 4px; }
.tca-board-more { padding: 14px 20px; }
@media (min-width: 768px) and (max-width: 991.98px) {
  .tca-board [data-render="home-board"] > div:last-child:nth-child(3) { width: 100%; }
  .tca-board [data-render="home-board"] > div:last-child ul { columns: 2; column-gap: 28px; }
  .tca-board [data-render="home-board"] > div:last-child li { break-inside: avoid; }
}

/* ===== counselling cards ===== */
.counselling-section { padding: var(--space) 12px; background: var(--paper); }
.counselling-section .section-header { margin-bottom: clamp(28px, 4vw, 44px); }
.counselling-section .section-header h2 { margin-bottom: 14px; }
.counselling-section .section-header p { max-width: 600px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.counselling-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.counselling-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.counselling-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.counselling-card .date-box { min-width: 86px; background: var(--ink); border-right: 4px solid var(--gold); }
.counselling-card .month { color: var(--gold); font-size: 15px; letter-spacing: .08em; }
.counselling-card .cdate { margin-top: 4px; font-size: 22px; font-weight: 800; }
.counselling-card .card-content { display: flex; flex-direction: column; min-width: 0; padding: 20px; }
.counselling-card .card-content h3 { font-size: 18.5px; line-height: 1.35; color: var(--ink); }
.counselling-card .card-content p { color: var(--muted); font-size: 14px; }
.counselling-card .button-group { margin-top: auto; }
.counselling-card .icon-btn { width: 40px; height: 40px; font-size: 16px; box-shadow: none; background: var(--paper); color: var(--red); border: 1px solid var(--line); }
.counselling-card .icon-btn:hover { background: var(--red); color: #fff; transform: none; }
.counselling-card .icon-btn[aria-label="WhatsApp"] { color: #15803d; font-size: 19px; }
.counselling-card .icon-btn[aria-label="WhatsApp"]:hover { background: #15803d; color: #fff; }
@media (max-width: 575.98px) {
  .counselling-card { flex-direction: column; }
  .counselling-card .date-box { width: 100%; flex-direction: row; gap: 10px; padding: 12px; border-right: 0; border-bottom: 4px solid var(--gold); }
}
@media (min-width: 576px) and (max-width: 768px) {
  .counselling-card { flex-direction: row; }
  .counselling-card .date-box { width: auto; flex-direction: column; gap: 0; }
}

/* ===== admission open (colleges) ===== */
section.our-courses { padding: var(--space) 0; background: var(--ink); }
.our-courses .section-heading h2 { color: #fff; }
.our-courses .item { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-radius: var(--radius); }
.our-courses .item > a img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.our-courses .item .down-content { flex: 1; background: #fff; }
.our-courses .item .down-content h4 { margin: 0; padding: 16px 18px 18px; border: 0; color: var(--ink); font-family: var(--font) !important; font-size: 15.5px; line-height: 1.45; font-weight: 700 !important; text-align: center; }

/* ===== enquiry + FAQs ===== */
section.apply-now { padding: var(--space) 0; background: var(--paper); }
section.apply-now .item { margin: 0 0 24px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(160deg, var(--ink-2), var(--ink)); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
section.apply-now .item h3 { margin: 0 0 14px; color: #fff; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; font-weight: 800; text-transform: none; }
section.apply-now .item p { margin: 0 0 14px; color: #d3dae7; font-size: 15px; }
section.apply-now .item p:empty { display: none; }
section.apply-now .item img { display: block; width: min(100%, 220px) !important; max-width: min(100%, 220px) !important; height: auto; margin: 8px auto 20px !important; padding: 12px; background: #fff; border-radius: 14px; }
section.apply-now .item .button, section.apply-now .item .main-button-red a { background: var(--gold); color: var(--ink); box-shadow: none; }
section.apply-now .item .button:hover, section.apply-now .item .main-button-red a:hover { background: #ffc23d; }

.accordions { margin: 0; padding: clamp(10px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.accordions .accordion { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.accordions .accordion:last-child { border-bottom: 0; }
.accordions .accordion-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 8px; border: 0; color: var(--ink); font-size: 15.5px; line-height: 1.45; font-weight: 700; }
.accordions .accordion-head center { width: 100%; font-size: 21px; font-weight: 800; }
.accordions .accordion:first-child .accordion-head { cursor: default; }
.accordions .accordion-head .icon { float: none; flex-shrink: 0; font-size: 12px; color: var(--muted); }
.accordions .accordion-head .icon .icon { display: inline-block; }
.accordions .accordion-head.is-open { color: var(--red); }
.accordions .accordion-head.is-open > .icon { transform: rotate(90deg); }
/* Bootstrap 5 adds padding to .accordion-body, which made closed answers peek out */
.accordions .accordion-body { padding: 0; border: 0; }
.accordions .accordion-body > .content { display: flow-root; padding: 0 8px 18px; }
.accordions .accordion-body p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== facts ===== */
section.our-facts { padding: var(--space) 0; background: linear-gradient(rgba(15,27,45,.93), rgba(15,27,45,.93)), url(../images/facts-bg.jpg) center / cover no-repeat; }
section.our-facts h2 { margin: 0 0 26px; color: #fff; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.2; font-weight: 800; }
[data-render="facts"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
[data-render="facts"] > div { display: contents; }
[data-render="facts"] > div > .row { display: contents; }
[data-render="facts"] > div > .row > div { display: flex; width: auto; margin: 0; padding: 0; }
.count-area-content, .count-area-content.new-students { display: flex; flex-direction: column; justify-content: center; width: 100%; margin: 0; padding: 22px 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.count-digit { color: var(--gold); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; }
.count-title { color: #dbe2ee; font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; }
section.our-facts .video { display: flex; align-items: center; justify-content: center; margin: 0; min-height: 300px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
section.our-facts .video img { padding: 0; width: 64px; max-width: 64px; }
@media (max-width: 991.98px) { section.our-facts .video { margin-top: 28px; min-height: 0; aspect-ratio: 16 / 10; } }

/* ===== home contact form ===== */
section.contact-us { padding: var(--space) 0 0; background: var(--paper); }
section.contact-us #contact { height: 100%; margin: 0; padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
section.contact-us #contact h2 { margin: 0 0 24px; padding-bottom: 14px; border-bottom: 3px solid var(--gold); color: var(--ink); font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; text-transform: none; }
section.contact-us #contact input, section.contact-us #contact textarea { width: 100%; margin: 0 0 16px; padding: 13px 16px; background: #fff; border: 1px solid #cbd3e1; border-radius: 10px; color: var(--text); font-size: 16px; font-weight: 500; }
section.contact-us #contact input { height: 52px; }
section.contact-us #contact textarea { min-height: 130px; max-height: 260px; }
section.contact-us #contact input:focus, section.contact-us #contact textarea:focus { border-color: var(--red); }
section.contact-us .right-info { height: 100%; padding: 32px 28px; background: var(--ink); border-radius: var(--radius); }
section.contact-us .right-info ul { margin: 0; padding: 0; }
section.contact-us .right-info ul li { display: block; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
section.contact-us .right-info ul li:last-child { margin: 0; padding: 0; border: 0; }
section.contact-us .right-info h6 { color: var(--gold); font-size: 14px; }
section.contact-us .right-info ul li span { font-size: 16px; line-height: 1.7; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 991.98px) { section.contact-us #contact { height: auto; margin-bottom: 22px; } }
section.contact-us > .footer { margin-top: var(--space); }

/* ===== service pages (counselling, selection, admission, contact) ===== */
.section-padding { padding: var(--space) 0; background: #fff; }
.section-padding.bg-light { background: var(--paper) !important; }
.main-banner + .section-padding { padding-top: var(--space); }
.section-padding h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(25px, 3.4vw, 38px); font-weight: 800; }
.card-box { height: 100%; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: box-shadow .25s, transform .25s; }
.card-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card-box i { display: inline-flex; width: 64px; height: 64px; margin-bottom: 18px; align-items: center; justify-content: center; border-radius: 14px; background: var(--ink); color: var(--gold); font-size: 26px; }
.card-box h4 { margin: 0 0 10px; color: var(--ink); font-size: 19px; font-weight: 700; }
.card-box p { margin: 0; color: var(--muted); font-size: 14.5px; }
/* process steps */
.section-padding .card-box h5 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.45; font-weight: 700; }
.section-padding .card-box:has(> h5) { display: flex; align-items: center; justify-content: center; min-height: 104px; border-top: 4px solid var(--gold); }
.contact-box { padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-box h3 { margin: 0 0 22px; padding-bottom: 14px; border-bottom: 3px solid var(--gold); color: var(--ink); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.3; font-weight: 800; }
.contact-box .row { row-gap: 14px; }
.contact-box .row > div { margin-top: 0 !important; }
.contact-box .form-control { min-height: 52px; padding: 13px 16px; border: 1px solid #cbd3e1; border-radius: 10px; font-size: 16px; }
.contact-box textarea.form-control { min-height: 140px; }
.contact-box .form-control:focus { border-color: var(--red); box-shadow: none; }
@media (max-width: 575.98px) { .contact-box .button { width: 100%; } }
section.apply-now > .container > .row { align-items: flex-start; }
.apply-now .container1 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; width: min(100% - 24px, 1296px); margin: 24px auto 0; }
.apply-now .container1 > p { display: none; }
.apply-now .container1 .card { display: block; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); text-align: center; }
.apply-now .container1 .header { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; color: var(--ink); font-size: 18px; font-weight: 800; }
.apply-now .container1 .header i { color: var(--red); }
.apply-now .container1 .value { color: var(--muted); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }

/* ===== college lists (engineering, medical) ===== */
#meetings .col-lg-4 > .categories { height: calc(100% - 28px); }
.categories ul br { display: none; }
.main-banner ~ .upcoming-meetings .categories ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); column-gap: 16px; }
.main-banner ~ .upcoming-meetings .col-lg-4 .categories ul li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.45; font-weight: 500; }
#meetings [data-render="home-links"] { display: block; }

/* ===== inner pages ===== */
section.heading-page.tca-heading { padding: 180px 0 72px; background: linear-gradient(rgba(15,27,45,.88), rgba(15,27,45,.9)), url(../images/heading-bg.jpg) center / cover no-repeat; }
section.heading-page.tca-heading h6 { color: var(--gold); text-transform: none; letter-spacing: 0; }
section.heading-page.tca-heading h2 { margin: 10px 0 14px; font-size: clamp(27px, 4.4vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
section.heading-page.tca-heading p { color: #d3dae7; font-size: 15.5px; }
.tca-page { padding: clamp(36px, 5vw, 64px) 0 var(--space); }
.tca-chips button { min-height: 40px; }
.tca-tools-right input[type=search] { min-height: 44px; font-size: 16px; border-radius: 10px; }
.tca-table-wrap { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); overflow-x: auto; }
.tca-table th { background: var(--ink); }
.tca-exam-name { color: var(--ink); }
.tca-box, .tca-detail-head, .tca-timeline-item { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.tca-detail-head { border-top: 4px solid var(--gold); }
.tca-detail-head > div { min-width: 0; }
.tca-box { overflow-wrap: break-word; }
.tca-box h4 { color: var(--ink); }
.tca-timeline-item { border-left: 5px solid var(--gold); }
.tca-tl-body { min-width: 0; }
.tca-linktable { border-collapse: collapse; }
.tca-linklist li a { display: inline-block; padding: 4px 0; color: var(--ink); }
.tca-linklist li a:hover { color: var(--red); }
.tca-cta { background: linear-gradient(120deg, var(--ink-2), var(--ink)); border-bottom: 4px solid var(--gold); border-radius: var(--radius); }
.tca-cta p { color: #d3dae7; }
@media (max-width: 860px) {
  .tca-table-wrap { background: transparent; border: 0; box-shadow: none; }
  .tca-table tr { margin-bottom: 16px; padding: 12px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .tca-table tbody tr:nth-child(even) { background: #fff; }
}
@media (max-width: 575.98px) {
  .tca-tools-right, .tca-tools-right input[type=search] { width: 100%; min-width: 0; }
  .tca-timeline-item { gap: 12px; padding: 14px 12px; }
  .tca-tl-date { min-width: 62px; }
  .tca-tl-count { padding: 6px 8px; }
  .tca-cta-btns, .tca-cta-btns .tca-btn { width: 100%; }
}

/* ===== footer (same on every page) ===== */
.footer { margin: var(--space) 0 0; padding: 34px 16px; background: #091221; border-top: 4px solid var(--gold); text-align: center; }
.footer p { margin: 0; color: #c5cede; font-size: 13.5px; line-height: 2; text-transform: none; }
.footer a { color: var(--gold); font-weight: 600; }
section.apply-now:has(> .footer), section.upcoming-meetings:has(> .footer), section.contact-us:has(> .footer) { padding-bottom: 0; }
.tca-footer { padding: 0; background: #091221; }
.tca-footer .footer { margin: 0; padding: 34px 16px; border-top: 4px solid var(--gold); }
.tca-footer .footer p { color: #c5cede; }

/* ===== small screens ===== */
@media (max-width: 767.98px) {
  .sub-header { display: none; }
  .header-area { top: 0; }
  body.tca-has-ticker .header-area:not(.background-header) { top: 36px; }
  .header-area .main-nav { min-height: 68px; }
  .header-area .main-nav .logo { font-size: 11.5px; gap: 10px; width: 230px; }
  .header-area .main-nav .logo img { width: 62px; max-width: 62px !important; }
  .main-banner { min-height: min(86vh, 640px); min-height: min(86svh, 640px); }
  .main-banner .video-overlay { padding: 110px 0 120px; background: rgba(10,19,34,.82); }
  .main-banner.tca-sub { min-height: 480px; }
  .main-banner.tca-sub .video-overlay { padding: 100px 0 90px; }
  .main-banner .caption .main-button-red a { width: 100%; max-width: 360px; }
  .services { margin-top: -52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .meeting-item:hover, .counselling-card:hover, .card-box:hover { transform: none; }
}

/* one rotation only on the open FAQ arrow */
.accordions .accordion-head.is-open .icon .icon { transform: none; }
/* comfortable side spacing on phones */
@media (max-width: 575.98px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .header-area .container { padding-left: 16px; padding-right: 16px; }
  .counselling-section { padding-left: 6px; padding-right: 6px; }
  .apply-now .container1 { width: calc(100% - 36px); }
}

/* footer credit link: theme dark red on a white tag so it stays readable on the dark footer */
.footer .tca-credit {
  color: #ff6b7a;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a.tca-credit:hover {
  color: #5241d6;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
