body {
    background-color: white; /* Ensure the iframe has a white background */
}
    
/* =============================================================================
   RESET & BASE STYLES
========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0E1A2B;
  --gold: #C9A227;
  --white: #FAFAF8;
  --charcoal: #2E2E2E;
  --gray: #6B7280;
  --transition: all 0.4s ease;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* =============================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */

.gold {
  color: var(--gold);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-header.white h2,
.section-header.white p {
  color: var(--white);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: #b28e1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: rgba(201, 162, 39, 0.08);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

/* =============================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(14, 26, 43, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 4px 0;
  transition: var(--transition);
}

/* =============================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, rgba(14, 26, 43, 0.95), rgba(22, 40, 65, 0.9)),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230E1A2B"/><path d="M20,20 L80,80 M80,20 L20,80" stroke="%23C9A227" stroke-width="1" opacity="0.05"/></svg>');
  background-size: cover;
  color: var(--white);
  padding: 120px 5% 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 2;
}

.hero-heading {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subhead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.portrait-placeholder {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #1a2d45);
  border: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-placeholder img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center;
}

/* =============================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
  padding: 6rem 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.about-image {
  flex: 1;
  min-width: 250px;
}

.circular-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #1a2d45);
  border: 4px solid var(--gold);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circular-placeholder img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center;
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text p {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

/* =============================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.service-card p {
  color: var(--gray);
  font-size: 1rem;
}

.services-footer {
  text-align: center;
  margin-top: 3rem;
}

.services-footer p {
  font-size: 1rem;
  color: var(--gray);
}

/* =============================================================================
   PROGRAMS SECTION
   ========================================================================== */

.programs {
  padding: 6rem 0;
  background-color: var(--white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.95);
}

.program-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(14, 26, 43, 0.3);
}

.program-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.program-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.program-card p {
  opacity: 0.9;
  font-size: 1rem;
}

/* =============================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--gold);
  opacity: 0;
  transform: translateX(-30px);
}

.testimonial p {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-weight: 600;
  color: var(--navy);
  display: block;
}

/* =============================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--white);
}

.contact-form {
  max-width: 700px;
  margin: 3rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* =============================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* =============================================================================
   ANIMATIONS & INTERACTIONS
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: calc(var(--delay) * 0.1s);
}

/* =============================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 900px) {
  .hero-heading {
    font-size: 2.75rem;
  }

  .about-content {
    flex-direction: column;
  }

  .hero-cta .btn-secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--navy);
    width: 80%;
    height: calc(100vh - 70px);
    padding: 2rem;
    transition: var(--transition);
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero {
    padding: 100px 5% 60px;
  }

  .hero-content,
  .hero-image {
    flex: 100%;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .portrait-placeholder {
    width: 240px;
    height: 240px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.25rem;
  }

  .hero-subhead {
    font-size: 1.1rem;
  }

  .portrait-placeholder {
    width: 200px;
    height: 200px;
  }

  .circular-placeholder {
    width: 180px;
    height: 180px;
  }
}