/* =========================================
   TTIJ - Lean Site CSS
   ========================================= */

/* --- Variables --- */
:root {
  --gold: #d4af37;
  --gold-light: #f0d870;
  --dark: #0f1923;
  --dark2: #1a2a3a;
  --white: #fff;
  --gray: #f5f5f5;
  --text: #222;
  --muted: #666;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,.12);
  --nav-h: 106px;
  --transition: .25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.65; background: var(--white); padding-top: var(--nav-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.25; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Section padding --- */
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-gray { background: var(--gray); }
.text-center { text-align: center; }

/* --- Section heading --- */
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--gold); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.section-head { margin-bottom: 45px; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 11px 28px; border-radius: 6px; font-weight: 600; font-size: .95rem; transition: var(--transition); cursor: pointer; border: none; }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--dark); }

/* =========================================
   NAVBAR
   ========================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dark);
  min-height: var(--nav-h);
  display: flex; align-items: center;
  box-shadow: 0 2px 15px rgba(0,0,0,.35);
  padding: 8px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  min-width: 0;
}
.nav-logo img { height: 68px; width: auto; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.nav-logo-text .brand-line1 {
  font-size: 1.08rem; font-weight: 800; color: var(--gold); letter-spacing: .2px;
}
.nav-logo-text .brand-line2 {
  font-size: .88rem; color: rgba(255,255,255,.8); font-weight: 500;
}
.nav-logo-text .brand-line3 {
  font-size: .72rem; color: rgba(255,255,255,.55); font-weight: 400; margin-top: 2px;
}
.nav-logo-text .brand-line4 {
  font-size: .72rem; color: rgba(255,255,255,.55); font-weight: 400;
}
@media (max-width: 600px) {
  .nav-logo-text .brand-line1 { font-size: .85rem; }
  .nav-logo-text .brand-line2 { font-size: .72rem; }
  .nav-logo-text .brand-line3 { font-size: .62rem; }
  .nav-logo-text .brand-line4 { font-size: .62rem; }
  .nav-logo img { height: 50px; }
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--dark) !important;
  padding: 9px 18px; border-radius: 6px; font-weight: 700 !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 6px;
}

/* Desktop nav: Upcoming Batches stays available in the mobile burger menu only */
@media (min-width: 901px) {
  .nav-schedule-item { display: none; }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--dark2); flex-direction: column; align-items: flex-start;
    padding: 24px 20px; gap: 4px; overflow-y: auto;
    transform: translateX(-100%); transition: transform .3s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { display: block; font-size: 1.1rem; padding: 12px 10px; width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-links a.nav-cta { display: inline-block; border-bottom: none; padding: 12px 18px; margin-top: 20px; }
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider { position: relative; overflow: hidden; height: 520px; background: var(--dark); }
@media (max-width: 600px) { .hero-slider { height: 360px; } }

.hero-slides { display: flex; height: 100%; transition: transform .6s ease; }
.hero-slide {
  min-width: 100%; height: 100%;
  background-size: cover; background-position: center; position: relative;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.35) 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.hero-content h2 {
  color: var(--white); font-size: 2.4rem; font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.6); max-width: 720px; margin: 0 0 18px;
}
.hero-credentials {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-credentials li {
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hero-credentials li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .hero-content h2 { font-size: 1.5rem; }
  .hero-credentials li { font-size: .75rem; }
}

.slider-btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--gold); color: var(--dark); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--gold); }

/* =========================================
   CERTIFICATE MARQUEE
   ========================================= */
/* Batch Ticker */
.batch-ticker {
  background: var(--dark2);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 40px;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--dark);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
}
.ticker-track-wrap { flex: 1; overflow: hidden; position: relative; }
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track.animating { animation: ticker-scroll 30s linear infinite; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px 0 0;
  font-size: .8rem;
  color: rgba(255,255,255,.85);
}
.ticker-item .t-city {
  background: rgba(212,175,55,.15);
  color: var(--gold);
  font-weight: 700;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,.3);
}
.ticker-item .t-sep { color: rgba(255,255,255,.3); }
.ticker-item .t-status-open  { color: #4caf50; font-size: .7rem; font-weight: 700; }
.ticker-item .t-status-soon  { color: #ff9800; font-size: .7rem; font-weight: 700; }
.ticker-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 8px;
}

.cert-section { padding: 30px 0; background: var(--white); }
.cert-title { text-align: center; font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.cert-marquee { overflow: hidden; }
.cert-track {
  display: flex; align-items: center; gap: 32px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.cert-track:hover { animation-play-state: paused; }
.cert-track img { height: 70px; width: auto; object-fit: contain; filter: grayscale(30%); transition: filter .3s; }
.cert-track img:hover { filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-text h2 { font-size: 1.9rem; margin-bottom: 18px; }
.about-text p { color: rgba(255,255,255,.8); margin-bottom: 14px; font-size: .97rem; }
.about-text .btn { margin-top: 8px; }
.about-text p a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.about-text p a:hover { color: var(--gold-light); }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-image img { height: 260px; }
}

/* =========================================
   PLACEMENTS
   ========================================= */
.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.placement-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 14px; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.placement-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.placement-card img {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 12px; border: 3px solid var(--gold);
}
.placement-card h4 { font-size: .85rem; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.placement-card .bank { font-size: .78rem; color: var(--muted); }
.placement-card .role { font-size: .8rem; color: var(--gold); font-weight: 600; }
.placement-sub { font-size: 1rem; font-weight: 600; color: var(--muted); margin-top: 6px; }

/* =========================================
   COURSE HIGHLIGHT
   ========================================= */
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.highlight-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.highlight-img img { width: 100%; height: 360px; object-fit: cover; transition: transform .4s; }
.highlight-img:hover img { transform: scale(1.03); }
.stat-box { display: flex; gap: 30px; margin-top: 30px; padding: 20px; background: rgba(212,175,55,.1); border-radius: var(--radius); }
.stat-item { text-align: center; flex: 1; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-item span { font-size: .85rem; color: var(--muted); }
@media (max-width: 768px) {
  .highlight-grid { grid-template-columns: 1fr; gap: 24px; }
  .highlight-img img { height: 240px; }
  .stat-box { flex-wrap: wrap; }
}

/* Feature icons */
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { width: 42px; height: 42px; flex-shrink: 0; }
.feature-icon img { width: 42px; height: 42px; }
.feature-item h4 { font-size: 1rem; margin: 0; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testi-slider { position: relative; overflow: hidden; }
.testi-slides { display: flex; transition: transform .5s ease; }
.testi-slide { min-width: 100%; padding: 0 10px; }
.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto;
}
.testi-card .quote { font-size: 1.8rem; color: var(--gold); margin-bottom: 14px; }
.testi-card p { color: var(--muted); font-style: italic; line-height: 1.75; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.testi-author h4 { font-size: 1rem; margin-bottom: 4px; }
.testi-stars { color: var(--gold); font-size: .85rem; }
.testi-controls { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.2); border: none; cursor: pointer; transition: var(--transition); }
.testi-dot.active { background: var(--gold); }
.review-cta { margin-top: 30px; }
.review-cta blockquote { border-left: 4px solid var(--gold); padding: 16px 20px; background: rgba(212,175,55,.08); border-radius: 0 8px 8px 0; font-size: .95rem; color: var(--muted); }
.review-cta a { color: var(--gold); font-weight: 600; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px;
  padding: 60px 0 40px;
}
.footer-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-about p { font-size: .92rem; line-height: 1.7; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact .fi { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact strong { display: block; color: var(--white); font-size: .85rem; margin-bottom: 3px; }
.footer-contact a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: var(--gold); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* =========================================
   MOBILE BOTTOM NAV
   ========================================= */
.mobile-bottom-nav { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 62px; }
  .mobile-bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: var(--dark2); border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -2px 12px rgba(0,0,0,.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 4px; color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 600;
    text-decoration: none; transition: var(--transition);
  }
  .mobile-bottom-nav a i { font-size: 1.15rem; }
  .mobile-bottom-nav a:hover, .mobile-bottom-nav a.active { color: var(--gold); }
  .mobile-bottom-nav a.whatsapp-link i { color: #25D366; }
}

/* =========================================
   BREADCRUMB / PAGE HEADER
   ========================================= */
.page-hero {
  height: 200px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.page-hero-content { position: relative; z-index: 1; color: var(--white); }
.page-hero-content h1 { font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.7); list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: var(--gold); }
.breadcrumb li::after { content: '/'; margin-left: 8px; }
.breadcrumb li:last-child::after { display: none; }
@media (max-width: 480px) { .page-hero-content h1 { font-size: 1.6rem; } }

/* =========================================
   COURSES PAGE
   ========================================= */
.courses-list { display: flex; flex-direction: column; gap: 18px; }
.courses-list li { display: flex; align-items: flex-start; gap: 16px; }
.c-num {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--gold); color: var(--dark); font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.c-text strong { display: block; font-size: 1rem; color: var(--text); }
.c-text span { font-size: .88rem; color: var(--muted); }

/* =========================================
   ABOUT PAGE
   ========================================= */
.feature-list-item { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feature-list-item li { padding: 10px 14px; background: var(--gray); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; font-size: .92rem; }
.founder-slider { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-slides { display: flex; transition: transform .6s ease; }
.founder-slide { min-width: 100%; }
.founder-slide img { width: 100%; height: 380px; object-fit: cover; }
@media (max-width: 480px) { .founder-slide img { height: 240px; } }

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.93);
  z-index: 2000; display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 0 40px rgba(0,0,0,.5); }
.lb-close {
  position: absolute; top: 18px; right: 22px;
  color: var(--white); font-size: 2.2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: var(--white);
  font-size: 1.8rem; cursor: pointer; padding: 10px 16px; border-radius: 6px;
  transition: var(--transition);
}
.lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--dark); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* =========================================
   UTILITY
   ========================================= */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.fw-700 { font-weight: 700; }
.color-gold { color: var(--gold); }
