/* ============================================================
   NAIIT PREMIUM UI REFINEMENT
   Safe visual layer: preserves existing PHP/MySQL functionality.
   ============================================================ */
:root{
  --naiit-ink:#101311;
  --naiit-ink-2:#171b18;
  --naiit-paper:#f7f6f1;
  --naiit-surface:#ffffff;
  --naiit-green:#0d7a55;
  --naiit-green-dark:#07563d;
  --naiit-gold:#e5b83f;
  --naiit-blue:#315f87;
  --naiit-muted:#65706a;
  --naiit-border:rgba(16,19,17,.11);
  --naiit-shadow:0 14px 40px rgba(16,19,17,.08);
  --naiit-radius:18px;
  --naiit-radius-sm:12px;
  --naiit-container:1240px;
  --naiit-space-section:clamp(56px,7vw,96px);
  --naiit-space-card:24px;
}

html{scroll-behavior:smooth}
body{
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
img,svg,video,iframe{max-width:100%}
button,a,input,select,textarea{font:inherit}
a{transition:color .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}

.container,.container-fluid{
  width:min(100% - 32px,var(--naiit-container));
  margin-inline:auto;
}

section{
  scroll-margin-top:90px;
}

h1,h2,h3,h4,h5,h6{
  text-wrap:balance;
  letter-spacing:-.02em;
}
p{
  max-width:72ch;
  line-height:1.7;
}
.section-title,.section-heading{
  line-height:1.12;
  margin-bottom:12px;
}
.section-subtitle,.section-description{
  color:var(--naiit-muted);
  line-height:1.7;
  margin-bottom:28px;
}

/* Cards: consistent premium surface */
.card,
.course-card,
.testimonial-card,
.faculty-card,
.reason-card,
.student-card,
.feature-card{
  border-radius:var(--naiit-radius);
  border:1px solid var(--naiit-border);
  box-shadow:var(--naiit-shadow);
  overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.card:hover,
.course-card:hover,
.testimonial-card:hover,
.faculty-card:hover,
.reason-card:hover,
.student-card:hover,
.feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(16,19,17,.12);
}

/* Buttons */
.btn,.button,button[type="submit"],input[type="submit"]{
  min-height:46px;
  border-radius:12px;
  padding:11px 18px;
  font-weight:700;
  line-height:1.1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  white-space:normal;
  text-align:center;
}
.btn:focus-visible,.button:focus-visible,button:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{
  outline:3px solid rgba(229,184,63,.55);
  outline-offset:3px;
}

/* Forms */
input:not([type="checkbox"]):not([type="radio"]),
select,textarea{
  border-radius:12px;
  border:1px solid var(--naiit-border);
  min-height:48px;
  padding:12px 14px;
  background:var(--naiit-surface);
  transition:border-color .2s ease,box-shadow .2s ease;
}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{
  border-color:var(--naiit-green);
  box-shadow:0 0 0 4px rgba(13,122,85,.10);
  outline:none;
}

/* Images */
img{
  height:auto;
  object-fit:cover;
}

/* Header safety: never permit CTA/nav overflow */
header,.site-header,.navbar,.main-header{
  max-width:100%;
}
header .container,.site-header .container,.navbar .container,.main-header .container{
  min-width:0;
}
header nav,.site-header nav,.navbar nav{
  min-width:0;
}
header a,.site-header a,.navbar a{
  max-width:100%;
}

/* Grid safety */
.row,[class*="grid"]{
  min-width:0;
}
[class*="col"],.card,.course-card,.testimonial-card,.faculty-card{
  min-width:0;
}

/* Section rhythm */
section:not(.hero):not(.hero-section){
  padding-block:var(--naiit-space-section);
}

/* Premium dark sections */
.bg-dark,.dark-section,.footer,.site-footer{
  color:#fff;
}
.bg-dark p,.dark-section p,.footer p,.site-footer p{
  color:rgba(255,255,255,.78);
}

/* Responsive */
@media (max-width: 1100px){
  .container,.container-fluid{
    width:min(100% - 28px,1100px);
  }
}
@media (max-width: 768px){
  :root{--naiit-space-card:20px}
  .container,.container-fluid{
    width:min(100% - 32px,680px);
  }
  h1{font-size:clamp(2rem,8vw,3rem)}
  h2{font-size:clamp(1.65rem,6vw,2.35rem)}
  h3{font-size:clamp(1.2rem,4.5vw,1.55rem)}
  p{line-height:1.65}
  .btn,.button,button[type="submit"],input[type="submit"]{
    min-height:48px;
  }
}
@media (max-width: 480px){
  .container,.container-fluid{
    width:calc(100% - 32px);
  }
  .card,.course-card,.testimonial-card,.faculty-card,.reason-card,.student-card,.feature-card{
    border-radius:14px;
  }
}

/* Prevent common accidental horizontal overflow */
table{max-width:100%;display:block;overflow-x:auto}
pre{max-width:100%;overflow:auto}
iframe{width:100%;border:0}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}

/* ============================================================
   NAIIT PREMIUM UI V2 — visual polish based on homepage review
   ============================================================ */
:root{
  --naiit-paper-2:#f3f4ef;
  --naiit-paper-3:#ecefe9;
  --naiit-surface:#ffffff;
  --naiit-ink:#101418;
  --naiit-muted:#626a66;
  --naiit-border:rgba(16,20,24,.10);
  --naiit-green:#1d7a37;
  --naiit-green-2:#2fae4e;
  --naiit-gold:#f6c81e;
  --naiit-blue:#1e4fbf;
}

/* ---- Global rhythm: tighter, more intentional ---- */
section{padding:64px 0 !important;}
.wrap{max-width:1240px !important;padding-left:28px !important;padding-right:28px !important;}
.section-head{max-width:760px;margin-bottom:30px !important;}
.section-head h1,.section-head h2{line-height:1.12 !important;margin-bottom:8px !important;}
.section-head p{font-size:15.5px !important;line-height:1.55 !important;margin:7px 0 0 !important;max-width:680px;}
.about-copy p,.why-card p,.course-card p.desc,.course-card ul,.admission-copy p,.seo-content-copy{line-height:1.55 !important;}
.about-copy p{margin:0 0 12px !important;}

/* Disable the over-3D look: premium = restrained motion */
.reveal{opacity:1 !important;transform:none !important;transition:opacity .35s ease,transform .35s ease !important;}
.tilt-3d,.tilt-3d:hover{transform:none !important;}
.course-card:hover,.why-card:hover,.testimonial-card:hover,.stu:hover{transform:translateY(-3px) !important;}

/* ---- Section backgrounds / visual rhythm ---- */
.about{background:#fff;border-top:1px solid rgba(16,20,24,.05);border-bottom:1px solid rgba(16,20,24,.05);}
.why{background:linear-gradient(180deg,#f4f5f0 0%,#eef0eb 100%);}
.courses{background:#fbfbf8;}
.success{background:linear-gradient(180deg,#0e1215 0%,#151a1e 100%) !important;}
.admission{background:#f4f5f0;}
.contact{background:#0d1114 !important;}

/* ---- Hero: tighter copy + richer right-side visual ---- */
.slider{min-height:590px !important;background:#0d1611;}
.slider .scrim{display:none !important;background:none !important;opacity:0 !important;}
.slider-inner{max-width:1240px !important;padding-left:28px !important;padding-right:28px !important;}
.slide .content{max-width:650px !important;padding:0 !important;}
.slide h2{font-size:clamp(38px,4.5vw,60px) !important;line-height:1.04 !important;letter-spacing:-.035em !important;margin:10px 0 14px !important;}
.slide p{max-width:540px !important;font-size:16px !important;line-height:1.55 !important;margin-bottom:22px !important;}
.slide .cta-row{gap:10px !important;}
.slide .bgwrap svg{filter:saturate(.92) contrast(1.04);}
.slide-arrow{background:rgba(255,255,255,.08) !important;backdrop-filter:blur(8px);}

/* ---- Trust strip: less tall, more premium ---- */
.trust-strip .wrap{padding-top:16px !important;padding-bottom:16px !important;gap:12px !important;}
.trust-strip div{font-size:10.5px !important;}
.trust-strip b{font-size:20px !important;}

/* ---- Recent students strip ---- */
.marquee-wrap{background:#fff !important;padding:12px 0 !important;border-top:1px solid rgba(16,20,24,.04);}
.mchip{background:#f7f8f5 !important;border-color:rgba(16,20,24,.08) !important;box-shadow:0 3px 12px rgba(16,20,24,.04);}

/* ---- About ---- */
.about .grid{gap:44px !important;align-items:center;}
.about .director-card{box-shadow:0 18px 44px rgba(16,20,24,.12) !important;border:1px solid rgba(255,255,255,.08) !important;}
.about-copy h2{font-size:clamp(28px,3.2vw,40px) !important;line-height:1.12 !important;margin:8px 0 14px !important;}
.about-copy .btn{margin-top:12px !important;}
.stat-row{gap:10px !important;margin-top:18px;}
.stat-row .s{padding:15px 12px !important;border-radius:14px !important;background:#fff !important;border:1px solid rgba(16,20,24,.09) !important;box-shadow:0 7px 22px rgba(16,20,24,.05);}

/* ---- Why cards ---- */
.why .section-head{margin-bottom:26px !important;}
.why-grid{gap:14px !important;}
.why-card{background:rgba(255,255,255,.86) !important;border:1px solid rgba(16,20,24,.09) !important;border-radius:16px !important;padding:20px !important;box-shadow:0 8px 26px rgba(16,20,24,.055) !important;}
.why-card .ic{width:38px !important;height:38px !important;margin-bottom:12px !important;}
.why-card h4{font-size:15px !important;line-height:1.3 !important;margin-bottom:7px !important;}
.why-card p{font-size:13.2px !important;}

/* ---- Course section and cards ---- */
.courses .section-head{margin-bottom:26px !important;}
.course-grid{gap:18px !important;}
.course-card{border-radius:18px !important;background:#fff !important;border:1px solid rgba(16,20,24,.10) !important;box-shadow:0 10px 30px rgba(16,20,24,.075) !important;}
.course-card .course-thumb{height:124px !important;background:linear-gradient(135deg,#eef3ed 0%,#dfe9e0 100%) !important;position:relative;overflow:hidden;}
.course-card .course-thumb:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,rgba(246,200,30,.24),transparent 35%),radial-gradient(circle at 20% 90%,rgba(47,174,78,.18),transparent 40%);}
.course-card .course-thumb .cph{position:relative;z-index:1;color:#12301c !important;font-size:30px !important;letter-spacing:-.03em;}
.course-card .course-thumb img{position:relative;z-index:2;}
.course-card .ribbon{z-index:3;top:10px !important;right:10px !important;background:#fff !important;border:1px solid rgba(16,20,24,.10);box-shadow:0 4px 12px rgba(16,20,24,.08);font-size:9px !important;padding:5px 9px !important;}
.course-body{padding:19px 20px 18px !important;}
.course-card h3{font-size:18px !important;line-height:1.28 !important;margin-bottom:6px !important;}
.course-card .meta{font-size:10px !important;margin-bottom:9px !important;}
.course-card p.desc{font-size:13px !important;margin-bottom:9px !important;}
.course-card ul{font-size:12.6px !important;margin-bottom:14px !important;}
.course-card .cfoot{padding-top:12px !important;}
.course-cta-buttons{gap:6px !important;}
.course-cta-buttons a{font-size:11px !important;padding:8px 10px !important;border-radius:10px !important;}
.dm-strip{margin-top:30px !important;padding:26px !important;border-radius:18px !important;box-shadow:0 16px 36px rgba(16,20,24,.10);}
.dm-card{padding:16px !important;border-radius:14px !important;background:rgba(255,255,255,.10) !important;}

/* ---- Certified students ---- */
.success{padding-top:62px !important;padding-bottom:62px !important;}
.success .section-head{margin-bottom:26px !important;}
.success-grid{gap:12px !important;}
.stu{padding:13px 10px !important;border-radius:14px !important;background:rgba(255,255,255,.055) !important;border-color:rgba(255,255,255,.11) !important;box-shadow:inset 0 1px rgba(255,255,255,.03);}
.stu:hover{border-color:rgba(246,200,30,.38) !important;}
.review-cta{margin-top:22px !important;border-radius:14px !important;background:rgba(255,255,255,.045) !important;border:1px solid rgba(255,255,255,.10) !important;}

/* ---- Testimonials ---- */
.testimonials-section{background:linear-gradient(180deg,#12171b 0%,#0d1114 100%) !important;}
.testimonials-section{padding-top:62px !important;padding-bottom:62px !important;}
.testimonials-head{margin-bottom:18px !important;}
.testimonial-card{padding:18px !important;border-radius:16px !important;background:linear-gradient(180deg,#1b2228,#171d22) !important;box-shadow:0 14px 30px rgba(0,0,0,.22) !important;}
.testimonial-text{font-size:13.5px !important;line-height:1.58 !important;min-height:150px !important;margin:14px 0 !important;}

/* ---- Admission ---- */
.admission{padding-top:62px !important;padding-bottom:62px !important;}
.admission .grid{gap:42px !important;}
.admission-copy h2{font-size:clamp(28px,3.3vw,40px) !important;line-height:1.12 !important;}
.admission-copy .step{padding:8px 0 !important;}
.admission-copy .step p{margin:3px 0 0 !important;line-height:1.5 !important;}
.form-card{padding:26px !important;border-radius:18px !important;background:#fff !important;box-shadow:0 18px 50px rgba(16,20,24,.10) !important;border-color:rgba(16,20,24,.09) !important;}

/* ---- Contact ---- */
.contact{padding-top:56px !important;padding-bottom:56px !important;}
.contact .grid{gap:34px !important;}
.map-frame{border-radius:16px !important;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.24) !important;border:1px solid rgba(255,255,255,.12);}

/* ---- FAQ: sophisticated neutral cards instead of solid green/blue bars ---- */
.faq-section{background:#f7f8f4 !important;border-top:1px solid rgba(16,20,24,.07) !important;padding-bottom:56px !important;}
.faq-topbar{background:#101418 !important;border-top:0 !important;box-shadow:none !important;}
.faq-topbar .wrap{padding-top:22px !important;padding-bottom:22px !important;}
.faq-topbar h2{font-family:var(--serif) !important;font-weight:600 !important;font-size:clamp(28px,4vw,42px) !important;}
.faq-topbar-icon{border-color:var(--gold) !important;color:var(--gold) !important;}
.faq-wrap{padding-top:28px !important;}
.faq-intro{margin-bottom:20px !important;}
.faq-kicker{color:var(--green-deep) !important;}
.faq-list{gap:9px !important;}
.faq-item{background:#fff !important;border:1px solid rgba(16,20,24,.09) !important;border-radius:14px !important;box-shadow:0 6px 20px rgba(16,20,24,.045) !important;}
.faq-item:hover{border-color:rgba(29,122,55,.35) !important;box-shadow:0 12px 28px rgba(16,20,24,.08) !important;}
.faq-item[open]{border-color:rgba(29,122,55,.48) !important;box-shadow:0 14px 30px rgba(16,20,24,.09) !important;}
.faq-item summary{min-height:62px !important;color:var(--ink) !important;padding:12px 15px !important;}
.faq-question{color:var(--ink) !important;font-size:15px !important;}
.faq-plus{border-color:rgba(29,122,55,.35) !important;color:var(--green-deep) !important;}
.faq-item[open] .faq-plus{background:var(--green-deep) !important;border-color:var(--green-deep) !important;}
.faq-item[open] .faq-chevron{color:var(--green-deep) !important;}
.faq-answer{padding:0 15px 14px 65px !important;}
.faq-answer-inner{border-left-color:var(--green-deep) !important;background:#f5f7f3 !important;}
.faq-answer-label{color:var(--green-deep) !important;}
.faq-note{background:#101418 !important;color:#fff !important;border-color:rgba(255,255,255,.08) !important;}
.faq-note a{color:var(--gold) !important;}

/* ---- Footer ---- */
footer.site{background:#090c0f !important;}
.footer-grid{padding-top:42px !important;padding-bottom:32px !important;gap:40px !important;}
.footer-grid ul{gap:8px !important;}
.footer-bottom{padding-top:17px !important;padding-bottom:17px !important;}

/* ---- Responsive refinements ---- */
@media(max-width:900px){
  section{padding:54px 0 !important;}
  .wrap{padding-left:22px !important;padding-right:22px !important;}
  .slider-inner{padding-left:22px !important;padding-right:22px !important;}
  .slider{min-height:560px !important;}
  .slide h2{font-size:clamp(34px,6vw,48px) !important;}
}
@media(max-width:700px){
  section{padding:48px 0 !important;}
  .wrap{padding-left:16px !important;padding-right:16px !important;}
  .slider-inner{padding-left:16px !important;padding-right:16px !important;}
  .slider{min-height:540px !important;}
  .slide .content{max-width:100% !important;}
  .slide h2{font-size:clamp(32px,9vw,43px) !important;}
  .slide p{font-size:15px !important;max-width:95% !important;}
  .section-head{margin-bottom:22px !important;}
  .section-head p{font-size:14.5px !important;line-height:1.55 !important;}
  .course-card .course-thumb{height:112px !important;}
  .course-body{padding:17px !important;}
  .course-cta-buttons{flex-wrap:wrap !important;}
  .course-cta-buttons a{flex:1 1 auto !important;}
  .faq-answer{padding-left:12px !important;}
  .faq-answer-inner{padding:12px !important;}
}

/* ============================================================
   NAIIT PREMIUM V3 — FINAL SPACING + READABILITY PASS
   Inspired by the requested editorial two-column information layout.
   No new image dependency; the right-side visual is CSS-only.
   ============================================================ */

/* Global reading scale: clearer without making sections oversized */
body{font-size:16px;}
p{font-size:16px;line-height:1.62;}
.section-head p,.section-description,.section-subtitle{font-size:16px !important;line-height:1.6 !important;}

/* Tight, consistent vertical rhythm */
section:not(.slider):not(.hero):not(.hero-section){padding-top:56px !important;padding-bottom:56px !important;}
.section-head{margin-bottom:26px !important;}
.section-head h2{margin:0 0 9px !important;}
.section-head p{margin:0 !important;}

/* WHY: larger, more readable cards while staying compact */
.why-grid{gap:16px !important;}
.why-card{padding:22px !important;}
.why-card h4{font-size:16px !important;line-height:1.3 !important;margin:0 0 8px !important;}
.why-card p{font-size:14.5px !important;line-height:1.55 !important;}
.why-card .ic{width:40px !important;height:40px !important;margin-bottom:13px !important;}

/* Course cards: readable body, less cramped CTA area */
.course-grid{gap:18px !important;}
.course-card .course-thumb{height:118px !important;}
.course-body{padding:20px !important;}
.course-card h3{font-size:19px !important;line-height:1.28 !important;margin:0 0 7px !important;}
.course-card .meta{font-size:11.5px !important;line-height:1.4 !important;margin-bottom:9px !important;}
.course-card p.desc{font-size:14px !important;line-height:1.55 !important;margin:0 0 9px !important;}
.course-card ul{font-size:13.5px !important;line-height:1.5 !important;margin:0 0 14px !important;padding-left:18px !important;}
.course-cta-buttons a{font-size:11.5px !important;min-height:38px !important;padding:8px 10px !important;}

/* Certified students: improve name/course readability */
.stu{padding:15px 12px !important;}
.stu b{font-size:13px !important;}
.stu span{font-size:10px !important;line-height:1.35 !important;}

/* Testimonials */
.testimonial-card{padding:19px !important;}
.testimonial-person b{font-size:15.5px !important;}
.testimonial-person small{font-size:12px !important;}
.testimonial-text{font-size:14.5px !important;line-height:1.6 !important;min-height:145px !important;}
.testimonial-footer{font-size:11.5px !important;}

/* Admission */
.admission-copy p{font-size:16px !important;line-height:1.6 !important;}
.admission-copy .step p{font-size:14.5px !important;line-height:1.55 !important;}
.form-card{padding:26px !important;}
.form-card label{font-size:12px !important;}
.form-card input,.form-card select,.form-card textarea{font-size:15px !important;}

/* Contact */
.contact-list{gap:16px !important;}
.contact-list b{font-size:15px !important;}
.contact-list span{font-size:14px !important;line-height:1.55 !important;}

/* ------------------------------------------------------------
   HELPFUL INFORMATION / SEO CONTENT
   Fixes the oversized empty section seen in the screenshot.
   ------------------------------------------------------------ */
.seo-content-block{
  background:
    radial-gradient(circle at 92% 18%,rgba(29,122,55,.08),transparent 28%),
    linear-gradient(180deg,#fafbf8 0%,#f2f4ef 100%) !important;
  padding:54px 0 !important;
  border-top:1px solid rgba(16,20,24,.07) !important;
  border-bottom:1px solid rgba(16,20,24,.07) !important;
  overflow:hidden;
}
.seo-content-block .wrap{
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr) !important;
  gap:54px !important;
  align-items:center !important;
}
.seo-content-block > .wrap > .eyebrow{
  grid-column:1;
  grid-row:1;
  align-self:end;
  margin:0 0 -38px !important;
  position:relative;
  z-index:2;
}
.seo-content-copy{
  grid-column:1;
  grid-row:1;
  margin:0 !important;
  max-width:760px !important;
  padding-top:34px !important;
  color:#5c6670 !important;
  font-size:16.5px !important;
  line-height:1.68 !important;
}
.seo-content-copy p{
  font-size:16.5px !important;
  line-height:1.68 !important;
  margin:0 0 17px !important;
  max-width:760px !important;
}
.seo-content-copy p:last-child{margin-bottom:0 !important;}
.seo-content-copy h2,.seo-content-copy h3{
  font-family:var(--serif) !important;
  color:#101418 !important;
  line-height:1.15 !important;
  margin:0 0 14px !important;
  font-size:clamp(27px,3vw,38px) !important;
}
/* Add a premium CSS-only visual panel without altering database content. */
.seo-content-block .wrap:after{
  content:"";
  grid-column:2;
  grid-row:1;
  width:100%;
  min-height:300px;
  border-radius:24px;
  border:1px solid rgba(16,20,24,.10);
  background:
    linear-gradient(145deg,rgba(29,122,55,.10),rgba(255,255,255,.92) 55%),
    #fff;
  box-shadow:0 18px 50px rgba(16,20,24,.10);
  position:relative;
}
.seo-content-block .wrap:before{
  content:"LEARN  •  PRACTICE  •  GROW";
  grid-column:2;
  grid-row:1;
  z-index:3;
  align-self:center;
  justify-self:center;
  width:72%;
  min-height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:30px;
  border-radius:18px;
  border:1px solid rgba(29,122,55,.16);
  background:#fff;
  color:#1d7a37;
  font-family:var(--serif,Georgia,serif);
  font-size:clamp(24px,2.5vw,34px);
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.02em;
  box-shadow:0 14px 34px rgba(16,20,24,.10);
}

/* If SEO content has headings, keep the visual hierarchy editorial. */
.seo-content-copy > *:first-child{margin-top:0 !important;}

/* Footer and global small copy: readable but not oversized */
.footer-brand-p{font-size:14px !important;line-height:1.6 !important;}
.footer-grid ul{font-size:14px !important;}
.footer-grid h4{font-size:13px !important;}

/* Remove excessive empty vertical space from FAQ/SEO boundary */
.faq-wrap{padding-top:24px !important;}
.faq-intro{margin-bottom:18px !important;}
.faq-list{gap:9px !important;}

@media(max-width:900px){
  .seo-content-block .wrap{grid-template-columns:1fr !important;gap:28px !important;}
  .seo-content-block > .wrap > .eyebrow{grid-column:1;grid-row:1;margin:0 !important;}
  .seo-content-copy{grid-column:1;grid-row:2;padding-top:0 !important;max-width:100% !important;}
  .seo-content-block .wrap:after{grid-column:1;grid-row:3;min-height:220px;}
  .seo-content-block .wrap:before{grid-column:1;grid-row:3;width:70%;min-height:130px;}
}
@media(max-width:700px){
  body{font-size:15.5px;}
  p{font-size:15.5px;line-height:1.62;}
  section:not(.slider):not(.hero):not(.hero-section){padding-top:46px !important;padding-bottom:46px !important;}
  .section-head{margin-bottom:22px !important;}
  .section-head p{font-size:15px !important;}
  .why-card{padding:19px !important;}
  .why-card p{font-size:14px !important;}
  .course-body{padding:18px !important;}
  .course-card h3{font-size:18px !important;}
  .course-card p.desc{font-size:13.8px !important;}
  .course-card ul{font-size:13.2px !important;}
  .testimonial-text{font-size:14px !important;}
  .seo-content-block{padding:44px 0 !important;}
  .seo-content-copy,.seo-content-copy p{font-size:16px !important;line-height:1.65 !important;}
  .seo-content-block .wrap:after{min-height:190px;}
  .seo-content-block .wrap:before{min-height:110px;font-size:23px;width:76%;}
}



/* ============================================================
   NAIIT CONTENT + CARD PREMIUM LAYER
   Course cards intentionally remain image-free.
   Database/PHP functionality is untouched.
   ============================================================ */

:root{
  --nc-text:#171b18;
  --nc-muted:#59635d;
  --nc-green:#0d7a55;
  --nc-green-dark:#07563d;
  --nc-gold:#e5b83f;
  --nc-surface:#fff;
  --nc-soft:#f7f6f1;
  --nc-border:rgba(23,27,24,.12);
  --nc-shadow:0 10px 30px rgba(16,19,17,.07);
  --nc-shadow-hover:0 16px 38px rgba(16,19,17,.11);
}

/* Content readability */
main p,
section p,
.about-content p,
.helpful-information p,
.info-content p{
  font-size:clamp(16px,1.15vw,17.5px);
  line-height:1.68;
  color:var(--nc-muted);
  margin-block:0 14px;
  max-width:70ch;
}

section h2,
section h3,
.section-title,
.section-heading{
  line-height:1.16;
  letter-spacing:-.018em;
}

.section-eyebrow,
.eyebrow,
.kicker{
  letter-spacing:.16em;
  font-weight:800;
}

/* Tighten excessive gaps around content */
section .section-head,
section .section-header{
  margin-bottom:28px;
}

section .section-head + *,
section .section-header + *{
  margin-top:0;
}

/* Premium content surfaces */
.reason-card,
.feature-card,
.course-card,
.testimonial-card,
.faculty-card,
.student-card,
.card{
  background:var(--nc-surface);
  border:1px solid var(--nc-border);
  border-radius:16px;
  box-shadow:var(--nc-shadow);
}

/* Content card typography */
.reason-card h3,
.feature-card h3,
.course-card h3,
.testimonial-card h3,
.faculty-card h3,
.student-card h3,
.card h3{
  font-size:clamp(17px,1.3vw,20px);
  line-height:1.3;
  margin-bottom:9px;
}

.reason-card p,
.feature-card p,
.course-card p,
.testimonial-card p,
.faculty-card p,
.student-card p,
.card p{
  font-size:15.5px;
  line-height:1.6;
}

/* Course cards: NO image treatment; preserve text-first structure */
.course-card img,
.course-card picture,
.course-card .course-image,
.course-card .card-image,
.course-card .image-wrap{
  /* Do not create/require images; existing course imagery, if any,
     remains governed by the original markup. */
}

.course-card{
  display:flex;
  flex-direction:column;
}

.course-card .card-body,
.course-card .course-body,
.course-card .course-content{
  padding:22px 20px;
}

.course-card .course-title,
.course-card .card-title{
  font-size:clamp(18px,1.5vw,22px);
  line-height:1.28;
  margin-bottom:10px;
}

.course-card .course-description{
  font-size:15.5px;
  line-height:1.58;
}

.course-card ul{
  margin:12px 0 18px;
  padding-left:18px;
}

.course-card li{
  font-size:14.5px;
  line-height:1.55;
  margin-bottom:5px;
}

.course-card .actions,
.course-card .card-actions{
  margin-top:auto;
  padding-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/* All content cards: balanced padding */
.reason-card,
.feature-card,
.testimonial-card,
.faculty-card,
.student-card{
  padding:20px;
}

/* Testimonials */
.testimonial-card{
  min-height:0;
}
.testimonial-card p{
  font-size:15px;
}

/* FAQ content */
.faq-item,
.faq-card{
  border-radius:13px;
  overflow:hidden;
}
.faq-question{
  font-size:16px;
  line-height:1.35;
}

/* Helpful information: content-sized, not giant blank section */
.helpful-information,
.information-section,
.seo-information{
  min-height:0 !important;
}
.helpful-information .container,
.information-section .container,
.seo-information .container{
  min-height:0;
}

/* Contact and footer text */
.contact-section p,
.site-footer p,
.footer p{
  font-size:15px;
  line-height:1.6;
}

/* Mobile */
@media (max-width:768px){
  main p,
  section p,
  .about-content p,
  .helpful-information p,
  .info-content p{
    font-size:15.5px;
    line-height:1.62;
  }

  .reason-card,
  .feature-card,
  .testimonial-card,
  .faculty-card,
  .student-card{
    padding:18px;
  }

  .course-card .card-body,
  .course-card .course-body,
  .course-card .course-content{
    padding:19px 17px;
  }

  .course-card li{
    font-size:14px;
  }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
  }
}



/* ============================================================
   NAIIT FULL WEBSITE CONTENT JUSTIFICATION
   Justifies readable paragraph/prose content only.
   Headings, navigation, buttons, badges, prices and short UI
   labels remain naturally aligned for better UX.
   ============================================================ */

/* General readable prose */
main p,
main article p,
main .content p,
main .description p,
main .text-content p,
section p,
article p,
.about-content p,
.about-section p,
.info-content p,
.helpful-information p,
.information-section p,
.seo-information p,
.course-description p,
.course-content p,
.course-details p,
.course-overview p,
.testimonial-content p,
.review-text p,
.reason-card p,
.feature-card p,
.faculty-card p,
.student-card p,
.testimonial-card p,
.contact-section p,
.contact-content p,
.footer-content p,
.site-footer p,
.footer p{
  text-align:justify;
  text-justify:inter-word;
  hyphens:auto;
}

/* Lists that contain explanatory prose */
main li,
section li,
article li,
.course-card li,
.course-content li,
.course-details li,
.about-content li,
.info-content li,
.helpful-information li,
.information-section li,
.seo-information li{
  text-align:justify;
  text-justify:inter-word;
}

/* Keep short UI text / headings out of justification */
h1,h2,h3,h4,h5,h6,
button,
.btn,
.button,
a,
nav,
label,
.badge,
.tag,
.price,
.stat,
.counter,
input,
select,
textarea,
summary{
  text-align:initial;
}

/* Preserve centered short content where the existing design asks for it */
.text-center,
.text-center p,
.text-center li,
[style*="text-align:center"] p{
  text-align:center;
}

/* Avoid ugly justification on very short mobile lines */
@media (max-width:480px){
  main p,
  main article p,
  main .content p,
  main .description p,
  main .text-content p,
  section p,
  article p,
  .about-content p,
  .about-section p,
  .info-content p,
  .helpful-information p,
  .information-section p,
  .seo-information p,
  .course-description p,
  .course-content p,
  .course-details p,
  .course-overview p,
  .testimonial-content p,
  .review-text p,
  .reason-card p,
  .feature-card p,
  .faculty-card p,
  .student-card p,
  .testimonial-card p,
  .contact-section p,
  .contact-content p,
  .footer-content p,
  .site-footer p,
  .footer p{
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
  }
}
/* Slider left dark-shadow visual correction */
.slider .slide .bgwrap::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.48) 0%,rgba(255,255,255,.24) 20%,rgba(255,255,255,.08) 42%,rgba(255,255,255,0) 62%) !important;mix-blend-mode:screen !important;}
.slider .slide .bgwrap img{position:relative;z-index:0;}
.slider .slide .scrim{display:none !important;background:none !important;opacity:0 !important;}

/* ============================================================
   CRITICAL FIXES — Sep 2026
   1) .success / .testimonials-section / .contact are dark by design
      above, but their text was still dark-on-dark (invisible). This
      makes every heading/paragraph/card inside them light again.
   2) Removes the white "shine" overlay that was washing out the
      slider image and its baked-in text.
   3) Shows the FULL slider image (no cropping) instead of covering/
      cutting off the edges.
   4) Adds a header contact-number pill.
   ============================================================ */

/* ---- 1) Fix invisible text inside dark sections ---- */
.success .eyebrow,
.testimonials-section .eyebrow,
.contact .eyebrow{color:var(--gold,#F0B429) !important;}
.success .section-head h2,
.success .section-head p,
.testimonials-section .section-head h2,
.testimonials-section .section-head p,
.contact h2{color:#fff !important;}
.success .section-head p,
.testimonials-section .section-head p{color:rgba(255,255,255,.72) !important;}

.student-status-head h3{color:#fff !important;}
.student-status-head span{color:rgba(255,255,255,.6) !important;}

.success .stu,
.testimonials-section .testimonial-card{background:#1b2126 !important;border-color:rgba(255,255,255,.12) !important;}
.success .stu b{color:#fff !important;}
.success .stu span{color:rgba(255,255,255,.62) !important;}
.success .empty-note{color:rgba(255,255,255,.6) !important;}

.success .review-cta{background:rgba(255,255,255,.06) !important;}
.success .review-cta p{color:#fff !important;}

.testimonials-section .testimonial-person b{color:#fff !important;}
.testimonials-section .testimonial-person small{color:rgba(255,255,255,.55) !important;}
.testimonials-section .testimonial-text{color:rgba(255,255,255,.82) !important;}
.testimonials-section .testimonial-footer{color:rgba(255,255,255,.45) !important;}
.testimonials-section .testimonial-arrow{background:#1b2126 !important;border-color:rgba(255,255,255,.14) !important;color:#fff !important;}
.testimonials-section .testimonial-rating{color:#fff !important;}

.contact h2,.contact .eyebrow{color:#fff !important;}
.contact .contact-list b{color:#fff !important;}
.contact .contact-list span{color:rgba(255,255,255,.6) !important;}
.contact .contact-list .ic{color:var(--gold,#F0B429) !important;}
.contact .social-row a{background:rgba(255,255,255,.08) !important;border-color:rgba(255,255,255,.18) !important;color:#fff !important;}

/* ---- 2) Remove the white shine overlay on the slider ---- */
.slider .slide .bgwrap::after{display:none !important;content:none !important;background:none !important;}

/* ---- 3) Show the FULL slider image, not cropped ---- */
.slider .slide .bgwrap{background:#0d1611 !important;}
.slider .slide .bgwrap img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  filter:none !important;
  transform:none !important;
}

/* ---- 4) Header contact number ---- */
.header-contact{
  display:flex;align-items:center;gap:8px;
  font-size:13px;font-weight:700;color:var(--ink,#14181c);
  background:rgba(30,79,191,.08);
  border:1px solid rgba(30,79,191,.18);
  padding:8px 14px;border-radius:999px;
  white-space:nowrap;margin-right:6px;
}
.header-contact svg{width:16px;height:16px;color:var(--blue,#1E4FBF);flex:0 0 auto;}
.header-contact:hover{background:rgba(30,79,191,.14);}
@media (max-width:900px){ .header-contact span.htxt{display:none;} .header-contact{padding:8px;} }
