/* =========================================================================
   MegaTech Technologies Academy
   Main Stylesheet - css/style.css
   ========================================================================= */

/* ---------- CSS Variables / Colour System ---------- */
:root {
    /* Brand colours */
    --primary: #102747;          /* Deep Navy Blue */
    --secondary: #2457A7;        /* Royal Blue */
    --accent: #00BCEB;           /* Bright Cyan */

    --bg: #FFFFFF;               /* Clean White */
    --bg-section: #F3F6FA;       /* Very Light Blue-Grey */
    --bg-dark: #102747;

    --text-main: #172B45;        /* Dark Navy */
    --text-muted: #667085;       /* Muted Grey */
    --text-light: #FFFFFF;

    /* Status colours */
    --success: #12B76A;
    --warning: #F79009;
    --error: #F04438;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(16, 39, 71, 0.08);
    --shadow-md: 0 4px 16px rgba(16, 39, 71, 0.10);
    --shadow-lg: 0 12px 40px rgba(16, 39, 71, 0.14);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --transition: 0.3s ease;
    --max-width: 1200px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- Layout Helpers ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(36, 87, 167, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.section-subtitle {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.section-subtitle.emphasis {
    color: var(--secondary);
    font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: var(--secondary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-light);
}

.btn-ghost {
    background: transparent;
    color: var(--secondary);
    border-color: rgba(36, 87, 167, 0.25);
    padding: 10px 20px;
    font-size: 0.92rem;
}

.btn-ghost:hover {
    background: rgba(36, 87, 167, 0.06);
    border-color: var(--secondary);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 11px 22px;
    font-size: 0.92rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* =========================================================================
   HEADER / NAVIGATION
   ========================================================================= */
#header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid rgba(16, 39, 71, 0.08);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

#header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
    background: rgba(36, 87, 167, 0.06);
}

.nav-cta {
    background: var(--secondary);
    color: var(--text-light);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary);
    color: var(--text-light);
}

.nav-link.active {
    color: var(--secondary);
    font-weight: 600;
}

.nav-cta.active {
    color: var(--text-light);
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-btn.open .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-btn.open .menu-bar:nth-child(2) {
    opacity: 0;
}
.menu-btn.open .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a66 50%, var(--secondary) 100%);
    color: var(--text-light);
    padding: 80px 0 96px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 188, 235, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.18rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
    line-height: 1.4;
}

.hero-intro {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 14px;
    line-height: 1.6;
}

.hero-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.indicator-icon {
    font-size: 1rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--accent);
}

.badge-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.badge-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-section {
    background: var(--bg);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-text p,
.trainer-text p {
    margin-bottom: 18px;
    color: var(--text-main);
    font-size: 1.02rem;
    line-height: 1.65;
}

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* =========================================================================
   CURRICULUM / DAY CARDS
   ========================================================================= */
.curriculum-section {
    background: var(--bg-section);
}

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

.day-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 39, 71, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.day-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.day-card-header {
    padding: 28px 24px;
    color: var(--text-light);
    position: relative;
}

.day-one {
    background: linear-gradient(135deg, #102747 0%, #2457A7 100%);
}
.day-two {
    background: linear-gradient(135deg, #2457A7 0%, #00BCEB 100%);
}
.day-three {
    background: linear-gradient(135deg, #102747 0%, #0a4a7a 100%);
}

.day-number {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.day-title {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.day-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.day-card-body {
    padding: 24px;
    flex: 1;
}

.day-card-body p {
    color: var(--text-main);
    margin-bottom: 18px;
    line-height: 1.6;
}

.topics-heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary);
    margin-bottom: 12px;
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.topics-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.topics-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* =========================================================================
   WHAT YOU WILL GAIN
   ========================================================================= */
.gains-section {
    background: var(--bg);
}

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

.gain-card {
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.gain-card:hover {
    background: var(--bg);
    border-color: rgba(0, 188, 235, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.gain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(36, 87, 167, 0.08);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.gain-card p {
    font-size: 0.96rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* =========================================================================
   FREE COURSES SHOWCASE
   ========================================================================= */
.courses-section {
    background: var(--bg-section);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.course-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 39, 71, 0.06);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.course-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.course-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}

.course-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.course-subtitle-line {
    font-size: 0.9rem;
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 12px;
}

.course-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.course-meta-grid strong {
    color: var(--text-main);
}

.course-desc {
    font-size: 0.94rem;
    color: var(--text-main);
    line-height: 1.55;
    margin-bottom: 16px;
}

.course-toggle {
    align-self: flex-start;
    margin-bottom: 14px;
}

.course-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-bottom: 0;
}

.course-details.open {
    max-height: 1200px;
    margin-bottom: 18px;
}

.course-details h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin: 16px 0 10px;
}

.course-details h4:first-child {
    margin-top: 0;
}

.course-details ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 8px;
}

.course-details ul li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.course-details ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.course-download {
    margin-top: auto;
    align-self: stretch;
}

.course-download.placeholder {
    background: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.75;
}

.course-download.placeholder::after {
    content: " (link coming soon)";
    font-size: 0.78rem;
    font-weight: 500;
}

/* ---------- Download Notice ---------- */
.download-notice {
    background: linear-gradient(135deg, #eaf3fb 0%, #f3f6fa 100%);
    border: 1px solid rgba(36, 87, 167, 0.18);
    border-left: 5px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
}

.notice-icon {
    font-size: 2.6rem;
    text-align: center;
    line-height: 1;
}

.notice-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.notice-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-main);
}

.notice-password {
    background: var(--primary);
    color: var(--text-light);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    display: inline-block;
    font-size: 1.02rem;
}

.notice-content h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0 10px;
}

.notice-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.notice-links a {
    color: var(--secondary);
    font-weight: 600;
    word-break: break-all;
}

.notice-links a:hover {
    text-decoration: underline;
}

.notice-steps {
    padding-left: 24px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notice-steps li {
    line-height: 1.6;
}

.notice-note {
    background: rgba(247, 144, 9, 0.08);
    border-left: 3px solid var(--warning);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.notice-thanks {
    color: var(--secondary);
    font-weight: 600;
    margin-top: 14px;
}

/* =========================================================================
   TRAINER
   ========================================================================= */
.trainer-section {
    background: var(--bg);
}

.trainer-col {
    align-items: center;
}

.trainer-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.trainer-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.trainer-name-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(16, 39, 71, 0.88);
    color: var(--text-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
}

.trainer-name-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.trainer-name-card span {
    font-size: 0.86rem;
    color: var(--accent);
}

/* =========================================================================
   REQUIREMENTS
   ========================================================================= */
.requirements-section {
    background: var(--bg-section);
}

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

.req-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 39, 71, 0.06);
    position: relative;
    transition: transform var(--transition);
}

.req-card:hover {
    transform: translateY(-4px);
}

.req-required {
    border: 2px solid var(--secondary);
    box-shadow: 0 8px 24px rgba(36, 87, 167, 0.18);
}

.req-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
}

.req-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(36, 87, 167, 0.08);
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.req-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.req-card p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* =========================================================================
   POST-TRAINING SUPPORT
   ========================================================================= */
.support-section {
    background: var(--bg);
}

.support-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.support-text p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--text-main);
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.96rem;
    color: var(--text-main);
    line-height: 1.5;
}

.support-list li::before {
    content: "💬";
    position: absolute;
    left: 0;
    top: 0;
}

.support-visual {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    color: var(--text-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.support-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
}

.support-visual h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.support-visual p {
    font-size: 0.94rem;
    opacity: 0.92;
    line-height: 1.5;
}

/* =========================================================================
   TRAINING DETAILS
   ========================================================================= */
.details-section {
    background: var(--bg-section);
}

.details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.details-panel {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 8px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 39, 71, 0.06);
}

.detail-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(16, 39, 71, 0.06);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-main);
    font-size: 0.96rem;
}

.fee-panel {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.fee-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 10px;
}

.fee-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.fee-note {
    display: block;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

.fee-panel .btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.fee-panel .btn-primary:hover {
    background: #fff;
}

.fee-panel .btn-whatsapp {
    margin-top: 12px;
}

/* =========================================================================
   REGISTER FORM
   ========================================================================= */
.register-section {
    background: var(--bg);
}

.register-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

.register-form-wrap {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(16, 39, 71, 0.06);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select {
    padding: 13px 16px;
    border: 1.5px solid rgba(16, 39, 71, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(36, 87, 167, 0.12);
}

.form-group input.invalid {
    border-color: var(--error);
}

.form-error {
    font-size: 0.82rem;
    color: var(--error);
    min-height: 1em;
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

.register-contact {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a66 100%);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    color: var(--text-light);
    text-align: center;
}

.register-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.register-contact p {
    font-size: 0.92rem;
    opacity: 0.85;
    margin-bottom: 22px;
    line-height: 1.5;
}

.register-contact .btn-whatsapp {
    margin-bottom: 18px;
}

.register-phone {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.96rem;
}

.register-phone:hover {
    text-decoration: underline;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-section {
    background: var(--bg-section);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 39, 71, 0.08);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item.open {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background var(--transition);
}

.faq-question:hover {
    background: rgba(36, 87, 167, 0.04);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--secondary);
    border-radius: 2px;
    transition: transform var(--transition);
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2.5px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 0;
    width: 2.5px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 48px 0;
    text-align: center;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-course {
    font-size: 0.96rem;
    opacity: 0.85;
    margin-bottom: 8px;
}

.footer-location,
.footer-phone {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 6px;
}

.footer-phone a {
    color: var(--accent);
    font-weight: 600;
}

.footer-phone a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.84rem;
    opacity: 0.6;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* =========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulseRing 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-icon {
    font-size: 1.7rem;
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
