/* Global Styles */
:root {
  --primary-color: #01579b;
  --secondary-color: #4fc3f7;
  --accent-color: #ff9800;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
}

.font-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #014478;
  border-color: #014478;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.section-padding {
  padding: 6rem 0;
}

.section-heading {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 1rem auto;
}

/* Page Header */

.page-header {

  position: relative;

  background-size: cover;


  background-position: center;

  background-repeat: no-repeat;

  padding: 150px 0 100px; /* Increased padding to make header taller */

  margin-bottom: 0;
 /* Dark overlay for better text visibility */


  
  padding: 150px 0 100px; /* Increased padding to make header taller */

  margin-bottom: 0;

}


.page-header::before {

  content: '';

  position: absolute;

  }
  

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 3px;
  background-color: var(--primary-color);
}

/* Hero Section */
.hero-carousel .carousel-item {
  height: 85vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  z-index: 1;
  position: relative;
  max-width: 800px;
  transform: translateY(0); /* Prevent upward movement */
  padding: 2rem;
  animation: none !important; /* Disable any animations that might cause movement */
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Feature Section */
.feature-card {
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* About Section */
.about-img {
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-img img {
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content {
  padding: 2rem;
}

/* Services Section */
.service-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Team Section */
.team-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
}

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background-color: rgba(1, 87, 155, 0.9);
  padding: 0.75rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transition: bottom 0.3s ease;
}

.team-img-wrapper:hover .team-social {
  bottom: 0;
}

.team-social a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.team-social a:hover {
  color: var(--accent-color);
}

/* Testimonial Section */
.testimonial-card {
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.testimonial-quote {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

/* Gallery Section */
.gallery-filter {
  margin-bottom: 2rem;
}

.gallery-filter button {
  background: none;
  border: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.gallery-filter button.active {
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
}

.gallery-filter button:hover:not(.active) {
  color: var(--primary-color);
}

.gallery-item {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 87, 155, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: white;
  font-size: 2rem;
}

/* Contact Section */
.contact-info-item {
  display: flex;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 50px;
  height: 50px;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-form .form-control {
  height: 50px;
  border-radius: 0.25rem;
  border: 1px solid var(--gray-300);
  margin-bottom: 1rem;
}

.contact-form textarea.form-control {
  height: 150px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding-top: 4rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-links h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  margin-top: 3rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #014478;
  color: white;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-padding {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-carousel .carousel-item {
    height: 70vh;
  }
  .section-padding {
    padding: 3rem 0;
  }
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-carousel .carousel-item {
    height: 60vh;
  }
}

/* Mission & Vision Styles */
.mission-card, .vision-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.mission-icon, .vision-icon {
  display: inline-block;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  text-align: center;
}