/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #58d68d;
    --primary-ultra-light: #a9dfbf;
    
    /* Secondary Colors */
    --secondary-color: #3498db;
    --secondary-dark: #2980b9;
    --secondary-light: #5dade2;
    
    /* Accent Colors */
    --accent-color: #e74c3c;
    --accent-dark: #c0392b;
    --accent-light: #ec7063;
    
    /* Neutral Colors */
    --dark-color: #2c3e50;
    --dark-light: #34495e;
    --gray-color: #7f8c8d;
    --gray-light: #bdc3c7;
    --light-color: #ecf0f1;
    --white-color: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    --gradient-secondary: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    --gradient-accent: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    --gradient-hero: linear-gradient(135deg, rgba(46, 204, 113, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Typography */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions */
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(46, 204, 113, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
.title, .subtitle, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.title.is-1, h1 { font-size: 3.5rem; font-weight: 800; }
.title.is-2, h2 { font-size: 2.8rem; font-weight: 700; }
.title.is-3, h3 { font-size: 2.2rem; font-weight: 600; }
.title.is-4, h4 { font-size: 1.8rem; font-weight: 600; }
.title.is-5, h5 { font-size: 1.5rem; font-weight: 600; }

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gray-color);
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== GLOBAL BUTTON STYLES ===== */
.btn, .button, input[type='submit'], button {
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    min-width: 150px;
}

.btn::before, .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-fast);
    z-index: 1;
}

.btn:hover::before, .button:hover::before {
    left: 100%;
}

.btn:hover, .button:hover {
    transform: translateY(-3px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
}

.btn:active, .button:active {
    transform: translateY(-1px) rotateX(2deg);
}

.eco-button, .button.is-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.eco-button:hover, .button.is-primary:hover {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
    color: var(--white-color);
}

.button.is-outlined {
    background: transparent;
    border: 2px solid currentColor;
    backdrop-filter: blur(10px);
}

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

.button.is-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--gradient-dark) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-fast);
    z-index: 1000;
}

.navbar.is-scrolled {
    background: rgba(44, 62, 80, 0.95) !important;
}

.navbar-brand .navbar-item {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-item {
    transition: var(--transition-fast);
    position: relative;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

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

.navbar-burger {
    color: var(--white-color) !important;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-title {
    font-size: 4rem !important;
    font-weight: 900 !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-md) !important;
    color: var(--white-color) !important;
}

.hero-body {
    padding: var(--spacing-xxl) var(--spacing-md);
}

.hero-body .subtitle {
    font-size: 1.4rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: var(--white-color) !important;
}

.hero-buttons {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section.has-background-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ===== CARDS ===== */
.card {
    background: var(--white-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    border: 1px solid rgba(46, 204, 113, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(2deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.card-content {
    padding: var(--spacing-md);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 0 auto;
    text-align: center;
}

.card .image-container {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    margin: 0 auto;
}

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

/* ===== ECO CARDS ===== */
.eco-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.eco-card:hover {
    background: var(--white-color);
    transform: translateY(-15px) perspective(1000px) rotateX(10deg);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

/* ===== PRICE CARDS ===== */
.price-card {
    position: relative;
    transform-style: preserve-3d;
}

.price-card.featured {
    transform: scale(1.05) perspective(1000px) rotateY(-5deg);
    border: 3px solid var(--primary-color);
    background: var(--gradient-primary);
    color: var(--white-color);
}

.price-card.featured .card-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: var(--dark-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
}

.price-tag {
    margin: var(--spacing-md) 0;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.price-features li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--light-color);
    position: relative;
    padding-left: 25px;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== TEAM CARDS ===== */
.team-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card .image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    border: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.team-card .image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.team-card:hover .image-container::after {
    opacity: 0.2;
}

/* ===== PROCESS SECTION ===== */
.process-timeline {
    width: 100%;
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--spacing-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--shadow-medium);
    transform-style: preserve-3d;
    transition: var(--transition-fast);
}

.step-number:hover {
    transform: rotateY(180deg) translateZ(20px);
    box-shadow: var(--shadow-heavy);
}

/* ===== AWARDS SECTION ===== */
.award-card {
    padding: var(--spacing-lg);
    background: var(--white-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    transform-style: preserve-3d;
}

.award-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(10deg);
    box-shadow: var(--shadow-heavy);
}

.award-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* ===== WORKSHOPS SECTION ===== */
.workshop-info {
    padding: var(--spacing-lg);
}

.workshop-item {
    background: var(--white-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.workshop-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

/* ===== EVENTS SECTION ===== */
.event-card {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-date {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--white-color);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-medium);
    z-index: 5;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== CONTACT SECTION ===== */
.contact-card {
    background: var(--white-color);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(46, 204, 113, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form .field {
    margin-bottom: var(--spacing-sm);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
    border: 2px solid var(--light-color);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.contact-form .label {
    font-weight: 600;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

/* ===== EXTERNAL RESOURCES ===== */
.external-links .buttons {
    margin-top: var(--spacing-md);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark) !important;
    padding: var(--spacing-xxl) 0 var(--spacing-md);
    position: relative;
}

.footer-section {
    margin-bottom: var(--spacing-lg);
}

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

.footer-menu li {
    margin-bottom: var(--spacing-xs);
}

.footer-menu a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.footer-menu a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    color: var(--light-color);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.social-links a:hover {
    color: var(--white-color);
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.contact-info {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .step-number:hover {
        transform: scale(1.1);
    }
}

@media screen and (max-width: 768px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-body .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .button.is-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .team-card .image-container {
        width: 150px;
        height: 150px;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .process-step {
        padding: var(--spacing-sm);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .award-icon {
        font-size: 3rem;
    }
    
    .event-date {
        position: static;
        margin-bottom: var(--spacing-sm);
        align-self: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .title.is-2 {
        font-size: 2rem;
    }
    
    .title.is-3 {
        font-size: 1.5rem;
    }
    
    .hero-buttons .button {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .card {
        margin-bottom: var(--spacing-md);
    }
    
    .navbar-menu {
        background: var(--gradient-dark);
        box-shadow: var(--shadow-medium);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
    transition: var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

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

/* ===== ADDITIONAL PAGES STYLES ===== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: var(--gradient-primary);
}

.success-content {
    text-align: center;
    color: var(--white-color);
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.legal-content {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

.legal-content .content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background: var(--white-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

/* ===== READ MORE LINKS ===== */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more::after {
    content: '→';
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* ===== SCROLL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    .card, .process-step, .team-card, .award-card {
        animation: none;
    }
    
    .card:hover, .process-step:hover, .team-card:hover, .award-card:hover {
        animation: float 2s ease-in-out infinite;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(-10px) rotateX(5deg); }
    50% { transform: translateY(-15px) rotateX(8deg); }
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-bg {
        background-attachment: scroll !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STYLES ===== */
.btn:focus, .button:focus, .navbar-item:focus {
    outline: 3px solid rgba(46, 204, 113, 0.5);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar, .footer, .hero-buttons, .contact-form {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-light);
    }
}