/* ===== SHOFAR ELECTRICALS — STYLE.CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --deep-blue: #0a1f5c;
  --navy: #071440;
  --electric-green: #2ecc71;
  --green-glow: #3ddc84;
  --charcoal: #1e293b;
  --light-blue: #eef2ff;
  --white: #ffffff;
  --border: #dde3ee;
  --muted: #64748b;
  --muted-bg: #f5f7fb;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --gradient-brand: linear-gradient(135deg, #0a1f5c, #2ecc71);
  --gradient-hero: linear-gradient(160deg, #071440 0%, #0a1f5c 50%, #091a45 100%);
  --shadow-card: 0 4px 24px -4px rgba(10,31,92,0.10);
  --shadow-card-hover: 0 8px 32px -4px rgba(46,204,113,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Gradient text */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,31,92,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,204,113,0.15);
  transition: background 0.3s;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-brand img { height: 40px; border-radius: 4px; }
.navbar-brand span {
  font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 0.875rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-weight: 500; font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--electric-green); }
.nav-cta {
  background: var(--electric-green); color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  padding: 0.5rem 1.25rem; border-radius: 6px; border: none; cursor: pointer;
  transition: filter 0.2s;
}
.nav-cta:hover { filter: brightness(1.1); }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu {
  display: none; background: var(--deep-blue);
  border-top: 1px solid rgba(46,204,113,0.15); padding: 1rem;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block; padding: 0.75rem 0; color: rgba(255,255,255,0.8);
  font-weight: 500; font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:hover { color: var(--electric-green); }
.mobile-menu .nav-cta {
  display: block; text-align: center; margin-top: 0.75rem; padding: 0.625rem;
}

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

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-hero); overflow: hidden; padding-top: 64px;
}
.hero-circuit {
  position: absolute; inset: 0; opacity: 0.08;
}
.hero-content {
  position: relative; text-align: center; padding: 2rem 1rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3);
  border-radius: 999px; padding: 0.375rem 1rem; margin-bottom: 1.5rem;
}
.hero-badge span {
  color: var(--electric-green); font-family: var(--font-heading);
  font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.hero h1 {
  font-weight: 900; font-size: clamp(2.25rem, 5vw, 4.5rem);
  color: var(--white); line-height: 1.1; margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--electric-green); }
.hero p {
  color: rgba(255,255,255,0.7); font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 640px; margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--electric-green); color: var(--white);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem;
  padding: 1rem 2rem; border-radius: 8px; border: none; cursor: pointer;
  transition: filter 0.3s, transform 0.3s; box-shadow: 0 4px 20px rgba(46,204,113,0.3);
}
.btn-primary:hover { filter: brightness(1.1); transform: scale(1.05); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem;
  padding: 1rem 2rem; border-radius: 8px; background: none; cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--electric-green); color: var(--electric-green); }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 8rem;
  background: linear-gradient(to top, var(--white), transparent);
}

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--muted-bg); }
.section-label {
  color: var(--electric-green); font-family: var(--font-heading);
  font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.section-title {
  font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--charcoal); margin-top: 0.75rem;
}
.section-desc {
  color: var(--muted); margin-top: 1rem; max-width: 560px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.about-grid p { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.25rem; box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.about-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.about-card-icon {
  width: 40px; height: 40px; background: rgba(46,204,113,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
  color: var(--electric-green);
}
.about-card h4 { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.about-card p { color: var(--muted); font-size: 0.75rem; margin: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem; box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(46,204,113,0.3);
  border-color: rgba(46,204,113,0.5); transform: translateY(-8px);
}
.service-icon {
  width: 48px; height: 48px; background: rgba(46,204,113,0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: var(--electric-green); transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(46,204,113,0.2); }
.service-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ===== VISION / MISSION / VALUES ===== */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }
.vmv-card {
  border-radius: 16px; padding: 2rem; height: 100%;
}
.vmv-card.blue { background: var(--deep-blue); color: var(--white); }
.vmv-card.green { background: var(--electric-green); color: var(--white); }
.vmv-card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.vmv-card.blue .vmv-card-icon { background: rgba(46,204,113,0.2); color: var(--electric-green); }
.vmv-card.green .vmv-card-icon { background: rgba(10,31,92,0.2); color: var(--deep-blue); }
.vmv-card h3 { font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.vmv-card p { font-size: 0.875rem; line-height: 1.7; opacity: 0.8; }
.vmv-card .value-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.vmv-card .value-item i { color: var(--electric-green); margin-top: 3px; }
.vmv-card .value-title { font-weight: 600; font-size: 0.875rem; }
.vmv-card .value-desc { font-size: 0.75rem; opacity: 0.7; }

.strategy-box {
  background: var(--muted-bg); border-radius: 16px; padding: 2rem 3rem;
  border: 1px solid var(--border); text-align: center; max-width: 800px; margin: 0 auto;
}
.strategy-box p { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .vmv-grid { grid-template-columns: 1fr; }
  .strategy-box { padding: 1.5rem; }
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--gradient-hero); color: var(--white); position: relative; overflow: hidden;
}
.why-circuit { position: absolute; inset: 0; opacity: 0.04; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--electric-green);
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 0.5rem; }
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.reason-card {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.5rem;
  transition: border-color 0.3s;
}
.reason-card:hover { border-color: rgba(46,204,113,0.4); }
.reason-card i { color: var(--electric-green); font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.reason-card h4 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.reason-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .reasons-grid { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-form {
  background: var(--white); border-radius: 16px; padding: 2rem;
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.875rem; margin-bottom: 0.375rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-body); font-size: 0.875rem; color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--electric-green);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.15);
}
.form-group textarea { resize: none; }
.btn-submit {
  width: 100%; background: var(--electric-green); color: var(--white);
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  padding: 0.875rem; border-radius: 8px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: filter 0.3s;
}
.btn-submit:hover { filter: brightness(1.1); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-info-card {
  background: var(--white); border-radius: 16px; padding: 2rem;
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 40px; height: 40px; background: rgba(46,204,113,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--electric-green);
}
.info-label {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.info-value { font-size: 0.875rem; margin-top: 0.125rem; }
.map-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-card); height: 256px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer { background: var(--deep-blue); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-brand img { height: 40px; border-radius: 4px; }
.footer-brand span { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 0.875rem; }
.footer p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.6; }
.footer .reg { color: rgba(255,255,255,0.35); font-size: 0.75rem; margin-top: 0.75rem; }
.footer h4 { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 0.875rem; margin-bottom: 1rem; }
.footer-links a {
  display: block; color: rgba(255,255,255,0.5); font-size: 0.875rem;
  padding: 0.25rem 0; transition: color 0.2s;
}
.footer-links a:hover { color: var(--electric-green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.75rem; }
.footer-tagline { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.25); font-size: 0.75rem; }
.footer-tagline i { color: var(--electric-green); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== AOS-like scroll reveal ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; background: var(--deep-blue);
  color: var(--white); padding: 1rem 1.5rem; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2); z-index: 999;
  transform: translateY(120%); transition: transform 0.4s ease;
  font-size: 0.875rem;
}
.toast.show { transform: translateY(0); }
.toast.error { background: #dc3545; }


/* ===== SECURITY / ACCESSIBILITY ADDITIONS ===== */
.icon-green { color: #2ecc71; }
.section-heading-block { margin-bottom: 3.5rem; }
.section-title-spaced { margin-bottom: 1.5rem; }
.position-relative { position: relative; }
.text-white { color: #fff; }
.text-green { color: #2ecc71; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
:focus-visible {
  outline: 3px solid var(--electric-green);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
