/* ===== CSS VARIABLES ===== */
:root {
    /* Bright Color Palette */
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary-color: #F7931E;
    --accent-color: #FFE66D;
    --accent-dark: #F4D03F;
    --success-color: #00D4AA;
    --info-color: #3498DB;
    --warning-color: #F39C12;
    --danger-color: #E74C3C;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #2C3E50;
    --bg-gradient: linear-gradient(135deg, #FF6B35, #F7931E, #FFE66D);
    --bg-overlay: rgba(0, 0, 0, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.15);
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-light: #BDC3C7;
    --text-white: #FFFFFF;
    
    /* Fonts */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 35px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.title, .subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.title.is-1 { font-size: 3.5rem; font-weight: 800; }
.title.is-2 { font-size: 2.75rem; font-weight: 700; }
.title.is-3 { font-size: 2.25rem; font-weight: 600; }
.title.is-4 { font-size: 1.75rem; font-weight: 600; }
.title.is-5 { font-size: 1.5rem; font-weight: 500; }
.title.is-6 { font-size: 1.25rem; font-weight: 500; }

.subtitle.is-3 { font-size: 2rem; }
.subtitle.is-4 { font-size: 1.5rem; }
.subtitle.is-5 { font-size: 1.25rem; }
.subtitle.is-6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn,
.button,
button,
input[type='submit'] {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-animated::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: left 0.5s;
    z-index: -1;
}

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

.button.is-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.button.is-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.button.is-secondary:hover {
    background: #E8851A;
    transform: translateY(-2px);
}

.button.is-white.is-outlined {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.button.is-white.is-outlined:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-smooth);
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-item:hover {
    color: var(--primary-color);
    background: transparent;
}

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

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

.navbar-burger {
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xxl) 0;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

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

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

.section.has-background-light {
    background: var(--bg-light);
}

/* ===== HISTORY SECTION ===== */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ===== STATISTICS SECTION ===== */
.stat-widget {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.stat-widget:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: var(--spacing-md);
}

.progress-fill {
    height: 100%;
    background: var(--bg-gradient);
    border-radius: 3px;
    transition: width 2s ease-in-out;
    width: 0%;
}

/* ===== METHODOLOGY SECTION ===== */
.methodology-accordion .accordion-item {
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.methodology-accordion .accordion-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.accordion-header {
    padding: var(--spacing-lg);
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(255, 107, 53, 0.05);
}

.accordion-header.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.active {
    padding: var(--spacing-lg);
    max-height: 300px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-tabs .tabs {
    margin-bottom: var(--spacing-xl);
}

.portfolio-tabs .tabs li {
    transition: var(--transition-fast);
}

.portfolio-tabs .tabs li a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.portfolio-tabs .tabs li.is-active a,
.portfolio-tabs .tabs li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.tab-content {
    animation: fadeIn 0.5s ease-in-out;
}

.card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-primary);
}

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

.card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.card-content {
    padding: var(--spacing-lg);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.investment-metrics {
    margin-top: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.investment-metrics .tag {
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
}

/* ===== RESOURCES SECTION ===== */
.resource-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

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

.resource-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.resource-card h3 a:hover {
    color: var(--primary-dark);
}

/* ===== CONTACT SECTION ===== */
.contact-form-container {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.field .label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.input,
.textarea,
.select select {
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    font-family: var(--font-body);
    transition: var(--transition-fast);
    background: var(--bg-primary);
}

.input:focus,
.textarea:focus,
.select select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    color: var(--text-white);
}

.footer .title {
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

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

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: var(--spacing-sm);
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    display: inline-block;
    margin-right: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    color: var(--text-white);
    background: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* ===== UTILITY CLASSES ===== */
.glassmorphism {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

.gradient-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    position: relative;
    transition: var(--transition-fast);
}

.read-more-link:hover {
    color: var(--primary-dark);
}

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

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

/* ===== SUCCESS PAGE STYLES ===== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
}

.success-content {
    background: var(--bg-primary);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 600px;
    margin: var(--spacing-xl);
}

/* ===== PRIVACY & TERMS PAGES ===== */
.content-page {
    padding-top: 100px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --spacing-xxl: 2rem;
        --spacing-xl: 1.5rem;
    }
    
    .title.is-1 { font-size: 2.5rem; }
    .title.is-2 { font-size: 2rem; }
    .title.is-3 { font-size: 1.75rem; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .title.is-1 { font-size: 2rem; }
    .title.is-2 { font-size: 1.75rem; }
    
    .hero-body {
        padding: var(--spacing-xl) 0;
    }
    
    .card-image {
        height: 200px;
    }
    
    .contact-form-container {
        padding: var(--spacing-lg);
    }
    
    .stat-widget {
        margin-bottom: var(--spacing-lg);
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .title.is-1 { font-size: 1.75rem; }
    .subtitle.is-3 { font-size: 1.25rem; }
    
    .hero-buttons {
        gap: var(--spacing-md);
    }
    
    .investment-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero,
    .footer,
    #particles-js {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}