/* --- CSS Variables (Theming) --- */
:root {
    --primary: #54736E;
    --primary-hover: #435D59;
    --accent: #8C6A52;
    --bg-body: #F8F5F2;
    --bg-alt: rgba(241, 245, 249, 0.5); /* Slate 100 approx */
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --text-main: #1e293b; /* Slate 800 */
    --text-heading: #0f172a; /* Slate 900 */
    --text-muted: #475569; /* Slate 600 */
    --border-color: #e2e8f0;
    --hero-overlay-start: rgba(255, 255, 255, 0.1);
    --hero-overlay-end: rgba(248, 245, 242, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Dark Theme Overrides */
html.dark {
    --bg-body: #1A1C1B;
    --bg-alt: rgba(0, 0, 0, 0.2);
    --bg-card: rgba(30, 41, 59, 0.5); /* Slate 900 transparent */
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --text-main: #e2e8f0; /* Slate 200 */
    --text-heading: #ffffff;
    --text-muted: #94a3b8; /* Slate 400 */
    --border-color: #1e293b;
    --hero-overlay-start: rgba(0, 0, 0, 0.2);
    --hero-overlay-end: rgba(26, 28, 27, 1);
}

/* --- Resets & Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Utilities --- */
.container {
    max-width: 1152px; /* 6xl equivalent */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.section-padding { padding: 1rem 1rem 1.5rem; }
.mb-medium { margin-bottom: 2rem; }
.mb-large { margin-bottom: 4rem; }
.font-bold { font-weight: 600; }
.text-small { font-size: 0.875rem; }
.bg-alt { background-color: var(--bg-alt); }
.border-top { border-top: 1px solid var(--border-color); }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

html.dark .hero-bg img { opacity: 0.4; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--hero-overlay-start) 0%, var(--hero-overlay-end) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin-top: 5rem;
}

.hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 3.75rem; }
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

html.dark .hero-content p { color: #cbd5e1; }

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-text {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-text:hover {
    color: var(--primary);
}

html.dark .btn-text:hover { color: white; }

/* --- Features Bar --- */
.features-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

html.dark .features-bar { background-color: rgba(0, 0, 0, 0.2); }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Add dividers between items on desktop */
    }
    .feature-item:not(:last-child) {
        border-right: 1px solid var(--border-color);
    }
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
}

.icon-accent {
    font-size: 2rem !important;
    color: var(--accent);
}

.features-bar .feature-item h3 {
	margin: 0;
}
/* --- Curriculum Grid --- */
.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto 3rem auto;
}

@media (min-width: 768px) {
    .curriculum-grid { grid-template-columns: 1fr 1fr; }
}

.card {
    background-color: var(--bg-card);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon-large {
    font-size: 2.25rem;
    color: var(--accent);
}

.card h4 { font-size: 1.25rem; }
.card p { font-size: 0.875rem; color: var(--text-muted); }

.italic-text {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 3rem;
}

/* --- Testimonials Slider --- */
.slider-wrapper {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 3rem; /* Space for arrows */
}

.testimonials-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    /* Basic scroll setup for mobile if JS fails */
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none; 
}

.testimonials-track::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
    .testimonials-track {
        grid-template-columns: repeat(3, 1fr);
        overflow: visible; /* Show all on desktop */
    }
}

.testimonial-card {
    background-color: var(--bg-card);
    box-shadow: var(--shadow);
    border-radius: 4px;
    overflow: hidden;
    min-width: 280px; /* Ensure width on mobile scroll */
}

.testimonial-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.testimonial-card .card-body { padding: 1.5rem; }

.stars {
    color: #fbbf24; /* Amber */
    margin-top: 0.5rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    color: var(--text-main);
    display: none; /* Hidden on desktop grid layout */
    z-index: 10;
}

/* Show slider arrows only on mobile if you want JS scrolling */
@media (max-width: 767px) {
    .slider-btn { display: flex; align-items: center; justify-content: center; }
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #cbd5e1;
}

html.dark .dot { background-color: #334155; }
.dot.active { background-color: var(--primary); }

/* --- CTA Section --- */
.max-w-small { max-width: 56rem; margin: 0 auto; }
.guarantee-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .guarantee-box { flex-direction: row; }
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.divider {
    display: none;
    height: 2rem;
    width: 1px;
    background-color: var(--border-color);
}

@media (min-width: 768px) {
    .divider { display: block; }
}

/* --- Theme Toggle --- */
.theme-toggle-wrapper {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.theme-btn {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover { transform: scale(1.1); }

/* Logic to hide/show icons based on theme */
.dark-icon { display: none; }
html.dark .light-icon { display: none; }
html.dark .dark-icon { display: block; }



/* 1. Responsive Container (16:9 Ratio) */
.video-wrapper {
    position: relative;
    height: auto;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px; /* Optional: Rounded corners */
}

/* 2. The Iframe itself */
.video-wrapper iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 3. The "Identity Hiding" Masks */
.video-mask {
    position: absolute;
    z-index: 10; /* Sits on top of the video */
    background: transparent; /* Invisible */
}

/* Blocks the Title and "Watch Later" buttons at the top */
.mask-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Covers the top bar */
}

/* Blocks the Vimeo/YouTube logo in the bottom right */
.mask-corner {
    bottom: 0;
    right: 0;
    width: 150px;
    height: 50px;
}
/* #students-learn {
	background: #F8F5F2;
} */
#students-learn .material-icons-outlined {
  font-size: 34px;
}
#students-learn .curriculum-grid {
  margin-top: 25px;
}

.section-header {
  text-align: center;
}
#custom-video-player {
  width: 60%;
  height: auto;
  margin: 25px auto;
}


/** SLIder */


/* Slider Layout */
.slider-wrapper {
    position: relative;
    overflow: hidden; 
    max-width: 1200px; /* Increased for 3 columns */
    margin: 0 auto;
    padding: 0 40px; /* Space for arrows */
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Responsive Column Logic */
.testimonial-card {
    flex: 0 0 100%; /* Mobile: 1 Column */
    box-sizing: border-box;
    padding: 15px;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%; /* Tablet: 2 Columns */
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 33.333%; /* Desktop: 3 Columns */
    }
}

/* Adjust Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.prev { left: 0; }
.next { right: 0; }


.hero-buttons .course-buttons a button {
	margin: 0 !important;
}


.course-buttons a:hover {
  border: none;
}
.course-buttons a {
  display: inline-block;
}
.sa-courses-lp-checkout-btn,
.course-buttons button {
  background-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  margin-bottom: 2rem !important;
  border-color: #435D59 !important;;
}
.learnpress-page .lp-button:hover,
.learnpress-page .course-buttons button.lp-button:hover{
  border-color: #435D59 !important;
  background-color: cvar(--primary-hover) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.guarantee-item p {
	margin: 0;
}
.hero-buttons .btn.btn-text {
	margin-bottom: 20px;
}



/** CUstom Section */
/* Header Styles */
.section-header { text-align: center; margin-bottom: 20px; }
.sa-footer-sec {
	padding-bottom: 45px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.dark-mode .section-title { color: var(--accent); }

.separator {
    width: 96px;
    height: 1px;
    background: rgba(45, 90, 84, 0.2);
    margin: 24px auto;
}

.section-description {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    margin-top: 40px;
    color: var(--primary);
}

.dark-mode .subtitle { color: var(--accent); }

/* Card & Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(45, 90, 84, 0.1);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dark-mode .glass-card {
    background: rgba(18, 25, 24, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: #0A201D;
}

.dark-mode .card-title { color: var(--accent); }

/* Video Preview */
.video-preview-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.video-preview-wrapper:hover .video-thumbnail { transform: scale(1.05); }

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-preview-wrapper:hover .video-overlay { background: rgba(0,0,0,0.1); }

.video-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}
.container {
    max-width: 900px;
    margin: 0 auto;
}
.overview-section {
    padding: 60px 20px 50px;
}


/* Play Button Animation */
.play-button-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-btn span { color: white; font-size: 3rem; padding-left: 5px; }

.video-preview-wrapper:hover .play-btn { transform: scale(1.1); }

.ping-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Button & Footer */
.card-footer { text-align: center; margin-top: 30px; }

.cta-text { font-style: italic; margin-bottom: 24px; opacity: 0.8; }

.single-content-wrap {
  position: relative;
  z-index: 9;
}

.features-bar, .overview-section, #students-learn, .sa-footer-sec {
  position: relative;
  z-index: 999;
  overflow: hidden;
}
.features-bar:before, .overview-section:before, #students-learn:before, .sa-footer-sec:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  opacity: .3
}
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover { background: #234742; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.btn-primary:active { transform: scale(0.95); }

.theme-switcher { position: fixed; top: 16px; right: 16px; z-index: 100; }
.theme-switcher button {
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.main-footer { margin-top: 48px; text-align: center; opacity: 0.4; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }


@media all and (max-width: 768px){
  
#custom-video-player {
    width: 95%;
}
.ast-container {
	width: 100% !important;
	max-width: 100%;
	padding: 0;
}
.feature-item {
  width: 320px;
  justify-content: start;
}
.container.features-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-section .container {
  padding: 0;
}
.glass-card .card-title {
  font-size: 19px;
  margin-bottom: 15px;
}
.glass-card {
  padding: 30px 20px;
}
.video-title {
  font-size: 14px;
}
.play-btn span {
  font-size: 32px;
  padding: 0;
}
.play-btn {
  width: 60px;
  height: 60px;
}
.cta-text {
	font-size: 14px;
}
}
@media all and (max-width: 450px){
  
#custom-video-player {
    width: 100%;
  margin-top: 15px;
  margin-bottom: 12px;
}
}


/** video Model */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 25, 24, 0.9); /* Matching your dark theme */
    backdrop-filter: blur(15px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

/* Modal Content Box */
.modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* 16:9 Aspect Ratio Container */
.video-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 550px;
	padding: 0;
	position: relative;
}

#videoPlayerPlaceholder {
  width: 100%;
  height: 100%;
}

.video-container iframe, .video-container video {
	aspect-ratio: 16/9;
	width: 100%;
	height: 100%;
	position: relative;
}
.overlay-content {
	text-align: center;
}
/* Close Button */
.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: opacity 0.3s;
}

.modal-close:hover { opacity: 0.7; }

@media (max-width: 768px) {
    .modal-close { top: -40px; }
}
.ast-container {
	width: 100% !important;
	max-width: 100%;
	padding: 0;
}

























