/*GLOBAL*/

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

:root {
    --image-blur: rgba(0, 0, 0, 0.5);
    --bar-width: 30px;
    --bar-height: 3px;
    --bar-spacing: 5px;
    --bar-color: black;
    --transition-duration: 0.3s ease-in-out;
    --header-height: 5rem;
    --shadow-title: 5px;
    --shadow-tagline: 1px;
    --colour-black: black;
    --colour-white: white;
    --colour-grey: hsl(0, 0%, 40%)
}

:root {
    --primary-bg: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    --secondary-bg: rgba(45, 45, 45, 0.95);
    --accent-red: #dc2626;
    --accent-gold: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.3);
    --shadow-dark: 0 10px 25px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 4rem;
}

body {
    font-family: 'Comic Sans MS', 'Trebuchet MS', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    text-align: center;
    overflow-x: hidden;
}

body {
    background-attachment: fixed;
    color: var(--text-primary);
}

div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #CDD1DE;
}

h2 {
    color: #fbb034;
}

p {
    text-align: center;
}

a {
    text-align: center;
}

/*HEADER*/

header {
    background: rgba(26, 32, 44, 0.95);
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: end;
    background-color: transparent;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 0;
    padding: 1rem 2rem;
    position: fixed;
    height: var(--header-height);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 0;
}

nav {
    position: relative;
    width: auto;
    background-color: transparent;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}


.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fbb034;
}


.nav-links a:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

nav a {
    color: black;
    font-weight: 300;
    transition: 0.5s ease;
    text-decoration: none;
    font-size: 2rem;
    display: block;
}

nav a:hover {
    color: red;
    text-decoration: underline;
    transform: scale(1.06)
}

#nav-toggle {
    display: none;
}

.nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    background-color: transparent;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    transform: scaleX(0);
    /*Scale Y to drop down, Scale X to slide across*/
    transform-origin: right;
    /*Transform 'top' to drop down, transform 'right' to slide across*/
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: calc(100vh - 5rem);
    width: 50vw;
    /*This is an important aspect of how it looks*/
    max-height: 50vh;
    /*This is another key property that can be tweaked*/
    box-sizing: border-box;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5em;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: var(--bar-spacing);
    gap: 4px;
    position: relative;
    cursor: pointer;
    width: max-content;
}

.menu-btn span {
    display: block;
    height: var(--bar-height);
    width: var(--bar-width);
    background-color: var(--bar-color);
    border-radius: 3px;
    transition: all var(--transition-duration) ease;
    /* Added 'all' for smoother transition */
    transform-origin: center;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    transition: var(--transition);
}

.menu-btn input {
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
}

#nav-toggle:checked~label span:first-of-type {
    transform: translateY(calc(var(--bar-spacing) + var(--bar-height))) rotate(45deg);
}

#nav-toggle:checked~label span:nth-of-type(2) {
    opacity: 0;
}

#nav-toggle:checked~label span:last-of-type {
    transform: translateY(calc(-1 * (var(--bar-spacing) + var(--bar-height)))) rotate(-45deg);
}

#nav-toggle:checked~.nav-links {
    transform: scaleY(1);
    opacity: 1;
}

header:has(#nav-toggle:checked) {
    border-bottom: none;
}

/* HERO */

.hero {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: black;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    width: 100%;
    min-height: 100vh;
    text-wrap: pretty;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fbb034, #ed8936, #f56565);
    opacity: 0.2;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.key-stats {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    padding: 120px 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-intro {
    font-size: 1.2rem;
    color: #fbb034;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: slideDown 1s ease-out;
}

.hero h1 {
    font-size: 3rem;
    text-wrap: pretty;
    margin: 1rem;
    background: linear-gradient(135deg, #fbb034, #ed8936, #f56565);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(251, 176, 52, 0.5);
    animation: slideUp 1s ease-out 0.3s both;
}

.hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #cbd5e0;
    animation: slideUp 1s ease-out 0.6s both;
}

.brain-power-logo {
    width: 100vw;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease-out 0.9s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #fbb034;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-wrap: pretty;
}

.hero-cta {
    animation: slideUp 1s ease-out 1.2s both;
}

.cta-button {
    background: linear-gradient(135deg, #f56565, #ed8936);
    color: white;
    padding: 18px 40px;
    margin: 18px 40px;
    text-decoration: none;
    text-align: center;
    border-radius: 35px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.3);
    display: inline-block;
    align-items: center;
    gap: 10px;
    width: 50vw;
    min-width: 250px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 101, 101, 0.4);
}

/* SERVICES */

.services {
    padding: 3rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    margin: 1rem;
    color: #2d3748;
    font-weight: bold;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #718096;
    max-width: 600px;
    margin: 1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.service-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    border: 3px solid #fbb034;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 90%;
    max-width: 90%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fbb034, #ed8936, #f56565);
    opacity: 0.1;
    transition: opacity 0.3s;
    z-index: 1;
    height: 100%;
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: bold;
    text-wrap: pretty;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-price {
    background: #fbb034;
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

#get-involved p {
    margin-bottom: 3rem;
}


/* TESTIMONIALS */

.testimonials {
    padding: 100px 0;
    background: #fbb034;
    color: black;
    text-align: center;
}

.testimonials-grid {
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    border: 5px solid #fbb034;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
    min-width: 90%;
    max-width: 90%;
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fed7d7;
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.testimonial-author {
    font-weight: bold;
    color: #2d3748;
}

.testimonial-venue {
    font-size: 0.9rem;
    color: rgba(45, 55, 72, 0.8);
    margin-top: 0.5rem;
}

/* ABOUT */

.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.about-content {
    align-items: center;
    min-width: 90%;
    max-width: 90%;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fbb034;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.credentials {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    min-width: 90%;
    max-width: 90%;
}

.credentials h4 {
    color: #fbb034;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    margin-bottom: 0.5rem;
    align-items: center;
    display: flex;
    gap: 10px;
}

.credentials li::before {
    content: '🏆';
    font-size: 1.2rem;
}
/* BOOKING */

.booking {
    padding: 100px 0;
    background: #2d3748;
    color: white;
}

.booking-content {
    gap: 4rem;
    margin-top: 3rem;
    max-width: 800px;
    justify-content: center;
}

.booking-info {
    padding-right: 2rem;
}

.booking-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fbb034;
}

.package-card {
    background: rgba(251, 176, 52, 0.1);
    border: 2px solid #fbb034;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s;
    width: 50vw;
    min-width: min(400px, 90vw);
    max-width: 600px;
}

.package-card:hover {
    background: rgba(251, 176, 52, 0.2);
    transform: translateX(10px);
}

.package-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fbb034;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f56565;
    margin-bottom: 1rem;
}

.package-features {
    list-style: none;
}

.package-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-features li::before {
    content: '✅';
    color: #48bb78;
}

.booking-form {
    background: rgba(251, 176, 52, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #fbb034;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(251, 176, 52, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #fbb034;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #f56565, #ed8936);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.4);
}

/* FAQS */

.faq {
    padding: 100px 0;
    background: #f7fafc;
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    padding: 1rem;
    min-width: 90%;
    max-width: 90%;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, #fbb034, #ed8936);
    color: white;
    padding: 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: center;
}

.faq-answer {
    padding: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
    background: white;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background: #1a202c;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-brand {
    font-size: 2rem;
    color: #fbb034;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h2::before {
    content: '🧠 ';
    font-size: 2rem;
}

.footer-brand a {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
    text-decoration: none;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #2d3748;
    /* padding: 1.5rem; */
    border-radius: 15px;
    min-width: 90%;
    max-width: 90%;
}

.contact h4 {
    color: #fbb034;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact a {
    font-size: 1rem;
}

.contact-text {
    font-size: 1rem;
    color: #48bb78;
}

.footer-section h4 {
    color: #fbb034;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #fbb034, #ed8936);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

/* Animations */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-icons {
    0% {
        transform: translateX(-100px) rotate(0deg);
    }

    100% {
        transform: translateX(calc(100vw + 100px)) rotate(360deg);
    }
}

@keyframes float-icons-reverse {
    0% {
        transform: translateX(100px) rotate(0deg);
    }

    100% {
        transform: translateX(calc(-100vw - 100px)) rotate(-360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
/* @media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content,
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .booking-info {
        padding-right: 0;
    }
} */

/*COLLAPSIBLE SECTIONS*/
.wrapper {
    display: flex;
    padding-top: 50px;
    justify-content: center;
}

.collapsible {
    max-width: 450px;
    overflow: hidden;
    font-weight: 500;
    width: clamp(20rem, 90vw, 40rem);
}

.collapsible input {
    display: none;
}

.collapsible label {
    position: relative;
    font-weight: 600;
    background: transparent;
    /*box-shadow: 5px 0 30px hsl(0, 0%, 40%);*/
    color: var(--colour-white);
    display: block;
    margin: 1rem;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px hsl(0, 0%, 40%);
    /*width: clamp(20rem, 90vw, 40rem);*/
    /*z-index: 1;*/
    /*width: 100%;*/
    /*text-align: left;*/
}

.collapsible label::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 12px;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.collapsible input:checked+label::after {
    transform: rotate(90deg);
}

.collapsible-text p {
    max-height: 1px;
    overflow: hidden;
    border-radius: 4px;
    line-height: 2;
    position: relative;
    top: -100%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.collapsible input:checked~.collapsible-text p {
    padding-bottom: 25px;
    background: transparent;
    box-shadow: 0 0 10px hsl(0, 0%, 40%);
    opacity: 1;
    top: 0;
    margin: 1rem;
    text-wrap: balance;
    max-height: fit-content;
    border-radius: 5px;
}

.collapsible-text p {
    margin-bottom: 10px;
    padding: 15px 15px 0;
}

.collapsible-text br {
    margin-bottom: 1em;
}

.collapsible.active::after {
    transform: rotate(180deg);
}
