/* CSS Variables for consistent theming */
:root {
    /* Triadic color scheme */
    --primary-color: #6a4de0;
    --primary-light: #8b75e6;
    --primary-dark: #4a3a9e;
    
    --secondary-color: #e04d8a;
    --secondary-light: #e675a5;
    --secondary-dark: #a73664;
    
    --tertiary-color: #4de0a3;
    --tertiary-light: #75e6b8;
    --tertiary-dark: #36a76d;
    
    /* Neutral colors */
    --white: #ffffff;
    --off-white: #f5f5f7;
    --light-gray: #e0e0e0;
    --medium-gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #121212;
    
    /* Glassmorphism variables */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-blur: 8px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'DM Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

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

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

a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

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

/* Glassmorphism elements */
.glassmorphism-nav {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glassmorphism-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glassmorphism-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Card image container */
.card .image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

/* Button styles */
.button {
    font-family: var(--heading-font);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

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

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

.button.is-link {
    background-color: var(--secondary-color);
}

.button.is-link:hover {
    background-color: var(--secondary-dark);
}

.pulse-button {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(106, 77, 224, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 77, 224, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(106, 77, 224, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(106, 77, 224, 0);
    }
}

/* Hero section */
.hero {
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

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

/* Methodology section */
#methodology {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 247, 0.9) 100%);
}

#methodology .title {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

/* Instructors section */
.instructors-bg {
    background: linear-gradient(135deg, rgba(106, 77, 224, 0.05) 0%, rgba(224, 77, 138, 0.05) 100%);
    position: relative;
}

.instructors-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/pattern-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -1;
}

/* Clientele section */
.clientele-bg {
    background: linear-gradient(135deg, rgba(224, 77, 138, 0.05) 0%, rgba(77, 224, 163, 0.05) 100%);
    position: relative;
}

.clientele-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/dots-pattern.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -1;
}

/* Accolades section */
#accolades {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 247, 0.9) 100%);
}

#accolades .title {
    color: var(--tertiary-dark);
}

/* Contact section */
.contact-bg {
    background: linear-gradient(135deg, rgba(77, 224, 163, 0.1) 0%, rgba(106, 77, 224, 0.1) 100%);
    position: relative;
}

.contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/wave-pattern.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.contact-form-container {
    background: var(--white);
    padding: var(--space-lg);
}

.info-box {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast);
}

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

/* Footer styles */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--space-xl) 0;
}

.footer .title {
    color: var(--white);
}

.footer a {
    color: var(--light-gray);
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--white);
}

.footer .social-links a {
    display: inline-block;
    color: var(--light-gray);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer .social-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Additional page styles */
.privacy-page, .terms-page {
    padding-top: 100px;
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(106, 77, 224, 0.05) 0%, rgba(77, 224, 163, 0.05) 100%);
}

.success-content {
    text-align: center;
    max-width: 600px;
    padding: var(--space-xl);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card .image-container {
        height: 200px;
    }
    
    .hero .title.is-1 {
        font-size: 2.5rem !important;
    }
    
    .hero .subtitle.is-3 {
        font-size: 1.5rem !important;
    }
}

/* Animation for cards on scroll */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* 3D Effects */
.card {
    perspective: 1000px;
}

.card:hover .card-content {
    transform: translateZ(20px);
}

.card-content {
    transition: transform var(--transition-medium);
    transform-style: preserve-3d;
}

/* Navbar adjustments */
.navbar-item {
    font-family: var(--heading-font);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar-item:hover {
    color: var(--primary-color) !important;
}

/* Form styling */
.input, .textarea {
    border-radius: 8px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(106, 77, 224, 0.2);
}

/* Custom utility classes */
.has-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.has-radius {
    border-radius: 15px;
}

.is-fullheight {
    min-height: 100vh;
}

.is-centered-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.has-bg-pattern {
    position: relative;
}

.has-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/pattern-light.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.hero{
    background: url(./image/about-8.jpg);
    background-size: cover;
}