/* =======================
   Global Reset & Body
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: white;
  display: flex;
  flex-direction: column;   
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

/* =======================
   Navbar Styles
======================= */
.navbar {
  background: #ffffff;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: "Segoe UI", sans-serif;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2a2a2a !important;
}

.navbar-nav .nav-link {
  color: #444 !important;
  margin: 0 8px;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 8px;
  padding: 6px 12px;
}

.navbar-nav .nav-link:hover {
  background: rgba(0,0,0,0.05);
  color: #000 !important;
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.dropdown-item {
  padding: 10px 20px;
}

.dropdown-item:hover {
  background: #f0f0f0;
}

/* Search bar */
.navbar .form-control {
  border-radius: 25px;
  padding: 6px 15px;
}

.btn-search {
  border-radius: 25px;
  padding: 6px 18px;
}

/* Profile dropdown */
.profile-pic {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
}

/* =======================
   Hero / Carousel Styles
======================= */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0;
  overflow: hidden;
}

/* Fix container clash */
.hero-wrapper {
  margin-top: 70px; 
}

.hero {
  height: 70vh;    
  width: 100%;
  position: relative;
  overflow: hidden;
}



.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;   
  width: 100%;
}

.carousel-inner {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center 28%; 
}

.carousel-item.active {
  opacity: 1;
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.carousel-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #6bcbff;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.177);
  color: white;
  font-size: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}




/* cards */
#chosen-image {
  max-width: 100%;      /* container ki width ke andar hi rahe */
  max-height: 400px;    /* image ki height limit kar di */
  object-fit: contain;  /* image ka aspect ratio bigadne na de */
  border-radius: 10px;  /* thoda smooth rounded look */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}



.custom-card {
  max-width: 260px;   
  margin: auto;      
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.custom-card img {
  height: 160px;      
  object-fit: cover;  
  border-radius: 12px 12px 0 0;
}

/* Mobile Responsive Fix */
@media (max-width: 576px) {
  .custom-card {
    max-width: 80%;   
  }
}





/* =======================
   Footer Styles (Fixed)
======================= */
.custom-footer {
  background: white;   
  color: #0b0000;
  font-size: 14px;
  margin-top: 20px;      
  padding: 40px 0 20px;
}

.custom-footer h5 {
  color: #0a0000;
  margin-bottom: 1rem;
  font-weight: 600;
}

.custom-footer a {
  color: #120101;
  text-decoration: none;
  transition: color 0.3s;
}

.custom-footer a:hover {
  color: #0664f0; 
}

/* Footer columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-columns div {
  min-width: 200px;
}

/* Social icons */
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: #060000;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #080707;
  transform: scale(1.2);
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  border-radius: 20px;
  padding: 8px 14px;
  border: none;
  outline: none;
  flex: 1;
}

.newsletter-form button {
  border-radius: 20px;
  padding: 8px 18px;
  border: none;
  background: #0d6efd;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff5252;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #080000;
}

/* =======================
   Responsive Footer
======================= */
@media (max-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    margin-bottom: 10px;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}









/* =======================
   Responsive Design
======================= */
@media (max-width: 768px) {
  .hero {
    height: 400px;
  }

  .carousel-content h2 {
    font-size: 2rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 350px;
  }

  .carousel-content {
    padding: 20px;
  }

  .carousel-content h2 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 10px 20px;
  }
}
