/* style.css — polished, responsive CSS for your provided HTML
   Replace images in /images/: logo.png, hero-bg.jpg, ip-camera.jpg, dome-camera.jpg, hd-camera.jpg, bullet-camera.jpg, ptz-camera.jpg, nvr.jpg
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

/* ================== VARIABLES ================== */
:root {
  --max-width: 1200px;

  --primary-blue: #0052D4;
  --primary-green: #7ebd00;
  --brand-gradient: linear-gradient(90deg, #0052D4 0%, #7ebd00 100%);

  --bg-color: #f8f9fc;
  --panel-color: #ffffff;
  --text-dark: #1a202c;
  --text-muted: #6b6f76;
  --border-color: #e2e8f0;

  --radius: 12px;
  --shadow-sm: 0 6px 18px rgba(0, 82, 212, 0.08);
  --shadow-lg: 0 16px 34px rgba(0, 82, 212, 0.12);
}

/* ================== Hero ================== */
.hero-fas {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: center;
}

.hero-split-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 2rem;
  z-index: 2;
}

.hero-text-side {
  flex: 1;
  max-width: 600px;
  color: #fff;
}

.hero-text-side h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.text-highlight {
  background: linear-gradient(90deg, #0052D4, #7ebd00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text-side p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-img-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-side img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  animation: floatCamera 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

@keyframes floatCamera {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 968px) {
  .hero-fas {
    height: auto;
    padding: 4rem 0;
  }

  .hero-split-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text-side {
    max-width: 100%;
  }

  .hero-text-side p {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-img-side img {
    max-width: 300px;
    margin-bottom: 2rem;
  }
}

/* ================== SECTIONS ================== */
.section {
  padding: 3rem 0;
  background: transparent;
}

.section-title {
  font-size: 1.4rem;
  margin: 0 0 .5rem;
  font-weight: 700;
  color: #12131a;
}

.section-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

/* ================== CAMERA GRID ================== */
.cameras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.camera-card {
  background: var(--panel);
  padding: 1.1rem;
  border-radius: calc(var(--radius));
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.camera-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 18, 25, 0.10);
}

.camera-card h3 {
  margin: .6rem 0 .4rem;
  font-size: 1.05rem;
  color: #12131a;
}

.camera-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem
}

/* IMAGE WRAPPER: square by default, circle optional */
.camera-img {
  width: 140px;
  height: 140px;
  margin: 0 auto .8rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  box-shadow: inset 0 -6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.camera-img--circle {
  border-radius: 999px;
  width: 120px;
  height: 120px;
}

.camera-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* if you want the image not to be cropped (logos / wide) */
.img--contain {
  object-fit: contain !important;
  padding: 8px;
}

/* ================== WHY / FEATURES (optional) ================== */
.features-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .8rem;
  max-width: 780px;
}

.features-list li {
  background: var(--panel);
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

/* --- 5. Installation & Maintenance Section --- */
.service-section {
  padding: 50px 5%;
  background-color: #e9ecef;
  /* Light Grey Background */
  text-align: center;
}

.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.service-box {
  background: white;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  border-top: 5px solid #1a1a2e;
  /* Top par colored line */
}

/* Maintenance wale box ke liye alag color */
.service-box:nth-child(2) {
  border-top: 5px solid #e67e22;
}

.service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-box ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.service-box ul li::before {
  content: "✔";
  color: #27ae60;
  /* Green tick */
  margin-right: 10px;
}

.btn-small {
  background-color: #1a1a2e;
  color: white;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* check list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-bottom: 1px solid rgba(15, 20, 25, 0.04);
  color: var(--muted);
  font-size: 1rem;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}

/* actions */
.card-actions {
  margin-top: auto;
}

/* ===== PROFESSIONAL CONTACT SECTION ===== */
:root {
  --primary-color: #0b6eff;
  --primary-dark: #0055cc;
  --text-dark: #1a202c;
  --text-light: #718096;
  --input-bg: #f7fafc;
  --border-color: #e2e8f0;
}

.contact-section {
  background-color: #f8f9fa;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1100px;
  /* Thoda wide layout */
  width: 100%;
}

/* --- Card Wrapper (Split Layout) --- */
.contact-wrapper {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  /* Left side thoda bada */
  overflow: hidden;
  /* Image corners round karne ke liye */
}

/* --- Left Side: Content --- */
.contact-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-details {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* --- Form Styling --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Name aur Phone side-by-side */
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  color: #333;
}

/* Input Focus Effect */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 110, 255, 0.1);
  outline: none;
}

/* --- Buttons --- */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  width: auto;
  border: none;
  flex: 2;
  /* Send button bada hoga */
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 110, 255, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  flex: 1;
  /* Call button chota hoga */
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e0;
}

/* --- Right Side: Image --- */
.contact-image {
  background-color: #eee;
  position: relative;
  min-height: 400px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Image perfectly fit hogi bina stretch hue */
  display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    /* Mobile pe ek ke niche ek */
  }

  .contact-image {
    min-height: 200px;
    order: -1;
    /* Mobile pe image upar dikhegi */
  }

  .form-grid {
    grid-template-columns: 1fr;
    /* Inputs stack ho jayenge */
  }
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1000px) {
  .cameras-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 4rem 1rem;
  }

  .camera-img {
    width: 120px;
    height: 120px;
  }

  .camera-img--circle {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.6rem var(--container-pad);
  }

  .main-nav ul {
    display: none;
  }

  /* simple mobile collapse; add a hamburger later if needed */
  .container {
    padding: 2.2rem var(--container-pad);
  }

  .cameras-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 360px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .lead {
    font-size: .95rem;
  }

  .camera-img {
    width: 100px;
    height: 100px;
  }

  .camera-img--circle {
    width: 88px;
    height: 88px;
  }

  .card-body {
    padding: 20px;
  }

  .install-section {
    padding: 36px 12px;
  }

  .btn {
    padding: .7rem 1rem;
    font-size: .95rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .camera-img {
    width: 88px;
    height: 88px;
  }

  .camera-img--circle {
    width: 74px;
    height: 74px;
  }

  .hero-content {
    padding: 2.25rem 1rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .card-top::after {
    top: 14px;
    left: 12px;
    right: 12px;
    height: 5px;
    border-radius: 6px;
  }
}

/* ===== VARIABLES ===== */
:root {
  --brand-green: #7ebd00;
  --dark-text: #2d3436;
  --light-text: #636e72;
  --bg-color: #f9f9f9;
  --card-bg: #ffffff;
}

/* ===== SECTION LAYOUT ===== */
.section.types {
  padding: 4rem 1rem;
  background-color: var(--bg-color);
  text-align: center;
}

/* YAHAN CHANGE KIYA HAI (Gap kam karne ke liye) */
.container {
  max-width: 1450px;
  /* Pehle 1200 tha, ab zyada wide hai */
  width: 95%;
  /* Screen ka 95% hissa use karega */
  margin: 0 auto;
}

/* Header Styling */

.services {
  /* padding: 80px 0; */
  background-color: #f0f8ff;
  /* Light professional background */
}

/* ===== Section Header ===== */
.section-header {
  text-align: left;
  margin: 2.3rem 0 2.3rem 2.1em;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* Highlight "Our" with Gradient */
.highlight {
  background: linear-gradient(90deg, #0052D4, #7ebd00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Underline Effect */
.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0052D4, #7ebd00);
  /* margin: 10px auto 0; */
  border-radius: 2px;
}

.section-intro {
  /* max-width: 700px; */
  /* margin: 15px auto 0; */
  color: #555;
  font-size: 1.3rem;
  line-height: 1.6;
}


.products-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.products-title .highlight {
  color: var(--brand-green);
}

.products-sub {
  color: var(--light-text);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== GRID SYSTEM ===== */
.cameras-grid {
  display: grid;
  /* Auto-fit se cards apne aap adjust honge width ke hisaab se */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  /* Cards ke beech ka gap */
  padding: 0.5rem;
}

/* ===== PRODUCT CARD ===== */
.camera-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Saare cards same height ke honge */
}

/* HOVER EFFECT */
.camera-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-bottom-color: var(--brand-green);
}

/* ===== IMAGE STYLING ===== */
.camera-img-wrapper {
  height: 240px;
  /* Image area thoda bada kiya */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at center, #f4f4f4 0%, #fff 70%);
}

.camera-img-wrapper img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.camera-card:hover .camera-img-wrapper img {
  transform: scale(1.08);
}

/* ===== CONTENT STYLING ===== */
.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  /* Text center mein rahega */
}

.camera-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.8rem;
}

.camera-card p {
  font-size: 1rem;
  color: var(--light-text);
  line-height: 1.6;
  margin: 0;
  /* Extra margin hata diya */
}

/* zaid */
/* Services Section CSS */


.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 0 1.5em;
}

.vm-card {
  background: #ffffff;
  padding: 2.8rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
  transition: transform .35s ease, box-shadow .35s ease;
  border-top: 4px solid #84cc16;
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, .12);
}


.vm-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}


.check {
  color: var(--brand-green);
  font-weight: bold;
}

.btn-dark {
  background: var(--primary-color);
  margin-top: 2em;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  align-self: flex-start;
  /* Button left align rahega */
}

.btn-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 110, 255, 0.3);
}

/* NEW CSS */
/* ===== DETAILED FEATURES SECTION ===== */
.details-section {
  padding: 5rem 1rem;
  background: #fff;
}

/* Row Container */
.feature-row {
  display: flex;
  align-items: center;
  /* Vertical Center */
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 5rem;
  /* Har row ke beech gap */
}

/* REVERSE CLASS: Ye magic hai jo Image ko Left le aayega */
.feature-row.reverse {
  flex-direction: row-reverse;
}

/* --- Content Styling --- */
.feature-text {
  flex: 1;
  /* Text aadha hissa lega */
}

.feature-text h3 {
  font-size: 2rem;
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-text p {
  font-size: 1.1rem;
  color: var(--light-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Feature List (Tick Marks) */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

/* --- Image Styling --- */
.feature-image {
  flex: 1;
  /* Image aadha hissa lega */
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  background: #f0f0f0;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Image acche se fit hogi */
  transition: transform 0.5s ease;
}

.feature-image:hover img {
  transform: scale(1.05);
  /* Image zoom effect */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {

  .feature-row,
  .feature-row.reverse {
    flex-direction: column-reverse;
    /* Mobile pe hamesha Image upar, Text neeche */
    gap: 2rem;
    text-align: center;
    margin-bottom: 4rem;
  }

  .feature-image {
    width: 100%;
    height: 300px;
  }

  .feature-list {
    text-align: left;
    /* List items left aligned hi acche lagte hain */
    display: inline-block;
  }
}

/* #upper wali image  */
.hero-fas {
  position: relative;
  width: 100%;
  height: 90vh;
  /* screen height ka 90% */
  background: url("images/fire-alarm-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center,
      #0a1f2e 0%,
      #06141f 35%,
      #02070c 70%,
      #000000 100%);


  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 600px;
  padding-left: 8%;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #ddd;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ff6b00;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #ff8533;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .hero-fas {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 15px;
  }
}