/*-------------------------------------------------
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-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;
}
.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;
}
#high-mobile{
  display: none; 
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-welcome {
    display: flex; /* Ensure flexbox is enabled */
    flex-direction: column; /* Stack content and image vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Add padding for spacing */
  }

  .about-welcome .content {
    text-align: center;
    width: 100%; /* Make sure the content takes up full width */
  }

  .about-welcome p {
    text-align: center;
    width: 100%; /* Ensure the paragraph text takes up full width */
  }

  .about-welcome .content h2 {
    font-size: 2.5rem; /* Adjust title font size */
    text-align: center;
    margin: 15px 0; /* Add vertical margin */
    width: 100%; /* Ensure h2 takes full width */
  }

  /* Ensure the second h2 (if it's inside content or image) is also centered */
  .about-welcome .highh1 {
    display: none; 
  }
  .about-welcome .highh2{
    display: none; 
  }

  .about-welcome .image img {
    width: 100%; /* Make the image take full width */
    height: auto; /* Maintain aspect ratio */
  }
  .about-welcome #high-mobile{
    display: block; 
    font-size: 2rem; 
    text-align: center; 
    width: 100%; 
  }
}


/*-------------------------------------------------
.about-welcome Section
 ------------------------------------------------------*/
 .about-welcome {
  width: 100vw;  /* Full width */
  height: 100vh; /* Full height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ddd; /* Background color */
  padding: 0;
  margin: 0;
}

.about-welcome .container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100vw; /* Ensure it fully covers the width */
  height: 100%;
  background: #5a5a5a; /* Background color for content */
  padding: 0;
  margin: 0; /* Remove extra margins */
  flex-grow: 1; /* Ensures full stretch */
}

.about-welcome .content {
  flex: 1;
  background: #4d1316; /* Darker red shade */
  padding: 50px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Moves content to the left */
  justify-content: center; /* Keeps it vertically centered */
  text-align: left; /* Ensures all text is aligned left */
}

.about-welcome .content h2 {
  font-size: 3rem;
  margin-left: 0px;
  text-align: left;
  font-style: italic; 
  
}
.about-welcome .content .highh2 {
  font-size: 3rem;
  margin-left: 120px;
  text-align: left;
  font-style: italic; 
}
.about-welcome .content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f1f1f1;
}

.about-welcome .image {
  flex: 1.5;
  overflow: hidden;
  display: flex;
}

.about-welcome .image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fully fills its container */
}

/*-------------------------------------------------
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: 10px; /* Keeps content spacing */
}

.history-section-2016 .content-box h2,
.history-section-2017 .content-box h2{
  font-size: 35px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #4d1316;
}

.history-section-2016 .content-box p,
.history-section-2017 .content-box p{
  font-size: 1rem;
  margin-bottom: 0; /* Prevents extra spacing at the bottom */
}
/* Mobile Responsiveness for History Sections */
@media (max-width: 768px) {
  /* History Section 2016 */
  .history-section-2016 .container {
    display: flex;
    flex-direction: column; /* Stack the content and image vertically */
    align-items: center; /* Center-align the content */
  }

  .history-section-2016 .row {
    flex-direction: column-reverse; /* Reverse the order, content comes before image */
    align-items: center; /* Center align the content */
  }

  /* History Section Image */
  .history-section-2016 .col-lg-6 img {
    width: 100%; /* Make the image full width */
    height: auto; /* Maintain aspect ratio */
    margin-top: 20px; /* Add space above the image */
  }

  /* History Section Content Box */
  .history-section-2016 .content-box {
    max-width: 100%; /* Make content box take up full width on mobile */
    padding: 20px; /* Add padding for space around the content */
    text-align: center; /* Center-align text */
  }

  /* History Section Title */
  .history-section-2016 .content-box h2 {
    font-size: 2rem; /* Adjust font size */
    margin-bottom: 10px;
  }

  /* History Section Paragraph */
  .history-section-2016 .content-box p {
    font-size: 1rem; /* Adjust font size */
    margin-bottom: 0; /* Remove margin at the bottom */
    text-align: justify; 
  }
  .history-section-2017 .container{
    align-items: center; 
    text-align: center; 

  }
  .history-section-2017 .content-box h2 {
    font-size: 1.6rem; /* Adjust font size */
    margin-bottom: 10px;
  }
  .history-section-2017 .content-box p{
    font-size: 1rem; /* Adjust font size */
    margin-bottom: 0; /* Remove margin at the bottom */
    text-align: justify; 
  }
}

/*-------------------------------------------------
 solo Section
 ------------------------------------------------------*/
 .solo {
  text-align: center; 

 }
 .solo .content h2{
  font-size: 35px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #4d1316;
  text-align: center; 
  margin: 25px; 
 
 }
 .solo .content .solo-p{
  font-size: 1rem;
  margin-bottom: 0;
  padding-left: 100px;
  padding-right: 100px; 
 }
/*-------------------------------------------------
 Mi Section
 ------------------------------------------------------*/
 .mi-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.mi-section .image-box {
  width: 100%;
  height: 250px; /* Adjust as needed */
}

.mi-section .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mi-section .text-box {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.mi-section .column {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.mi-section .column:first-child {
  font-weight: bold;
  font-size: 18px;
}
/*-------------------------------------------------
mv Section
 ------------------------------------------------------*/
 .tdfi-mv-section {
  display: flex;
  width: 100%;
  background-color: #4d1316;
  color: #fff;
  height: 100vh;
}

.tdfi-mv-section .row {
  width: 100%;
  margin: 0;
}

.tdfi-mv-section .col-lg-6 {
  padding: 0;
}

.tdfi-mv-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.tdfi-mv-text {
  padding: 50px;

}

.tdfi-mv-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-left: 20px;

}

.tdfi-mv-section p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 5px;
}

.tdfi-mv-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 20px;
}

.tdfi-mv-icon {
  width: 150px;
  height: 50px;
  background-color: #fff; /* Adjust color */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin-right: 15px;
}
.tdfi-mv-icon i {
  color: #4d1316;
}

.tdfi-mv-content h4 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #FFD700;
}

.tdfi-mv-content p {
  font-size: 1rem;
  margin: 0;
  color: #fff;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Stack content on top and image below on smaller screens */
  .tdfi-mv-section {
    flex-direction: column; /* Stack content vertically */
    height: auto; /* Allow section to adapt to content height */
  }

  /* Content box will be on top */
  .tdfi-mv-text {
    order: 1; /* Ensure content appears first (on top) */
    padding: 20px; /* Reduce padding for smaller screens */
    text-align: center; /* Center-align text */
  }

  /* Image will be below */
  .tdfi-mv-img {
    order: 2; /* Image will appear below the content */
    width: 100%; /* Ensure image is full width */
    height: auto; /* Allow the image to adjust based on width */
    object-fit: cover; /* Maintain aspect ratio */
  }

  /* Style adjustments for mobile */
  .tdfi-mv-section h2 {
    font-size: 1.8rem;
  }
  .tdfi-mv-text h2{
    padding: 15px; 
    padding-top: 25px;
  }

  .tdfi-mv-item {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center the items */
    padding: 10px 0;
    text-align: center; /* Center the text */
  }
 
  .tdfi-mv-icon {
    width: 50px; /* Adjust size */
    height: 50px; /* Adjust size */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the icon inside */
    margin: 0 auto; /* Center the icon horizontally */
  }

  .tdfi-mv-content h4 {
    font-size: 1.2rem;
    margin: 8px; 
  }

  .tdfi-mv-content p {
    font-size: 0.9rem;
    text-align: justify; 
    margin: 25px; 
  }

  .tdfi-mv-section .row {
    flex-direction: column-reverse; /* Swap the order to place content on top and image below */
  }
}


/*---------------------------------------------------
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-color: #181818;
  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-color: #000;
  /* 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 */
  }
  .footer-logo-txt .tdfi-email{
    font-size: 12px;
  }
  .footer-logo-txt .tdfi-phone{
    display: none;
  }
}


  /*---------------------------------------------/ THE END /
  

