:root {
    --primary-color: #4A1F4E;
    /* Deep Purple */
    --secondary-color: #E3141F;
    /* Bright Red */
    --secondary-hover: #B50E19;
    /* Dark Red */
    --accent1-color: #F9D34C;
    /* Bright Yellow */
    --accent2-color: #F4A641;
    /* Golden Yellow */
    --base-light: #FEFEFE;
    --base-light-gray: #F5F5F5;
    --base-dark: #2B2B2B;
    /* Charcoal Gray */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--base-light-gray);
    color: var(--base-dark);
}

.font-headline {
    font-family: 'Montserrat', sans-serif;
}

.font-decorative {
    font-family: 'Playfair Display', serif;
}

.hero-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6a2e70 100%);
    position: relative;
    overflow: hidden;
}

.section-heading {
    font-size: 2.25rem;
    /* text-4xl */
    line-height: 2.5rem;
    font-weight: 700;
    /* font-bold */
    text-align: center;
    /* text-center */
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 3rem;
        /* md:text-5xl */
        line-height: 1;
    }
}

.section-subheading {
    margin-top: 1rem;
    /* mt-4 */
    font-size: 1.125rem;
    /* text-lg */
    line-height: 1.75rem;
    text-align: center;
    /* text-center */
    max-width: 42rem;
    /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    color: var(--base-dark);
    opacity: 0.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    /* px-8 py-3 */
    border-radius: 9999px;
    /* rounded-full */
    font-weight: 700;
    /* font-bold */
    font-size: 0.875rem;
    /* text-sm */
    text-transform: uppercase;
    /* uppercase */
    letter-spacing: 0.025em;
    /* tracking-wide */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    /* shadow-lg */
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(227, 20, 31, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(74, 31, 78, 0.4);
}

.btn-secondary-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(255, 255, 255, 0.3);
}

/* Animation styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3D card hover effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(2deg) rotateX(2deg) scale(1.03);
}

/* Sticky Button */
#sticky-enroll-btn {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    background-color: var(--secondary-color);
}

#sticky-enroll-btn:hover {
    background-color: var(--secondary-hover);
}

/* Transparent Header Scroll Effect */
header {
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

header .nav-item,
header #mobile-menu-btn {
    transition: color 0.4s ease-in-out;
}

header .logo-text {
    transition: color 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

header:not(.scrolled) .nav-item,
header:not(.scrolled) #mobile-menu-btn {
    color: white;
}

header:not(.scrolled) .logo-text {
    opacity: 0;
    pointer-events: none;
}

header.scrolled {
    background-color: rgba(245, 245, 245, 0.85);
    /* Light Gray Transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled .nav-item {
    color: var(--base-dark);
}

header.scrolled .nav-item:hover {
    color: var(--secondary-color);
}

header.scrolled #mobile-menu-btn {
    color: var(--primary-color);
}

header.scrolled .logo-text {
    color: var(--primary-color);
    opacity: 1;
}

/* Background Ripple Effect */
#ripple-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    width: 100%;
    height: 100%;
}

.grid-cell {
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 1s ease;
}

.grid-cell:hover {
    background-color: rgba(249, 211, 76, 0.15);
    /* --accent1-color with alpha */
    transition-duration: 0.1s;
}

#plexus-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Text Hover Outline Effect */
.text-hover-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    transition: color 0.5s ease, text-shadow 0.5s ease, -webkit-text-stroke 0.5s ease;
    cursor: pointer;
}

.text-hover-outline:hover {
    color: rgba(255, 255, 255, 0.05);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.image-hover-shadow {
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.image-hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ─── Mentor / Guest Cards ─────────────────────────────────────────── */
.mentor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.mentor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(74, 31, 78, 0.15);
    border-color: var(--primary-color);
}

/* Perfect circle image wrapper — always 140×140 px */
.mentor-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(74, 31, 78, 0.25);
}

.mentor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.mentor-info {
    margin-top: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
}

.mentor-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--base-dark);
    line-height: 1.3;
}

.mentor-role {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
}

/* ─── Registration Sections ─────────────────────────────────────────── */

/* Heading watermark */
.reg-heading-wrap {
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

.reg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: rgba(74, 31, 78, 0.07);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.reg-heading-wrap h2 {
    position: relative;
    z-index: 1;
}

/* Red underline accent */
.reg-underline {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* White form card */
.reg-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Two-column flex row inside the form */
.reg-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.reg-field {
    flex: 1 1 calc(50% - 0.625rem);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.reg-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--base-dark);
    letter-spacing: 0.01em;
}

/* Pill-style inputs & selects */
.reg-input {
    width: 100%;
    padding: 0.65rem 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    background: #f5f5f7;
    font-size: 0.9rem;
    color: var(--base-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.reg-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 31, 78, 0.12);
    background: #fff;
}

.reg-input::placeholder {
    color: #aab0bb;
}

/* Select arrow */
.reg-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Full-width register button */
.reg-btn {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    background-color: #1a56db;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.35);
}

.reg-btn:hover {
    background-color: #1648c0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.45);
}

/* Side info panel */
.reg-info-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.reg-info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--base-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.reg-info-body {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.reg-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reg-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.reg-info-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Responsive: stack to single column on mobile */
@media (max-width: 640px) {
    .reg-field {
        flex: 1 1 100%;
    }
    .reg-watermark {
        font-size: 3.5rem;
    }
}

/* ─── WhatsApp Floating Button ──────────────────────────────────────── */
#wa-float-btn {
    position: fixed;
    bottom: 5.5rem;       /* sits above the sticky Enroll Now button */
    right: 1.4rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    /* Hidden by default */
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

/* Visible state — toggled by JS */
#wa-float-btn.wa-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

#wa-float-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
}

/* Pulse ring animation */
.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.7);
    animation: wa-pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Tooltip label */
.wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #1a1a1a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Arrow on the tooltip */
.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a1a1a;
}

#wa-float-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ─── Contact Us Section ─────────────────────────────────────────────── */

.contact-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

/* Contact info cards */
.contact-card {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(74, 31, 78, 0.14);
    border-color: rgba(74, 31, 78, 0.25);
}

/* Gradient icon circle */
.contact-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.contact-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--base-dark);
    margin-top: 0.2rem;
}

.contact-card-sub {
    font-size: 0.8rem;
    color: #8890a0;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.2s;
}

.contact-card-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Social circle buttons in contact section */
.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.contact-social-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

