/* CSS Reset & Variables */

html, body {
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d32f2f; /* Action Red */
    --primary-hover: #b71c1c;
    --dark-bg: #121212;
    --section-bg: #1e1e1e;
    --text-light: #f5f5f5;
    --text-muted: #aaaaaa;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
}

/* Navigation */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1564415315949-7a0c4c73aab4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(18,18,18,1));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

.hero-btn {
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* Social Proof */
.social-proof {
    background-color: var(--primary-color);
    padding: 20px 0;
    text-align: center;
}

.proof-container p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Programs Grid */
.programs-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--section-bg);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-muted);
}

/* Why Us Section */
.why-us {
    background-color: var(--section-bg);
    padding: 80px 20px;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-container h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.feature {
    flex: 1;
    min-width: 250px;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real site, add a hamburger menu */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .features {
        flex-direction: column;
    }
}

/* Schedule Section */
.schedule-section {
    background-color: var(--dark-bg);
    padding: 80px 20px;
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
}

.table-responsive {
    width: 100%;
    display: block; /* Crucial for proper horizontal scrolling */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--section-bg);
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Gives columns enough room to breathe */
    white-space: nowrap; /* Prevents awkward text stacking in cells */
}

.schedule-table th,
.schedule-table td {
    padding: 18px 20px;
    text-align: left; /* Left align is much cleaner for schedules */
    border-bottom: 1px solid #333;
}

.schedule-table th {
    background-color: #252525;
    color: var(--primary-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Make the Time column sticky on mobile scroll */
.schedule-table td:first-child,
.schedule-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    border-right: 1px solid #333;
}

.schedule-table td:first-child {
    background-color: var(--section-bg);
    color: var(--primary-color);
    font-weight: 600;
}

.schedule-table th:first-child {
    background-color: #252525;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Maintain hover effect on the sticky column */
.schedule-table tr:hover td:first-child {
    background-color: #2a2a2a;
}

/* Pricing Section */
.pricing-section {
    /* Alternating background color for visual separation */
    background-color: var(--dark-bg); 
    padding: 80px 20px;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center; /* Vertically aligns the cards so the middle one can pop out */
}

.pricing-card {
    background-color: var(--section-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Featured / Most Popular Tier Styling */
.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.15);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Secondary Button Style */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

#copdorsed {
	color: #d32f2f;
}

/* Mobile Pricing Adjustments */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--section-bg);
    padding: 80px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info-card,
.contact-form {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}

.contact-info-card h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-sub {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-item a,
.info-item p {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Social Media Links */
.social-links-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.social-links-container h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

/* Contact Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, outline 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}