/**
 * MAIN STYLES - LAPIS ATER
 * Base styles for the pure HTML version
 */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1e3d58;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  color: var(--lapis-blue-medium, #057dcd);
  text-decoration: none;
  transition: color var(--transition-base, 0.3s ease);
}

a:hover {
  color: var(--lapis-blue-dark, #1e3d58);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-modern {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  color: #333;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-base, 0.3s ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lapis-blue-medium, #057dcd);
  transition: width var(--transition-base, 0.3s ease);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--lapis-blue-medium, #057dcd);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 0;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all var(--transition-base, 0.3s ease);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  background: white;
  padding: 0;
}

.hero-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl, 4rem) 0;
  text-align: center;
}

.hero-title {
  color: var(--lapis-blue-dark, #1e3d58);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  color: #555;
  line-height: 1.8;
  font-weight: 400;
}

.hero-subtitle br {
  display: block;
  content: "";
  margin-top: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg, 0.75rem);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base, 0.3s ease);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--lapis-blue-medium, #057dcd);
  color: white;
}

.btn-primary:hover {
  background: var(--lapis-blue-dark, #1e3d58);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.btn-secondary {
  background: white;
  color: var(--lapis-blue-medium, #057dcd);
  border: 2px solid var(--lapis-blue-medium, #057dcd);
}

.btn-secondary:hover {
  background: var(--lapis-blue-medium, #057dcd);
  color: white;
  transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

.section-modern {
  padding: var(--space-2xl, 4rem) 0;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-title {
  text-align: center;
  margin: 0;
  color: var(--lapis-blue-dark, #1e3d58);
}

.section-title-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.container-modern {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg, 2rem);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.about-founder-complete {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
}

.founder-two-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.founder-left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.founder-top-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}

.founder-right-column {
  display: flex;
  flex-direction: column;
}

.founder-image {
  flex-shrink: 0;
}

.founder-photo {
  width: 220px;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  object-fit: contain;
  border: 4px solid var(--lapis-blue-light, #43b0f1);
}

.founder-info {
  flex: 1;
}

.founder-name {
  color: var(--lapis-blue-dark, #1e3d58);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.founder-subtitle {
  color: var(--lapis-blue-medium, #057dcd);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 0;
}

.founder-bio-section {
  width: 100%;
}

.founder-bio {
  color: #555;
  line-height: 1.8;
  font-size: 1.15rem;
  margin: 0;
}

.education-section-title {
  color: var(--lapis-blue-dark, #1e3d58);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: left;
}

.education-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.education-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  transition: all var(--transition-base, 0.3s ease);
}

.education-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.education-logo {
  flex-shrink: 0;
}

.education-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.education-info {
  flex: 1;
  min-width: 0;
}

.education-title {
  color: var(--lapis-blue-dark, #1e3d58);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.education-institution {
  color: #555;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.3;
}

.about-mission-vision {
  margin-top: 3rem;
}

.mission-vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mission-section,
.vision-section {
  padding: 2rem;
}

.mission-title,
.vision-title {
  color: var(--lapis-blue-dark, #1e3d58);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--lapis-blue-dark, #1e3d58) 0%, var(--lapis-blue-medium, #057dcd) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.mission-description,
.vision-description {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  background: var(--lapis-gray-soft, #e4f7ff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  display: flex;
  flex-direction: column;
}

.service-card-link {
  text-decoration: none;
  display: block;
}

.service-card {
  background: white;
  border-radius: var(--radius-xl, 1rem);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition-base, 0.3s ease);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.service-card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-description {
  margin-top: 1.5rem;
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 1.25rem;
  background: linear-gradient(to bottom, rgba(5, 125, 205, 0.02), rgba(5, 125, 205, 0.05));
  border-left: 3px solid var(--lapis-blue-medium, #057dcd);
  border-radius: var(--radius-md, 0.5rem);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.service-description strong {
  font-weight: 700;
  color: var(--lapis-blue-dark, #1e3d58);
  font-size: 1.08rem;
}

.service-description strong {
  font-weight: 700;
  color: var(--lapis-blue-dark, #1e3d58);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl, 1rem);
  padding: 1.5rem;
  transition: all var(--transition-base, 0.3s ease);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #FFD700;
  font-size: 1.2rem;
}

.testimonial-content {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  margin-bottom: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-name {
  color: var(--lapis-blue-dark, #1e3d58);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.testimonial-category {
  color: var(--lapis-blue-medium, #057dcd);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.testimonial-result {
  margin-top: auto;
}

.result-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--lapis-blue-medium, #057dcd) 0%, var(--lapis-blue-light, #43b0f1) 100%);
  color: white;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background: var(--lapis-gray-soft, #e4f7ff);
}

.contact-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base, 0.3s ease);
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: white;
  min-height: auto;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
  border-color: var(--lapis-blue-medium, #057dcd);
}

.contact-link-icon {
  font-size: 3.5rem;
  margin-bottom: 0;
  display: block;
}

.contact-link-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lapis-blue-dark, #1e3d58);
  margin: 0;
}

.contact-link-whatsapp {
  background: white;
}

.contact-link-whatsapp:hover {
  background: #f0f9f7;
}

.contact-link-instagram {
  background: white;
}

.contact-link-instagram:hover {
  background: #fef0f3;
}

.contact-link-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0;
  display: block;
  flex-shrink: 0;
}

.contact-link-whatsapp .contact-link-icon-img,
.contact-link-instagram .contact-link-icon-img {
  filter: none;
}

/* ============================================
   APP DOWNLOAD SECTION
   ============================================ */

.app-download-section {
  background: white;
}

.app-download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.app-download-smartphone {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.smartphone-image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.app-download-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.app-download-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  text-align: center;
  transition: all var(--transition-base, 0.3s ease);
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: white;
  min-width: auto;
  width: 100%;
  max-width: 280px;
}

.app-download-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
  border-color: var(--lapis-blue-medium, #057dcd);
}

.app-download-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.app-download-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lapis-blue-dark, #1e3d58);
  margin: 0;
  text-align: left;
  flex: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
  background: var(--lapis-blue-dark, #1e3d58);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-title {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base, 0.3s ease);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .nav-wrapper {
    justify-content: flex-end;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    transition: left var(--transition-base, 0.3s ease);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
  }

  .section-title-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-title-logo {
    height: 30px;
  }

  .university-logos {
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .university-logo {
    height: 40px;
    max-width: 100px;
  }

  .service-description {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-banner-img {
    width: 100%;
    height: auto;
  }

  .hero-content {
    padding: var(--space-lg, 2rem) 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .contact-link {
    flex-direction: column;
    gap: 0.75rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-founder-complete {
    padding: 1.5rem;
  }

  .founder-two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-left-column {
    gap: 1.25rem;
  }

  .founder-top-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-photo {
    width: 180px;
  }

  .founder-bio {
    font-size: 1.05rem;
    text-align: center;
  }

  .education-section-title {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
  }

  .service-description {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .service-description strong {
    font-size: 1rem;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
  }

  .education-card {
    flex-direction: column;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .testimonials-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-link {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .contact-link-icon-img {
    width: 35px;
    height: 35px;
  }

  .contact-link-text {
    font-size: 0.95rem;
  }

  .container-modern {
    padding: 0 var(--space-md, 1.5rem);
  }

  .section-modern {
    padding: var(--space-xl, 3rem) 0;
  }

  .app-download-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .smartphone-image {
    max-height: 300px;
  }

  .app-download-links {
    gap: 0.75rem;
    width: 100%;
  }

  .app-download-link {
    flex-direction: row;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
  }

  .app-download-image {
    width: 35px;
    height: 35px;
  }

  .app-download-text {
    font-size: 0.8rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }

  .founder-photo {
    width: 150px;
    height: 150px;
  }

  .service-card,
  .program-card {
    padding: 1.5rem;
  }
}
