/* style.css */
:root {
    --primary-color: #1a4d80;
    --secondary-color: #5BA4E6;
    --accent-color: #FF6B6B;
    --text-dark: #2C3E50;
    --text-light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}


.btn-outline-white {
    border: 2px solid white;
    color: white;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: #000; /* Optional: set to your preferred hover text color */
}


.logo{
    height: 8vh;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Animated Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
    animation: scroll 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Stats Section */
.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

/* Programs Section */
.programs-section {
  padding: 4rem 1rem;
  background: #2a5c82e0;
}
.programs-container {
  max-width: 1200px;
  margin: 0 auto;
}
.programs-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #FFFF;
  position: relative;
}
.programs-title::after {
  content: '';
  display: block;
  width: 3em;
  height: 4px;
  background: #efefef;
  margin: 0.5rem auto 0;
}

/* Grid Layout Helpers */
.programs-grid {
  display: grid;
  gap: 2rem;
}
.programs-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.programs-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  margin-top: 2rem;
}

/* Card */
.program-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Icon Wrapper */
.program-icon {
  width: 64px;
  height: 64px;
  background: #e6f2ff;
  color: #2a5c82;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.program-icon svg {
  width: 32px;
  height: 32px;
}

/* Titles & Text */
.program-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #212529;
}
.program-card__desc {
  flex-grow: 1;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Link and Arrow */
.program-card__link {
  font-weight: 500;
  color: #2a5c82;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.program-card__link:hover {
  color: #5ba4e6;
}
.program-card__arrow {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.program-card__link:hover .program-card__arrow {
  transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .programs-title {
    font-size: 2rem;
  }
  .programs-grid--2 {
    grid-template-columns: 1fr;
  }
}



/* Contact Section */
.contact-section {
  color: #ddd;
  padding: 4rem 1rem;
}
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}




/* Boxes */
.contact-box {
  background: #305c84;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.contact-box--info {
  display: flex;
  flex-direction: column;
}
.contact-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #fff;
}
.contact-subtitle {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: #ffff;
}

/* Form Styles */
.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
  color: #ffff;
  font-size: 0.9rem;
}
.contact-form label span {
  display: block;
  margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffff;
  padding: 0.5rem 0;
  color: #ffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.btn-contact {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--text-light);
  color: #12141d;
  border: none;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-contact:hover {
  background: #38a2d1;
  transform: translateY(-2px);
}

/* Change placeholder color for all inputs and textareas */
::placeholder {
  color: #ccc; /* Light grey, change to your preferred color */
  opacity: 1;  /* Ensure full visibility */
}

/* For better browser support */
input::placeholder,
textarea::placeholder {
  color: #ccc;
}

/* Optional: Customize on focus */
input:focus::placeholder,
textarea:focus::placeholder {
  color: #999;
}


/* Contact Info List */
.contact-info-list {
  list-style: none;
  padding: 5vh 0;
  margin: 0;
  flex-grow: 1;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-list li i {
  font-size: 1.25rem;
  margin-right: 1rem;
  color: var(--accent);
  margin-top: 0.2rem;
}
.contact-info-list li strong {
  color: #fff;
}
.contact-info-list li span {
  display: block;
  color: #ffff;
  font-size: 0.95rem;
}



/* About Section */
.about-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.about-heading {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2a5c82;
  margin-bottom: 1rem;
}
.about-lead {
  font-size: 1.125rem;
  color: #555;
  max-width: 520px;
}
.about-image {
  max-width: 90%;
  height: auto;
  border-radius: 0.75rem;
}

/* Pillar Cards */
.pillar-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.pillar-icon {
  font-size: 2.5rem;
  color: #50a5da;
  margin-bottom: 1rem;
}
.pillar-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #2a5c82;
}
.pillar-desc {
  color: #666;
  line-height: 1.6;
}

/* Animate.css Overrides (optional speed tweak) */
.about-section .animate__animated {
  --animate-duration: 0.8s;
}


/* Footer Styles */
.site-footer {
  background: #305C84;       /* updated background */
  color: #E4E9F0;            /* slightly brighter text */
  font-family: 'Inter', sans-serif;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-logo {
  max-width: 140px;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #CDD6E0;
}
.footer-social a {
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.1rem;
  color: #E4E9F0;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: #FFD966;           /* warm accent on hover */
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-col ul li a {
  color: #E4E9F0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #1cc4dd;           /* matching hover accent */
}
.footer-contact-list li {
  display: flex;
  align-items: center;
}
.footer-contact-list li i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  color: #1cc4dd;           /* icons in accent color */
}
.footer-contact-list li a {
  color: #E4E9F0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-contact-list li a:hover {
  color: #FFD966;
}
.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  background: #274A6E;      /* darker shade for bottom bar */
  font-size: 0.9rem;
  border-top: 1px solid #3C7AAA;
  color: #C0C8D1;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.922);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease forwards;
}

.modal-window {
  background: #fff;
  max-width: 800px;
  max-height: 75vh;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideDown 0.4s ease forwards;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.modal-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.modal-content {
  padding: 1rem;
  overflow-y: auto;
  color: #333;
}

.modal-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 250px;
}

.modal-content h3 {
  font-size: 1.8rem;
  color: #1a4d80;
  padding-bottom: 1.1em;
}
.modal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.modal-content p {
 margin: 1em 0em;
 text-align: justify;
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.modal-content li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  color: #444;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  font-size: 1rem;
  line-height: 1.6;
  background: #f9f9f9;
  border-radius: 6px;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, transform 0.3s ease;
}

.modal-content li::before {
  content: "✔";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2ecc71;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.modal-content li:hover {
  background: #3C7AAA;
  transform: translateX(5px);
  color: #FFFF;
}

.modal-content li:hover::before {
  transform: translateY(-50%) scale(1.2);
}

.hoverUnderLine{
padding: 0.2em 0em;

}.hoverUnderLine:hover{
text-decoration: underline;
}