/* =========================================================
   ShreeServices — Main Stylesheet
   Theme: Professional Blue & Orange
   ========================================================= */

:root {
  --blue-900: #0a2540;
  --blue-800: #0e3a63;
  --blue-700: #12497f;
  --blue-600: #1a5f9e;
  --blue-500: #2276bd;
  --blue-100: #e8f1fa;
  --orange-600: #e8650f;
  --orange-500: #f2790f;
  --orange-400: #ff9633;
  --orange-100: #fff1e2;
  --ink: #1c2530;
  --ink-soft: #4b5866;
  --paper: #ffffff;
  --paper-alt: #f6f8fb;
  --border: #e3e8ef;
  --success: #1c8a4b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 37, 64, 0.16);
  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--blue-900);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--orange-600); }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 121, 15, 0.35);
}
.btn-primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-secondary {
  background: var(--blue-700);
  color: #fff;
}
.btn-secondary:hover { background: var(--blue-800); color: #fff; transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--blue-800);
}
.btn-light:hover { background: var(--orange-100); color: var(--blue-900); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-900); color: #cfe0f0; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-contact a { color: #cfe0f0; margin-right: 18px; }
.topbar-contact a:hover { color: var(--orange-400); }
.topbar-hours { color: #9fb7cf; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(18,73,127,0.3);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--blue-900); }
.logo-text small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.68rem; color: var(--orange-600); text-transform: uppercase; letter-spacing: 0.06em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: 0.96rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--blue-700); border-bottom-color: var(--orange-500); }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; background: var(--blue-900); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(242,121,15,0.35), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 90px 24px 100px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #ffd9b0; padding: 6px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 2.7rem; margin-bottom: 0.4em; }
.hero h1 span { color: var(--orange-400); }
.hero p.lead { color: #d7e6f5; font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.7rem; color: #fff; }
.hero-stats div span { color: #a9c3db; font-size: 0.85rem; }
.hero-art {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-art ul { display: grid; gap: 14px; }
.hero-art li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 14px 16px; }
.hero-art .icon-badge { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-500); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.hero-art li strong { display: block; color: #fff; font-size: 0.95rem; }
.hero-art li span { color: #b9d0e6; font-size: 0.82rem; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block;
  color: var(--orange-600);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 2.1rem; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin-bottom: 14px; font-size: 0.95rem; }
.card-link { font-weight: 700; font-size: 0.88rem; color: var(--orange-600); }
.card-link:hover { color: var(--orange-500); }

.service-card.accent-electrical .icon-badge { background: var(--orange-100); color: var(--orange-600); }
.service-card.accent-surveillance .icon-badge { background: var(--blue-100); color: var(--blue-700); }
.service-card.accent-networking .icon-badge { background: #eaf7ef; color: var(--success); }
.service-card.accent-computer .icon-badge { background: #f1ecfb; color: #6c4bd6; }

/* ---------- Why choose us ---------- */
.feature-row { display: flex; gap: 18px; margin-bottom: 26px; }
.feature-row .num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center;
}
.feature-row h4 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-row p { margin: 0; font-size: 0.93rem; }

.why-media {
  background: linear-gradient(150deg, var(--blue-800), var(--blue-600));
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-media .badge-float {
  position: absolute;
  bottom: 22px; left: 22px;
  background: #fff;
  color: var(--blue-900);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.why-media .badge-float strong { display: block; font-size: 1.3rem; color: var(--orange-600); font-family: 'Poppins', sans-serif; }
.why-media .badge-float span { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--orange-600), var(--orange-500)); padding: 40px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: #fff; }
.cta-strip-inner h3 { color: #fff; margin-bottom: 4px; font-size: 1.4rem; }
.cta-strip-inner p { color: #fff3e6; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { color: var(--orange-500); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--ink); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Poppins', sans-serif;
}
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--blue-900); }
.testimonial-author span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumbs { color: #bcd4e8; font-size: 0.9rem; }
.breadcrumbs a { color: #dcebf7; }
.breadcrumbs a:hover { color: var(--orange-400); }

/* ---------- About page ---------- */
.about-media {
  background: linear-gradient(150deg, var(--orange-500), var(--orange-600));
  border-radius: var(--radius-lg);
  min-height: 340px;
}
.value-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.value-list .check { color: var(--success); font-weight: 800; flex-shrink: 0; }

.timeline { border-left: 3px solid var(--border); margin-left: 10px; padding-left: 30px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -37px; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange-500);
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item .year { color: var(--orange-600); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Services page ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail-media {
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: #fff;
}
.service-detail-media.electrical { background: linear-gradient(150deg, var(--orange-500), #c94e0a); }
.service-detail-media.surveillance { background: linear-gradient(150deg, var(--blue-700), var(--blue-900)); }
.service-detail-media.networking { background: linear-gradient(150deg, #1c8a4b, #0f5f33); }
.service-detail-media.computer { background: linear-gradient(150deg, #7457d9, #4c2fa8); }
.service-detail h2 { font-size: 1.7rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag-list span { background: var(--paper-alt); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filters button {
  background: #fff; border: 1px solid var(--border); color: var(--ink-soft);
  padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; cursor: pointer;
  transition: all 0.15s ease;
}
.gallery-filters button:hover { border-color: var(--orange-500); color: var(--orange-600); }
.gallery-filters button.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  color: #fff;
  display: flex; align-items: flex-end;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-500));
}
.gallery-item span.emoji { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2.6rem; opacity: 0.5; }
.gallery-item .cap { position: relative; z-index: 2; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); width: 100%; font-weight: 600; font-size: 0.9rem; }
.gallery-item::after { content:""; position:absolute; inset:0; background: rgba(10,37,64,0); transition: background .2s ease; }
.gallery-item:hover::after { background: rgba(10,37,64,0.15); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(10,20,30,0.9); z-index: 1000; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox-box { background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 100%; overflow: hidden; text-align: center; }
.lightbox-media { height: 280px; display:flex; align-items:center; justify-content:center; background: linear-gradient(150deg, var(--blue-700), var(--blue-500)); color:#fff; font-size:3.5rem; }
.lightbox-box .cap { padding: 20px; font-weight: 600; color: var(--blue-900); }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; background:none; border:none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; }
.contact-info-card {
  background: var(--blue-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card p { color: #bcd4e8; }
.contact-info-list { margin-top: 24px; display: grid; gap: 20px; }
.contact-info-list li { display: flex; gap: 14px; }
.contact-info-list .icon-badge { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-list strong { display: block; color: #fff; font-size: 0.92rem; }
.contact-info-list span, .contact-info-list a { color: #bcd4e8; font-size: 0.9rem; }
.contact-info-list a:hover { color: var(--orange-400); }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--blue-900); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(34,118,189,0.15);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { color: #c0392b; font-size: 0.82rem; margin-top: 5px; }
.field-invalid input, .field-invalid select, .field-invalid textarea { border-color: #c0392b; }

.alert { padding: 16px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 0.93rem; font-weight: 500; }
.alert-success { background: #eaf7ef; color: #1c8a4b; border: 1px solid #b9e6c9; }
.alert-error { background: #fdecec; color: #c0392b; border: 1px solid #f5c6c2; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-top: 60px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--blue-900); }
.faq-q .plus { color: var(--orange-500); font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-top: 12px; margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9cfe3; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col p { color: #9db6cf; font-size: 0.9rem; }
.footer-logo .logo-text { color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9db6cf; font-size: 0.9rem; }
.footer-links a:hover { color: var(--orange-400); }
.footer-contact li { color: #9db6cf; font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact a { color: #9db6cf; }
.footer-contact a:hover { color: var(--orange-400); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: #cfe0f0; font-size: 0.85rem; font-weight: 600; }
.footer-social a:hover { color: var(--orange-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 0.82rem; color: #7f9bb5; flex-wrap: wrap; gap: 8px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-block; background: var(--orange-100); color: var(--orange-600);
  padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .topbar-hours { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 20px 24px; box-shadow: var(--shadow-md);
    display: none;
    gap: 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; }
  .hero h1 { font-size: 2.1rem; }
  .hero-stats { gap: 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
