:root {
    --primary: #FF6600;
    --primary-dark: #e65c00;
    --primary-soft: rgba(255, 102, 0, 0.1);
    --black: #000000;
    --white: #ffffff; 
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --body-color: #333333;
    --body-bg: linear-gradient(to bottom, #f9f9f9, white);
    /* background: linear-gradient(to bottom, #f9f9f9, white); */
  }

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure containers don't cause overflow */
.container, .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Safe guards for responsive behavior */
.row {
    margin-right: -15px;
    margin-left: -15px;
}  
  /* Base Styles */
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--body-color);
    background-color: var(--body-bg);
    line-height: 1.7;
  }
  
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
  }
  
  a {
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .text-primary {
    color: var(--primary) !important;
  }
  
  .bg-primary {
    background-color: var(--primary) !important;
  }
  
  .bg-primary-soft {
    background-color: var(--primary-soft) !important;
  }
  
  /* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 10px 0;
    position: fixed;
    border-bottom: 1px solid rgba(255, 102, 0, 0.5);
}

.navbar .nav-link {
    color: white !important;
    font-weight: 500;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler:active {
    border-color: orange;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
      height: 100vh;
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                  url('../img/coroursal-2.jpg') no-repeat center center/cover;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
    }
    
    .hero-content {
      max-width: 800px;
      padding: 0 20px;
      z-index: 1;
      color: var(--white);
    }
    
    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      line-height: 1.2;
    }
    
    .hero-content p {
      font-size: 1.25rem;
      margin-bottom: 2.5rem;
      font-family: 'Open Sans', sans-serif;
      font-weight: 400;
    }
    
    .btn {
      display: inline-block;
      padding: 12px 30px;
      border-radius: 4px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1rem;
      cursor: pointer;
    }
    
    .btn-primary {
      background-color: var(--primary);
      color: var(--white);
      border: 2px solid var(--primary);
    }
    
    .btn-primary:hover {
      background-color: var(--primary-dark);
      border-color: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .btn-outline {
      background-color: transparent;
      color: var(--white);
      border: 2px solid var(--white);
      margin-left: 15px;
    }
    
    .btn-outline:hover {
      background-color: var(--white);
      color: var(--dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2.5rem;
      }
      
      .hero-content p {
        font-size: 1.1rem;
      }
      
      .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
      }
      
      .btn-outline {
        margin-left: 10px;
      }
    }

/* Adjust the navbar when scrolled */
body {
    padding-top: 0;
}
  
  /* Top Bar */
  .top-bar {
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .top-bar a {
    color: var(--white);
  }
  
  .top-bar a:hover {
    color: var(--primary);
  }
  
    .navbar {
    padding: 1rem 0;
    /*background-color: transparent;*/
  }
  

/* Hero Carousel Adjustments */
#heroCarousel {
    margin-top: 0;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}


body {
    padding-top: 0;
}
  /* Icon Box */
  .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .icon-box-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Cards */
  /*.card {*/
  /*  border: none;*/
  /*  border-radius: 10px;*/
  /*  transition: all 0.3s ease;*/
  /*  overflow: hidden;*/
  /*}*/
  
  /*.card:hover {*/
  /*  transform: translateY(-10px);*/
  /*  box-shadow: 0 15px 30px rgba(0,0,0,0.1);*/
  /*}*/
  
  /* Form styling to match your theme */
  .custom-form .form-control,
  .custom-form .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
  }
  
  .custom-form .form-control:focus,
  .custom-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
  }
  
  .custom-form .form-control.is-valid,
  .custom-form .form-control.is-valid:focus {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  }
  
  .custom-form .form-control.is-invalid,
  .custom-form .form-control.is-invalid:focus {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  }
  
  .custom-form .invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }
  
  .custom-form .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .custom-form .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  #form-message {
    transition: all 0.3s ease;
    border-radius: 8px;
  }
  
  
  /* Card Styles */
  .hover-top {
    transition: all 0.3s ease;
    border-radius: 12px !important;
  }
  
  .hover-top:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1) !important;
  }
  
  .card-icon-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 20px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .hover-top:hover .card-icon-wrapper {
    transform: scale(1.1);
  }
  
  .bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
  }
  
  .bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
  }
  
  .bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
  }
  
  .bg-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
  }
  
  .text-secondary {
    color: #6c757d !important;
  }
  /* Buttons */
  .btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
  }
  
    .btn:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
  }
  
  
  .btn-outline-light:hover {
    color: var(--dark) !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem;
  }
  
  /* Hover Effect */
  .hover-top {
    transition: all 0.3s ease;
  }
  
  .hover-top:hover {
    transform: translateY(-5px);
  }
  
  /* Back to Top Button */
  .btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  /* Footer */
  footer {
    background-color: var(--black);
  }
  
  footer a {
    color: var(--white);
  }
  
  footer a:hover {
    color: var(--primary);
  }
  
  footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
  }
  
  footer .social-icons a:hover {
    background-color: var(--primary);
    color: var(--white);
  }


/* Services Section*/

/* Enhanced Services Section */
.services-section {
    position: relative;
    overflow: hidden;
}

.services-section .card {
    border: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    position: relative;
    z-index: 1;
}

.services-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-soft), white);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 12px;
}

  .services-section {
    /* background: linear-gradient(to bottom, #f9f9f9, white);  */
  }
  
  .service-card .card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }
  
  .service-card .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
  }
  
  .service-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    width: 120px;
    text-align: center;
  }
  
  .price-tag {
    background: rgba(255, 102, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
    display: inline-block;
  }
  
  .service-img {
    height: 120px;
    transition: transform 0.3s ease;
  }
  
  .service-card:hover .service-img {
    transform: scale(1.1);
  }
  
  #load-more-btn {
    transition: all 0.3s ease;
    border-width: 2px;
    background: white;
    color: var(--primary);
    border-color: var(--primary);
  }
  
  #load-more-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    opacity: 0.7;
  }  
  
  /* Responsive Adjustments */
  @media (max-width: 991.98px) {
    .navbar-collapse {
      padding: 1rem 0;
    }
    
    .hero-section {
      padding: 4rem 0;
    }
    
    .hero-section h1 {
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 767.98px) {
    .hero-section {
      text-align: center;
      padding: 3rem 0;
    }
    
    .hero-section h1 {
      font-size: 2rem;
    }
    
    .hero-section .btn {
      display: block;
      width: 100%;
      margin-bottom: 1rem;
    }
    
    .hero-section .d-flex {
      flex-direction: column;
    }
  }
  
  /* 320 px and below  ───────────────────────────────────────── */
@media (max-width: 320px) {

  /* Global text a touch smaller to fit narrow screens */
  html {
    font-size: 13.5px;          /* was 14 px at 576 px */
  }

  /* Hero section tweaks */
  .hero-section {
    padding: 2rem 0;           /* tighter top/bottom spacing */
    text-align: center;
  }

  .hero-section h1 {
    font-size: 1.6rem;         /* scales headline down */
    line-height: 1.25;
  }

  .hero-section p.lead {
    font-size: 0.95rem;
  }

  .hero-section .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  /* Stack icon‑plus‑text rows a bit tighter in “About” checklist */
  .hero-section .d-flex,
  .about-section .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Cards: ensure full‑width and reduce inner gap */
  .card {
    padding: 1.25rem;
  }
  .card h5 {
    font-size: 1rem;
  }
  .card p {
    font-size: 0.9rem;
  }

  /* Footer: center everything and shrink social icons */
  footer .row > div {
    text-align: center;
  }
  footer .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}


