/*
Theme Name: Baba Deep Singh Ji Nursing Academy
Theme URI: https://example.com/bdsj-nursing-academy
Author: Baba Deep Singh Ji Nursing Academy
Description: A responsive multi-page nursing academy theme with Elementor-friendly styling.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bdsj-nursing-academy
*/

:root {
  --green-950: #043719;
  --green-900: #064f24;
  --green-800: #087132;
  --green-100: #e9f5ed;
  --navy-950: #071442;
  --navy-900: #0a1f5c;
  --navy-800: #123b84;
  --yellow: #f4c313;
  --yellow-dark: #d5a900;
  --red: #c81d25;
  --ink: #14231a;
  --muted: #52645a;
  --surface: #ffffff;
  --background: #f5f8f6;
  --border: #d9e5dc;
  --shadow: 0 18px 44px rgba(4, 55, 25, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4, .site-title, .footer-title {
  font-family: Lexend, Arial, sans-serif;
  letter-spacing: 0;
}

.screen-reader-text,
.skip-link { position: absolute; left: -9999px; }

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--navy-950);
  color: #fff;
}

.top-strip { background: var(--green-950); color: #fff; font-size: 15px; font-weight: 700; }
.top-strip a { color: var(--yellow); }

.top-strip__inner,
.header-inner,
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.top-strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.site-branding { display: flex; align-items: center; gap: 12px; min-width: 300px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--yellow);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--green-900);
}

.brand-copy, .brand-copy > span { display: block; }
.site-title { margin: 0; color: var(--green-950); font-size: clamp(18px, 1.7vw, 25px); font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.site-tagline { margin: 4px 0 0; color: var(--navy-900); font-size: 14px; font-weight: 700; }

.main-navigation ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a { background: var(--green-100); color: var(--green-900); outline: none; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.menu-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--green-900); transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle.is-open span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-of-type(2) { opacity: 0; }
.menu-toggle.is-open span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--green-800);
  color: #fff;
  font-family: Lexend, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(6, 79, 36, 0.2);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover, .button:focus { background: var(--green-950); color: #fff; outline: 3px solid rgba(244, 195, 19, 0.5); }
.button--secondary { background: var(--yellow); color: var(--navy-950); box-shadow: 0 10px 22px rgba(244, 195, 19, 0.22); }
.button--secondary:hover, .button--secondary:focus { background: var(--yellow-dark); color: var(--navy-950); }
.button--navy { background: var(--navy-900); color: #fff; }

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(118deg, var(--green-950) 0%, #075f2a 48%, var(--navy-950) 100%);
  color: #fff;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 68%, rgba(244, 195, 19, .2) 68% 69%, transparent 69% 100%),
    linear-gradient(0deg, transparent 0 76%, rgba(255, 255, 255, .1) 76% 77%, transparent 77% 100%);
}
.hero__inner { position: relative; display: flex; min-height: 660px; align-items: center; padding: 80px 0; }
.hero__content { width: min(650px, 58%); }
.hero::after {
  position: absolute;
  top: 90px;
  right: max(6vw, 54px);
  width: min(29vw, 390px);
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(7, 20, 66, .42));
  box-shadow: 18px 18px 0 rgba(244, 195, 19, .16);
  content: "NURSING\A ADMISSIONS\A 2026\A\A ANM  |  GNM\A B.SC  |  M.SC\A PPMET COACHING";
  white-space: pre;
  padding: 54px 34px;
  color: #fff;
  font-family: Lexend, Arial, sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.55;
}
.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(7, 20, 66, 0.68);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.hero h1 { max-width: 640px; margin: 18px 0 16px; color: #fff; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; text-transform: uppercase; }
.hero p { max-width: 610px; margin: 0 0 28px; color: rgba(255,255,255,.94); font-size: clamp(18px, 1.8vw, 23px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: #fff; font-weight: 700; }
.hero__trust span::before { margin-right: 8px; color: var(--yellow); content: "\2713"; }

.quick-contact { background: var(--navy-950); color: #fff; }
.quick-contact__inner { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 20px 0; }
.quick-contact strong { display: block; color: var(--yellow); font-family: Lexend, Arial, sans-serif; font-size: 20px; }
.quick-contact a { color: #fff; font-weight: 800; text-decoration: none; }

.section { padding: 72px 0; }
.section--soft { background: var(--green-100); }
.section--white { background: #fff; }
.section-header { max-width: 760px; margin-bottom: 32px; }
.section-header--center { margin-right: auto; margin-left: auto; text-align: center; }
.section-kicker { margin: 0 0 8px; color: var(--red); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.section-header h2,
.page-hero h1,
.entry-content h1,
.entry-content h2 { margin: 0 0 12px; color: var(--green-950); font-size: clamp(31px, 4vw, 48px); line-height: 1.12; }
.section-header p, .entry-content p { margin: 0 0 18px; color: var(--muted); font-size: 18px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--green-800);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(4,55,25,.07);
}
.card--navy { border-top-color: var(--navy-800); }
.card--yellow { border-top-color: var(--yellow); }
.card h2, .card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.card-label { display: inline-flex; margin-bottom: 16px; padding: 4px 9px; border-radius: 999px; background: var(--green-100); color: var(--green-900); font-size: 13px; font-weight: 800; }

.course-list, .check-list, .process-list, .contact-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.course-list li, .check-list li, .process-list li, .contact-list li { position: relative; padding-left: 30px; }
.course-list li::before, .check-list li::before, .process-list li::before, .contact-list li::before {
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-950);
  content: "\2713";
  font-size: 13px;
  font-weight: 900;
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 44px; align-items: center; }
.feature-image { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feature-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.guidance-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 58%, var(--navy-900) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.guidance-visual::after {
  position: absolute;
  right: -90px;
  bottom: 42px;
  width: 270px;
  height: 44px;
  background: var(--yellow);
  content: "";
  transform: rotate(-36deg);
}
.guidance-visual__label { display: block; color: var(--yellow); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.guidance-visual h3 { max-width: 420px; margin: 14px 0 26px; color: #fff; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; }
.guidance-visual__courses { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 410px; }
.guidance-visual__courses span { padding: 10px 12px; border-left: 3px solid var(--yellow); background: rgba(255,255,255,.1); font-weight: 700; }
.guidance-visual__phone { position: absolute; left: 38px; bottom: 30px; z-index: 1; color: #fff; font-family: Lexend, Arial, sans-serif; font-size: 20px; font-weight: 800; text-decoration: none; }

.page-hero { position: relative; overflow: hidden; padding: 82px 0 58px; background: var(--green-950); color: #fff; }
.page-hero::after { position: absolute; right: -80px; bottom: -100px; width: 360px; height: 260px; border: 54px solid rgba(244,195,19,.12); border-radius: 50%; content: ""; }
.page-hero h1 { position: relative; z-index: 1; color: #fff; }
.page-hero p { position: relative; z-index: 1; max-width: 760px; margin: 0; color: rgba(255,255,255,.88); font-size: 19px; }
.breadcrumbs { position: relative; z-index: 1; margin-bottom: 14px; color: var(--yellow); font-weight: 700; }

.entry-content { padding: 64px 0; }
.admission-band { background: var(--navy-950); color: #fff; }
.admission-band h2, .admission-band p { color: #fff; }
.admission-band .split { grid-template-columns: minmax(0,1fr) auto; }
.admission-alert { display: inline-flex; padding: 5px 10px; border-radius: 4px; background: var(--red); color: #fff; font-size: 14px; font-weight: 800; text-transform: uppercase; }

.steps { counter-reset: admissions; }
.steps li { min-height: 48px; padding-left: 58px; }
.steps li::before { counter-increment: admissions; content: counter(admissions); width: 40px; height: 40px; background: var(--navy-900); color: #fff; font-family: Lexend, Arial, sans-serif; }

.contact-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; }
.contact-box { padding: 30px; border-radius: var(--radius); background: var(--green-950); color: #fff; }
.contact-box h2, .contact-box h3, .contact-box p, .contact-box a { color: #fff; }
.map-frame { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }

.site-footer { background: #031f10; color: rgba(255,255,255,.8); }
.footer-inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 32px; padding: 48px 0; }
.footer-title { margin: 0 0 8px; color: #fff; font-size: 23px; font-weight: 800; text-transform: uppercase; }
.footer-inner a { color: #fff; }
.footer-whatsapp { display: inline-flex; padding: 9px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; font-size: 14px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; flex: 0 0 48px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; }
  .main-navigation { display: none; grid-column: 1/-1; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: grid; padding-top: 8px; }
  .main-navigation a { width: 100%; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split, .contact-panel { grid-template-columns: 1fr; }
  .hero__content { width: min(660px, 72%); }
  .hero::after { right: 4vw; width: 28vw; padding: 44px 22px; font-size: 18px; }
}

@media (max-width: 640px) {
  .top-strip__inner, .header-inner, .container { width: min(100% - 24px, var(--container)); }
  .top-strip__inner { display: grid; grid-template-columns: 1fr auto; font-size: 13px; }
  .site-branding { min-width: 0; }
  .brand-mark { width: 46px; height: 46px; flex-basis: 46px; font-size: 11px; }
  .site-title { font-size: 17px; }
  .site-tagline { font-size: 13px; }
  .hero, .hero__inner { min-height: 680px; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 45%); }
  .hero::after { display: none; }
  .hero__inner { align-items: flex-start; padding: 54px 0; }
  .hero__content { width: 100%; }
  .hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .hero__actions .button { width: 100%; }
  .quick-contact__inner { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .admission-band .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .guidance-visual { min-height: 430px; padding: 28px 24px; }
  .guidance-visual__courses { grid-template-columns: 1fr; }
  .guidance-visual__phone { left: 24px; bottom: 24px; }
}

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