/* =====================
   Variables & Reset
   ===================== */
:root {
    --color-deep-navy: #1A2B5B;
    --color-accent: #ACA6A0;
    --color-accent-light: #D4CFC9;
    --color-white: #FFFFFF;
    --color-gray-dark: #333333;
    --color-gray: #666666;
    --color-gray-light: #999999;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

* {
    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(--color-gray-dark);
    background-color: var(--color-white);
}

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: bold;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* =====================
   Layout Components
   ===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    color: var(--color-deep-navy);
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* =====================
   Navigation
   ===================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-deep-navy);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem 0;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

/* =====================
   Hero Section
   ===================== */
.hero {
    background-image: url('info_bg_DRZ07074.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 6rem; /* Account for fixed nav */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 43, 91, 0.6); /* Deep navy overlay for readability */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(172, 166, 160, 0.1) 0%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 1rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-accent-light);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* =====================
   Calendly (NYT band)
   ===================== */
.nyt-calband{
  /* keep your brand navy but add a whisper of depth */
  background: linear-gradient(180deg, #0b2653 0%, #0a1f44 60%, #0a1f44 100%);
  padding: 24px 0;
  margin: 24px 0;

  /* override global section hero rules just for this band */
  min-height: auto !important;
  display: block !important;
  align-items: normal !important;
}

.nyt-calwrap{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.nyt-title{
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}

/* white shell to break up the blue */
.cal-shell{
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  max-width: 920px;            /* keeps a nice column */
  margin: 0 auto;
}

/* widget sizing — bump height to remove inner scroll */
.cal-shell .calendly-inline-widget{
  width: 100% !important;
  min-width: 320px;
  height: 820px !important;    /* ↑ was smaller; this removes the scrollbar */
  border: 0;
  border-radius: 8px;
  overflow: hidden;             /* hides any border artifacts */
}

/* ensure Calendly's injected iframe fills the box */
.cal-shell .calendly-inline-widget iframe{
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 640px){
  .nyt-calband{ padding: 16px 0; }
  .cal-shell{ padding: 8px; border-radius: 10px; }
  .cal-shell .calendly-inline-widget{ height: 920px !important; }
}


/* =====================
   Buttons
   ===================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-deep-navy);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gray-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-deep-navy);
    border-color: var(--color-deep-navy);
}

.btn-secondary:hover {
    background-color: var(--color-deep-navy);
    color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-deep-navy);
}

.btn-accent:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-deep-navy);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =====================
   About Section
   ===================== */
.about {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    color: var(--color-deep-navy);
}

.about-content p {
    font-size: 1.125rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::before {
    content: "[ Image Placeholder ]";
    position: absolute;
    color: rgba(26, 43, 91, 0.3);
    font-size: 1.5rem;
    font-weight: bold;
}

/* =====================
   Courses Section
   ===================== */
.courses {
    background-color: var(--color-accent-light);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.course-image::before {
    content: "[ Course Image ]";
    position: absolute;
    color: rgba(26, 43, 91, 0.3);
    font-weight: bold;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    color: var(--color-deep-navy);
    margin-bottom: 1rem;
}

.course-content p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--color-gray);
}

.course-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.course-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* =====================
   Testimonials Section
   ===================== */
.testimonials {
    background-color: var(--color-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    color: var(--color-white);
}

.testimonial-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}

.testimonial-navy {
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, #2A4B8B 100%);
}

.quote-mark {
    font-size: 3rem;
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    display: block;
}

.testimonial-image {
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-image::before {
    content: "[ Testimonial Collage ]";
    position: absolute;
    color: rgba(26, 43, 91, 0.3);
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* =====================
   Contact Section
   ===================== */
.contact {
    background-color: var(--color-deep-navy);
    color: var(--color-white);
}

.contact .section-title {
    color: var(--color-white);
}

.contact .section-subtitle {
    color: var(--color-accent-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* =====================
   FAQ Section
   ===================== */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(172, 166, 160, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
}

.faq-item h4 {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--color-accent-light);
    margin: 0;
}

/* =====================
   Footer
   ===================== */
.site-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(172, 166, 160, 0.3);
    text-align: center;
}

.site-footer p {
    color: var(--color-accent-light);
    margin: 0;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .hero::before {
        background: rgba(26, 43, 91, 0.7); /* Slightly more opacity on mobile */
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero {
        min-height: 100vh;
    }
}