/*
  Theme: Dynamic Tech
  Palette: Purple & Coral Fusion
  - Primary: #6A0DAD (Deep Purple)
  - Accent: #FF5733 (Vibrant Orange/Coral)
  - Dark Text: #2c3e50 (Dark Slate)
  - Light BG: #f8f9fa (Off-white)
  - Border: #e0e0e0
*/

:root {
    --primary-color: #6A0DAD;
    --accent-color: #FF5733;
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --bg-light-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --text-color: #34495e;
    --footer-bg: #2c3e50;
    --footer-text: #bdc3c7;
}
* {
    box-sizing: border-box;
}
/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

.section-light {
    background-color: var(--bg-light-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 16px;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.text-center {
    text-align: center;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #e64a19;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--primary-color);
    text-decoration: none;
}
.logo:hover {
    text-decoration: none;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.desktop-nav a {
    color: var(--dark-color);
    font-weight: 500;
}
.desktop-nav a:hover {
    color: var(--accent-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--light-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}
.mobile-nav a {
    display: block;
    width: 100%;
    color: var(--dark-color);
    font-weight: 500;
}

/* Hero Section: split-color */
.hero-split-color {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}
.hero-content-area {
    background-color: var(--primary-color);
    color: white;
    padding: 48px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.hero-text-wrapper {
    max-width: 600px;
}
.hero-title {
    color: white;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
}
.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}
.hero-image-area {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}
.hero-content-area .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid #fff;
}
.hero-content-area .btn-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* Benefits Section: 2x2 Grid */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    background-color: var(--light-color);
}
.card-title {
    color: var(--primary-color);
}

/* Accordion FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-color);
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 24px 18px;
    border-top: 1px solid var(--border-color);
}

/* Expert Block */
.expert-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.expert-image-container {
    max-width: 300px;
    margin: 0 auto;
}
.expert-image {
    border-radius: 16px;
}
.expert-quote {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 24px;
}
.expert-signature {
    text-align: right;
}

/* Testimonials List */
.testimonials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial-item {
    background: var(--bg-light-alt);
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    margin-top: 16px;
}

/* Quote Highlight Section */
.quote-highlight-section {
    background-color: var(--primary-color);
    color: white;
    padding: 64px 0;
    text-align: center;
}
.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.quote-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -40px;
    left: 0;
}
.quote-text {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-style: italic;
    margin-bottom: 24px;
}
.quote-author {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Page Hero */
.page-hero {
    background-color: var(--bg-light-alt);
    text-align: center;
    padding-top: 64px;
    padding-bottom: 64px;
}
.page-title { color: var(--primary-color); }
.page-subtitle { max-width: 700px; margin: 0 auto; }

/* Timeline (Program Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    padding-left: 50px;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 21px;
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent-color);
    background-color: white;
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    padding: 20px;
    background: var(--bg-light-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
}
.timeline-content h3 { color: var(--primary-color); }

/* Image Integration (Program Page) */
.integration-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.integration-image img {
    border-radius: 12px;
}

/* Vertical Storytelling (Mission Page) */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}
.story-image-container img {
    border-radius: 16px;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}
.contact-info-card {
    background: var(--bg-light-alt);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}
.contact-info-card h4 { color: var(--primary-color); }

/* Legal & Thank You Pages */
.legal-page h2 { margin-top: 2em; }
.legal-page ul { padding-left: 20px; }
.thank-you-section { padding: 80px 0; }
.thank-you-divider {
    height: 2px;
    width: 100px;
    background: var(--accent-color);
    margin: 32px auto;
}
.next-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}
.next-step-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}
.next-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    text-decoration: none;
}
.next-step-card h3 { color: var(--primary-color); }

/* Footer */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-heading {
    color: #fff !important;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.footer-column p {
    margin-bottom: 10px;
    color: var(--footer-text) !important;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--footer-text) !important;
}
.footer-links a:hover {
    color: #fff !important;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 0;
    color: var(--footer-text) !important;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--dark-color);
    color: white;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}
.cookie-btn-accept { background-color: var(--accent-color); color: white; }
.cookie-btn-decline { background-color: #555; color: white; }

/* Media Queries (Mobile First) */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger, .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .hero-split-color { flex-direction: row; }
    .hero-content-area { padding: 64px 24px; }
    .benefits-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
    .expert-block { grid-template-columns: 300px 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .integration-wrapper { grid-template-columns: 1fr 1fr; }
    .story-block { grid-template-columns: 1fr 1fr; }
    .story-block.reverse .story-image-container { order: 2; }
    .contact-layout { grid-template-columns: 3fr 2fr; }
    .next-steps-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .testimonials-list { grid-template-columns: repeat(3, 1fr); }
}