/* styles/homepage.css - Homepage Specific Styles */

:root {
  --primary-blue: #081a42;
  --secondary-blue: #4e75ca;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --text-light: #999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.super_container {
  width: 100%;
  overflow: hidden;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  height: 80vh;
  max-height: 900px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/Homepage1.png'); 
  background-size: cover !important; /* Shows complete image */
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #081a42; /* Navy fallback for empty space */
  z-index: 0;
}

/* Alternative: If you want to show the full image without cropping */
/*.hero-section.full-image {*/
/*  background-size: contain;*/
/*  background-position: center center;*/
/*  background-color: #081a42;*/
/*}*/

.hero-content {
    position: relative;
  z-index: 2 !important;
  max-width: 900px;
  padding: 60px 20px;
  color: white;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.4rem;
  letter-spacing: -0.8px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.92;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Outline buttons */
.btn-hero {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 10px;
  transition: all 0.35s ease;
  text-decoration: none;
  background: transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-outline-gold {
  color: #ffffff;
  border: 2px solid #f4c430;
}

.btn-outline-gold:hover {
  background: #f4c430;
  color: #081a42;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 196, 48, 0.35);
}

.btn-outline-white {
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.25);
}


/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-content {
    margin-left: 6%;
  }
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 60vh;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 0.7rem;
  }
  .hero-content {
    margin-left: 5%;
    max-width: 650px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 0.8rem;
  }
  .btn-hero {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
  .hero-cta {
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
.hero-section {
    min-height: 45vh;
    background-attachment: scroll;     
  }
  
  .hero-content {
    margin-left: 4%;
    padding: 0 15px;
  }
  .hero-title {
    font-size: 1rem;
  }
  .hero-subtitle {
    font-size: 0.6rem;
  }
}


.section-title {
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}

.section-text {
  color: var(--text-gray);
  text-align: justify;
}

.btn-learn-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-learn-more:hover {
  color: var(--secondary-blue);
  transform: translateX(5px);
}

.section-programs {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-heading {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
/* Homepage Image Fix - Display Full Images Without Cropping */

/* Program Card Image Container */
.program-card .program-image {
  position: relative;
  width: 100%;
  height: 280px; /* Fixed height for consistency */
  overflow: hidden;
  background: linear-gradient(135deg, #0A1628 0%, #2C5F5F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 12px 0 0;
}

/* Program Card Image - Full Display */
.program-card .program-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain - shows full image */
  object-position: center; /* Center the image */
  transition: transform 0.4s ease;
}

/* Hover effect - slight zoom */
.program-card:hover .program-image img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
  .program-card .program-image {
    height: 260px;
  }
}

@media (max-width: 991px) {
  .program-card .program-image {
    height: 300px; /* Taller on tablets for better proportion */
  }
}

@media (max-width: 767px) {
  .program-card .program-image {
    height: 280px;
  }
}

@media (max-width: 575px) {
  .program-card .program-image {
    height: 240px; /* Slightly shorter on mobile */
  }
}

/* Ensure program cards maintain structure */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Program content area */
.program-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.program-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 16px;
  flex: 1;
}


.btn-program {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.btn-program:hover {
  color: var(--secondary-blue);
  transform: translateX(5px);
}


/* ===== WHY CHOOSE US SECTION ===== */
.section-why-choose {
  padding: 100px 0;
  background: var(--bg-white);
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  background: var(--bg-white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--secondary-blue);
  transform: scale(1.1);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.brand-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
  /*padding: 20px;*/
}

.brand-carousel .item img {
    max-height: 80px;
  height: auto;
  width: auto;
  /*filter: grayscale(100%);*/
  opacity: 1.2;
  transition: all 0.3s ease;
}

.brand-carousel .item:hover img {
  /*filter: grayscale(0%);*/
  opacity: 1;
  transform: scale(1.05);
}
