/* common */
:root {
  --primary: #002d5b;
  --secondary: #001a35;
  --accent: #c5a059;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  font-family: "Poppins", sans-serif;
  color: #444;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}
.row {
  margin-right: 0;
  margin-left: 0;
}
/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

/* --- Navigation --- */
h1,
h2,
h3,
.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.navbar {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(197, 160, 89, 0.2);
}

.nav-link {
  position: relative;
  color: var(--primary) !important;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Footer Styling */
.footer-section {
  background: var(--secondary);
  color: #fff;
  padding: 100px 0 30px;
  margin-top: 100px;
}

.footer-title {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 10px;
}

.contact-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: rotate(360deg);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  background: #128c7e;
}

/* Floating Email */
.email-float {
  position: fixed;
  bottom: 30px;
  left: 100px;
  /* right: 30px; Isko right mein rakha hai taki WhatsApp se na takraye */
  background: var(--accent); /* Aapka brand color (Blue/Orange jo bhi ho) */
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 28px; /* Icon size thoda adjust kiya hai */
  line-height: 60px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-float:hover {
  transform: scale(1.1);
  color: white;
  filter: brightness(1.1); /* Hover par thoda light hoga */
}

/* Mobile responsive - buttons ko thoda chota karne ke liye */
@media (max-width: 768px) {
  .email-float,
  .whatsapp-float {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    bottom: 20px;
  }
  .whatsapp-float {
    left: 20px;
  }
  .email-float {
    right: 20px;
  }
}
/* Back to Top */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background: var(--accent);
  color: white;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 5px;
  transition: 0.3s;
}

#backToTop:hover {
  background: var(--primary);
}

.text-light-50 {
  color: rgba(255, 255, 255, 0.7);
}

.text-accent {
  color: var(--accent);
}
/* common hero */
/* --- Hero Section --- */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax Effect */
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}

/* home_header section */
.home_header {
  background:
    linear-gradient(rgba(0, 26, 53, 0.8), rgba(0, 26, 53, 0.6)),
    url("../images/MEP_1.jpeg");
}
.page-header {
  background:
    linear-gradient(rgba(0, 26, 53, 0.8), rgba(0, 26, 53, 0.8)),
    url("../images/img_8.jpeg");
}

.contact-header {
  background:
    linear-gradient(rgba(0, 26, 53, 0.8), rgba(0, 26, 53, 0.6)),
    url("../images/img_8.jpeg");
}

.projects-header {
  background:
    linear-gradient(rgba(0, 45, 91, 0.9), rgba(0, 45, 91, 0.9)),
    url("../images/img_9.jpeg");
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}
.services-header {
  background:
    linear-gradient(rgba(0, 26, 53, 0.9), rgba(0, 26, 53, 0.9)),
    url("../images/img_1.jpeg");
}

.accent-line {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 20px;
}

.contact-item {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.contact-item i {
  color: var(--accent);
  width: 25px;
}
.director-card {
  border-left: 4px solid var(--accent);
  padding-left: 15px;
  margin-bottom: 20px;
}

/* --- Hero Carousel --- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100vh;
  min-height: 620px;
}

.hero-carousel .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-carousel .carousel-item-1 {
  background:
    linear-gradient(rgba(0, 26, 53, 0.75), rgba(0, 26, 53, 0.65)),
    url("../images/MEP_1.jpeg") center/cover no-repeat;
}

.hero-carousel .carousel-item-2 {
  background:
    linear-gradient(rgba(0, 26, 53, 0.75), rgba(0, 26, 53, 0.65)),
    url("../images/MEP_2.jpeg") center/cover no-repeat;
}

.hero-carousel .carousel-item-3 {
  background:
    linear-gradient(rgba(0, 26, 53, 0.75), rgba(0, 26, 53, 0.65)),
    url("../images/MEP_3.jpeg") center/cover no-repeat;
}

.hero-carousel .carousel-caption-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  color: var(--white);
  padding-bottom: 60px;
}

.hero-carousel .carousel-caption-custom h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-carousel .carousel-indicators {
  bottom: 110px;
  z-index: 12;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  transition: var(--transition);
}

.hero-carousel .carousel-indicators .active {
  width: 32px;
  border-radius: 10px;
  background-color: var(--accent);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 45, 91, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.5);
  opacity: 0.85;
  transition: var(--transition);
  margin: 0 25px;
  z-index: 12;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }
  .hero-carousel .carousel-indicators {
    bottom: 100px;
  }
}

