/* ===================================================
   style.css - Pixel-accurate conversion from Tailwind
   Includes: Header -> Get In Touch (full site)
   Colors, spacing, breakpoints and behavior match Tailwind utilities used.
   =================================================== */

/* -------------------- Base / Reset -------------------- */
:root {
  --color-primary: #1c355e;
  --color-primary-dark: #14264c;
  --color-accent: #238dc1;
  --color-accent-2: #64a9ff;
  --color-light-blue: #e9f3fc;
  --color-off-white: #f2f7fb;
  --color-success: #25d366;
  --color-muted: #4a4a4a;
  --color-gray-border: #c9d8e3;
  --white: #ffffff;
  --black: #000000;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Cormorant Garamond", serif;
  color: var(--color-muted);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
p, .karlian-text  {
  font-family: "Karla", sans-serif !important;
}
@keyframes loop-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.animate-loop-scroll {
  animation: loop-scroll 25s linear infinite;
}

/* Utility container widths (matches Tailwind max-w-7xl approx 80rem -> 1280px) */
/* .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
} */



.section-heading{
    font-size:48px !important ;
        font-family: 'Cormorant Garamond', serif;
        font-weight: 400; 
} 

.section-para{
    font-size: 16px;
        font-family: 'Karla', sans-serif;
        font-weight: 400;
}

.section-padding{
    padding: 4rem 0 !important;  
}


/* -------------------- Top Bar -------------------- */
.desktop-b{
  display: block;
}
.mobile-b{
  display: none;
}
.banner img{
  width: 100%;
}
.banner-content {
  position: absolute;
    left: 0;
    width: 100%;
    text-align: left;
    z-index: 2;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
}


/* -------------------- Navbar -------------------- */

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 48% !important;
  margin: auto;
  top: 0rem;
  text-align: left;
}
.hero h1 {
  font-size: 64px;
  line-height: 72px;
  color: #fff;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
/* -------------------- Our Legacy -------------------- */
.legacy {
  padding: 80px 0;
  text-align: center;
  background: #fff;
}
.legacy h2 {
  font-size: 50px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #000;
}
.legacy p {
  font-size: 18px;
  max-width: 970px;
  margin: 0 auto;
  color: #363636;
  font-weight: 500;
  line-height: 24px;
  font-family: "Karla", sans-serif;
}

/* -------------------- Why Choose Us -------------------- */
.why-choose {
  padding: 5rem 1.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(233 243 252 / var(--tw-bg-opacity, 1));
}
.why-grid {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
}
.why-image {
  justify-content: flex-start;
  flex: 1 1 19%;
}
.why-image img {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  width: 100%;
  border-radius: 12px;
  display: block;
}
.why-content {
  flex: 1 1 48%;
}
.why-content h3 {
  line-height: 68px;
  margin-bottom: 18px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.why-content p {
  line-height: 24px;
  color: #363636;
  margin-bottom: 2.5rem;
  font-family: "Karla", sans-serif;
}

/* Tabs: each tab item behaves like a block with left indicator */
.tabs {
  display: block;
}
.tab-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 47px;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 2px solid #b4c4d8;
}
.tab-item span {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 9999px;
  width: 2px;
  height: 2.5rem;
  top: 0.25rem;
  left: 0px;
  position: absolute;
}
.tab-item h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-family: "Karla", sans-serif;
}
.tab-item p {
  font-size: 16px;
  color: #363636;
  display: none;
  margin: 8px 0 0;
  padding-right: 7rem;
  line-height: 1.625;
}
.tab-item.active {
  border-left-color: var(--color-primary);
}
.tab-item.active p {
  display: block;
}

/* Stats */
.stats {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.stat-card {
  border: 1px solid #c9d8e3;
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.stat-card h6 {
  font-size: 20px;
  text-transform: uppercase;
  --tw-text-opacity: 1;
    color: rgb(35 141 193 / var(--tw-text-opacity, 1));
  margin-bottom: 8px;
  letter-spacing: 0.025em;
  line-height: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: "Karla", sans-serif;
}
.stat-card h5 {
  font-size: 3.75rem;
  line-height: 75px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 400;
  font-family: 'DM Serif Display', serif;
}
.stat-card p{
  --tw-text-opacity: 1;
    color: rgb(74 74 74 / var(--tw-text-opacity, 1));
    font-size: 1rem;
    line-height: 1.5rem;
    margin: auto;
    font-family: "Karla", sans-serif;
}

/* ---------- SECTION LAYOUT ---------- */

.facility-section {
  background-color: #ffffff;
  padding: 80px 24px;
}

.facility-container {
  text-align: center;
}

/* ---------- HEADINGS ---------- */
.facility-title {
  line-height: 60px;
  color: #000;
  margin-bottom: 16px;
}

.facility-subtitle {
  max-width: 768px;
  margin: 0 auto 48px;
  line-height: 1.6;
  color: #363636;
}

/* ---------- GRID ROWS ---------- */
.facility-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.facility-row.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.facility-row.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- CARDS ---------- */
.facility-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  height: 385px;
  text-align: left;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover img {
  transform: scale(1.05);
}

/* ---------- OVERLAY STYLES ---------- */
.facility-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 64%), rgba(0, 0, 0, 0.3));
  opacity: 1;
  transition: 0.5s;
}

/*.facility-card.dark .overlay {
  background: rgba(0, 0, 0, 0.3);
}

.facility-card.dark:hover .overlay {
  background: rgba(0, 0, 0, 0.4);
}

.facility-card.blue .overlay {
  background: rgba(28, 53, 94, 0.6);
}

.facility-card.blue:hover .overlay {
  background: rgba(28, 53, 94, 0.7);
}
*/
/* ---------- TEXT INSIDE CARDS ---------- */
.facility-card .text-box {
  position: absolute;
  color: #EDF9FF;
  /* z-index: 2; */
  bottom: 35px;
    left: 0;
    top: auto;
    width: 100%;
    padding: 25px;
    transform: translateY(70%);
    transition: transform 0.6s ease;
}

.facility-card .text-box h3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  margin-bottom:  50px;
  color: #fff;
}

.facility-card .text-box p {
  font-size: 16px;
  color: #DCDCDC;
  line-height: 24px;
  font-weight: 400;
  margin-top: 4px;
  max-width: 490px;
  max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s ease;
}
.facility-card:hover .text-box {
    transform: translateY(0%);
}
.facility-card:hover .text-box p {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}
/* ---------- BUTTON ---------- */
.facility-btn-wrapper {
  margin-top: 48px;
}

.facility-btn {
  font-family: Karla, sans-serif;
  background: #1C355E;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  padding: 12px 19px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.facility-btn a, .facility-btn a:hover, 
.facility-btn a:visited{
    color: #fff;
}

.facility-btn:hover {
  background: #14264C;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .facility-row.two-cols {
    grid-template-columns: 1fr;
  }
  .facility-row.three-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .facility-row.three-cols {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Meet Our Team -------------------- */
.team-section {
  background-color: #F2F7FB;
  padding: 80px 24px;
}


/* ---------- HEADING ---------- */
.team-header {
  margin-bottom: 40px;
  text-align: center;
}

.team-header h2 {
  line-height: 68px; 
  color: #000000;
  margin-bottom: 16px;
  text-align: justify;
}

.team-header p {
  line-height: 24px;
  color: #363636;
  text-align: justify;
}

/* ---------- GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-btn-wrapper{
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- CARD ---------- */
.team-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 100%;
  object-fit: cover;
}

.team-card img.bg-blue {
  background-color: #1C355E;
}

.card-content {
  padding: 24px;
      position: absolute;
    bottom: 0;
    background: #fff;
    width: 100%;
}

.card-content h3 {
  font-size: 30px;
  line-height: 1.4;
  color: #1C355E;
  margin-bottom: 4px;
  font-weight: 600;
}

.card-content p {
  font-size: 18px;
  color: #363636;
  font-weight: 500;
}

/* ---------- BUTTON ---------- */
.team-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.team-btn {
  border: 1px solid #1C355E;
  background-color: transparent;
  color: #1C355E;
  font-size: 16px;
  font-weight: 600;
  font-family: Karla, sans-serif;
  text-transform: uppercase;
  padding: 11px 19px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.team-btn a{
  color: #1C355E;
}
.team-btn:hover a{
  color: #fff;
}

.team-btn:hover {
  background-color: #1C355E;
  color: #ffffff;
}
/* -------------------- The Vision -------------------- */
.vision-section {
  background-color: #ffffff;
  padding: 100px 24px;
  text-align: center;
}


/* ---------- TITLE & DESCRIPTION ---------- */
.vision-title {
  color: #000000;
  margin-bottom: 20px;
}

.vision-description {
  color: #363636;
  max-width: 940px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ---------- GRID LAYOUT ---------- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.vision-card {
  background-color: #EDF9FF;
  border-radius: 12px;
  padding: 40px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vision-card:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* ---------- ICON ---------- */
.vision-icon {
  width: 96px;
  height: 96px;
  background-color: #238DC1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.vision-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* ---------- TEXT ---------- */
.vision-card h4 {
  font-family: 'Karla', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 20px;
}

/* ---------- LINK ---------- */
.vision-card a {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1C355E;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}

.vision-card a::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background-color: #1C355E;
  margin-top: 4px;
  transition: background-color 0.3s ease;
}

.vision-card a:hover {
  color: #0d2047;
}

.vision-card a:hover::after {
  background-color: #0d2047;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1200px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-title {
    font-size: 38px;
  }

  .vision-card {
    padding: 32px 20px;
  }
}

@media (max-width: 576px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vision-title {
    font-size: 30px;
  }
}
/* -------------------- Community (Join Our) -------------------- */
.community {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: #fff;
  display: flex;
  align-items: center;
}
/*.community::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 53, 94, 0.8);
}*/
.community-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 3rem 1rem;
}
.community-left {
  flex: 1 1 45%;
}
.community-left h2 span {
  font-size: 40px;
  line-height: 50px;
  font-weight:600 ;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 6px;
  display: block;
}
.community-left h2 {
  font-size: 80px;
  line-height: 80px;
  font-weight:600 ;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
  text-align: left;
}
.community-right {
  flex: 1 1 55%;
}
.community-right p {
  color: #eaeaea;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-right: 53px;
}
.btn-light {
  border: none;
  background: #fff;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  font-family: karla, sans-serif;
  padding: 12px 18px;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-light a, .btn-light:hover a{
  color: #000;
}
.btn-light:hover {
  background: #eaeaea;
}

/* -------------------- Affiliated - Running logos -------------------- */
.affiliated-title {
  color: #000;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .affiliated-title {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .affiliated-title {
    font-size: 28px;
  }
  .community-right p{
    padding-right: 0px;
  }
}

/* ---------- Logo Scroller ---------- */
.logo-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  width: 100%;
  display: flex;
  animation: scroll-left 25s linear infinite;
}

.logo-set {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  gap: 6rem;
}

.logo-item img {
  max-width: 250px;
  filter: brightness(1);
  transition: transform 0.3s ease;
}

.logo-item img:hover {
  transform: scale(1.1);
}

/* ---------- Animation ---------- */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Responsive Gaps ---------- */
@media (max-width: 992px) {
  .logo-set {
    gap: 4rem;
  }

  .logo-item img {
    height: 40px;
  }
  .hero-inner{
    width: 70% !important;
  }
}

@media (max-width: 576px) {
  .logo-set {
    gap: 2rem;
  }

  .logo-item img {
    height: 36px;
  }
}
/* -------------------- Contact / Get In Touch -------------------- */
.contact-section {
  padding: 80px 24px;
  background-color: #F2F7FB;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* ---------- FORM ---------- */
.contact-section {
  padding: 80px 24px;
  background-color: #ffffff;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Left Image */
.contact-image img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Form Box */
/*.contact-form {
  background-color: #1C355E;
  color: #ffffff;
  border-radius: 12px;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}*/

/**/

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-image img {
    height: auto;
  }

  .contact-form {
    padding: 48px 32px;
  }

  .contact-form h2 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .contact-form {
    padding: 32px 24px;
  }

  .contact-form h2 {
    font-size: 30px;
  }

  .btn-submit {
    font-size: 15px;
    padding: 12px;
  }
}

/* -------------------- Small utility helpers -------------------- */
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}

/* -------------------- Responsive Breakpoints -------------------- */
/* lg = 1024px, md = 768px, sm = 640px */

/* Below 1280px (approx xl) - keep same */
@media (max-width: 1280px) {
    .hero-inner {
    max-width: 56% !important ;
    right: 0;
  }
  .facility-card .text-box p{
    font-size: 18px !important;
  }
  .stat-card h6{
    font-size: 18px;
  }
  .stat-card h5{
    font-size: 50px;
  }
  .community-inner{
    gap: 80px;
  }

}

/* Below 1024px (lg) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community .community-inner {
    flex-direction: column !important;  
    align-items: baseline;
    text-align: left;
  }

  .logos-track {
    gap: 24px;
  }
  .why-grid {
    flex-direction: column;
    align-items: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 45px;
    text-align: left;
    line-height: 46px;
  }
  .banner-content {
    bottom: 0;
    top: 0;
  }
}

/* Below 768px (md) */
@media (max-width: 768px) {
  .desktop-b{
    display: none;
  }
  .mobile-b{
    display: block;
  }
  .hero-inner {
    position: unset;
    max-width: 100% !important;
    right: 0;
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 45px;
    text-align: left;
  }
  .banner-content {
    bottom: 2rem;
    top: auto;
  }
  .legacy h2{
    font-size: 40px;
  }
  .legacy p{
    font-size: 16px;
  }

  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facility-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community .community-inner {
    flex-direction: column !important;  
    align-items: left;
    text-align: left;
  }
  .community-left,
  .community-right {
    flex-basis: 100%;
  }
  .stat-card h5 {
    font-size: 40px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) { 
  .desktop-b{
    display: block;
  }
  .mobile-b{
    display: none;
  }
}

/* Below 640px (sm) */
@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 40px;
    text-align: left;
    line-height: 1.2;
    padding-left: 1rem;
  }
  .section-heading{
    padding-bottom: 0;
  }
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .facility-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .community-left h2 {
    font-size: 54px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns:  1fr;
  }
  .community-left h3 {
    font-size: 28px;
  }
}


.contact {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* End of file */


@media (max-width: 768px) {
  .section-heading{
    font-size: 32px !important;
  }
}
