/**
 * MIDHATI - Homepage styles (Phase 6)
 * Migrated from uploads/custom-css-js/56.css
 */

/* Section 1 - Page-local aliases mapped to global.css tokens */
:root {
	--navy: var(--color-navy-dark);
	--navy-hover: #15315B;
	--navy-soft: var(--color-navy-header);
	--gold: var(--color-gold);
	--gold-hover: var(--color-gold-hover);
	--white: var(--color-white);
	--bg-light: var(--color-off-white);
	--text-dark: var(--color-text-dark);
	--text-secondary: var(--color-text-muted);
	--border: var(--color-border);
	--gold-tint: rgba(201, 163, 45, 0.1);
	--navy-tint-04: rgba(12, 31, 57, 0.04);
	--navy-tint-08: rgba(12, 31, 57, 0.08);
	--navy-tint-12: rgba(12, 31, 57, 0.12);
	--font-display: var(--font-primary);
	--font-body: var(--font-primary);
	--container: var(--container-max);
	--radius-sm: var(--border-radius-md);
	--radius-md: 14px;
	--radius-lg: 24px;
	--transition: var(--transition-base);
}


/* Section 2 - Base extras (homepage scope; header offset lives in header.css) */
html {
	overflow-x: hidden;
}

.entry-content a,
main#main a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--navy);
	margin: 0 0 0.5em;
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.entry-content p,
main#main p {
	margin: 0 0 1em;
	color: var(--text-secondary);
}

button {
	font-family: inherit;
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: var(--border-radius-sm);
}


/* 3. LAYOUT HELPERS */
.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section{ padding: 88px 0; }
.bg-white{ background: var(--white); }
.bg-light{ background: var(--bg-light); }
.bg-navy{ background: var(--navy); position: relative; overflow: hidden; }

.section-head{ max-width: 720px; margin-bottom: 56px; }
.section-head--center{ margin-inline: auto; text-align: center; }
.section-title{ font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.section-lede{ font-size: 1.05rem; color: var(--text-secondary); }
.section-cta-wrap{ text-align: center; margin-top: 48px; }

.text-on-navy{ color: var(--white); }
.text-on-navy-secondary{ color: rgba(255,255,255,.78); }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
}
.eyebrow--on-navy{ color: var(--gold); }
.eyebrow-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); display: inline-block; flex: none;
}
.trust-dot, .awareness-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}

.text-underline-gold{
  position: relative;
  color: var(--navy);
}
.text-underline-gold::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: .06em;
  height: .26em; background: var(--gold); opacity: .35; z-index: -1;
}

/* Grids */
.grid{ display: grid; gap: 28px; }
.grid-5{ grid-template-columns: repeat(5, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }

/* ---------------------------------------------------------------

/* 4. BUTTONS */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-lg{ padding: 16px 32px; font-size: 1rem; }

.btn-gold{
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover{ background: var(--gold-hover); color: var(--navy); }

.btn-ghost-navy{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy-tint-12);
}
.btn-ghost-navy:hover{ border-color: var(--navy); background: var(--navy-tint-04); }

.btn-outline-navy{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }

/* ---------------------------------------------------------------

/* 6. HERO */

.hero-image-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image{
    width:100%;
    max-width:460px;
    height:auto;
    border-radius:24px;
    box-shadow:0 20px 50px rgba(12,31,57,.18);
    border:2px solid rgba(201,163,45,.25);
    display:block;
}



.hero{
  position: relative;
  background: linear-gradient(180deg, var(--bg-light) 0%, #FFFFFF 100%);
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg{ position: absolute; inset: 0; pointer-events: none; }
.hero-columns{ position: absolute; left: 0; top: 0; width: 220px; height: 100%; opacity: .6; }
.hero-dots{ position: absolute; right: 0; bottom: -20px; width: 220px; height: 220px; opacity: .8; }

.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding-bottom: 72px;
}
.hero-heading{
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  margin-bottom: .5em;
}
.hero-sub{
  font-size: 1.08rem;
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-sub strong{ color: var(--navy); }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }

.trust-strip{
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: .9rem; font-weight: 600; color: var(--navy);
}
.trust-strip li{ display: inline-flex; align-items: center; gap: 8px; }



.hero-seal-wrap{ display: flex; justify-content: center; }
.hero-seal{
  position: relative;
  width: clamp(260px, 24vw, 340px);
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid rgba(201,163,45,.35);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14%;
}
.hero-seal::before{
  content: "";
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold);
  opacity: .55;
}
.logo--hero{
  width: 92%;
  height: 92%;
  object-fit: contain;
  display: block;
}



.hero-divider{ display: block; width: 100%; height: 50px; }

/* ---------------------------------------------------------------

/* 7. QUICK ACCESS CARDS */
.quick-card{
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.quick-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.quick-icon{
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-tint);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.quick-icon svg{ width: 26px; height: 26px; }
.quick-title{ font-size: 1.08rem; margin-bottom: 8px; }
.quick-text{ font-size: .92rem; margin-bottom: 18px; flex: 1; }
.quick-link{
  font-weight: 700; font-size: .88rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.quick-card:hover .quick-link{ color: var(--navy-hover); }

/* ---------------------------------------------------------------

/* 8. ABOUT PREVIEW */
.about-grid{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-visual{ display: flex; justify-content: center; }

.about-image{
    width:100%;
    max-width:420px;
    height:700px;
    object-fit:cover;
    object-position:center;
    display:block;
    margin:auto;
    border-radius:24px;
    border:2px solid rgba(201,163,45,.20);
    box-shadow:0 20px 50px rgba(12,31,57,.15);
}

.about-lede{ font-size: 1.05rem; margin-bottom: 28px; }
.about-points{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-bottom: 32px;
}
.about-point h3{ font-size: 1rem; margin-bottom: 6px; }
.about-point p{ font-size: .92rem; margin: 0; }

/* ---------------------------------------------------------------

/* 9. FEATURE CARDS (Why Choose Us) */
.feature-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon{
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  margin-bottom: 18px;
}
.feature-icon svg{ width: 26px; height: 26px; }
.feature-card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p{ font-size: .92rem; margin: 0; }

/* ---------------------------------------------------------------

/* 10. SERVICES GRID */
.service-card{
  display: block;
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover{
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.service-index{
  display: inline-block;
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 600;
  color: var(--gold);
  background: var(--navy);
  width: 32px; height: 32px;
  line-height: 32px; text-align: center;
  border-radius: 50%;
  margin-bottom: 14px;
}
.service-card h3{ font-size: 1.02rem; margin-bottom: 6px; }
.service-card p{ font-size: .9rem; margin: 0; }

/* ---------------------------------------------------------------

/* 11. LEGAL AWARENESS (navy band) */
.awareness-pattern{ position: absolute; inset: 0; width: 100%; height: 100%; }
.awareness .container{ position: relative; }
.awareness-grid{ margin-bottom: 8px; }
.awareness-item{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.awareness-item h3{
  color: var(--white);
  font-size: 1rem;
  margin: 10px 0 8px;
}
.awareness-item p{
  color: rgba(255,255,255,.72);
  font-size: .88rem; margin: 0;
}

/* ---------------------------------------------------------------

/* 12. INTERNSHIP */
.internship-card{
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  align-items: center;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}
.internship-roles{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.internship-role h3{ font-size: .98rem; margin-bottom: 6px; }
.internship-role p{ font-size: .88rem; margin: 0; }
.internship-visual{ display: flex; justify-content: center; }
.internship-visual svg{ width: 140px; height: 140px; }

/* ---------------------------------------------------------------

/* 13. BLOG CARDS */
.blog-card{
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-tag{
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
  width: fit-content;
}
.blog-card h3{ font-size: 1.05rem; margin-bottom: 10px; }
.blog-card h3 a:hover{ color: var(--navy-hover); }
.blog-excerpt{ font-size: .92rem; flex: 1; margin-bottom: 16px; }
.blog-readmore{ font-weight: 700; font-size: .88rem; color: var(--navy); }
.blog-readmore:hover{ color: var(--navy-hover); }

/* ---------------------------------------------------------------

/* 14. FINAL CTA BANNER */
.cta-banner{
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-hover) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-heading{ color: var(--white); margin-bottom: 14px; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.cta-sub{ color: rgba(255,255,255,.78); max-width: 52ch; margin: 0 auto 30px; }

/* ---------------------------------------------------------------

   TEXT JUSTIFICATION
   ================================================== */

.about-content p,
.hero-sub,
.footer-summary,
.practice-card p,
.blog-card p,
.contact-text p{
    text-align: justify;
    text-justify: inter-word;
}