/* =========================================
   1. GOOGLE FONTS & VARIABLES
   ========================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #0b132b;
  --highlight-color: #ff7b54;
  --bg-light: #f4f7fb;
  --text-color: #4a5568;
}

/* =========================================
   2. GLOBAL SETTINGS & RESET
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-light);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.text-center {
  text-align: center;
}

/* =========================================
   3. TYPOGRAPHY & BUTTONS
   ========================================= */
.highlight {
  color: var(--highlight-color);
}

.section-subtitle {
  color: var(--highlight-color);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 40px;
}

.btn {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
  font-size: 15px;
}

.btn-dark {
  background: var(--primary-color);
  color: #fff;
}
.btn-dark:hover {
  background: #1a2542;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin-left: 10px;
}
.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}
.w-100 {
  width: 100%;
}

/* =========================================
   4. HEADER / NAVBAR
   ========================================= */
header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  color: var(--primary-color);
  font-size: 24px;
}
.logo span {
  font-weight: 300;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
}
nav a:hover,
nav a.active {
  color: var(--highlight-color);
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
  padding: 80px 0;
  background: linear-gradient(to right, #f4f7fb, #ffffff);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 50px;
}
.hero-content {
  flex: 1;
}

.badge {
  background: #0b132b;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 48px;
  color: var(--primary-color);
  line-height: 1.2;
  margin: 20px 0;
}
.hero p {
  font-size: 16px;
  margin-bottom: 30px;
}

.hero-contact-info {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
}
.info-box i {
  background: #ffecd2;
  color: #ff7b54;
  padding: 12px;
  border-radius: 50%;
  font-size: 18px;
}
.info-box strong {
  display: block;
  color: var(--primary-color);
  font-size: 14px;
}
.info-box span {
  font-size: 14px;
}

.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =========================================
   6. SERVICES SECTION
   ========================================= */
.services {
  padding: 80px 0;
}
.services h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  width: calc(33.33% - 20px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.card .icon i {
  background: #f0f4f8;
  color: var(--primary-color);
  padding: 15px;
  border-radius: 10px;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}
.card p {
  font-size: 14px;
}

/* =========================================
   7. ABOUT SECTION
   ========================================= */
.about {
  padding: 80px 0;
  background: #fff;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}
.about-image {
  flex: 1;
  text-align: center;
}
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px 20px 20px 80px;
}
.about-content {
  flex: 1;
}
.about-content h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--primary-color);
}
.feature-item i {
  color: var(--highlight-color);
}

/* =========================================
   8. CONTACT SECTION
   ========================================= */
.contact-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.contact-section h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.contact-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  align-items: flex-start;
}

.contact-info-col {
  flex: 1;
}
.contact-info-col h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.contact-info-col > p {
  margin-bottom: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #fff;
  color: var(--highlight-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.info-text strong {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
}

.contact-social {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}
.contact-social a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}
.contact-social a:hover {
  background: var(--highlight-color);
  transform: translateY(-3px);
}

.contact-form-col {
  flex: 1;
  width: 100%;
}
.contact-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.contact-box h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 24px;
}

.input-group {
  margin-bottom: 20px;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
  background: #fafafa;
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--highlight-color);
  background: #fff;
}

.success-msg {
  color: #28a745;
  margin-bottom: 15px;
  font-weight: 500;
}
.error-msg {
  color: #dc3545;
  margin-bottom: 15px;
  font-weight: 500;
}

/* =========================================
   9. FOOTER & FLOATING ELEMENTS
   ========================================= */
footer {
  background: var(--primary-color);
  color: #fff;
  padding: 40px 0 20px;
}
.footer-logo h2 {
  color: #fff;
  margin-bottom: 15px;
}
.footer-logo span {
  color: var(--highlight-color);
}
footer p {
  color: #a0aec0;
  font-size: 14px;
  margin-bottom: 20px;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  font-size: 32px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
#scrollTopBtn {
  display: none;
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: 30px;
  background-color: var(--highlight-color);
  color: white;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 99;
  align-items: center;
  justify-content: center;
}

/* =========================================
   10. FULL MEDIA QUERIES (HAR SCREEN K LIYE)
   ========================================= */

/* Laptops & Small Desktops */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }
  .card {
    width: calc(50% - 20px);
  }
  .hero-container,
  .about-container,
  .contact-wrapper {
    gap: 30px;
  }
}

/* Tablets (iPad) */
@media (max-width: 768px) {
  /* Paddings choti kardi */
  .hero,
  .services,
  .about,
  .contact-section {
    padding: 50px 0;
  }

  /* Layouts ko column kar diya (Stacked) */
  .hero-container,
  .about-container,
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }

  /* Nav ko hide kiya (Mobile view) */
  nav ul,
  .nav-btn {
    display: none;
  }
  .nav-container {
    justify-content: space-between;
  }

  /* Text alignments for mobile */
  .hero-contact-info {
    justify-content: center;
    flex-wrap: wrap;
  }
  .card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }

  /* Contact Section Alignment */
  .contact-info-col,
  .contact-form-col {
    width: 100%;
    text-align: left;
  }
  .contact-info-col h3,
  .contact-form-col h3 {
    text-align: center;
  }
  .info-list {
    align-items: center;
    text-align: center;
  }
  .info-item {
    flex-direction: column;
    gap: 10px;
  } /* Icon aur text upar neche */
  .contact-social {
    justify-content: center;
  }

  /* Floating Buttons Resize */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    left: 15px;
    bottom: 15px;
  }
  #scrollTopBtn {
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 15px;
  }
}

/* Small Mobiles (Phone Screens) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  .services h2,
  .about-content h2,
  .contact-section h2 {
    font-size: 28px;
  }

  /* Buttons stacked on small screens */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .btn-outline {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .btn-dark {
    width: 100%;
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .about-image img {
    border-radius: 15px;
  }

  .contact-box {
    padding: 25px 15px;
  }
}

/* new */
.fa-circle-play {
  margin-right: 5px;
}
.fa-arrow-right {
  margin-right: 5px;
}

/* Desktop: Hide Menu Toggle by Default */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: var(--primary-color);
  cursor: pointer;
}

/* ------------------------------------- */
/* Mobile Media Query Update             */
/* ------------------------------------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-btn {
    display: none;
  }

  nav#navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 999;
  }

  nav#navbar.active-menu {
    display: block;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
