@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lora:wght@700&display=swap');

:root {
  --blue-dark: #1e3a8a;
  --blue: #2563eb;
  --white: #ffffff;
  --gray-light: #f1f5f9;
  --gray: #e5e7eb;
  --font-body: 'Inter', Arial, sans-serif;
  --font-heading: 'Lora', serif;
}

@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700');
}
@font-face {
  font-family: 'Lora';
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Lora:wght@700');
}

html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(to bottom right, #f8fafc, #e0f2fe);
  color: var(--blue-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
}

.main-header {
  text-align: center;
  background: linear-gradient(120deg, var(--blue-dark) 60%, var(--blue) 100%);
  color: var(--white);
  padding: 4rem 1rem 2rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.08);
}
.main-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), text-shadow 0.25s;
  cursor: pointer;
}
.main-title::before {
  content: '✝ ';
  font-size: 2rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.main-title:hover {
  transform: scale(1.04) rotate(-1deg);
  text-shadow: 0 4px 16px rgba(37,99,235,0.18);
}
.main-tagline {
  font-size: 1.3rem;
  color: #e5e7eb;
  margin: 0;
  font-family: var(--font-body);
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(30,58,138,0.07);
  background: var(--blue);
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-body);
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--gray-light);
  border-bottom: 2px solid var(--gray-light);
}

section {
  max-width: 900px;
  margin: 2rem auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30,58,138,0.07);
  padding: 2rem;
  transition: box-shadow 0.3s, background 0.3s, transform 0.3s;
}

section:target {
  outline: 2px solid var(--blue);
  transform: scale(1.01);
}

#about-founder {
  background: var(--gray-light);
  box-shadow: none;
  border-radius: 12px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2rem 1rem;
}

#about-founder img {
  border: 4px solid var(--blue) !important;
  background: var(--gray);
  object-fit: cover !important;
  border-radius: 50% !important;
  width: 100px !important;
  height: 100px !important;
}

blockquote {
  border-left: 4px solid var(--blue);
  padding-left: 1rem;
  color: var(--blue);
  margin: 1rem 0 0 0;
}

footer {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

#about-founder div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cta-btn {
  padding: 0.75rem 1.5rem;
  background-color: #1e3a8a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--font-body);
  font-weight: 700;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(30,58,138,0.07);
}
.cta-btn:hover {
  background-color: #2563eb;
}
.cta-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.fade-init {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

.wave {
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
  position: relative;
  top: 1px;
}
.wave.flip {
  transform: scaleY(-1);
}

.card-section {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30,58,138,0.07);
  margin: 2.5rem auto;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  max-width: 900px;
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s, color 0.3s;
}
.card-section .card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.7rem;
  display: inline-block;
  background: var(--gray-light);
  border-radius: 50%;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 2px 8px rgba(30,58,138,0.07);
}
.card-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--blue);
}

#founder-more {
  margin-top: 0.5rem;
  color: var(--blue-dark);
}
#toggle-founder {
  margin-bottom: 0.5rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
}
#toggle-founder:hover {
  background: var(--blue-dark);
}
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(30,58,138,0.13);
  cursor: pointer;
  opacity: 0.7;
  z-index: 200;
  display: none;
  transition: background 0.2s, opacity 0.2s;
}
#backToTop:hover {
  background: var(--blue);
  opacity: 1;
}

#programs table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  margin: 1rem 0;
}
#programs th, #programs td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
#programs th {
  background: #e0f2fe;
  font-weight: 700;
}
#programs td {
  background: #fff;
}
#programs tr:hover {
  background: #f1f5f9;
}

@media (max-width: 700px) {
  .main-header {
    padding: 2.5rem 0.5rem 1.2rem 0.5rem;
  }
  .main-title {
    font-size: 2rem;
  }
  .main-tagline {
    font-size: 1.1rem;
  }
  .card-section {
    padding: 1rem 0.5rem;
  }
  .card-section .card-icon {
    font-size: 2rem;
    padding: 0.5rem 0.8rem;
  }
  #programs th, #programs td {
    padding: 0.5rem;
  }
}

@media (max-width: 900px) {
  section {
    max-width: 98vw;
    padding: 1.2rem;
  }
  #about-founder div {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .card-section {
    max-width: 98vw;
    padding: 1.2rem;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
  .main-title {
    font-size: 1.8rem;
  }
  nav ul {
    gap: 0.5rem;
  }
  section, #about-founder {
    padding: 0.5rem;
  }
  #programs th, #programs td {
    padding: 0.3rem;
    font-size: 0.9rem;
  }
}

.why-section {
  background: #f8fafc;
  padding: 3rem 1rem;
  border-radius: 18px;
  margin: 2rem auto;
  max-width: 1100px;
  box-sizing: border-box;
}
.why-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 1000px;
}
.why-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30,58,138,0.07);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 24px rgba(30,58,138,0.13);
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  transition: transform 0.3s;
}
.why-card:hover .why-icon {
  transform: scale(1.2) rotate(-6deg);
}
.why-detail {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: #1e3a8a;
  background: #e0f2fe;
  border-radius: 8px;
  padding: 0.8rem;
  display: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(30,58,138,0.07);
}
.contact-form label {
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 0.2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--blue-dark);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #2563eb;
  border-color: #2563eb;
}
.contact-form button[type="submit"] {
  margin-top: 0.7rem;
}
#contact.card-section {
  padding: 1.2rem 0.5rem;
}

@media (max-width: 700px) {
  .contact-form {
    padding: 1rem 0.3rem;
    gap: 0.5rem;
    max-width: 350px;
  }
  .contact-form label {
    font-size: 0.98rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.98rem;
    padding: 0.5rem;
  }
  .why-section {
    padding: 1.2rem 0.3rem;
  }
  .why-grid {
    gap: 1rem;
  }
  .why-card {
    padding: 1rem 0.5rem 0.7rem 0.5rem;
    font-size: 0.98rem;
  }
  .why-section h2 {
    font-size: 1.2rem;
  }
}
.why-card:active, .why-card:focus {
  box-shadow: 0 8px 24px rgba(30,58,138,0.18);
  transform: scale(0.98);
}

.main-nav {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(30,58,138,0.07);
}
.nav-toggle {
  display: none;
  background: var(--blue-dark);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 8px;
}
#nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s;
}
@media (max-width: 900px) {
  #nav-links {
    gap: 1rem;
  }
  .nav-toggle {
    display: block;
  }
  #nav-links {
    flex-direction: column;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    background: var(--blue);
    width: 100%;
    text-align: center;
    transition: max-height 0.3s;
    padding: 0;
  }
  #nav-links.open {
    max-height: 400px;
    padding-bottom: 1rem;
  }
  #nav-links li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }
}
.whatsapp-container {
  text-align: center;
  margin-top: 2rem;
}

#whatsapp-button {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#whatsapp-button:hover {
  background-color: #1ebe57;
}

