@media (max-width: 768px) {
    .hide-on-mobile {
      display: none !important;
    }
  }

:root {
            --primary-color: #f8f6f5;
            --secondary-color: #f8faf9;
            --danger-color: red;
            --info-color: rgb(242, 255, 0);
        
            --accent-color: #1be22fee;
        }
body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden; /* Prevent horizontal scrolling */
        }
        
        .navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

.navbar.sticky-top {
    position: sticky;
    top: 0;
}
.btn{
     
      color: #fff;
      
      padding: 12px 35px;
      font-size: 1rem;
      
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
    }

.service {
  padding: 80px 0;
  background-color: #fff;
}

.text-content {
  background-color: brown;
  color: white;
  padding: 30px;
  border-radius: 15px;
}

.text-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.6;
}

.image-card {
  position: relative;
  overflow: hidden;
  height:300px;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(165, 42, 42, 0.8);
  color: white;
  width: 100%;
  padding: 15px;
  text-align: center;
  border-radius: 0 0 10px 10px;
}

.overlay h4 {
  margin-bottom: 5px;
}

.chat {
  background-color: #940808;
}

.chat h2 {
  font-size: 2.5em;
  font-weight: 600;
}

.btn-outline-danger {
  border: 2px solid brown;
  color: brown;
  font-weight: 600;
  padding: 10px 20px;
}

.btn-outline-danger:hover {
  background-color: brown;
  color: white;
}

/* 📱 Mobile Styling */
@media (max-width: 768px) {
  .text-content {
    text-align: center;
  }

  .text-content h1 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 0.95rem;
  }

  .overlay p {
    font-size: 0.9rem;
  }

  .btn {
    width: 80%;
  }

  .chat h2 {
    font-size: 1.5rem;
  }
}



.blog-card {
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  
}

.blog-card:hover {
  transform: translateY(-5px);
}

.text-overlay-blogs {
  position: absolute;
  bottom: 0;
  left: 0;
  height:100%;
  width: 100%;
  padding: 15px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 15px;
  border-radius: 0 0 10px 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .blogs h1 {
    text-align: center;
  }
  .blogs p {
    text-align: center;
  }
  .text-overlay-blogs p {
    font-size: 14px;
  }
}

.chat {
    
      position: relative;
      background: linear-gradient(rgba(251, 249, 249, 0.5), rgba(245, 242, 242, 0.5)),
                url("hero.jpg") center/cover no-repeat ;
      color: #171515;
      text-align: center;
      padding: 120px 15px;
      margin-top: 50px;
    }
    .blogs{
        margin-top: 100px;
    }
    .blogs h1{
        margin-bottom: 10px;
        text-align: center;
        
    }
    .blogs p{
        margin-top: 40px;
        text-align: center;
        
    }

.newsletter{
    
    
      position: relative;
      background-color:#dc3545;        
      color: #fefafa;
      text-align: center;
      padding: 120px 15px;
      margin-top: 50px;
    }


/* Mobile responsive styles for max-width 768px */
@media (max-width: 768px) {
  .header{
    font-size: 1rem;
  }
  .navbar-brand h4 {

    font-size: 1.2rem;

  }

  .chat {
    padding: 60px 15px !important;
    margin-top: 20px !important;
  }

  .chat h2 {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  .chat .btn {
    margin-top: 20px !important;
    font-size: 0.9rem !important;
  }

  .blogs {
    margin-left: 0;
    margin-top: 40px;
  }

  .blogs h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .blogs p {
    font-size: 0.9rem;
    text-align: center;
  }

  .blogs .row.position-absolute .col-lg-6 {
    margin-left: 0 !important;
    margin-top: 20px !important;
    position: relative !important;
  }

  .blogs .image-container img {
    width: 100% !important;
    height: auto !important;
  }

  .blogs .text-overlay-blogs {
    width: 100% !important;
  }

  .blogs .btn {
    margin-left: 20px;
    font-size: 0.9rem;
  }

  .newsletter {
    padding: 60px 15px;
    margin-top: 20px;
  }

  .newsletter h2 {
    font-size: 1.75rem;
  }

  .newsletter .btn {
    font-size: 0.9rem;
  }

  
  
}

/* about content */
.about {
  margin-top: 150px;
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  position: relative;
  gap: 20px;
}

.about-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.about-content {
  background-color: brown;
  color: white;
  padding: 20px;
  border-radius: 20px;
  flex: 1;
  min-width: 300px;
}

.about-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.5;
}

/* 📱 Mobile Responsive Styling for about section */
@media (max-width: 768px) {
  .about {
    margin-top: 100px;
    margin-bottom: 60px;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-image img {
    max-width: 100%;
  }

  .about-content {
    position: static;
    width: 100%;
    margin-top: 20px;
    text-align: center;
  }

  .about-content h1 {
    font-size: 1.5rem;
  }

.about-content p {
  font-size: 0.9rem;
  padding: 0 10px;
}
}

/* blog1 page styles */
.blog1 {
    margin-top: 100px;
    margin-bottom: 50px;
}

.blog1-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 15px;
}

.blog1-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
}



.blog1-main-image img {
    width: 100%;
    height: 600px;
   
    
}

.blog1-content h2 {
    color: #d6180e;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog1-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.blog1-content ul {
    padding-left: 20px;
}

.blog1-content ul li {
    margin-bottom: 10px;
}

.style-option img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.style-option h5 {
    font-weight: 500;
}

/* Mobile adjustments for blog1 */
@media (max-width: 768px) {
    .blog1 {
        margin-top: 80px;
    }

    .blog1-title {
        font-size: 2rem;
    }

    .blog1-subtitle {
        font-size: 1rem;
    }

    .blog1-content h3 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .blog1-content p {
        font-size: 1rem;
    }
}

/* blog2 page styles */
.blog5 {
    margin-top: 100px;
    margin-bottom: 50px;
}

.blog5-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 15px;
}

.blog5-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog5-main-image img {
    width: 100%;
    height: 600px;
}

.blog5-content h2 {
    color: #d6180e;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog5-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.blog5-content ul {
    padding-left: 20px;
}

.blog5-content ul li {
    margin-bottom: 10px;
}

.style-option img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.style-option h5 {
    font-weight: 500;
}

/* Mobile adjustments for blog2 */
@media (max-width: 768px) {
    .blog5 {
        margin-top: 80px;
    }

    .blog5-title {
        font-size: 2rem;
    }

    .blog5-subtitle {
        font-size: 1rem;
    }

    .blog5-content h3 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .blog5-content p {
        font-size: 1rem;
    }
}



    .blog-header::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
    }

    .blog-header h1 {
      position: relative;
      z-index: 1;
      font-weight: 700;
      font-size: 2.5rem;
    }

    .blog-content {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      padding: 40px;
      margin-top: -80px;
      position: relative;
      z-index: 2;
    }

    .blog-content h2 {
      color: #dc3545;
      font-weight: 600;
      margin-top: 30px;
    }

    .blog-content p {
      color: #555;
      line-height: 1.8;
    }

    /* main service page */

    .service-hero {
      height: 40vh;
      color: #fff;
      text-align: center;
      padding: 120px 20px;
      position: relative;
      
    }

    .service-hero::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 0;
    }

    .service-hero h1, .service-hero p {
      position: relative;
      z-index: 1;
    }

    /* Service Cards */
    .service-card {
      border: none;
      border-radius: 15px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .service-card img {
      height: 220px;
      object-fit: cover;
    }

    .cta-section {
      background: #dc3545;
      color: #fff;
      text-align: center;
      padding: 60px 20px;
    }

    .cta-section a {
      background: #fff;
      color: #dc3545;
      padding: 10px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s;
    }

    .cta-section a:hover {
      background: #f8f9fa;
      color: #b02a37;
    }
    
  
    .footer-container {
      width: 90%;
      max-width: 1200px;
      margin:auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
    }

    .footer-col h4 {
      margin-top:50px;
      font-size: 20px;
      margin-bottom: 20px;
      font-weight: 600;
      position: relative;
    }

    

    .footer-col p {
      
      line-height: 1.7;
      font-size: 14px;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col ul li {
      margin: 10px 0;
    }

    .footer-col ul li a {
      
      text-decoration: none;
      font-size: 14px;
      transition: 0.3s;
    }

    .footer-col ul li a:hover {
      color: #a10909;
      padding-left: 5px;
    }

    .subscribe-btn {
      display: inline-block;
      background-color: #ff0000e1;
      color: #fff;
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s;
    }

    

    .footer-bottom {
      text-align: center;
      border-top: 1px solid #3c4d5c;
      margin-top: 40px;
      padding-top: 15px;
      font-size: 14px;
      color: #cbd3dc;
      justify-content: center;
      align-items: center;
    }

    .footer-bottom a {
      color: #990a0a;
      text-decoration: none;
      margin: 0 5px;
    }

/* Contact Form Border */
.contact-form {
  border-top: 5px solid #eb142a;
  border-left: 5px solid #eb142a;
  border-radius: 10px;
  padding: 30px;
  background-color: #f3f6f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Logo responsiveness */
.logo {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .logo {
    width: 200px !important;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 150px !important;
  }
}
