/* ==============================
   SUBHAM ENTERPRISES — stylesheet
   ============================== */

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

:root {
  --primary:   #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent:    #f59e0b;
  --bg:        #f9fafb;
  --white:     #ffffff;
  --text:      #1f2937;
  --muted:     #6b7280;
  --border:    #e5e7eb;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; letter-spacing: .5px; color: var(--primary-dark); }
.brand-icon { width: 38px; height: 38px; background: var(--primary); border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .95rem; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text); position: relative; transition: color var(--transition); }
.nav-links a::after { content:''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 0; background: var(--white); border-top: 1px solid var(--border); }
.mobile-menu a { padding: 14px 24px; font-size: .95rem; font-weight: 500; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.mobile-menu a:hover { background: var(--bg); color: var(--primary); }
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #3b82f6 100%);
  color: #fff;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; padding: 6px 16px; font-size: .82rem; font-weight: 500; letter-spacing: .5px; margin-bottom: 24px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-title .accent { color: var(--accent); }
.hero-sub { font-size: 1.05rem; opacity: .88; max-width: 580px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-primary:hover { background: #d97706; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,158,11,.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-1px); }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* ---- STATS ---- */
.stats-bar { background: var(--white); padding: 48px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 16px; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-num .plus { font-size: 1.4rem; }
.stat-label { display: block; font-size: .85rem; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ---- SECTION COMMONS ---- */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: #eff6ff; color: var(--primary); border: 1px solid #bfdbfe; border-radius: 50px; padding: 4px 14px; font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-desc { font-size: 1rem; color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all var(--transition); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #c7d2fe; }
.card-icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; margin-bottom: 20px; }
.bg-blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.bg-green  { background: linear-gradient(135deg, #059669, #10b981); }
.bg-orange { background: linear-gradient(135deg, #d97706, #f59e0b); }
.bg-purple { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.bg-red    { background: linear-gradient(135deg, #dc2626, #ef4444); }
.bg-teal   { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p  { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ---- WHY US ---- */
.why-section { background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text .section-title { text-align: left; }
.why-text .section-tag { display: block; text-align: left; }
.why-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.why-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 500; }
.why-list li i { color: #16a34a; font-size: 1.1rem; flex-shrink: 0; }
.why-visual { display: flex; justify-content: center; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 40px; text-align: center; box-shadow: var(--shadow-lg); max-width: 320px; }
.why-card p { margin-top: 16px; color: var(--muted); font-size: .95rem; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.floating { animation: float 4s ease-in-out infinite; }

/* ---- CONTACT ---- */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: all var(--transition); }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-icon { width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.3rem; margin: 0 auto 20px; }
.contact-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.contact-card a, .contact-card p { font-size: .95rem; color: var(--muted); }
.contact-card a:hover { color: var(--primary); }

/* ---- FOOTER ---- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 48px 0; }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1rem; }
.footer-tagline { font-size: .9rem; }
.footer-links { display: flex; gap: 12px; align-items: center; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-links .sep { color: rgba(255,255,255,.3); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.45); }

/* ---- POLICY/TERMS PAGES ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.page-hero h1 i { margin-right: 12px; }
.page-hero p { opacity: .75; font-size: .95rem; }

.policy-wrap { max-width: 820px; margin: 0 auto; }
.policy-intro { background: #eff6ff; border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-bottom: 48px; font-size: .97rem; color: var(--text); }

.policy-block { margin-bottom: 44px; }
.policy-block h2 { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; color: var(--primary-dark); }
.num { background: var(--primary); color: #fff; border-radius: 6px; padding: 2px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .5px; }
.policy-block p { font-size: .95rem; color: var(--text); line-height: 1.75; margin-bottom: 10px; }
.policy-block ul { padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.policy-block ul li { font-size: .95rem; color: var(--text); padding-left: 20px; position: relative; line-height: 1.6; }
.policy-block ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.policy-contact { background: linear-gradient(135deg, #eff6ff, #f0fdf4); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 36px; margin-top: 20px; }
.policy-contact h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; color: var(--primary-dark); }
.policy-contact h2 i { margin-right: 8px; }
.policy-contact p { font-size: .95rem; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.policy-contact p i { color: var(--primary); width: 16px; }
.policy-contact a { color: var(--primary); font-weight: 500; }
.policy-contact a:hover { text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 70px 0 100px; }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .why-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-contact { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; gap: 10px; }
  .btn { text-align: center; justify-content: center; }
}
