/* =============================================
   Shouri Consultancy — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #163354;
  --navy-light:  #1E4A72;
  --gold:        #C9922A;
  --gold-light:  #E8B96A;
  --cream:       #FAF8F4;
  --cream-dark:  #F0EDE6;
  --text:        #1A2B3C;
  --text-muted:  #5A6A7A;
  --white:       #FFFFFF;
  --border:      #D8D2C8;
  --radius:      10px;
  --transition:  0.3s ease;
}

html  { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  border-bottom: 1px solid rgba(201, 146, 42, 0.3);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta-student {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: background var(--transition) !important;
  white-space: nowrap;
}
.nav-cta-student:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

.nav-cta-institution {
  background: transparent !important;
  color: var(--white) !important;
  padding: 7px 16px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  transition: border-color var(--transition), background var(--transition) !important;
  white-space: nowrap;
}
.nav-cta-institution:hover { border-color: var(--gold) !important; background: rgba(201,146,42,0.1) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: var(--transition); }

/* ─── PAGE HEADER ─────────────────────────── */
.page-header {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  padding: 140px 2rem 70px;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-header p  { color: rgba(255,255,255,0.6); margin-top: 0.75rem; font-size: 1.05rem; }

/* ─── SECTION ─────────────────────────────── */
.section {
  padding: 80px 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: rgba(201,146,42,0.1);
  border: 1px solid rgba(201,146,42,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-tag.light {
  background: rgba(201,146,42,0.15);
  border-color: rgba(201,146,42,0.5);
  color: var(--gold-light);
}

.section-title    { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin-bottom: 3rem; }

/* ─── BUTTONS ─────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,146,42,0.1); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), transform 0.15s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ─── CARDS ───────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,31,58,0.12); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(201,146,42,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.card p  { font-size: 0.93rem; color: var(--text-muted); }

/* ─── DARK CARD (navy bg) ─────────────────── */
.card-dark {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.8rem;
  transition: transform var(--transition);
}
.card-dark:hover { transform: translateY(-3px); }
.card-dark h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.5rem; }
.card-dark p  { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* ─── CTA BANNER ──────────────────────────── */
.cta-banner {
  background: var(--navy);
  border-radius: 18px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,146,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2  { color: var(--white); font-size: 2.2rem; margin-bottom: 1rem; }
.cta-banner p   { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── DOMAIN TAGS ─────────────────────────── */
.domain-tags { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.domain-tag {
  background: rgba(201,146,42,0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ─── FORM ────────────────────────────────── */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: 0 8px 40px rgba(11,31,58,0.07);
}
.form-wrap h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-wrap .form-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }

.file-upload {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--cream);
  display: block;
}
.file-upload:hover { border-color: var(--gold); }
.file-upload .file-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.file-upload strong { font-size: 0.9rem; color: var(--text); display: block; }
.file-upload p { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.file-upload input[type="file"] { display: none; }

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background var(--transition), transform 0.15s;
  letter-spacing: 0.03em;
}
.submit-btn:hover { background: var(--navy-mid); transform: translateY(-2px); }

.success-msg {
  display: none;
  text-align: center;
  padding: 2.5rem 2rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  margin-top: 1rem;
}
.success-msg .success-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.success-msg h3 { color: #166534; font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; }
.success-msg p  { color: #166534; font-size: 0.9rem; }

/* ─── FOOTER ──────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,146,42,0.2);
  padding: 3rem 2rem 1.5rem;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.3rem; margin-bottom: 0.8rem; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p  { color: rgba(255,255,255,0.55); font-size: 0.88rem; max-width: 280px; }
.footer-email    { margin-top: 1rem; color: rgba(201,146,42,0.9); font-size: 0.85rem; }

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a  { color: rgba(255,255,255,0.6); font-size: 0.88rem; text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 2rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(201,146,42,0.2);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .form-wrap { padding: 2rem 1.5rem; }
}
