/*-------------------------------------------------
General
--------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Open+Sans:wght@300;400;600&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html{
  scroll-behavior: smooth;/*added for smooth transition when clicked on navelements*/
}

body {
  font-weight: 500;
  color: rgb(0, 0, 0);
  background: #f8fafa ;
  font-family: 'Montserrat', sans-serif;
  background-color: #f1f1f5;
 
}

/*-------------------------------------------------
Navbar
--------------------------------------------------------*/
.navbar {
  justify-content: space-between;
}
.logo img {
  max-height: 50px; /* Adjust size as needed */
}
.navbar-nav {
  gap: 15px;
}
.nav-link{
  font-weight: bold; 
  font-family: georgia, serif; 
  font-size: 17px; 
  color: #000; 
  text-transform: uppercase;
}
/* Make navbar background white when expanded in mobile mode */
@media (max-width: 991px) { /* Applies to screens smaller than 992px */
  .navbar-collapse {
      background: #f1f1f5;
      padding: 10px;
      border-radius: 5px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 5;
  }
}
/*---------------------------------------------
  About heading Section
 ------------------------------------------------------*/
 .about-heading-section {
  padding: 50px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  margin-top: 100px;
}
.main-title {
  font-size: 7rem;
  color: #00296B;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: Georgia, serif;
}
.text-content {
  color: #00296B;
  font-size: 1.2rem;
  text-align: left;
}
.btn-custom {
  background-color: #c47344;
  color: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}
.btn-custom:hover {
  background-color: #a85b34;
}
.image-box img {
  width: 100%;
}
.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.text-box {
  max-width: 300px;
  text-align: left;
}
.small-image {
  max-width: 150px;
}
.large-image {
  max-width: 400px;
}
/*-------------------------------------------------
tagline Section
 ------------------------------------------------------*/
 .tagline-section {
  width: 100vw;
  margin: 0;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f5;
}
.tagline-section .container {
  display: flex;
  width: 80%;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
}
.tagline-section .images {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tagline-section .images img {
  display: block;
  border-radius: 20px;
}
.tagline-section .images img:first-child {
  width: 300px;
  height: auto;
}
.tagline-section .images img:last-child {
  width: 180px;
  height: auto;
  align-self: flex-start;
}
.tagline-section .content {
  text-align: left;
  max-width: 400px;
  margin-left: 40px;
}
.tagline-section .content h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Inter', serif;
}
.tagline-section .content p {
  font-size: 16px;
  color: #333;
  font-family: 'Inter', sans-serif;
}
/*-------------------------------------------------
filler  Section
 ------------------------------------------------------*/
 .filler-section {
  background: url('../img/about-bg.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  color: white;
  text-align: center;
}
.filler-section .content-box {
  background-color: #00296B; /*#00296B*/ 
  padding: 40px;
  width: 50%;
  max-width: 350px;


}
.filler-section .content-box h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-style: italic;
  font-family: georgia, serif;

}
.filler-section .content-box p {
  font-size: 1rem;
  margin-bottom: 20px;
}
@media (max-width: 991px) { /* Applies to screens smaller than 992px */
  .filler-section .content-box{
    width:60%;
  }
  .filler-section .content-box h2{
    font-size: 17px;
  }
}
/*-------------------------------------------------
history  Section
 ------------------------------------------------------*/

/* Ensures each history section has no extra space */
.history-section-2016{
  margin-top: 75px;
}
.history-section-2017 {
  margin: 0;
  padding: 0;
  margin-top: 50px;
}

.history-section-2016 .content-box,
.history-section-2017 .content-box{
  max-width: 500px;
  padding: 20px; /* Keeps content spacing */
}

.history-section-2016 .content-box h2,
.history-section-2017 .content-box h2{
  font-size: 35px;
  margin-bottom: 15px;
  font-family: Georgia, serif;
  font-weight: bold;
  color: #00296B
}

.history-section-2016 .content-box p,
.history-section-2017 .content-box p{
  font-size: 1rem;
  margin-bottom: 0; /* Prevents extra spacing at the bottom */
  text-align: justify;
}
/*-------------------------------------------------
filler block Section
 ------------------------------------------------------*/

.block {
  opacity: 0;
  transform: translateY(50px); /* Start slightly below */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  margin-top: 100px;
  margin-bottom: 10px;
  justify-content: center;
  align-items: center;
}

.block.show {
  opacity: 1;
  transform: translateY(0);
}

.block h4, .block h3 {
  color: #00296B;
  font-family: Georgia, serif;
  text-align: center;
  font-style: italic;
}

.block h4 {
  font-size: 25px;
}

.block h3 {
  font-weight: bold;
  font-size: 55px;
}

/*-------------------------------------------------
filler  grew Section
 ------------------------------------------------------*/
 .filler-grew-section {
  background: url('../img/grew-bg.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120vh;
  position: relative;
  color: white;
  text-align: center;

  /* Initial state: hidden and moved down */
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Class to trigger animation */
.filler-grew-section.show {
  opacity: 1;
  transform: translateY(0);
}

.filler-grew-section .content-box {
  background-color: #00296B;
  padding: 40px;
  width: 50%;
  max-width: 350px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* Initial state */
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.5s;
}

/* Content box animation */
.filler-grew-section.show .content-box {
  opacity: 1;
  transform: scale(1);
}

.filler-grew-section .content-box h2 {
  font-size: 35px;
  font-style: italic;
  font-family: Georgia, serif;
  margin: 0;
}
@media (max-width: 991px) { /* Applies to screens smaller than 992px */
  .filler-grew-section {
    background: url('../img/grew-bg-mobile.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120vh;
    position: relative;
    color: white;
    text-align: center;
  
    /* Initial state: hidden and moved down */
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  }
  .filler-grew-section .content-box{
    width: 60%;
  }

}

/*-------------------------------------------------
 Mission  Section
 ------------------------------------------------------*/
 .mi-section {
  background: #f1f1f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height:80vh;
}
.mi-section .container {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  justify-content: center;
}
.mi-section .card {
  background: #00296B;
  padding: 40px;
  width: 45%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 0px;
}
.mi-section .card::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 0.5px solid #f1f1f5;
}
.mi-section .card::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 3px solid #00296B;
}
.mi-section .card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #f1f1f5;
  font-family: georgia, serif;
  font-weight: bold;
  letter-spacing: 1px;
}
.mi-section .card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #f1f1f5;
  text-align: justify;
}
@media (max-width: 991px) {
  .mi-section {
    height: auto; /* Remove fixed height to prevent overlap */
    padding: 50px 10px; /* Add padding for spacing */
  }

  .mi-section .container {
    flex-direction: column; /* Stack cards */
    align-items: center; /* Center them */
    gap: 15px; /* Add spacing between stacked cards */
  }

  .mi-section .card {
    width: 90%; /* Make cards take most of the width */
    max-width: 400px; /* Prevent too large on wider phones */
  }
}
/*---------------------------------------------------
Core section
-------------------------------------------------------------*/
.core {
  margin:30px;
  background: #f1f1f5;
  height: 80vh;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.core-title {
  grid-column: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #071E3D;
  position: relative;
}
.core-title h2{
  font-family: 'Comic Sans', sans-serif;
  font-weight: bold;
}

.core-item {
  border: 2px solid #071E3D; /* Blue border */
  padding: 20px;
  text-align: center;
  position: relative; /* Needed for absolute positioning of icons */
}

/* Icon Overlapping Border */
.core-item i {
  position: absolute;
  top: -15px; /* Moves it slightly outside the box */
  left: -15px; /* Moves it slightly outside the box */
  font-size: 35px;
  color: #071E3D;
  background:#f1f1f5;
  padding: 5px;
}

/* Ensures icons don't disrupt text */
.core-item h3 {
  color: #071E3D;
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
}

.core-item p {
  font-size: 14px;
  color: #555;

}

/* Responsive */
@media (max-width: 768px) {
  .core-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .core {
    height: auto !important;
    margin-bottom: 50px !important; /* Adds spacing before the Team section */
    padding: 40px 15px !important;
  }

  .core-grid {
      grid-template-columns: 1fr !important; /* Stack items in a single column */
  }
}

@media (max-width: 480px) {
  .core-grid {
      grid-template-columns: 1fr;
  }
  .core {
    height: auto !important;
    margin-bottom: 50px !important; /* Adds spacing before the Team section */
    padding: 40px 15px !important;
  }

  .core-grid {
      grid-template-columns: 1fr !important; /* Stack items in a single column */
  }
}

/*---------------------------------------------------
Our Team section
-------------------------------------------------------------*/
.team {
    margin: 30px;
    background: #f1f1f5;
    height: 80vh;
}

/* Left Side: Title & Buttons */
.team-info {
    text-align: left;
}

.team-info h2 {
    color: #071E3D;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Comic Sans', sans-serif;
    font-weight: bold;
}

.team-info p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
}
.team-info button{
  padding: 5px 10px 5px 10px;
  color: #00296B; 
  background-color: #f1f1f5;
  border: 1px solid #00296B;
}

.team-info button:hover{
  color:  #f1f1f5;
  background-color: #00296B; 
}

/* Right Side: Team Carousel */
.team-card {
  border: 1px solid #00296B; /* Optional: Add a border to the card */

  overflow: hidden; /* Ensures the image stays within the card */
  height: 505px;
  width: 100%;

}

.team-card img {
  width: 100%; /* Ensures the image takes up the full width of the card */
  height: auto; /* Maintains the aspect ratio of the image */
  object-fit: cover; /* Ensures the image fills the card and avoids distortion */
}

.team-card h3 {
    font-size: 18px;
    margin: 20px;
    color: #071E3D;
}

.team-card p {
    font-size: 14px;
    color: #555;
    margin: 20px;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #071E3D;
    border-radius: 50%;
    padding: 10px;
}
@media (max-width: 768px) {

  /* Fix Team Section */
  .team {
      height: auto !important;
      padding: 40px 15px !important;
      margin-top: 50px !important; /* Pushes it down */
  }

  .team-card {
      height: auto !important;
      max-height: 400px !important; /* Prevents too tall cards */
  }

  .team-card img {
      width: 100% !important;
      height: 300px !important; /* Adjusts size */
      object-fit: cover !important; /* Ensures the image fits well */
  }

  /* Adjust Carousel Controls */
  .carousel-control-prev,
  .carousel-control-next {
      top: 50% !important; 
      transform: translateY(-50%) !important;
  }
  
}
@media (max-width: 991px) {
  .team{
    display: none;
  }
}

/*---------------------------------------------------
footer section
-------------------------------------------------------------*/

footer {
  background: url('../img/about-banner.jpg') no-repeat center center/cover;
  position: relative;
  color: white;
  padding: 50px 10%;
  font-family: 'Arial', sans-serif;
  min-height: 300px;
}

/* Dark Blue Overlay */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 25, 60, 0.95);
  /* Dark Blue with Transparency */
  z-index: 1;
}

/* Footer Content */
.footer-container {
  display: flex;
  justify-content: space-between; /* Adds space between logo and links */
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Left Section (Logo + Contact Links) */
.left-section {
  display: flex;
  align-items: center;
  gap: 20px; /* Space between logo and contact links */
}

/* Logo Section */
.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Centers the logo */
  min-width: 250px;
}

.footer-logo-txt h1{
  font-family:'Georgia', serif;
  font-size: 25px;
  font-weight: bold;

}
.footer-logo img {
  max-width: 150px;
  margin-bottom: 10px;
}

/* Contact Links */
.contact-links {
  font-size: 14px;
  line-height: 1.5;
}

.contact-links a {
  color: #FFD700; /* Gold Color for Links */
  text-decoration: none;
  font-weight: bold;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* Right Section for Footer Links and Other Links */
.right-section {
  margin-left: auto; /* Pushes this section to the right */
  display: flex;
  justify-content: space-between; /* Distributes the links evenly */
  gap: 30px; /* Adjust space between the link sections */
}

/* Footer Links */
.footer-links,
.other-links {
  display: block;
}

.footer-links ul,
.other-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.other-links ul li {
  margin: 8px 0;
}

.footer-links ul li a,
.other-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-links ul li a:hover,
.other-links ul li a:hover {
  text-decoration: underline;
}

#small-line{
  margin-bottom:10px;
  margin-top: 10px;
  width: 25px;
  height:0.2px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between; /* Aligns left and right */
  align-items: center;
  padding-top: 20px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.5); /* More visible separator */
  margin-top: 40px;
  color: white; /* Ensures readability */
  position: relative;
  z-index: 2; /* Keeps text above overlay */
}

/* Left copyright text */
.footer-bottom p {
  margin: 0;
}

/* Right-aligned "Website by" */
.footer-bottom p:last-child {
  text-align: right;
}

/* Links */
.footer-bottom a {
  color: #FFD700; /* Gold color for visibility */
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer-container {
    flex-direction: column; /* Stack items */
    align-items: center; /* Center everything */
    text-align: center;
    gap: 20px; /* Add space between elements */
  }

  .footer-logo {
    min-width: unset; /* Remove minimum width */
  }

  .footer-logo img {
    max-width: 120px; /* Adjust logo size for mobile */
  }

  .footer-logo-txt {
    text-align: center; /* Center text */
  }

  .footer-links ul,
  .other-links ul {
    text-align: center;
    padding: 0;
  }

  .footer-links ul li,
  .other-links ul li {
    margin: 5px 0;
  }

  /* Stack footer bottom content */
  .footer-bottom {
    flex-direction: column; /* Stack copyright & credits */
    text-align: center;
    gap: 5px; /* Add slight space between lines */
  }
}


  /*---------------------------------------------/ THE END /
  

