/* =============================================
   MAHADEV LAPTOP — SHARED / COMMON CSS
   Used by ALL pages
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --primary:      #1a73e8;
  --primary-dark: #1557b0;
  --secondary:    #ff6b35;
  --accent:       #ffd60a;
  --green:        #2ecc71;
  --purple:       #9b59b6;
  --red:          #e74c3c;
  --teal:         #1abc9c;
  --bg:           #f0f4ff;
  --bg-white:     #ffffff;
  --text:         #1a1a2e;
  --text-light:   #555;
  --card-shadow:  0 8px 30px rgba(26,115,232,0.13);
  --radius:       20px;
  --radius-sm:    12px;
  --font-display: 'Baloo 2', cursive;
  --font-body:    'Nunito', sans-serif;
  --nav-height:   70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== UTILITY ===== */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.highlight    { color: var(--primary); }
.section      { padding: 90px 0; }
.page-content { padding-top: var(--nav-height); }

.section-header   { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 2px solid #c2d9fc;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary  { background: linear-gradient(135deg,var(--primary),#4285f4); color:#fff; box-shadow:0 6px 20px rgba(26,115,232,0.35); }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(26,115,232,0.5); }
.btn-outline  { background: transparent; color:var(--primary); border:2.5px solid var(--primary); }
.btn-outline:hover { background:var(--primary); color:#fff; }
.btn-whatsapp { background: linear-gradient(135deg,#25D366,#128C7E); color:#fff; box-shadow:0 6px 20px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { transform:translateY(-3px); }
.btn-sm   { padding: 10px 22px; font-size: 0.9rem; }
.btn-full { width: 100%; text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(26,115,232,0.1);
  height: var(--nav-height);
}
.nav-container {
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
  height:100%;
}
.nav-logo {
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  font-family:var(--font-display); font-size:1.25rem; font-weight:800; color:var(--text);
}
.logo-circle {
  width:42px; height:42px;
  background: linear-gradient(135deg,var(--primary),#4285f4);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:var(--font-display); font-weight:800; font-size:1rem;
  box-shadow:0 4px 14px rgba(26,115,232,0.35);
  flex-shrink:0;
}
.nav-links { display:flex; list-style:none; gap:4px; align-items:center; }
.nav-link {
  display:block; padding:8px 14px;
  text-decoration:none; color:var(--text-light);
  font-weight:700; font-size:0.92rem;
  border-radius:10px; transition:all 0.2s;
}
.nav-link:hover, .nav-link.active { background:#e8f0fe; color:var(--primary); }
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:5px;
}
.hamburger span { display:block; width:26px; height:3px; background:var(--text); border-radius:3px; transition:all 0.3s; }

/* ===== FOOTER ===== */
.footer { background:#1a1a2e; color:rgba(255,255,255,0.8); padding:60px 0 0; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:40px;
  padding-bottom:48px;
}
.footer-brand .footer-logo {
  display:flex; align-items:center; gap:12px;
  font-family:var(--font-display); font-size:1.2rem; font-weight:800; color:#fff;
  margin-bottom:14px; text-decoration:none;
}
.footer-brand p { font-size:0.93rem; line-height:1.8; color:rgba(255,255,255,0.6); }
.footer h4 {
  font-family:var(--font-display); font-size:1.05rem; font-weight:800; color:#fff;
  margin-bottom:16px; padding-bottom:8px; border-bottom:2px solid rgba(255,255,255,0.1);
}
.footer-links ul, .footer-services ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a { color:rgba(255,255,255,0.65); text-decoration:none; font-size:0.93rem; font-weight:600; transition:color 0.2s; }
.footer-links a:hover { color:var(--accent); }
.footer-services li { color:rgba(255,255,255,0.65); font-size:0.93rem; font-weight:600; }
.footer-contact p { margin-bottom:10px; font-size:0.93rem; }
.footer-contact a { color:var(--accent); text-decoration:none; font-weight:700; }
.footer-cta { margin-top:16px; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 0; text-align:center;
  font-size:0.88rem; color:rgba(255,255,255,0.4);
}
.footer-bottom a {
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
}
.footer-bottom a:hover { text-decoration:underline; }

/* ===== TOAST ===== */
.toast {
  position:fixed; bottom:28px; right:28px;
  background:var(--green); color:#fff;
  padding:16px 28px; border-radius:var(--radius-sm);
  font-weight:700; font-size:1rem;
  box-shadow:0 8px 24px rgba(46,204,113,0.4);
  transform:translateY(100px); opacity:0;
  transition:all 0.4s ease; z-index:9999;
}
.toast.show { transform:translateY(0); opacity:1; }

/* ===== SCROLL REVEAL BASE ===== */
.reveal {
  opacity:0; transform:translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE NAV ===== */
@media (max-width:768px) {
  .hamburger { display:flex; }
  .nav-links {
    position:fixed; top:var(--nav-height); left:0; right:0;
    background:#fff; flex-direction:column; padding:16px 20px; gap:4px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    transform:translateY(-120%); transition:transform 0.3s ease;
  }
  .nav-links.open { transform:translateY(0); }
  .nav-link { padding:12px 16px; font-size:1rem; }
}
@media (max-width:600px) {
  .section { padding:60px 0; }
  .footer-grid { grid-template-columns:1fr; gap:24px; }
}
