body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
  }

  .navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    max-width: 1100px;
    z-index: 1050; /* Ensure navbar stays on top */
    position: sticky; /* Make navbar sticky */
    top: 0; /* Stick to the top */
    width: 100%;
  }

  .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #4a4e69 !important;
  }

  .nav-link,
.dropdown-toggle {
  position: relative;
  color: black;
  transition: all 0.3s ease-in-out;
  padding: 10px 15px;
}

.nav-link::after,
.dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #c32d03; /* your accent color */
  transition: width 0.3s ease-in-out;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: #c32d03;
  background-color: transparent;
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-link:hover::after,
.dropdown-toggle:hover::after {
  width: 100%;
}

.nav-item a,
a:link,
a:visited,
.nav-link,
.dropdown-item {
  color: black !important;
}
.nav-item a:hover,
.nav-link:hover,
.dropdown-item:hover {
  color: #c32d03 !important; /* or another accent color */
}


  .navbar-toggler {
    border: none;
    background: transparent;
  }

  .navbar-toggler .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #4a4e69;
    margin: 5px auto;
    border-radius: 10px;
    transition: 0.3s ease;
  }
  .nav-link.active {
    color: #c32d03 !important;
    font-weight: 700;
    position: relative;
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #c32d03;
  }
  

  .navbar-toggler.collapsed .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-toggler.collapsed .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler.collapsed .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Image Box Styles (background) */
  .image-box {
    background-image: url('https://via.placeholder.com/800x400'); /* Example image URL */
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure image box stays in the background */
    margin-top:-50px;
  }
  
/* Carousel Image */
.carousel-item img {
    height: 300px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the image covers the area */
    width: 100%;
}
.carousel-inner {
    padding: 10px;
}

.top-bar {
    background-color: #f8f9fa;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.top-bar a {
    color: #444;
    text-decoration: none;
    margin-right: 15px;
}
@media (max-width: 768px) {
    .gallery-img {
        height: 180px;
        margin-bottom: 15px;
    }}

    .top-bar .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        background-color: #1f1c1c;
        color: #fd4903fe;
        padding: 40px 0 10px;
        font-size: 15px;
    }
    
    .footer h5 {
        color:  #fd4903fe;
        font-weight: 700;
        margin-bottom: 20px;
    }
    
    .footer a {
        color: #fd4903fe;
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        transition: color 0.3s ease;
    }
    
    
    .footer i {
        margin-right: 8px;
        color:  #fd4903fe;
    }
    
    .footer .social-icons i {
        font-size: 1.5rem;
        margin-right: 15px;
        color:  #fd4903fe;
        transition: color 0.3s;
    }
    
    .footer .social-icons i:hover {
        color: #8f0505;
        transform: scale(1.1); /* Slight enlarge effect on hover */
    }
    
    /* Footer Bottom */
    .footer-bottom {
        border-top: 1px solid #444;
        margin-top: 30px;
        padding-top: 10px;
        font-size: 14px;
        color: #fd4903fe;
    }
    
    .footer-bottom a {
        color: #fd4903fe;
        text-decoration: none;
    }

    @keyframes moveRightToLeft {
        from { transform: translateX(100%); }
        to { transform: translateX(10%); }
      }
    
      @keyframes moveUp {
        from { transform: translateY(100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
      }
    
      .animate-circle {
        animation: moveRightToLeft 0.3s ease-out forwards;
      }
    
      .animate-text {
        animation: moveUp 0.3s ease-out forwards;
      }
      .image-box {
        width: 100%;
        height: 300px;
        background-image: url('/images/bg_edited2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transition: background-image 0.3s ease;
      }
      
      .image-box:hover {
        background-image: url('/images/bg_edited1.jpg');
      }
      
      /* Media query for screens smaller than 768px (tablets & phones) */
      @media (max-width: 768px) {
        .image-box {
          background-image: url('/images/mobile_bg2.jpg');
        }
      
        .image-box:hover {
          background-image: url('/images/mobile_bg1.jpg');
        }
      }
      .social-icon {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: white;
      }
      .header-info-bg {
        background:lightgray;
        background-size: cover;
        background-position: center;
        color: white;
        padding: 10px 0;
      }
    
       .top-info i {
            font-size: 1.2rem;
            color: red;
          }
      
          .top-info span,
          .top-info small {
            color: white;
          }
      
          .social-icon {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: white;
          }
          .facebook { background-color: #1877F2; }
          .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
          .linkedin { background-color: #0A66C2; }
  
      @media (max-width: 768px) {
        .top-row {
          flex-wrap: wrap;
          justify-content: center !important;
        }
        .top-info-group {
          width: 100%;
          justify-content: center !important;
          margin-bottom: 5px;
        }
        .social-icons-group {
          width: 100%;
          justify-content: center !important;
        }
      }

      
    
      @keyframes animateRedWhite {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }
    
      @keyframes fadeIn {
        to {
          opacity: 1;
        }
      }
    
      @keyframes pulseGlow {
        0%, 100% {
          text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
        }
        50% {
          text-shadow: 0 0 25px rgba(255, 0, 0, 0.9);
        }
      }
    
      @keyframes bounceIn {
        0% {
          transform: scale(0.8);
          opacity: 0;
        }
        60% {
          transform: scale(1.1);
          opacity: 1;
        }
        80% {
          transform: scale(0.95);
        }
        100% {
          transform: scale(1);
        }
      }
      @media (max-width: 600px) {
        .welcome {
          font-size: 2.5rem;
        }
      }
      .image-container {
        position: relative;
        overflow: hidden;
        height: 250px;
        background-color: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 10px;
      }
  
      .image-container img {
        max-width: 100%;
        max-height: 100%;
        transition: transform 0.3s ease;
        object-fit: contain;
      }
  
      .image-container:hover img {
        transform: scale(1.05);
      }
  
      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease;
      }
  
      .image-container:hover .overlay {
        opacity: 1;
      }
  
      .overlay i {
        font-size: 2.5rem;
        color: white;
      }
  
      .project-title {
        margin-top: 10px;
        text-align: center;
        font-weight: 500;
        font-size: 1.1rem;
      }
  
      