/* ==========================================================================
   CSS Variables & Base Setup
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #041028; /* Deep Navy Blue */
    --bg-secondary: #0a1f42; /* Slightly Lighter Navy */
    --bg-accent: rgba(220, 166, 88, 0.08);
    --bg-accent-hover: rgba(220, 166, 88, 0.12);
    
    --text-primary: #e8e8e8;
    --text-secondary: #b0c0d0; /* Muted blue-grey for secondary text */
    --text-accent: #f5b75a; /* Bright Gold from Screenshot */
    --text-dark: #041028;
    
    --border-color: rgba(245, 183, 90, 0.3);
    --border-light: rgba(245, 183, 90, 0.15);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Arial', sans-serif; /* Fallback closer to screenshot */
    
    /* Transitions */
    --transition-standard: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0f1419 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.highlight {
    color: var(--text-accent);
    font-weight: 600;
}

.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 10 Reasons Grid Layout */
.grid-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    background: rgba(4, 16, 40, 0.98); /* Update to deeper blue */
    border-bottom: 1px solid var(--border-light);
    padding: 15px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

nav .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav .logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

nav .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--text-accent);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-accent);
    color: var(--text-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 4px; /* Slight rounding like the screenshot */
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-transform: capitalize; /* Screenshot uses title case 'Visit Website' */
    letter-spacing: 0.5px;
    transition: var(--transition-standard);
    margin: 10px;
    font-family: var(--font-body);
}

.cta-button:hover {
    background: #ffc977; /* Lighter gold on hover */
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(245, 183, 90, 0.3);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: rgba(245, 183, 90, 0.1);
    border: 1px solid var(--text-accent);
    color: var(--text-accent);
}

.cta-button.secondary:hover {
    background: rgba(245, 183, 90, 0.2);
    color: var(--text-accent);
    box-shadow: 0 0 15px rgba(245, 183, 90, 0.2);
}

/* ==========================================================================
   Sections & Layout
   ========================================================================== */
.section {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-light);
}

.section.alt-bg {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.03) 0%, rgba(212, 165, 116, 0.01) 100%);
    max-width: 100%;
}

.section.alt-bg > div,
.section.alt-bg > h2 {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.section h2 {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
}

.section h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #061536 100%); /* Deeper blue */
    color: white;
    padding: 160px 60px 100px; /* Tweak padding for header spacing */
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

/* Advanced Neuro-Web & Glowing Synapses Background */

#neuro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to text/buttons */
}

/* Subtle underlying pulses to complement canvas */
.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 10% 20%, rgba(245, 183, 90, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 80% 50%, rgba(41, 121, 255, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(245, 183, 90, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(41, 121, 255, 0.05) 0%, transparent 25%);
    z-index: 0;
    animation: neuro-pulse 20s ease-in-out infinite alternate;
}

@keyframes neuro-pulse {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.5;}
    50% { opacity: 1; }
    100% { transform: scale(1.05) translate(-1%, -1%) rotate(1deg); opacity: 0.5;}
}

.hero .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero .logo-badge {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(245, 183, 90, 0.3)); /* Gold shadow */
    animation: floating 4s ease-in-out infinite;
}

.hero h1 {
    font-size: 54px; /* Reduced for better balance with the new title */
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.hero .subtitle {
    font-size: 48px; /* Larger, Gold */
    color: var(--text-accent);
    margin-bottom: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.hero .tagline {
    font-size: 11px;
    color: var(--text-accent); /* Make it Gold to match screenshot's top date text */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 800px; /* Constrain width of hero text like the screenshot */
    margin-left: auto;
    margin-right: auto;
}

.hero .hero-desc {
    display: none; /* Hide the boxy description to match screenshot look */
}

.hero .cta-container {
    margin-top: 50px;
}

/* ==========================================================================
   Components: Cards, Lists, Testimonials
   ========================================================================== */
.card {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition-standard);
    height: 100%;
}

.card:hover {
    border-color: rgba(212, 165, 116, 0.5);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.15);
    background: var(--bg-accent-hover);
    transform: translateY(-5px);
}

.card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Reason Cards specific styles */
.reason-card {
    display: flex;
    flex-direction: column;
}

.reason-card .reason-number {
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: rgba(212, 165, 116, 0.2);
    line-height: 1;
    margin-bottom: 15px;
    transition: var(--transition-standard);
}

.reason-card:hover .reason-number {
    color: var(--text-accent);
}

.reason-card h4 {
    font-size: 17px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.col-title {
    color: var(--text-accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Lists */
.styled-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.styled-list li {
    margin-bottom: 12px;
    color: var(--text-accent);
}

.list-item {
    margin-bottom: 28px;
    padding-left: 30px;
    position: relative;
}

.list-item::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-weight: 800;
    font-size: 18px;
}

.list-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.list-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Detailed Course List */
.course-list {
    padding: 10px 0;
}

.course-list li {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.course-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.course-list strong {
    color: var(--text-accent);
    font-size: 15px;
    display: inline-block;
    margin-bottom: 2px;
}

.course-list .tcole-num {
    color: #4a90e2; /* Subtle blue for TCOLE numbers to establish credibility */
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Testimonials */
.testimonial {
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 50px 60px;
    text-align: center;
    margin: 60px 0;
    border-radius: 2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.testimonial h3, .testimonial strong {
    color: var(--text-accent);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-size: 18px;
    display: block;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-container {
    overflow-x: auto;
    margin: 50px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    background: rgba(212, 165, 116, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.comparison-table th {
    background: rgba(212, 165, 116, 0.15);
    color: var(--text-accent);
    padding: 20px;
    text-align: left;
    font-weight: 700;
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 14px;
}

.comparison-table td {
    padding: 18px 20px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    color: var(--text-secondary);
    font-size: 14px;
}

.comparison-table tr:nth-child(even) {
    background: rgba(212, 165, 116, 0.05);
}

.comparison-table .stars-col {
    background: rgba(212, 165, 116, 0.12);
    font-weight: 700;
    color: var(--text-accent);
}

.comparison-table .check {
    color: var(--text-accent);
    font-weight: 800;
    font-size: 18px;
    margin-right: 5px;
}

.comparison-table .x {
    color: #555;
    font-weight: 800;
    font-size: 18px;
    margin-right: 5px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 25px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: rgba(212, 165, 116, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.25);
    border-radius: 2px;
    padding: 18px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-standard);
}

.faq-question:hover {
    background: var(--bg-accent-hover);
    border-color: rgba(212, 165, 116, 0.4);
}

.faq-question.active {
    background: var(--bg-accent-hover);
    border-color: rgba(212, 165, 116, 0.5);
}

.faq-question:focus {
    outline: 2px solid var(--text-accent);
    outline-offset: 2px;
}

.toggle-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 25px;
    background: rgba(212, 165, 116, 0.03);
    border-left: 3px solid var(--text-accent);
    margin-top: 10px;
    margin-bottom: 0; /* Override default p margin */
}

/* ==========================================================================
   CTA Section & Footer
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 2px solid rgba(212, 165, 116, 0.25);
    border-bottom: 2px solid rgba(212, 165, 116, 0.25);
    color: white;
    padding: 100px 60px;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 30px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    margin-top: 50px;
    font-size: 13px;
    letter-spacing: 1px;
}

.contact-info p {
    margin: 12px 0;
    text-transform: uppercase;
    color: var(--text-accent);
    font-weight: 600;
}

footer {
    background: rgba(0, 0, 0, 0.6);
    color: #666;
    padding: 40px 60px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid var(--border-light);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 165, 116, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0); }
}

.pulse {
    animation: pulse-shadow 2s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    nav .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 24px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 12px 10px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Injecting Advanced Animations for New Graphics
   ========================================================================== */

@keyframes floatSlow {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); box-shadow: 0 20px 40px rgba(245, 183, 90, 0.4); }
    100% { transform: translateY(0px) scale(1); }
}

@keyframes floatDelay {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); box-shadow: 0 20px 40px rgba(41, 121, 255, 0.4); }
    100% { transform: translateY(0px) scale(1); }
}

.floating {
    animation: floatSlow 6s ease-in-out infinite;
    transition: all 0.5s ease;
}

.floating:hover {
    transform: translateY(-20px) scale(1.05);
    animation-play-state: paused;
}

.floating-delay {
    animation: floatDelay 7s ease-in-out infinite;
    animation-delay: 1s;
    transition: all 0.5s ease;
}

.floating-delay:hover {
    transform: translateY(-20px) scale(1.05);
    animation-play-state: paused;
}

/* ==========================================================================
   CTA & Contact Section
   ========================================================================== */
.cta-section {
    padding: 100px 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(4, 16, 40, 0) 0%, rgba(220, 166, 88, 0.05) 100%);
    border-top: 1px solid var(--border-light);
}

.cta-section h2 {
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-info {
    margin-top: 50px;
}

.contact-info p {
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--text-accent);
    font-size: 14px;
}
