/* Header.php CSS */
/* Base Mobile-First Styles */
* {
  box-sizing: border-box;
}

body {
  background-color: #ffffff !important;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
/* Typography for Mobile */
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.5rem;
  }
  h5 {
    font-size: 1.25rem;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.75rem;
  }
  h5 {
    font-size: 1.5rem;
  }
}

/* Container Padding for Mobile */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Button Sizes for Mobile */
.btn {
  font-size: 16px;
  padding: 10px 20px;
}

.btn-lg {
  font-size: 18px;
  padding: 12px 24px;
}

/* Card Styling for Mobile */
.card {
  margin-bottom: 20px;
}

/* Image Responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.mobile-padding {
  padding: 20px 15px;
}

.mobile-margin {
  margin: 15px;
}

/* Navbar Styles */
.navbar-white {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.text-primary-dark {
  color: #2c3e50 !important;
}

.text-secondary-light {
  color: #7f8c8d !important;
}

.btn-white-outline {
  border: 2px solid #3498db;
  color: #3498db;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-white-outline:hover {
  background-color: #3498db;
  color: white;
}

.border-light-custom {
  border-color: #ecf0f1 !important;
}

/* Mobile Navigation Fix */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Navbar CSS Code */
/* Mobile-First Navbar Styles */
.navbar {
  padding: 12px 0;
}

.navbar-brand {
  font-size: 1.5rem !important;
}

.nav-link {
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  margin: 5px 0;
}

/* Active Link Styling */
.nav-link.active {
  color: #3498db !important;
  font-weight: 600 !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  bottom: 0;
  left: 20%;
  background-color: #3498db;
  border-radius: 2px;
}

/* Hover Effect */
.nav-link:hover {
  color: #3498db !important;
  transform: translateY(-2px);
}

/* Mobile Specific Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #ecf0f1;
  }

  .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f8f9fa;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link.active::after {
    width: 40px;
    left: calc(50% - 20px);
    bottom: 8px;
  }

  .navbar-toggler {
    padding: 8px 10px;
    font-size: 1rem;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }

  .nav-link {
    font-size: 15px;
    padding: 8px 12px !important;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .navbar {
    padding: 15px 0;
  }

  .nav-link {
    margin: 0 8px;
    padding: 8px 16px !important;
  }

  .nav-link.active::after {
    width: 70%;
    left: 15%;
  }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar-brand {
    font-size: 1.3rem !important;
  }

  .navbar-toggler {
    padding: 6px 8px;
  }
}


/* Index.php CSS  */
  .hero-section {
    /* min-height: 85vh; */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  }
  .container-div {
    padding-top: 85px;
    padding-bottom: 85px;
  }