/* ======== GLOBAL VARIABLES ======== */
:root {
    /* Primary Color Scheme (Triadic) */
    --primary-color: #6200EA; /* Deep Purple */
    --secondary-color: #00EA62; /* Green */
    --tertiary-color: #EA0062; /* Pink */
    
    /* Shades and Tints */
    --primary-dark: #4B00B5;
    --primary-light: #8A3CFF;
    --secondary-dark: #00B54B;
    --secondary-light: #3CFF8A;
    --tertiary-dark: #B5004B;
    --tertiary-light: #FF3C8A;
    
    /* Neutral Colors */
    --dark: #212121;
    --medium-dark: #424242;
    --medium: #757575;
    --medium-light: #BDBDBD;
    --light: #F5F5F5;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    
    /* Neo-Brutalism */
    --brutalism-shadow: 5px 5px 0px var(--dark);
    --brutalism-border: 3px solid var(--dark);
    
    /* Spacings */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ======== TYPOGRAPHY ======== */
body {
    font-family: 'Rubik', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.title.is-1 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

.title.is-2 {
    font-size: 2.8rem;
    letter-spacing: -0.3px;
}

.title.is-3 {
    font-size: 2.2rem;
}

.title.is-4 {
    font-size: 1.8rem;
}

.subtitle {
    font-weight: 500;
    color: var(--medium);
}

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

/* ======== BASE ELEMENTS ======== */
body {
    background-color: var(--light);
}

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

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

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    padding: var(--spacing-xs) 0;
    position: relative;
    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 var(--transition-medium);
}

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

/* ======== BUTTONS ======== */
.button {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-fast);
    z-index: -1;
}

.button:hover::before {
    transform: translateY(0);
}

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

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

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

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

.button.brutalism {
    box-shadow: var(--brutalism-shadow);
    border: var(--brutalism-border);
    transform: translate(-2px, -2px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.button.brutalism:hover {
    transform: translate(0, 0);
    box-shadow: 0px 0px 0px var(--dark);
}

.button.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* ======== LAYOUT & CONTAINERS ======== */
.container {
    max-width: 1200px;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.has-background-primary {
    background-color: var(--primary-color);
    color: white;
}

.has-background-secondary {
    background-color: var(--secondary-color);
    color: var(--dark);
}

.has-background-tertiary {
    background-color: var(--tertiary-color);
    color: white;
}

.has-background-light {
    background-color: var(--light);
    color: var(--dark);
}

.has-background-dark {
    background-color: var(--dark);
    color: white;
}

.has-text-primary {
    color: var(--primary-color) !important;
}

.has-text-secondary {
    color: var(--secondary-color) !important;
}

.has-text-tertiary {
    color: var(--tertiary-color) !important;
}

/* ======== GLASSMORPHISM ======== */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    transition: all var(--transition-medium);
}

.glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 var(--glass-shadow);
}

/* ======== NEO-BRUTALISM ======== */
.brutalism {
    background-color: white;
    border: var(--brutalism-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--brutalism-shadow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* ======== HEADER & NAVIGATION ======== */
.navbar {
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-fast);
}

.navbar.is-fixed-top {
    background: rgba(33, 33, 33, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-item {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    color: var(--light);
    transition: color var(--transition-fast);
}

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

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

.navbar-burger:hover {
    background-color: transparent;
}

.navbar-burger span {
    height: 2px;
    width: 20px;
    left: calc(50% - 10px);
}

.navbar-burger span:nth-child(1) {
    top: calc(50% - 7px);
}

.navbar-burger span:nth-child(3) {
    top: calc(50% + 5px);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background: rgba(33, 33, 33, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .navbar-item {
        color: var(--light);
    }
}

/* ======== HERO SECTION ======== */
.hero {
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero.is-medium .hero-body {
    padding: 9rem 1.5rem;
}

.hero-body {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: -1;
}

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

.hero .buttons {
    margin-top: var(--spacing-md);
}

/* Particle Animation */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

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

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

.card .card-image {
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

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

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

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

.card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
}

.card .title {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

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

/* ======== PRICING SECTION ======== */
.pricing-card {
    padding: var(--spacing-lg);
    text-align: center;
    height: 100%;
    position: relative;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.pricing-card.is-featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 2;
}

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

.pricing-card.is-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card .tag {
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 3;
}

.pricing-card .title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.pricing-card .features li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .features .icon {
    margin-right: var(--spacing-xs);
    color: var(--secondary-color);
}

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

/* ======== AWARDS SECTION ======== */
.award-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    transition: all var(--transition-medium);
}

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

.award-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-md);
    height: 200px;
    overflow: hidden;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.award-content {
    flex-grow: 1;
    text-align: center;
}

.progress-container {
    margin-top: var(--spacing-xl);
}

.progress-item {
    margin-bottom: var(--spacing-md);
}

.progress {
    height: 12px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.progress::-webkit-progress-bar {
    background-color: var(--medium-light);
}

.progress::-webkit-progress-value {
    background-color: var(--primary-color);
    transition: width 1s ease;
}

.progress::-moz-progress-bar {
    background-color: var(--primary-color);
}

/* ======== TESTIMONIALS SECTION ======== */
.testimonial-card {
    padding: var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-medium);
}

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

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 3px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding: 0 var(--spacing-sm);
}

.testimonial-text::before, .testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    position: absolute;
}

.testimonial-text::before {
    top: -10px;
    left: -5px;
}

.testimonial-text::after {
    bottom: -20px;
    right: -5px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.stars {
    color: gold;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* ======== CONTACT SECTION ======== */
.contact-form {
    padding: var(--spacing-lg);
}

.contact-info {
    padding: var(--spacing-lg);
    height: 100%;
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-map {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.field {
    margin-bottom: var(--spacing-md);
}

.input, .textarea {
    border-radius: var(--radius-md);
    border: 2px solid var(--medium-light);
    transition: border-color var(--transition-fast);
    background: rgba(255, 255, 255, 0.9);
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-light);
}

.label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

/* ======== FOOTER ======== */
.footer {
    padding: var(--spacing-xl) 0;
}

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

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

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

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

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    color: var(--medium-light);
    transition: color var(--transition-fast);
    margin-right: var(--spacing-sm);
}

.social-links a:hover {
    color: white;
}

/* ======== EXTERNAL RESOURCES SECTION ======== */
#external-resources .card {
    padding: var(--spacing-md);
    text-align: center;
    height: 100%;
}

#external-resources .button {
    margin-top: auto;
}

/* ======== SUCCESS PAGE ======== */
.success-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
}

.success-content {
    max-width: 600px;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

/* ======== ABOUT, PRIVACY, TERMS PAGES ======== */
.page-content {
    padding-top: 100px;
    padding-bottom: var(--spacing-xl);
}

.page-content .container {
    max-width: 800px;
}

.page-content h1 {
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.page-content h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

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

/* ======== COOKIE POPUP ======== */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(33, 33, 33, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-md);
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0 var(--spacing-md) 0 0;
}

@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin: 0 0 var(--spacing-md) 0;
        text-align: center;
    }
    
    .cookie-content button {
        width: 100%;
    }
}

/* ======== RESPONSIVE STYLES ======== */
@media screen and (max-width: 768px) {
    .title.is-1 {
        font-size: 2.5rem;
    }
    
    .title.is-2 {
        font-size: 2rem;
    }
    
    .title.is-3 {
        font-size: 1.8rem;
    }
    
    .title.is-4 {
        font-size: 1.5rem;
    }
    
    .hero.is-medium .hero-body {
        padding: 6rem 1.5rem;
    }
    
    .pricing-card.is-featured {
        transform: scale(1);
    }
    
    .pricing-card.is-featured:hover {
        transform: translateY(-10px);
    }
    
    .image-container {
        height: 200px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }
}

@media screen and (max-width: 1023px) {
    .columns.is-reversed-mobile {
        flex-direction: column-reverse;
        display: flex;
    }
}

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

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ======== UTILITY CLASSES ======== */
.has-shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.has-radius {
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.is-centered {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-5 {
    margin-bottom: 1.5rem !important;
}

.mb-6 {
    margin-bottom: 3rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 0.75rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-5 {
    margin-top: 1.5rem !important;
}

.mt-6 {
    margin-top: 3rem !important;
}