/* Add this to your main CSS file or style.css */

/* ===== Global Overrides ===== */
body {
  font-family: 'Roboto', sans-serif;
  color: #5d5c59;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* ===== Header Fixes ===== */
.header {
  background-color: black !important;
  padding: 12px 4% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo {
  display: flex !important;
  align-items: center !important;
  max-width: 140px !important;
  height: auto !important;
  margin-top: 0 !important;
  gap: 5px !important;
}

.header-logo img {
  height: 40px !important;
  object-fit: contain !important;
}

.nav-menu {
  display: flex !important;
  gap: 30px !important;
  align-items: center !important;
  font-size: 16px !important;
  font-weight: bold !important;
  list-style: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.nav-menu li a {
  color: white !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 8px 0 !important;
  position: relative;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #ff006f !important;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff006f;
  transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li.active a::after {
  width: 100%;
}

/* ===== Hero Section Fixes ===== */
.hero-section {
  background: linear-gradient(rgba(36, 39, 38, 0.5), rgba(36, 39, 38, 0.5)), 
              url(../images/BHIN3.jpg) no-repeat center !important;
  background-size: cover !important;
  padding: 180px 0 100px !important; /* Adjusted for fixed header */
  margin-top: 0 !important;
  color: white !important;
}

.hero-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  color: white !important;
  animation: typing 1.3s steps(30, end), blink 0.75s step-end infinite;
  white-space: nowrap;
  border-right: 2px solid white;
}

.hero-text, .hero-text2 {
  font-size: 18px !important;
  margin-bottom: 30px !important;
  color: white !important;
}

/* ===== Services Section Fixes ===== */
.services {
  padding: 60px 0 !important;
  background-color: #f9f9f9 !important;
}

.services h2 {
  text-align: center !important;
  font-size: 36px !important;
  margin-bottom: 30px !important;
  color: #464646 !important;
}

.categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.categories-wrapper a.btn {
  background-color: #ff006f;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s;
}

.categories-wrapper a.btn:hover {
  background-color: #d4005a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 111, 0.3);
}

/* ===== Mission & Vision Fixes ===== */
.mission-vision {
  padding: 60px 0 !important;
  background-color: black !important;
}

.mission_vision-title {
  text-align: center !important;
  margin-bottom: 44px !important;
  font-weight: bold !important;
  color: #ffffff !important;
  font-size: 34px !important;
  margin-top: 25px !important;
  background-color: black;
}

.mission, .vision {
  background-color: #fff !important;
  padding: 50px !important;
  box-shadow: 0px 0px 6px #ffffff !important;
  border-radius: 28px !important;
  text-align: center !important;
  margin-bottom: 30px;
}

/* ===== What We Do Section Fixes ===== */
.what-we-do {
  background-color: #f7f7f7 !important;
  padding: 50px 0 !important;
}

.what-we-do h2 {
  font-size: 36px !important;
  margin-bottom: 30px !important;
  color: black !important;
  text-align: center !important;
  font-weight: bold !important;
}

.what-we-do ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.what-we-do li {
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin-bottom: 15px !important;
  color: black !important;
  position: relative;
  padding-left: 30px;
}

.what-we-do li i {
  position: absolute;
  left: 0;
  color: #ff006f;
}

/* ===== Why Choose Us Fixes ===== */
#why-choose {
  background-color: black !important;
  padding: 60px 0 !important;
}

.section-title {
  text-align: center !important;
  margin-bottom: 59px !important;
  font-weight: bold !important;
  color: #ffffff !important;
  font-size: 30px !important;
}

.why-choose-item {
  text-align: center !important;
  margin-bottom: 30px !important;
  background: white;
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s;
}

.why-choose-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.why-choose-item i {
  font-size: 50px !important;
  margin-bottom: 15px !important;
  color: #ff0077 !important;
  transition: all 0.3s ease-in-out !important;
}

.why-choose-item:hover i {
  transform: rotate(360deg) !important;
  color: #ff8ada !important;
}

.why-choose-item h3 {
  font-size: 24px !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: #333 !important;
}

.why-choose-item p {
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
  color: #666 !important;
  text-align: justify !important;
}

/* ===== Gallery Fixes ===== */
.gallery {
  padding: 50px 0 !important;
  text-align: center !important;
  background: #f8f9fa;
}

.gallery h2 {
  font-size: 36px !important;
  margin-bottom: 30px !important;
  font-weight: bold !important;
  color: #333 !important;
}

.gallery-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.gallery-container img {
  width: 300px !important;
  height: 300px !important;
  margin: 14px !important;
  object-fit: cover !important;
  transition: transform 0.3s ease-in-out !important;
  border: 4px solid white !important;
  border-radius: 5px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-container img:hover {
  transform: scale(1.1) !important;
}

/* ===== CTA Section Fixes ===== */
.bg-primary {
  background-color: black !important;
  padding: 60px 0 !important;
}

.cta-title {
  color: white !important;
  font-size: 32px !important;
  margin-bottom: 20px !important;
}

.btn-white {
  background-color: white !important;
  color: black !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 5px !important;
  font-weight: bold !important;
  transition: all 0.3s !important;
}

.btn-white:hover {
  background-color: #ff006f !important;
  color: white !important;
  transform: translateY(-3px);
}

/* ===== Footer Fixes ===== */
.footer {
  background-color: #ffafaf !important;
  padding: 40px 0 0 !important;
  margin-top: 60px;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 992px) {
  .header {
    flex-direction: column;
    padding: 15px !important;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px !important;
  }
  
  .hero-section {
    padding: 150px 0 80px !important;
    text-align: center;
  }
  
  .hero-title {
    font-size: 28px !important;
  }
  
  .mission, .vision {
    padding: 30px !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 24px !important;
    line-height: 1.3;
  }
  
  .gallery-container img {
    width: 100% !important;
    max-width: 350px;
    height: auto !important;
    aspect-ratio: 1/1;
  }
  
  .why-choose-item {
    padding: 20px !important;
  }
}

/* ===== Animation Fixes ===== */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: white }
}