/* ===== HOME.CSS ===== */


/* Hero Section */
.hero-section {
  background: url('../img/heroBanner.webp') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  overflow-x: hidden;
  margin-top: 80px;
}

.hero-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-section .cta-button {
  font-size: 1.25rem;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  background-color: #007bff;
  border: none;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.hero-image {
  max-width: 400%;
  height: auto;
  transition: transform 0.3s ease;
  width: 900px;
}

.hero-image:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-section {
    margin-top: 60px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .hero-section .cta-button {
    font-size: 1rem;
    padding: 0.5rem 2rem;
  }

  .hero-image {
    width: 100%;
    max-width: 700px;
  }
}







/* Features Section */
#features {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.feature-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card .card-body {
  padding: 2rem;
  text-align: center;
}

.feature-card i {
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0;
}


@media (max-width: 768px) {
  /* Add these styles */
  #features .col-md-3 {
    padding-bottom: 2.5rem;
  }
  
  #features .col-md-3:last-child {
    padding-bottom: 0;
  }

  /* Existing feature-card margin - keep or adjust as needed */
  .feature-card {
    margin-bottom: 1.5rem;
  }
}








/* About Section */
#about {
  padding: 5rem 0;
  background-color: #fff;
}

#about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: left;
}

#about p.lead {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  text-align: left;
}

#about p.text-muted {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  text-align: left;
}

#about img {
  border: none;
}

#about .row.align-items-center > .col-lg-6:first-child {
  padding-right: 3rem;
}

#about .row.align-items-center > .col-lg-6:last-child {
  padding-left: 3rem;
}

#about .row.mt-4 {
  margin-top: 2rem;
}

#about .col-md-4 {
  padding: 1rem;
}

#about .col-md-4 h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
}

#about .col-md-4 p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #about {
    padding: 3rem 1rem;
  }

  #about h2 {
    font-size: 2rem;
    padding-left: 1rem;
  }

  #about p.lead {
    font-size: 1.25rem;
    padding-left: 1rem;
  }

  #about p.text-muted {
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #about .col-md-4 h3 {
    font-size: 2rem;
  }

  #about .col-md-4 p {
    font-size: 0.9rem;
  }

  #about .row.align-items-center > .col-lg-6 {
    padding: 0 !important;
  }

  #about .col-lg-6:last-child {
    margin-top: 3rem;
  }
}




/* Stats Section */
.stat-circle {
  width: 170px;
  height: 170px;
  border: 3px solid #007bff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto 1rem;
  padding: 1.2rem;
}

.stat-circle h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 0;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.stat-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .stat-circle {
    width: 150px;
    height: 150px;
    padding: 1rem;
  }

  .stat-circle h3 {
    font-size: 1.3rem;
  }
}









/* Gallery Section */
.gallery-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../img/galleryBanner.jpg') center center/cover fixed;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.flip-card {
  perspective: 1000px;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 50%;
}

.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #009beb;
  border-radius: 50%;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.flip-content {
  width: 100%;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-content h3 {
  color: white;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 0.6rem 2rem;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 991px) {
  .flip-card {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 767px) {
  .flip-card {
    width: 200px;
    height: 200px;
  }
  
  .flip-content h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 575px) {
  .flip-card {
    width: 180px;
    height: 180px;
  }
  
  .flip-content h3 {
    font-size: 1.2rem;
  }
  
  .btn-outline-light {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}







/* Why Choose Us Section */
.why-choose-section {
  position: relative;
  z-index: 1;
}

.reasons-list h5 {
  font-weight: 600;
  color: #2d3436;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.reasons-list .d-flex:hover h5 {
  color: #007bff;
  transform: translateX(8px);
}

.certification-visual {
  text-align: center; /* Center for mobile */
}

@media (min-width: 992px) {
  .certification-visual {
    margin-left: 30px;
    transform: translateX(35%);
    text-align: left; /* Reset alignment for desktop */
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .certification-gif {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }
  
  .certification-visual {
    padding: 0 20px;
  }
}




/*Mission Section*/

.mission-section {
  padding: 5rem 0;
}

/* Add this new style for the image container */
.mission-section .col-lg-6:last-child {
  display: flex;
  justify-content: flex-end;  /* Aligns the image to the right */
  padding-right: 2rem;  /* Adds some space from the right edge */
}

.mission-section img {
  max-width: 400px;
  height: auto;
  transform: translateX(20px);  /* Moves the image slightly to the right */
}

/* Maintain mobile responsiveness */
@media (max-width: 768px) {
  .mission-section img {
    max-width: 300px;
    transform: none;  /* Remove the transform on mobile */
  }
  
  .mission-section .col-lg-6:last-child {
    justify-content: center;  /* Center align on mobile */
    padding-right: 0;  /* Remove padding on mobile */
  }
}




/*CTA Banner Section*/

.cta-banner {
  /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),    url('../img/cta-bg.jpg') center center/cover;*/
  background-color: #007bff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.cta-banner .cta-button {
  font-size: 1.25rem;
  padding: 1rem 3rem;
  border-radius: 50px;
  background-color: #fff;
  color: #007bff;
  transition: all 0.3s ease;
}

.cta-banner .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
  background-color: #f8f9fa;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 4rem 1rem;
  }
  
  .cta-banner h2 {
    font-size: 2rem;
  }
  
  .cta-banner .cta-button {
    font-size: 1rem;
    padding: 0.75rem 2rem;
  }
}