/* ==========================================
   GENERAL RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Playfair Display', serif; 
    background-color: #FDFBF8; 
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; 
}


h1, h2, h3 {
    font-weight: 900; 
}

p {
    font-weight: 400;
}

.gold-text {
    color: #b38b45;
}

/* ==========================================
   MATERIAL SYMBOLS CONFIGURATION
   ========================================== */
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  font-size: 32px; 
  color: #b38b45; 
}

/* ==========================================
   HEADER SECTION
   (Includes Navigation and Logo)
   ========================================== */
/* ==========================================
   HEADER SECTION (Updated)
   ========================================== */
header {
    background: #ffffff;
    padding: 20px 5%;
    display: flex;
    flex-direction: row;  
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    margin: 0 auto;
}

nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin: 0 25px;
}

nav ul li a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li:last-child {
    margin-right: 0;
}

.btn-outline {
    margin-left: 10px; 
    padding: 10px 22px;
}

/* Hover State */
nav ul li a:hover {
    color: #b38b45;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #b38b45;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.btn-outline:hover {
    background-color: #b38b45;
    color: white;
    transition: all 0.3s ease;
}

.btn-solid {
    background-color: #b38b45;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn-outline {
    border: 1px solid #b38b45;
    color: #b38b45;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
}

/* ==========================================
   HERO SECTION
   (Main Introduction / Above the Fold)
   ========================================== */
.hero {
    display: flex;
    padding: 0px 5%;

    background: linear-gradient(to bottom, #ffffff 0%, #FDFBF8 70%, #F5F0E6 100%);
}

.hero-content {
    text-align: left; 
    flex: 1; 
    padding-top: 5%;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;

}

.hero-content h1 span {
    color: #b38b45;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

/* ==========================================
   HERO GIF ANIMATION LAYOUT FIX
   ========================================== */
.hero-image {
    flex: 1.3; /* Widens the container to give the GIF more horizontal room */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
    padding-bottom: 5%; /* Adds a bit of breathing room below the image */
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    border: 3px solid #b38b45;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Shared Section Spacing */
section {
    padding: 80px 5%;
    text-align: center;
    overflow: hidden; 
}

section h3 {
    color: #b38b45;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

/* ==========================================
   BUTTON STYLES & HOVERS
   ========================================== */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary {
    background-color: #b38b45;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #b38b45;
}

.btn-primary:hover {
    background-color: #967236; /* Slightly darker gold */
    border-color: #967236;
    transform: translateY(-2px); /* Subtle lift */
}

/* Watch Video Button (Outline style) */
.btn-video {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b38b45;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 25px;
    border: 2px solid #b38b45;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-video .material-symbols-outlined {
    font-size: 20px;
}

.btn-video:hover {
    background-color: rgba(179, 139, 69, 0.05); /* Very light gold tint */
    color: #967236;
    border-color: #967236;
    transform: translateY(-2px);
}

/* ==========================================
   VIDEO MODAL EMBED STYLING
   ========================================== */
.video-modal-content {
    max-width: 950px;
    padding: 10px 10px 10px 10px; 
    background: #111111; 
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Maintains strict 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.close-video {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 32px;
    color: #000000;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-video:hover {
    color: #b38b45; /* Brand matching hover glow */
}

/* ==========================================
   ABOUT SECTION STYLING
   ========================================== */
.about {
    padding: 120px 5%;
    background-color: #ffffff;
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
}

/* Image Side */
.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 1;
}

.image-frame img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Gold accent box behind the image */
.frame-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 4px solid #b38b45;
    border-left: 4px solid #b38b45;
    z-index: -1;
}

/* Content Side */
.about-content {
    flex: 1.2;
    text-align: left;
}

.about-content h2 {
    font-size: 2.8rem;
    margin: 15px 0 20px;
    line-height: 1.2;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Quick Stats Bar */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item h4 {
    font-size: 1.8rem;
    color: #b38b45;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-content {
        text-align: center;
    }
    .underline-short {
        margin: 0 auto 25px;
    }
    .about-stats {
        justify-content: center;
    }
}

/* ==========================================
   PROGRAM SECTION
   (Horizontal Auto-Scrolling Carousel)
   ========================================== */
.scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.scroll-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLoop 30s linear infinite;
}

.scroll-container:hover .scroll-track {
    animation-play-state: paused;
}

@keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.card {
    flex: 0 0 280px; 
    padding: 10px;
    text-align: center;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: #fff;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: translateY(-1px);
}

.card h4 {
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.card {
    flex: 0 0 280px;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.card .icon-circle {
    width: 50px;
    height: 50px;
    border: 1.5px solid #b38b45;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .material-symbols-outlined {
    font-size: 24px;
    color: #b38b45;
}

.card h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}


/* ==========================================
   FEATURES SECTION 
   ========================================== */
.features {
    background: #fff;
    padding: 80px 5%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 2000px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    /* Forces all 6 items into one horizontal row */
    grid-template-columns: repeat(6, 1fr); 
    margin-top: 50px;
    max-width: 1400px; /* Increased width to accommodate 6 columns */
    margin-left: auto;
    margin-right: auto;
}

.feat-item {
    text-align: center;
    padding: 0 20px;
    /* Adds the subtle dividers seen in your reference */
    border-right: 1px solid #eee; 
}

/* Removes the border from the very last item */
.feat-item:last-child {
    border-right: none;
}

.feat-item p {
    font-size: 0.85rem; /* Slightly smaller text to fit the tight row */
    color: #666;
    line-height: 1.4;
    margin-top: 10px;
}

/* ==========================================
   PARTNERS SECTION STYLING
   ========================================== */
.partners {
    padding: 100px 5%;
    background-color: #FDFBF8; /* Matching the warm background */
    border-top: 1px solid #F2EBE1;
}

.partners-container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
}

.partners-left {
    flex: 1;
    text-align: left;
}

.partners-left h2 {
    font-size: 2.5rem;
    margin: 15px 0;
    line-height: 1.2;
}

.underline-short {
    width: 50px;
    height: 2px;
    background-color: #b38b45;
    margin-bottom: 25px;
}

.partners-left p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 450px;
}

/* Right Grid Styling */
.partners-right {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for the benefits */
}

.partner-feat {
    padding: 0 25px;
    text-align: center;
    border-left: 1px solid #E5DFD6; /* Vertical divider line */
}

.partner-feat:first-child {
    border-left: none; /* No line on the first item */
}

.partner-feat .material-symbols-outlined {
    font-size: 45px;
    color: #b38b45;
    font-variation-settings: 'wght' 200;
    margin-bottom: 20px;
}

.partner-feat h5 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.partner-feat p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Responsive Fix for smaller screens */
@media (max-width: 1024px) {
    .partners-container {
        flex-direction: column;
    }
    .partners-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }
}

/* ==========================================
   CONTACT SECTION STYLING
   ========================================== */
.contact {
    padding: 100px 5%;
    background-color: #ffffff; /* Clean white to contrast with the tan sections */
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin: 15px 0 25px;
}

.contact-info p {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Detail Icons */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #333;
}

.detail-item .material-symbols-outlined {
    color: #b38b45;
    font-size: 24px;
}

/* Form Styling */
.contact-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E5DFD6;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #FDFBF8;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #b38b45;
}

/* Reusing your primary button style */
.contact-form .btn-primary {
    align-self: flex-start;
    cursor: pointer;
}

/* Responsive Fix */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 50px;
    }
}

/* ==========================================
   CONSOLIDATED MODAL STYLING
   ========================================== */

/* 1. Backdrop & Container */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #FDFBF8;
    margin: 5% auto;
    padding: 40px 40px 40px; 
    border-radius: 10px;
    width: 90%;
    max-width: 950px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.4s ease-out;
}

.modal-wide {
    max-width: 950px;
}

@keyframes modalSlideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 2. Close Buttons (Shared Logic) */
.close-btn, 
.close-explore {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-btn:hover, 
.close-explore:hover { 
    color: #b38b45; 
}

/* 3. Forms & Program Grid */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* 4. Inputs & Interactive Cards */
.modal-form input, 
.modal-form select, 
.modal-form textarea,
.prog-box {
    border: 1px solid #E5DFD6;
    border-radius: 5px;
    background: #fdfbf8;
    transition: all 0.3s ease;
}

.modal-form input, 
.modal-form select, 
.modal-form textarea {
    padding: 12px;
    font-family: inherit;
    width: 100%;
}

.prog-box {
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.prog-box:hover {
    border-color: #b38b45;
    background: #ffffff;
    transform: translateY(-5px);
}

/* 5. Typography & Icons */
.modal-form button { 
    width: 100%; 
}

.prog-box .material-symbols-outlined {
    font-size: 40px;
    color: #b38b45;
    margin-bottom: 15px;
}

.prog-box h5 { 
    margin-bottom: 10px; 
    font-weight: 800; 
}

.prog-box p { 
    font-size: 0.85rem; 
    color: #666; 
}

/* 6. Responsive Logic */
@media (max-width: 600px) {
    .program-grid { 
        grid-template-columns: 1fr; 
    }
}