/* ════════════════════════════════════════════════
   C P Sekar — Legal Firm Website
   Main Stylesheet
   ════════════════════════════════════════════════ */

:root {
  --navy:   #0a1628;
  --navy2:  #112240;
  --navy3:  #1a3a5c;
  --gold:   #c9a84c;
  --gold2:  #e8c56a;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --gray:   #6b7280;
  --border: #e2e8f0;
  --text:   #1e293b;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 10px;
  --font:   'Segoe UI', Georgia, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: all 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); }
.bg-light { background: var(--light); }

.section-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title span { color: var(--gold); }

.section-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

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

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: all 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: var(--navy);
}

.nav-logo .logo-text { color: white; }
.nav-logo .logo-name { font-size: 16px; font-weight: 700; letter-spacing: 0.3px; }
.nav-logo .logo-sub  { font-size: 10px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); background: rgba(201,168,76,0.08); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  color: var(--gold) !important;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 7px 16px !important;
  border-radius: 6px !important;
}
.nav-login:hover { background: rgba(201,168,76,0.1) !important; }

/* ── Logged-in user menu ── */
.nav-user-wrap { position: relative; }

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--gold);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-user-btn:hover { background: rgba(201,168,76,0.22); }

.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-user-caret { font-size: 10px; opacity: 0.7; transition: transform 0.2s; }
.nav-user-wrap.open .nav-user-caret { transform: rotate(180deg); }

.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  min-width: 220px;
  z-index: 500;
  overflow: hidden;
}
.nav-user-wrap.open .nav-user-dropdown { display: block; }

.nav-user-dropdown-header {
  padding: 14px 16px;
  background: var(--navy);
  color: white;
}
.nud-name { font-size: 14px; font-weight: 700; }
.nud-role { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 2px; }

.nud-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  transition: background 0.15s;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  gap: 8px;
}
.nud-item:hover { background: var(--light); color: var(--navy); }

.nud-app { text-decoration: none; }
.nud-locked { opacity: 0.75; }

.nud-badge-on  { font-size: 10px; font-weight: 700; background: #dcfce7; color: #16a34a; padding: 2px 8px; border-radius: 20px; }
.nud-badge-off { font-size: 10px; font-weight: 700; background: #fee2e2; color: #dc2626; padding: 2px 8px; border-radius: 20px; }

.nud-divider { height: 1px; background: var(--border); margin: 4px 0; }

.nud-logout { color: #dc2626 !important; }
.nud-logout:hover { background: #fee2e2 !important; }

/* ── No-permission modal ── */
#noPermModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.npm-box {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 48px rgba(0,0,0,0.2);
}
.npm-icon { font-size: 48px; margin-bottom: 14px; }
.npm-box h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.npm-box p  { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 20px; }
.npm-close {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
}
.npm-close:hover { color: var(--navy); }

.nav-consult {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
.nav-consult:hover { background: var(--gold2) !important; }

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

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0d2744 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,58,92,0.5) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); display: block; }

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(10px);
}

.hero-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: var(--navy);
  flex-shrink: 0;
}

.profile-name { font-size: 20px; font-weight: 700; color: white; }
.profile-title { font-size: 13px; color: var(--gold); margin-top: 3px; }
.profile-exp {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
}

.hero-services-list { display: flex; flex-direction: column; gap: 10px; }

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  transition: all 0.2s;
}

.hero-service-item:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.2);
}

.hero-service-item .icon {
  width: 32px; height: 32px;
  background: rgba(201,168,76,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-link:hover { gap: 8px; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-box {
  background: linear-gradient(135deg, var(--navy), var(--navy3));
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: white;
}

.about-initials {
  width: 120px; height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900;
  color: var(--navy);
  margin: 0 auto 20px;
}

.about-img-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.about-img-box p  { font-size: 13px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }

.exp-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.exp-badge .num { font-size: 36px; line-height: 1; }
.exp-badge .txt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.about-content h2 { font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 20px; line-height: 1.3; }
.about-content h2 span { color: var(--gold); }
.about-content p { font-size: 15px; color: var(--gray); margin-bottom: 16px; line-height: 1.8; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}

.highlight-item .check {
  width: 20px; height: 20px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
}

.why-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.why-card h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 8px; }
.why-card p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-info p  { font-size: 15px; color: var(--gray); margin-bottom: 32px; line-height: 1.8; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item .ci-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item .ci-label { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.contact-item .ci-value { font-size: 14px; color: var(--text); }

.contact-form {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--light);
  font-family: var(--font);
  transition: border 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo-name { font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; }
.footer-about .logo-sub  { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.footer-about p { font-size: 13.5px; margin-top: 16px; line-height: 1.7; }

.footer h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.footer ul li a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: var(--gold); }

/* ══════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-box {
  background: white;
  border-radius: 16px;
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo-icon {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: var(--navy);
  margin: 0 auto 12px;
}

.login-logo h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.login-logo p  { font-size: 13px; color: var(--gray); margin-top: 4px; }

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--gray);
  font-size: 12px;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.login-alert.err { background: #ffebee; color: #b71c1c; border-left: 3px solid #c0392b; }
.login-alert.ok  { background: #e8f5e9; color: #1b5e20; border-left: 3px solid #2e7d52; }

.forgot-link {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  float: right;
  margin-top: -14px;
  margin-bottom: 18px;
}

/* ══════════════════════════════════════
   APP PAGE
══════════════════════════════════════ */
.app-page { padding-top: 72px; min-height: 100vh; background: #eef2f7; }

.app-topbar {
  background: var(--navy);
  color: white;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.app-topbar a { color: var(--gold); font-weight: 600; }
.app-topbar .user-info { display: flex; align-items: center; gap: 10px; }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 120px 0 60px;
  text-align: center;
  color: white;
}

.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   TOAST / ALERTS
══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-card { display: none; }
  .hero-stats { gap: 20px; }

  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .section-title { font-size: 28px; }
  .section { padding: 56px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .login-box { padding: 32px 24px; }
}

/* ══════════════════════════════════════
   LOGIN — split panel layout
══════════════════════════════════════ */
.login-body { background: var(--navy); }

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}

.login-brand {
  background: linear-gradient(160deg, var(--navy) 0%, #0d2744 100%);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}
.login-brand::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
  margin-bottom: 56px;
}

.login-brand-content { flex: 1; }
.login-brand-content h2 { font-size: 28px; font-weight: 800; color: white; margin-bottom: 14px; }
.login-brand-content p  { font-size: 14.5px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 32px; }

.login-features { display: flex; flex-direction: column; gap: 12px; }
.login-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
}
.login-feature span {
  width: 22px; height: 22px;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.login-brand-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 40px;
}
.login-brand-footer a { color: var(--gold); }

.login-form-panel {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.login-form-wrap { width: 100%; max-width: 400px; }
.login-form-header { margin-bottom: 32px; }
.login-form-header h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.login-form-header p  { font-size: 14px; color: var(--gray); }

.login-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}
.login-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}

.login-note {
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 24px;
}
.login-note strong { color: var(--navy); display: block; margin-bottom: 4px; }

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--gray);
  font-size: 12px;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ══════════════════════════════════════
   SERVICES DETAIL
══════════════════════════════════════ */
.svc-tab {
  display: inline-block;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.svc-tab:hover { color: var(--navy); }
.svc-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

.svc-divider { height: 6px; background: var(--light); }

.svc-detail-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.svc-detail-inner.reverse { grid-template-columns: 1fr 280px; }
.svc-detail-inner.reverse .svc-detail-icon-col { order: 2; }

.svc-detail-icon-col { position: sticky; top: 120px; }
.svc-detail-icon {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1;
}
.svc-detail-icon-col h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.svc-detail-sub { font-size: 14px; color: var(--gray); line-height: 1.7; }

.svc-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.svc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: all .2s;
}
.svc-item:hover { border-color: rgba(201,168,76,.3); box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.svc-item-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(201,168,76,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.svc-item strong { font-size: 14.5px; color: var(--navy); display: block; margin-bottom: 6px; }
.svc-item p { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }

/* ══════════════════════════════════════
   CONTACT PAGE (enhanced)
══════════════════════════════════════ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: all .2s;
}
.contact-card:hover { border-color: rgba(201,168,76,.3); background: white; }
.contact-card-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  background: rgba(201,168,76,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-label { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.contact-card-value { font-size: 13.5px; font-weight: 600; color: var(--navy); display: block; }
.contact-card-note  { font-size: 11.5px; color: var(--gray); margin-top: 2px; }

.contact-note {
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 13.5px;
  margin-top: 8px;
}
.contact-note strong { display: block; margin-bottom: 6px; color: var(--gold); }
.contact-note p { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; line-height: 1.7; }

.contact-form-wrap {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }

@media (max-width: 900px) {
  .svc-detail-inner,
  .svc-detail-inner.reverse { grid-template-columns: 1fr; }
  .svc-detail-inner.reverse .svc-detail-icon-col { order: 0; }
  .svc-detail-icon-col { position: static; }
  .svc-items-grid { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-form-panel { padding: 40px 28px; }
  .contact-cards { grid-template-columns: 1fr; }
}
