
/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: Arial, sans-serif;
  width: 100%;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
  color: #333;
}


/* ------------------------------------ */
 .logo {
      font-size: 28px;
      font-weight: bold;
      color: #abaaac;
    }

    .menu-toggle {
      display: none;

    }


    .sidebar {
      
      position: fixed;
      top: 0;
      right: -100%; /* ← Yahi change */
      width: 70%; /* width chhoti ki right sidebar ke liye */
      height: 100%;
      background: #cecdd1;
      color: white;
      padding-top: 80px;
      transition: 0.4s ease;
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .sidebar ul {
      list-style: none;
      padding: 0;
      text-align: center;
    }

    .sidebar ul li {
      padding: 20px;
      font-size: 24px;
    }

    .sidebar ul li a {
      color: rgb(145, 47, 47);
      text-decoration: none;
      transition: 0.3s;
    }

    .sidebar ul li a:hover {
      color: #ffc107;
    }

    /* Toggle Logic */
    #menu-toggle:checked ~ .sidebar {
      right: 0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(1) {
      transform: rotate(45deg);
      top: 9px;
    }

    #menu-toggle:checked + .hamburger span:nth-child(2) {
      opacity: 0;
    }

    #menu-toggle:checked + .hamburger span:nth-child(3) {
      transform: rotate(-45deg);
      top: 9px;
    }

    @media (min-width: 768px) {
      
      .sidebar {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        color: inherit;
        display: block;
      }
      .sidebar ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }
      .sidebar ul li {
        padding: 0 20px;
        font-size: 18px;
      }
    }

/* ------------------------------------------ */
/* Hero Section */
.hero {
  background-image: url('computer.webp');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.btn {
  background-color: #007bff;
  padding: 12px 25px;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn:hover {
  background-color: #0056b3;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Info Section */
.info-section {
  display: flex;
  flex-wrap: wrap;
  padding: 100px 50px;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.info-text {
  flex: 1;
  padding: 20px;
  min-width: 280px;
  animation: slideLeft 1s ease;
}
.info-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.info-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
}
.stats {
  display: flex;
  gap: 40px;
  font-weight: bold;
}
.stats span {
  font-size: 2rem;
  color: #007bff;
}
.info-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: slideRight 1s ease;
}
.info-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Section */
.services-section {
  background-color: #0b0b0b;
  color: white;
  padding: 80px 40px;
  text-align: center;
}
.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.services-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}
.services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.service-card {
  background: white;
  color: black;
  max-width: 320px;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
}

/* More Service Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}
.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  color: #0c2a4d;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-8px);
}
.card h2 {
  margin-bottom: 15px;
  font-size: 20px;
}
.card p {
  font-size: 14px;
  line-height: 1.5;
}

/* Who We Are / Counter */
.who-we-are {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}
.counter-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0;
}
.counter-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px 
  rgba(0,0,0,0.1);
}
.counter-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #26d0c9;
}
.counter-title {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #333;
}

/* Contact */
.contact-form {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 60px 20px;
}
.subtitle {
  color: #34d1c3;
  font-weight: bold;
  margin-bottom: 10px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  gap: 20px;
}
.form-row.full-width {
  flex-direction: column;
}
input, textarea {
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}
footer a {
  color: #ccc;
  text-decoration: none;
}
footer a:hover {
  color: #00aced;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    margin-top: 10px;
  }
  nav ul li {
    margin: 10px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .form-row {
    flex-direction: column;
  }
}



/* Beautified Navbar */
.navbar {
  background:white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  color: rgb(14, 13, 13);
  font-size: 24px;
  font-weight:bolder;
}

/* Update sidebar nav links */
.sidebar ul li a {
  color: rgb(12, 12, 12);
  font-weight: bold;
}

.sidebar ul li a:hover {
  color: #ffc107;
}

/* === RESPONSIVE FIXES ADDED === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .logo-box {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
  }

  .hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .sidebar {
    width: 100%;
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .info-section {
    flex-direction: column;
    padding: 50px 20px;
  }

  .info-text, .info-image {
    width: 100%;
    text-align: center;
  }

  .info-image img {
    width: 90%;
  }

  .form-row {
    flex-direction: column;
  }

  input, textarea {
    width: 100%;
  }

  .services-cards, .cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card, .card {
    width: 90%;
  }
}
