/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container for consistent width */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Flexible grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 15px;
  flex: 1;
}

/* Navigation styles */
.nav {
  background-color: #333;
  padding: 1rem 0;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ddd;
}

/* Responsive images */
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile-first approach with media queries */

/* Small screens (default styles above) */

/* Medium screens (tablets) */
@media screen and (min-width: 768px) {
  .col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
  }

  .col-md-4 {
      flex: 0 0 33.333%;
      max-width: 33.333%;
  }

  .col-md-3 {
      flex: 0 0 25%;
      max-width: 25%;
  }
}

/* Large screens (desktops) */
@media screen and (min-width: 992px) {
  .col-lg-6 {
      flex: 0 0 50%;
      max-width: 50%;
  }

  .col-lg-4 {
      flex: 0 0 33.333%;
      max-width: 33.333%;
  }

  .col-lg-3 {
      flex: 0 0 25%;
      max-width: 25%;
  }

  /* Hamburger menu toggle - hidden on desktop */
  .menu-toggle {
      display: none;
  }
}

/* Mobile navigation */
@media screen and (max-width: 767px) {
  .menu-toggle {
      display: block;
      position: absolute;
      right: 20px;
      top: 20px;
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
  }

  .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: #333;
  }

  .nav-menu.active {
      display: flex;
  }

  .nav-item {
      margin: 10px 0;
      text-align: center;
  }
}

/* Typography */
h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Small screens (mobile) */
@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 1.2rem; /* Reduce logo text size */
  }
  .gallery_section .img-box img {
    width: 100%; /* Ensure images take full width */
  }
  .info_contact span {
    font-size: 0.9rem; /* Reduce text size in contact section */
  }
  .social_box a {
    margin: 5px; /* Adjust spacing for social icons */
  }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .heading_container h2 {
    font-size: 1.5rem; /* Adjust heading size */
  }
  .overlay-content a {
    font-size: 1rem; /* Adjust menu item size */
  }
}

/* Large screens (desktops) */
@media (min-width: 992px) {
  .custom_menu-btn {
    display: none; /* Hide hamburger menu on large screens */
  }
  .navbar-expand-lg .navbar-nav {
    display: flex; /* Show horizontal menu on large screens */
  }
}

/* Chhote screens (mobile) */
@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 1.2rem; /* Logo ka text chhota karo */
  }
  .about_section .img-box img {
    width: 100%; /* Image full width ho */
  }
  .carousel-inner .img-box img {
    width: 100%; /* Carousel images bhi full width */
  }
  .info_contact span {
    font-size: 0.9rem; /* Contact section ka text chhota karo */
  }
  .social_box a {
    margin: 5px; /* Social icons ke beech space */
  }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .heading_container h2 {
    font-size: 1.5rem; /* Heading ka size adjust karo */
  }
  .overlay-content a {
    font-size: 1rem; /* Menu items ka size chhota karo */
  }
}

/* Bade screens (desktops) */
@media (min-width: 992px) {
  .custom_menu-btn {
    display: none; /* Hamburger menu chhupa do */
  }
}

/* Chhote screens (mobile) */
@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 1.2rem; /* Logo ka text chhota karo */
  }
  .heading_container h2 {
    font-size: 1.5rem; /* Heading ka size chhota karo */
  }
  .detail-box h5 {
    font-size: 1.2rem; /* Subheading ka size adjust karo */
  }
  .detail-box p {
    font-size: 0.9rem; /* Paragraph text chhota karo */
  }
  .info_contact span {
    font-size: 0.9rem; /* Contact section ka text chhota karo */
  }
  .social_box a {
    margin: 5px; /* Social icons ke beech space */
  }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .blog_section .box {
    margin-bottom: 20px; /* Boxes ke beech space do */
  }
  .overlay-content a {
    font-size: 1rem; /* Menu items ka size chhota karo */
  }
}

/* Bade screens (desktops) */
@media (min-width: 992px) {
  .custom_menu-btn {
    display: none; /* Hamburger menu chhupa do */
  }
}

/* Chhote screens (mobile) */
@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 1.2rem; /* Logo ka text chhota karo */
  }
  .heading_container h2 {
    font-size: 1.5rem; /* Heading ka size adjust karo */
  }
  .service_section .box {
    margin-bottom: 20px; /* Services ke boxes ke beech space */
  }
  .service_section .detail-box p {
    font-size: 0.9rem; /* Services ka text chhota karo */
  }
  .about_section .img-box img {
    width: 100%; /* About section ki image full width */
  }
  .carousel-inner .img-box img {
    width: 100%; /* Carousel images full width */
  }
  .info_contact span {
    font-size: 0.9rem; /* Contact section ka text chhota karo */
  }
  .social_box a {
    margin: 5px; /* Social icons ke beech space */
  }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .overlay-content a {
    font-size: 1rem; /* Menu items ka size chhota karo */
  }
}

/* Bade screens (desktops) */
@media (min-width: 992px) {
  .custom_menu-btn {
    display: none; /* Hamburger menu chhupa do */
  }
}

/* Chhote screens (mobile) */
@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 1.2rem; /* Logo ka text chhota karo */
  }
  .heading_container h2 {
    font-size: 1.5rem; /* Heading ka size adjust karo */
  }
  .about_section .img-box img {
    width: 100%; /* Image full width ho */
  }
  .detail-box p {
    font-size: 0.9rem; /* Paragraph text chhota karo */
  }
  .info_contact span {
    font-size: 0.9rem; /* Contact section ka text chhota karo */
  }
  .social_box a {
    margin: 5px; /* Social icons ke beech space */
  }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .overlay-content a {
    font-size: 1rem; /* Menu items ka size chhota karo */
  }
}

/* Bade screens (desktops) */
@media (min-width: 992px) {
  .custom_menu-btn {
    display: none; /* Hamburger menu chhupa do */
  }
}