/* CMS-ED Mini Funnel - Stylesheet */
:root {
  --accent-yellow: #F7E7A0;
  --medical-teal: #1E9077;
  --medical-blue: #2C7BE5;
  --near-black: #111111;
  --warm-bg: #fffef6;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-medium: #666666;
  --shadow-soft: 0 4px 12px rgba(30, 144, 119, 0.1);
  --shadow-medium: 0 8px 24px rgba(30, 144, 119, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--near-black);
  background: var(--warm-bg);
  font-size: 16px;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--near-black);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--medical-teal);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--medical-teal);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--near-black);
}

p {
  margin-bottom: 1rem;
  color: var(--near-black);
}

a {
  color: var(--medical-teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--medical-blue);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 0;
  min-height: 70px;
  position: static;
  top: auto;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  min-height: 60px;
}

.logo-badge {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--medical-teal);
  font-size: 1.1rem;
  height: 100%;
  margin: 0;
  padding: 0;
}

.logo-badge img {
  height: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
}

.logo-badge a {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
  margin: 0;
  padding: 0;
}

.logo-badge a:hover {
  opacity: 0.8;
}

.lang-toggle {
  display: flex;
  gap: 0.5rem;
  background: var(--gray-light);
  padding: 0.25rem;
  border-radius: 8px;
}

.lang-toggle button {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.lang-toggle button.active {
  background: var(--white);
  color: var(--medical-teal);
  font-weight: 600;
}

/* WhatsApp Chat Button */
.floating-whatsapp-chat {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.floating-whatsapp-chat__button {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.floating-whatsapp-chat__button:hover {
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px) scale(1.05);
  background: #20BA5A;
}

.floating-whatsapp-chat__button:active {
  transform: translateY(0) scale(0.98);
}

.floating-whatsapp-chat__button svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.floating-whatsapp-chat__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid #fff;
}

/* WhatsApp Chat Form Modal */
.whatsapp-chat-modal {
  position: fixed;
  bottom: 12rem;
  right: 1.25rem;
  width: 360px;
  max-width: calc(100vw - 2.5rem);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1300;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.whatsapp-chat-modal.active {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-chat-modal__header {
  background: linear-gradient(135deg, #25D366, #20BA5A);
  color: #fff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-chat-modal__header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-chat-modal__close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
  line-height: 1;
}

.whatsapp-chat-modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.whatsapp-chat-modal__body {
  padding: 1.5rem;
  max-height: 500px;
  overflow-y: auto;
}

.whatsapp-chat-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.whatsapp-chat-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.whatsapp-chat-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--near-black);
}

.whatsapp-chat-form input,
.whatsapp-chat-form select,
.whatsapp-chat-form textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
  background: #fff;
}

.whatsapp-chat-form select {
  cursor: pointer;
}

.whatsapp-chat-form input:focus,
.whatsapp-chat-form select:focus,
.whatsapp-chat-form textarea:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.whatsapp-chat-form textarea {
  resize: vertical;
  min-height: 80px;
}

.whatsapp-chat-form__submit {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.whatsapp-chat-form__submit:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-chat-form__submit:active {
  transform: translateY(0);
}

.floating-lang-toggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floating-lang-toggle button {
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.floating-lang-toggle button:hover {
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.3);
  transform: translateY(-1px);
  background: rgba(17, 17, 17, 0.95);
}

.floating-lang-toggle button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.35), 0 10px 24px rgba(17, 17, 17, 0.25);
}

.floating-lang-toggle__divider {
  opacity: 0.5;
  color: inherit;
  font-weight: 400;
}

.admission-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.admission-inquiry-grid .admission-inquiry-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(30, 144, 119, 0.15);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.18);
  max-width: 360px;
  width: 100%;
  margin-left: auto;
}

.admission-inquiry-grid .admission-inquiry-card form {
  display: grid;
  gap: 0.85rem;
}

.admission-inquiry-grid .admission-inquiry-card form .two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admission-inquiry-grid .admission-inquiry-card input,
.admission-inquiry-grid .admission-inquiry-card select,
.admission-inquiry-grid .admission-inquiry-card textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(30, 144, 119, 0.22);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.96);
}

.admission-inquiry-grid .admission-inquiry-card textarea {
  resize: vertical;
  min-height: 56px;
}

.admission-inquiry-grid .admission-inquiry-card button {
  width: 100%;
  padding: 0.8rem 1.3rem;
  background: linear-gradient(135deg, var(--medical-teal), #178066);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 24px rgba(30, 144, 119, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.admission-inquiry-grid .admission-inquiry-card button:hover {
  transform: translateY(-2px);
}

.admission-inquiry-grid .admission-inquiry-card label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--medical-teal);
  font-size: 0.9rem;
}

.admission-inquiry-grid .admission-inquiry-card input:focus,
.admission-inquiry-grid .admission-inquiry-card select:focus,
.admission-inquiry-grid .admission-inquiry-card textarea:focus {
  outline: none;
  border-color: var(--medical-teal);
  box-shadow: 0 0 0 3px rgba(30, 144, 119, 0.15);
  background: #fff;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-official {
  color: var(--medical-teal);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-official:hover {
  color: var(--medical-blue);
  text-decoration: underline;
}

/* Official Website Button - Red with White Text */
.nav a.btn-primary[data-i18n="nav.official"],
.nav .btn-primary[href*="mpypcp.com"] {
  background: #dc3545;
  color: white;
  border: none;
}

.nav a.btn-primary[data-i18n="nav.official"]:hover,
.nav .btn-primary[href*="mpypcp.com"]:hover {
  background: #c82333;
  color: white;
}

.nav a {
  color: var(--near-black);
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a:hover {
  color: var(--medical-teal);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--medical-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: #178066;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--medical-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: #1e6bc4;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #20ba5a;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--warm-bg) 100%);
  padding: 3rem 1rem;
  text-align: left;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  color: var(--medical-teal);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--near-black);
  white-space: nowrap;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--gray-medium);
  margin-bottom: 1.75rem;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

/* Sections */
.section {
  padding: 2.25rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--gray-light);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.rich-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rich-section h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.rich-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--near-black);
}

.rich-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rich-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--near-black);
}

.rich-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--medical-teal);
  font-weight: 700;
}

.rich-list span {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-medium);
  margin-top: 0.35rem;
}

.rich-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.rich-grid .card {
  margin-bottom: 0;
}

.rich-note {
  background: linear-gradient(135deg, rgba(30, 144, 119, 0.08), rgba(44, 123, 229, 0.08));
  border-left: 4px solid var(--medical-teal);
}

.rich-ordered {
  counter-reset: rich-counter;
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rich-ordered li {
  counter-increment: rich-counter;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
}

.rich-ordered li::before {
  content: counter(rich-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--medical-teal), var(--medical-blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 144, 119, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--near-black);
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-medium);
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.alumni-card {
  background: linear-gradient(135deg, rgba(30, 144, 119, 0.08), rgba(44, 123, 229, 0.08));
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.alumni-card::before {
  content: "“";
  font-size: 4rem;
  color: rgba(30, 144, 119, 0.18);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.alumni-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--near-black);
  margin: 0;
}

.alumni-name {
  font-weight: 600;
  color: var(--medical-teal);
  margin: 0;
}

.alumni-role {
  font-size: 0.95rem;
  color: var(--gray-medium);
}

.rich-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 144, 119, 0.12);
  color: var(--medical-teal);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Course Benefit Cards Hover Effects */
.section-grid > div {
  transition: all 0.3s ease;
}

.section-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(30, 144, 119, 0.25);
}

/* Inquiry Form Styles */
.inquiry-form {
  max-width: 500px;
  margin: 0 auto;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s;
}

.inquiry-form label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .inquiry-form {
    max-width: 100%;
  }
  .lang-toggle {
    width: 100%;
    justify-content: center;
    order: 2;
  }
  .nav {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  
  .inquiry-form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  .section-grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  .hero-container[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  .hero-container[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
    position: static !important;
  }
  
  .hero-container[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--medical-teal);
  box-shadow: 0 0 0 3px rgba(30, 144, 119, 0.1);
}

.inquiry-form input[readonly] {
  background: rgba(30, 144, 119, 0.05);
  border-color: var(--medical-teal);
  color: var(--medical-teal);
  font-weight: 500;
  cursor: default;
}

.inquiry-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 119, 0.4);
}

.inquiry-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Table */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

th {
  background: var(--medical-teal);
  color: var(--white);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background: var(--gray-light);
}

/* List */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--near-black);
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--near-black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--medical-teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.show {
  display: block;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  font-weight: 600;
  color: var(--medical-teal);
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  color: var(--gray-medium);
  display: none;
}

.faq-answer.show {
  display: block;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--medical-teal);
  transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: var(--near-black);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 4rem;
}

.footer p {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--accent-yellow);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 1.5rem;
  background: var(--gray-light);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--medical-teal);
}

.breadcrumbs span {
  color: var(--gray-medium);
  margin: 0 0.5rem;
}

/* Notes */
.note {
  background: var(--accent-yellow);
  border-left: 4px solid var(--medical-teal);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.note h3 {
  margin-top: 0;
  color: var(--near-black);
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-grid {
    grid-template-columns: 1fr !important;
  }
  
  .section-grid > div:hover {
    transform: translateY(-3px);
  }

  .content-image {
    float: none;
    margin: 1.5rem auto;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }

  .logo-badge {
    font-size: 1rem;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .logo-badge img {
    height: 100%;
    max-height: 50px;
    margin: 0;
    padding: 0;
  }

  .logo-badge a {
    margin: 0;
    padding: 0;
  }

  .nav {
    font-size: 0.9rem;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .lang-toggle button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .floating-whatsapp-chat {
    bottom: 4.5rem;
    right: 1rem;
  }
  
  .whatsapp-chat-modal {
    bottom: 11rem;
    right: 1rem;
    width: calc(100vw - 2rem);
  }
  
  .floating-lang-toggle {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 420px) {
  .floating-lang-toggle button {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media print {
  .floating-whatsapp-chat,
  .whatsapp-chat-modal,
  .floating-lang-toggle {
    display: none;
  }
}

@media (max-width: 900px) {
  .admission-inquiry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admission-inquiry-grid .admission-inquiry-card {
    margin-left: 0;
    max-width: 100%;
  }

  .admission-inquiry-grid .admission-inquiry-card form .two-column {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-container {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.image-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-card-content {
  padding: 1.5rem;
}

.hero-image {
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.section-image {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* Content Images */
.content-image {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .content-image {
    float: none;
    margin: 1.5rem auto;
    max-width: 100%;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Icon Boxes */
.icon-box {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.icon-box img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

/* Print */
@media print {
  .header, .footer {
    display: none;
  }
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.media-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--gray-light);
}

.media-card figcaption {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--near-black);
}

@media (max-width: 640px) {
  .media-card img {
    height: 140px;
  }
}

.slider-card {
  padding: 2rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.slider-full {
  width: 100%;
  position: relative;
}

.slider-view {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slider-item {
  min-width: 100%;
  position: relative;
}

.slider-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.slider-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.05) 100%);
  color: var(--white);
}

.slider-caption h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.slider-caption p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 17, 17, 0.55);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 2;
}

.slider-nav:hover {
  background: rgba(17, 17, 17, 0.8);
}

.slider-nav[data-slider-prev] {
  left: 1rem;
}

.slider-nav[data-slider-next] {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-dots button.active {
  background: var(--accent-yellow);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .slider-card {
    padding: 1rem;
  }

  .slider-item img {
    height: 240px;
  }

  .slider-caption {
    padding: 1.25rem 1.5rem;
  }

  .slider-caption h3 {
    font-size: 1.1rem;
  }

  .hero {
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .hero-container {
    padding: 0 0.5rem;
  }

  .hero h1 {
    white-space: normal;
    font-size: 2rem;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }
}

