/* =========================================================
   Lakshmy's Academy — custom layer (namespace: .la-)
   Loaded after main.css. Base template files are untouched.
   ========================================================= */

:root {
  --la-red: #FF2828;
  --la-orange: #FF6B00;
  --la-grad: linear-gradient(135deg, #FF2828 0%, #FF6B00 100%);
  --la-ink: #162726;
  --la-text: #5d6463;
  --la-cream: #FFF6F0;
  --la-cream-2: #FFEDE3;
  --la-line: #EDE6E1;
  --la-dark: #13171F;
  --la-dark-2: #1C212B;
  --la-radius: 18px;
  --la-shadow: 0 18px 45px -22px rgba(22, 39, 38, .28);
}

html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

.la-section { padding: 110px 0; position: relative; }
.la-section.la-tight { padding: 80px 0; }
@media (max-width: 991px) { .la-section { padding: 72px 0; } .la-section.la-tight { padding: 56px 0; } }

.la-bg-cream { background: var(--la-cream); }
.la-bg-dark { background: var(--la-dark); color: #c9ced6; }
.la-bg-dark .section-title, .la-bg-dark h3, .la-bg-dark h4 { color: #fff; }

/* graph-paper texture — a nod to exam sheets */
.la-paper {
  background-image:
    linear-gradient(rgba(255, 40, 40, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 40, 40, .055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.la-bg-dark.la-paper {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
}

.la-heading { max-width: 720px; margin-bottom: 50px; }
.la-heading.text-center { margin-left: auto; margin-right: auto; }
.la-heading .section-title { margin-bottom: 14px; }
.la-heading p { margin: 0; font-size: 17px; line-height: 1.7; }
.la-bg-dark .section-heading .sub-heading { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255,255,255,.1); }

.la-grad-text { background: var(--la-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.la-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 15px;
  background: var(--la-grad); color: #fff; border: 0;
  box-shadow: 0 12px 26px -12px rgba(255, 40, 40, .7);
  transition: transform .25s ease, box-shadow .25s ease;
}
.la-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(255, 40, 40, .8); }
.la-btn-ghost { background: transparent; color: var(--la-ink); border: 1.5px solid var(--la-ink); box-shadow: none; }
.la-btn-ghost:hover { background: var(--la-ink); color: #fff; box-shadow: none; }
.la-btn-light { background: #fff; color: var(--la-ink); box-shadow: none; }
.la-btn-light:hover { color: var(--la-red); }
.la-btn-wa { background: #25D366; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .8); }
.la-link { font-weight: 600; color: var(--la-red); display: inline-flex; align-items: center; gap: 8px; }
.la-link i { transition: transform .25s ease; }
.la-link:hover { color: var(--la-orange); }
.la-link:hover i { transform: translateX(4px); }

/* ---------- Intro / About split ---------- */
.la-intro-media { position: relative; padding: 0 40px 40px 0; }
.la-intro-media .la-img-main { border-radius: 26px; overflow: hidden; aspect-ratio: 4/4.3; box-shadow: var(--la-shadow); }
.la-intro-media .la-img-main img { width: 100%; height: 100%; object-fit: cover; }
.la-intro-media .la-img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 20px; overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--la-shadow); aspect-ratio: 1/1;
}
.la-intro-media .la-img-small img { width: 100%; height: 100%; object-fit: cover; }
.la-badge-card {
  position: absolute; left: -18px; top: 34px; background: #fff; border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--la-shadow);
}
.la-badge-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--la-grad); color: #fff; display: grid; place-items: center; font-size: 18px; }
.la-badge-card strong { display: block; color: var(--la-ink); font-size: 16px; line-height: 1.2; }
.la-badge-card span { font-size: 13px; }
@media (max-width: 991px) { .la-intro-media { margin-bottom: 50px; padding: 0 24px 24px 0; } .la-badge-card { left: 10px; top: 14px; } }

.la-intro-copy .lead-text { font-size: 18px; line-height: 1.75; color: var(--la-text); margin-bottom: 16px; }
.la-intro-copy p { line-height: 1.75; color: var(--la-text); }

.la-expect-title { font-size: 18px; font-weight: 600; margin: 28px 0 16px; display: flex; align-items: center; gap: 10px; }
.la-expect-title::after { content: ""; height: 1px; background: var(--la-line); flex: 1; }
.la-expect { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.la-expect li {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: #fff; border: 1px solid var(--la-line); color: var(--la-ink); font-weight: 500; line-height: 1.45;
  transition: border-color .25s ease, transform .25s ease;
}
.la-expect li:hover { border-color: rgba(255, 40, 40, .35); transform: translateY(-2px); }
.la-expect li i { color: var(--la-red); font-size: 18px; margin-top: 2px; width: 20px; text-align: center; flex-shrink: 0; }
.la-expect li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 575px) { .la-expect { grid-template-columns: 1fr; } }

/* ---------- Course cards ---------- */
.la-course-card {
  background: #fff; border-radius: var(--la-radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; border: 1px solid var(--la-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.la-course-card:hover { transform: translateY(-6px); box-shadow: var(--la-shadow); }
.la-course-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.la-course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.la-course-card:hover .la-course-thumb img { transform: scale(1.06); }
.la-course-num {
  position: absolute; left: 16px; top: 16px; background: rgba(19, 23, 31, .82); color: #fff;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; padding: 6px 12px; border-radius: 100px;
  backdrop-filter: blur(4px);
}
.la-course-icon {
  position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 14px;
  background: var(--la-grad); color: #fff; display: grid; place-items: center; font-size: 19px;
  box-shadow: 0 10px 22px -10px rgba(255, 40, 40, .8); z-index: 2;
}
.la-course-body { padding: 28px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.la-course-body .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--la-red); margin-bottom: 8px; }
.la-course-body h3 { font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.la-course-body h3 a { color: var(--la-ink); }
.la-course-body h3 a:hover { color: var(--la-red); }
.la-course-body p { font-size: 15px; line-height: 1.65; margin-bottom: 14px; color: var(--la-text); }
.la-course-desc { margin-bottom: 20px; display: flex; flex-direction: column; flex: 1; }
.la-course-desc p { margin-bottom: 10px; }
.la-course-more-content { display: none; }
.la-read-more-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--la-red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: color 0.25s ease, transform 0.25s ease;
  align-self: flex-start;
}
.la-read-more-btn:hover {
  color: var(--la-orange);
  transform: translateX(2px);
}
.la-read-more-btn i {
  font-size: 12px;
}
.la-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 20px; padding: 0; list-style: none; }
.la-chips li { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 100px; background: var(--la-cream); color: #8a3d1d; }
.la-course-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--la-line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.la-course-foot .mode { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.la-course-foot .mode i { color: var(--la-red); }

/* ---------- Approach steps ---------- */
.la-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.la-step {
  background: var(--la-dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--la-radius);
  padding: 30px 26px; position: relative; transition: border-color .3s ease, transform .3s ease;
}
.la-step:hover { border-color: rgba(255, 107, 0, .55); transform: translateY(-4px); }
.la-step .num { font-size: 46px; font-weight: 800; line-height: 1; margin-bottom: 18px; display: inline-block; }
.la-step .ico { position: absolute; right: 24px; top: 28px; color: rgba(255,255,255,.25); font-size: 26px; }
.la-step h4 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.la-step p { margin: 0; font-size: 15px; line-height: 1.65; color: #aab1bc; }
@media (max-width: 1199px) { .la-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .la-steps { grid-template-columns: 1fr; } }

/* ---------- Exam-paper CTA ---------- */
.la-paper-cta {
  background: var(--la-grad); border-radius: 30px; padding: 60px; color: #fff; position: relative; overflow: hidden;
}
.la-paper-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 20px 20px;
}
.la-paper-cta > .row { position: relative; z-index: 1; }
.la-paper-cta h2 { color: #fff; font-size: 40px; line-height: 1.2; margin-bottom: 16px; }
.la-paper-cta p { color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.la-paper-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.la-qp {
  background: #fff; color: var(--la-ink); border-radius: 14px; padding: 26px 26px 22px; max-width: 380px; margin-left: auto;
  transform: rotate(3deg); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .5); position: relative;
  font-size: 13.5px;
}
.la-qp::after {
  content: ""; position: absolute; inset: 10px -10px -10px 10px; background: rgba(255,255,255,.35); border-radius: 14px; z-index: -1; transform: rotate(-4deg);
}
.la-qp .qp-head { text-align: center; border-bottom: 1.5px solid var(--la-ink); padding-bottom: 10px; margin-bottom: 12px; }
.la-qp .qp-head strong { display: block; font-size: 14px; letter-spacing: .06em; }
.la-qp .qp-head span { font-size: 12px; color: var(--la-text); }
.la-qp .qp-part { font-weight: 700; font-size: 12px; letter-spacing: .1em; margin: 10px 0 6px; color: var(--la-red); }
.la-qp ol { margin: 0; padding-left: 18px; }
.la-qp li { margin-bottom: 5px; line-height: 1.45; }
.la-qp .qp-mark { position: absolute; right: -14px; top: -14px; width: 62px; height: 62px; border-radius: 50%; background: var(--la-ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; text-align: center; line-height: 1.1; transform: rotate(-12deg); }
@media (max-width: 991px) {
  .la-paper-cta { padding: 40px 26px; border-radius: 22px; }
  .la-paper-cta h2 { font-size: 30px; }
  .la-qp { margin: 40px auto 10px; }
}

/* ---------- FAQ ---------- */
.la-faq .accordion-item { border: 1px solid var(--la-line); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.la-faq .accordion-button { font-weight: 600; font-size: 17px; color: var(--la-ink); padding: 20px 22px; background: #fff; box-shadow: none; }
.la-faq .accordion-button:not(.collapsed) { color: var(--la-red); background: #fff; }
.la-faq .accordion-button:focus { box-shadow: none; }
.la-faq .accordion-body { padding: 0 22px 20px; line-height: 1.7; }
.la-help-card { background: var(--la-dark); color: #c9ced6; border-radius: var(--la-radius); padding: 34px; margin-top: 10px; }
.la-help-card h4 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.la-help-card p { margin-bottom: 22px; }

/* ---------- Gallery ---------- */
.la-gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; grid-auto-flow: dense; }
.la-gal-item { position: relative; border-radius: 16px; overflow: hidden; display: block; background: #eee; }
.la-gal-item.tall { grid-row: span 2; }
.la-gal-item.wide { grid-column: span 2; }
.la-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.la-gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(19, 23, 31, .85)); opacity: .85; transition: opacity .3s ease; }
.la-gal-item:hover img { transform: scale(1.07); }
.la-gal-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; }
.la-gal-cap small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.la-gal-cap strong { font-size: 16px; font-weight: 600; }
.la-gal-item .zoom { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--la-red); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: all .3s ease; }
.la-gal-item:hover .zoom { opacity: 1; transform: scale(1); }
.la-gal-item.is-hidden { display: none; }
@media (max-width: 991px) { .la-gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 575px) { .la-gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; } .la-gal-item.wide { grid-column: span 2; } .la-gal-cap strong { font-size: 13.5px; } }

.la-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.la-filter button {
  border: 1px solid var(--la-line); background: #fff; color: var(--la-ink); font-weight: 500;
  padding: 10px 20px; border-radius: 100px; transition: all .25s ease; font-size: 15px;
}
.la-filter button:hover { border-color: var(--la-red); color: var(--la-red); }
.la-filter button.active { background: var(--la-grad); border-color: transparent; color: #fff; }

/* ---------- Blog cards ---------- */
.la-post { background: #fff; border-radius: var(--la-radius); overflow: hidden; border: 1px solid var(--la-line); height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.la-post:hover { transform: translateY(-5px); box-shadow: var(--la-shadow); }
.la-post-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; display: block; }
.la-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.la-post:hover .la-post-thumb img { transform: scale(1.06); }
.la-post-cat { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--la-red); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.la-post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.la-post-meta { display: flex; gap: 16px; font-size: 13.5px; margin-bottom: 10px; }
.la-post-meta i { color: var(--la-red); margin-right: 5px; }
.la-post-body h3 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.la-post-body h3 a { color: var(--la-ink); }
.la-post-body h3 a:hover { color: var(--la-red); }
.la-post-body p { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.la-post-body .la-link { margin-top: auto; }

/* ---------- Inner page hero ---------- */
.la-page-hero { position: relative; padding: 150px 0 110px; overflow: hidden; background: var(--la-dark); }
.la-page-hero .bg { position: absolute; inset: 0; }
.la-page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.la-page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(19,23,31,.95) 30%, rgba(19,23,31,.55) 70%, rgba(255,40,40,.35)); }
.la-page-hero .container { position: relative; z-index: 2; }
.la-page-hero h1 { color: #fff; font-size: 56px; line-height: 1.1; margin-bottom: 14px; }
.la-page-hero p { color: #c9ced6; max-width: 560px; font-size: 17px; line-height: 1.7; margin-bottom: 22px; }
.la-crumb { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 8px 16px; border-radius: 100px; font-size: 14px; color: #c9ced6; margin: 0; list-style: none; }
.la-crumb a { color: #fff; }
.la-crumb a:hover { color: var(--la-orange); }
.la-crumb i { font-size: 11px; color: var(--la-orange); }
@media (max-width: 767px) { .la-page-hero { padding: 120px 0 80px; } .la-page-hero h1 { font-size: 38px; } }

/* ---------- Stats strip (factual) ---------- */
.la-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--la-shadow); margin-top: -60px; position: relative; z-index: 3; overflow: hidden; }
.la-fact { padding: 28px 24px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--la-line); }
.la-fact:last-child { border-right: 0; }
.la-fact .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--la-cream); color: var(--la-red); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.la-fact strong { display: block; color: var(--la-ink); font-size: 20px; line-height: 1.2; }
.la-fact span { font-size: 14px; }
@media (max-width: 991px) { .la-facts { grid-template-columns: 1fr 1fr; } .la-fact:nth-child(2) { border-right: 0; } .la-fact:nth-child(-n+2) { border-bottom: 1px solid var(--la-line); } }
@media (max-width: 575px) { .la-facts { grid-template-columns: 1fr; } .la-fact { border-right: 0; border-bottom: 1px solid var(--la-line); } .la-fact:last-child { border-bottom: 0; } }

/* ---------- Value cards (about) ---------- */
.la-value { background: #fff; border: 1px solid var(--la-line); border-radius: var(--la-radius); padding: 32px 28px; height: 100%; transition: all .3s ease; }
.la-value:hover { border-color: transparent; box-shadow: var(--la-shadow); transform: translateY(-4px); }
.la-value .ico { width: 58px; height: 58px; border-radius: 16px; background: var(--la-grad); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; }
.la-value h4 { font-size: 21px; margin-bottom: 10px; }
.la-value p { margin: 0; line-height: 1.7; }

/* ---------- Course detail rows ---------- */
.la-course-row { padding: 60px 0; border-bottom: 1px dashed var(--la-line); scroll-margin-top: 110px; }
.la-course-row:last-child { border-bottom: 0; }
.la-course-row .media { border-radius: 24px; overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: var(--la-shadow); }
.la-course-row .media img { width: 100%; height: 100%; object-fit: cover; }
.la-course-row .media .la-course-num { font-size: 14px; }
.la-course-row .tag { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--la-red); margin-bottom: 10px; display: block; }
.la-course-row h2 { font-size: 34px; line-height: 1.25; margin-bottom: 16px; }
.la-course-row p { line-height: 1.75; }
.la-focus { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.la-focus li { display: flex; gap: 10px; color: var(--la-ink); font-weight: 500; line-height: 1.45; }
.la-focus li i { color: var(--la-red); margin-top: 4px; }
.la-course-row .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 991px) { .la-course-row .media { margin-bottom: 30px; } .la-course-row h2 { font-size: 28px; } }
@media (max-width: 575px) { .la-focus { grid-template-columns: 1fr; } }

.la-inc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.la-inc-item { background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center; border: 1px solid var(--la-line); }
.la-inc-item i { font-size: 24px; color: var(--la-red); margin-bottom: 12px; display: block; }
.la-inc-item span { font-weight: 600; color: var(--la-ink); line-height: 1.4; display: block; font-size: 15px; }
@media (max-width: 991px) { .la-inc { grid-template-columns: repeat(2, 1fr); } .la-inc-item:last-child { grid-column: 1 / -1; } }

.la-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.la-jump a { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--la-line); background: #fff; color: var(--la-ink); font-weight: 500; font-size: 14.5px; }
.la-jump a:hover { border-color: var(--la-red); color: var(--la-red); }

/* ---------- Contact ---------- */
.la-contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--la-line); border-radius: 16px; margin-bottom: 16px; }
.la-contact-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--la-cream); color: var(--la-red); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.la-contact-card h4 { font-size: 18px; margin-bottom: 4px; }
.la-contact-card p, .la-contact-card a { margin: 0; color: var(--la-text); word-break: break-word; }
.la-contact-card a:hover { color: var(--la-red); }
.la-form { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--la-shadow); border: 1px solid var(--la-line); }
.la-form h3 { font-size: 28px; margin-bottom: 6px; }
.la-form > p { margin-bottom: 26px; }
.la-form label { font-weight: 600; color: var(--la-ink); font-size: 14px; margin-bottom: 6px; display: block; }
.la-form .form-control, .la-form .form-select { border: 1px solid var(--la-line); border-radius: 12px; padding: 13px 16px; font-size: 15px; background-color: #FCFAF9; box-shadow: none; }
.la-form .form-control:focus, .la-form .form-select:focus { border-color: var(--la-red); background-color: #fff; }
.la-form textarea { min-height: 130px; }
.la-form .note { font-size: 13px; margin-top: 12px; }
@media (max-width: 575px) { .la-form { padding: 26px 20px; } }

.la-social-row { display: flex; gap: 10px; margin-top: 8px; }
.la-social-row a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--la-dark); color: #fff; }
.la-social-row a:hover { background: var(--la-red); color: #fff; }

/* ---------- Article ---------- */
.la-article { max-width: 780px; margin: 0 auto; }
.la-article .cover { border-radius: 24px; overflow: hidden; aspect-ratio: 16/8; margin-bottom: 34px; box-shadow: var(--la-shadow); }
.la-article .cover img { width: 100%; height: 100%; object-fit: cover; }
.la-article h2 { font-size: 26px; margin: 34px 0 12px; }
.la-article p, .la-article li { font-size: 17px; line-height: 1.85; color: #4b5150; }
.la-article ul { padding-left: 20px; margin-bottom: 20px; }
.la-article li { margin-bottom: 6px; }
.la-article .callout { background: var(--la-cream); border-left: 4px solid var(--la-red); border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 28px 0; color: var(--la-ink); font-weight: 500; }
.la-article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--la-line); flex-wrap: wrap; }

/* ---------- Header + footer tweaks ---------- */
.la-powered a { color: var(--la-orange); }
.la-powered a:hover { color: #fff; }
.footer-section .copyright-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-section .copyright-content p { margin: 0; }
.la-footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.la-footer-contact i { color: var(--la-orange); margin-top: 5px; }
.la-footer-contact a { color: inherit; }
.la-footer-contact a:hover { color: var(--la-orange); }

.la-mt-40 { margin-top: 40px; }
.la-article .la-paper-cta h2, .la-article .la-paper-cta p { color: #fff; }
.la-form .form-select { display: block !important; width: 100%; }
@media (max-width: 991px) { .la-qp { max-width: 92%; transform: rotate(2deg); } .la-qp .qp-mark { right: -6px; } }

/* Hero: remove the white box behind the Contact / Explore buttons */
.hero-section-2 .about-counter-item.contact-cta { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* ===== v3 updates ===== */
/* Gallery: 6 even tiles */
.la-gal-grid.la-gal-6 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.la-gal-6 .la-gal-item { aspect-ratio: 4/3; }
@media (max-width: 767px) { .la-gal-grid.la-gal-6 { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 479px) { .la-gal-grid.la-gal-6 { grid-template-columns: 1fr; } }

/* Courses page cards */
.la-course-card-full .la-course-body h3 { color: var(--la-ink); }
.la-focus-title { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--la-ink); }
.la-focus-list { list-style: none; padding: 0; margin: 0 0 20px; }
.la-focus-list li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.45; color: #3f4645; margin-bottom: 8px; }
.la-focus-list li i { color: var(--la-red); font-size: 13px; margin-top: 4px; }
.la-course-card-full .la-course-foot .la-link i { transform: none !important; }

/* Contact cards (vertical) */
.la-contact-card-v { flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 34px 22px; margin: 0; }
.la-contact-card-v .ico { width: 62px; height: 62px; font-size: 24px; border-radius: 18px; }
.la-contact-card-v h4 { margin: 4px 0 6px; }
.la-contact-card-v .la-social-row { justify-content: center; }

/* Header: login button lives in the hamburger on small screens */
@media (max-width: 991px) {
  .header .la-desktop-only { display: none !important; }
}
.la-side-login { width: 100%; justify-content: center; margin: 24px 0 26px; }
.la-side-contact { list-style: none; padding: 0; margin: 0 0 22px; }
.la-side-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.la-side-contact .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--la-cream); color: var(--la-red); display: grid; place-items: center; flex-shrink: 0; font-size: 15px; }
.la-side-contact div { min-width: 0; line-height: 1.35; }
.la-side-contact small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--la-text); }
.la-side-contact span, .la-side-contact a { font-size: 15px; font-weight: 500; color: var(--la-ink); word-break: break-word; }
.la-side-contact a:hover { color: var(--la-red); }

/* ===== Mobile responsiveness ===== */
@media (max-width: 991px) {
  .hero-section-2 { padding-top: 50px !important; padding-bottom: 60px !important; }
  .hero-section-2 .hero-content-2 { padding-top: 0 !important; }
  .hero-section-2 .desc br { display: none; }
  .section-heading .section-title, .la-heading .section-title { font-size: 32px; line-height: 1.25; }
  .la-heading { margin-bottom: 34px; }
  .mb-50 { margin-bottom: 34px !important; }
}
@media (max-width: 575px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-section-2 .section-title { font-size: 34px !important; line-height: 1.2; }
  .hero-section-2 .about-action-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
  .section-heading .section-title, .la-heading .section-title { font-size: 27px; }
  .la-heading p, .la-intro-copy .lead-text { font-size: 16px; }
  .la-page-hero { padding: 110px 0 60px; }
  .la-page-hero h1 { font-size: 32px; }
  .la-paper-cta h2 { font-size: 26px; }
  .la-btn { padding: 12px 22px; font-size: 14.5px; }
  .la-course-body { padding: 24px 20px 20px; }
  .la-step { padding: 24px 22px; }
  .la-intro-media .la-img-small { width: 52%; border-width: 5px; }
  .la-badge-card { padding: 10px 12px; }
  .la-badge-card .ico { width: 36px; height: 36px; font-size: 15px; }
  .la-article p, .la-article li { font-size: 16px; }
  .la-article h2 { font-size: 22px; }
  .whatsapp-float { width: 50px !important; height: 50px !important; font-size: 26px !important; right: 14px !important; }
  .footer-section .copyright-content { justify-content: center; text-align: center; }
}

/* Footer brand — tightly cropped logo, no negative-margin offsets */
.academy-logo { margin-bottom: 18px; }
.academy-logo img { margin-top: 0 !important; width: 260px !important; max-width: 100%; height: auto !important; }
.academy-brand p { margin: 0 0 30px !important; font-size: 14px; }

/* Hero photo on tablets/phones (template hides it below 992px) — shown under the text */
@media (max-width: 991px) {
  .hero-section-2 { display: flex; flex-direction: column; }
  .hero-section-2 > .container { order: 1; }
  .hero-section-2 .hero-bg-wrap {
    display: block !important; order: 2; position: relative; right: auto !important; top: auto;
    height: auto; width: calc(100% - 32px); max-width: 600px; margin: 0 auto;
  }
  .hero-section-2 .hero-bg-wrap .hero-bg { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(22, 39, 38, .45); }
  .hero-section-2 .hero-bg-wrap .hero-bg img { width: 100%; height: auto; display: block; }
  .hero-section-2 .hero-bg-wrap .hero-bg-shape { display: none; }
}
@media (max-width: 991px) {
  .hero-section-2 .about-counter-items { margin-bottom: 30px !important; }
  .hero-section-2 .hero-content-2 { padding-bottom: 0 !important; }
  .hero-section-2 .row { min-height: 0 !important; }
}

/* Modal styling for Course Read More Popups */
.la-course-modal .modal-content {
  border-radius: 20px;
  border: 1px solid var(--la-line);
  box-shadow: 0 25px 60px -15px rgba(22, 39, 38, 0.35);
  overflow: hidden;
}
.la-course-modal .modal-header {
  padding: 24px 28px;
  background: var(--la-cream);
  border-bottom: 1px solid var(--la-line);
  align-items: flex-start;
}
.la-course-modal .modal-header .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--la-red);
  display: block;
  margin-bottom: 6px;
}
.la-course-modal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--la-ink);
  line-height: 1.35;
  margin: 0;
}
.la-course-modal .modal-body {
  padding: 26px 28px;
  color: var(--la-text);
  font-size: 15.5px;
  line-height: 1.75;
}
.la-course-modal .modal-body .modal-lead {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--la-ink);
  margin-bottom: 14px;
}
.la-course-modal .modal-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--la-line);
  display: flex;
  justify-content: flex-end;
}
