/* ====== VARIABLES ====== */
:root {
    /* Primary Colors (Analogous Color Scheme) */
    --primary-color: #4C6EF5;
    --primary-dark: #3858D6;
    --primary-light: #7B93F9;
    --secondary-color: #49B3F7;
    --secondary-dark: #2E96D6;
    --tertiary-color: #6A4CF5;
    --tertiary-dark: #5137D6;
    
    /* Neutral Colors */
    --black: #121212;
    --dark-gray: #333333;
    --medium-gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    
    /* Accent Colors */
    --accent-1: #FFC107;
    --accent-2: #FF5E85;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFA500;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2.5rem;
    --font-size-xxxl: 4rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-xxl: 4rem;
    
    /* Borders & Shadows */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --neobrutalism-shadow: 5px 5px 0px var(--black);
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 15px;
}

/* ====== BASE STYLES ====== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1, .is-1 {
    margin-bottom: 1.5rem;
}

h2, .is-2 {
    position: relative;
    margin-bottom: 2.5rem;
}

h2:after, .is-2:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    transition: var(--transition-medium);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

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

/* ====== UTILITY CLASSES ====== */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.neobrutalism {
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--neobrutalism-shadow);
    transition: var(--transition-medium);
}

.neobrutalism:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px var(--black);
}

/* Read more links */
.read-more {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    overflow: hidden;
}

.read-more:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.read-more:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ====== BUTTONS ====== */
.button {
    font-weight: 600;
    transition: var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button.is-primary {
    background-color: var(--primary-color);
    border-color: transparent;
}

.button.is-primary:hover, 
.button.is-primary:focus {
    background-color: var(--primary-dark);
}

.button.is-light {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: transparent;
}

.button.is-light:hover,
.button.is-light:focus {
    background-color: var(--light-gray);
    color: var(--primary-dark);
}

.button.is-outlined {
    background-color: transparent;
    border-color: currentColor;
}

.button.is-primary.is-outlined {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.button.is-primary.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.button.is-rounded {
    border-radius: 9999px;
}

/* ====== HEADER & NAVIGATION ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    padding: 1rem 0;
    background-color: #7B93F9;
}

.navbar {
    background-color: transparent !important;
}

.navbar.is-transparent {
    background-color: transparent;
}

.navbar-item {
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--white);
    position: relative;
}

.navbar-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-medium);
}

.navbar-item:hover:after {
    width: 70%;
}

.navbar-brand h1 {
    margin-bottom: 0;
}

.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.scrolled .navbar-item {
    color: var(--dark-gray);
}

.scrolled .navbar-item:after {
    background-color: var(--primary-color);
}

/* ====== HERO SECTION ====== */
.hero {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: var(--white);
}

.hero-body {
    z-index: 10;
    padding: 6rem 1.5rem;
}

.hero .title,
.hero .subtitle,
.hero p {
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero .button {
    margin-top: 1rem;
}

.scrolldown {
    position: relative;
    width: 24px;
    height: 40px;
    margin: 0 auto 20px;
}

.scrolldown span {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
}

.scrolldown span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    width: 4px;
    height: 10px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scrolldown 2s infinite;
}

@keyframes scrolldown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateY(15px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ====== SERVICES/COURSES SECTION ====== */
.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
    overflow: hidden;
}

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

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-content .button {
    margin-top: auto;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.toggle {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition-medium);
}

.toggle-label::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: white;
    transition: var(--transition-medium);
}

.toggle-checkbox:checked + .toggle-label {
    background-color: var(--primary-color);
}

.toggle-checkbox:checked + .toggle-label::after {
    left: 33px;
}

/* ====== STATISTICS SECTION ====== */
.stat-box {
    text-align: center;
    padding: 2rem;
    height: 100%;
    transition: var(--transition-medium);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--dark-gray);
}

/* ====== GALLERY SECTION ====== */
.image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition-medium);
}

.image-container:hover .image-caption {
    transform: translateY(0);
}

.image-caption h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.image-caption p {
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

/* ====== COMMUNITY SECTION ====== */
.content.glassmorphism {
    height: 100%;
}

.testimonials {
    position: relative;
}

.carousel-container {
    overflow: hidden;
}

.carousel-slide {
    padding: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 0;
    font-weight: 600;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--medium-gray);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    margin: 0 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition-medium);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ====== RESOURCES SECTION ====== */
.resource-card {
    padding: 2rem;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.resource-card h3 {
    margin-bottom: 1rem;
}

.resource-card p {
    margin-bottom: 2rem;
}

.resource-card .button {
    margin-top: auto;
}

/* ====== PRICING SECTION ====== */
.pricing-card {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: rgba(76, 110, 245, 0.1);
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.featured .pricing-header {
    background-color: var(--primary-color);
    color: var(--white);
}

.featured .pricing-header h3,
.featured .pricing-header .price {
    color: var(--white);
}

.price {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-weight: 700;
}

.price .currency {
    font-size: var(--font-size-xl);
    vertical-align: super;
    margin-right: 0.25rem;
}

.price .is-size-1 {
    line-height: 1;
}

.pricing-features {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-features ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--light-gray);
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    color: var(--success);
    margin-right: 0.5rem;
}

.pricing-action {
    padding: 0 2rem 2rem;
}

/* ====== PRESS SECTION ====== */
.press-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    height: 100%;
    gap: 2rem;
}

.press-logo {
    flex: 0 0 auto;
    margin: 0 auto;
    text-align: center;
}

.press-logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.press-quote {
    flex: 1;
    font-style: italic;
}

.press-quote p {
    margin-bottom: 0.5rem;
}

.press-quote cite {
    font-weight: 600;
    font-style: normal;
    color: var(--primary-color);
}

.award-item {
    text-align: center;
    padding: 1.5rem;
    height: 100%;
}

.award-item img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.award-item:hover img {
    transform: scale(1.1);
}

.award-item p {
    margin-bottom: 0;
    font-weight: 600;
}

/* ====== CLIENTELE/PARTNERS SECTION ====== */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 2rem;
    transition: var(--transition-medium);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: var(--transition-medium);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ====== CONTACT SECTION ====== */
.contact-info {
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-item p {
    margin-bottom: 0;
}

.social-media .buttons {
    justify-content: center;
}

.social-media .button {
    margin: 0 0.5rem;
}

.contact-form {
    height: 100%;
}

/* Form elements */
.input, .textarea {
    border: 1px solid var(--light-gray);
    box-shadow: none;
    transition: var(--transition-medium);
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125rem rgba(76, 110, 245, 0.25);
}

.label {
    color: var(--dark-gray);
    font-weight: 600;
}

.checkbox a {
    text-decoration: underline;
}

/* ====== FOOTER ====== */
.footer {
    padding: 5rem 0 2rem;
    color: var(--white-bis);
}

.footer-logo h2 {
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.social-links a {
    transition: var(--transition-medium);
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    position: relative;
    display: inline-block;
    padding-left: 1rem;
}

.footer-links a::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
}

.footer-links a:hover {
    padding-left: 1.25rem;
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== SUCCESS PAGE ====== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-content {
    max-width: 600px;
    padding: 2rem;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 2rem;
}

/* ====== TERMS & PRIVACY PAGES ====== */
.terms-content,
.privacy-content {
    padding-top: 100px;
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h1,
.privacy-content h1 {
    margin-bottom: 2rem;
}

.terms-content h2,
.privacy-content h2 {
    margin: 3rem 0 1.5rem;
}

.terms-content h3,
.privacy-content h3 {
    margin: 2rem 0 1rem;
}

.terms-content p,
.privacy-content p {
    margin-bottom: 1.5rem;
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* ====== RESPONSIVE STYLES ====== */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow-md);
    }
    
    .navbar-menu .navbar-item {
        color: var(--dark-gray);
    }
    
    .hero-body {
        padding: 5rem 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .press-card {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --font-size-xxxl: 3rem;
    }
    
    .hero-body {
        padding: 4rem 1rem;
    }
    
    .stat-box, .resource-card, .pricing-card, .contact-info, .contact-form {
        margin-bottom: 1.5rem;
    }
    
    .press-card, .award-item, .partner-logo {
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --font-size-xxxl: 2.5rem;
    }
    
    .hero-body {
        padding: 3rem 1rem;
    }
    
    .button.is-large {
        font-size: 1rem;
    }
    
    .press-logo img {
        max-width: 150px;
    }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}