/* === CSS Variables === */
:root {
    /* Primary Colors */
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    
    /* Complementary Colors */
    --complementary: #e57373;
    --complementary-dark: #c62828;
    --complementary-light: #ffcdd2;
    
    /* Neutral Colors */
    --dark: #333333;
    --medium: #757575;
    --light: #f5f5f5;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-complementary: linear-gradient(135deg, var(--complementary), var(--complementary-dark));
    --gradient-dark: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    
    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === Reset & Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

p {
    margin-bottom: var(--space-sm);
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

/* === Biomorphic Shapes === */
.biomorphic-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.1;
    z-index: -1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    transform: rotate(45deg);
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    transform: rotate(30deg);
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: -100px;
    transform: rotate(60deg);
    background: var(--complementary-light);
}

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
}

.navbar-item {
    padding: 0 var(--space-sm);
    font-weight: 500;
    position: relative;
}

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

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

.navbar-burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.navbar-burger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: all var(--transition-medium);
}

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

.navbar-burger span:nth-child(2) {
    top: 14px;
}

.navbar-burger span:nth-child(3) {
    top: 21px;
}

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.hero-body {
    position: relative;
    z-index: 1;
    width: 100%;
}

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

.hero .title {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    font-weight: 800;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    z-index: 5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* === Buttons === */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    font-family: var(--font-body);
    text-align: center;
}

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

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

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

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

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

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

.animated-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.animated-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s var(--bounce);
    z-index: -1;
}

.animated-btn:hover::after {
    transform: translateX(0);
}

/* === Mission Section === */
.mission-section {
    position: relative;
    background-color: var(--white);
    padding: var(--space-lg) 0;
}

.mission-content {
    position: relative;
    z-index: 2;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

/* === Process Section === */
.process-section {
    position: relative;
    background-color: var(--light);
}

.process-card {
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
}

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

.process-card .card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

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

/* === Accolades Section === */
.accolades-section {
    position: relative;
    background-color: var(--white);
}

.accolade-card {
    height: 100%;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    background-color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.accolade-card .icon {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

/* === History Section === */
.history-section {
    position: relative;
    background-color: var(--light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-md);
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

/* === Behind the Scenes Section === */
.behind-scenes-section {
    position: relative;
    background-color: var(--white);
}

.stat-widget {
    padding: var(--space-md);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

/* === Resources Section === */
.resources-section {
    position: relative;
    background-color: var(--light);
}

.resource-card {
    height: 100%;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-card:hover {
    transform: scale(1.03);
}

.resource-card .icon {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

/* === Clientele Section === */
.clientele-section {
    position: relative;
    background-color: var(--white);
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-sm) 0;
    margin: 0 -15px;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 15px;
}

.testimonial-card {
    height: 100%;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card .media {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.testimonial-card .media-left {
    margin-right: var(--space-sm);
}

.testimonial-card .image.is-64x64 {
    width: 64px;
    height: 64px;
}

.testimonial-card .is-rounded {
    border-radius: 50%;
}

.testimonial-card .rating {
    color: #ffc107;
    margin-top: var(--space-sm);
}

.clients-logos {
    margin-top: var(--space-md);
}

.clients-logos img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all var(--transition-medium);
}

.clients-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* === Portfolio Section === */
.portfolio-section {
    position: relative;
    background-color: var(--light);
}

.portfolio-card {
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.portfolio-card .card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

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

/* === Blog Section === */
.blog-section {
    position: relative;
    background-color: var(--white);
}

.blog-card {
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.blog-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

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

.blog-card .subtitle {
    color: var(--medium);
}

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

/* === Events Calendar Section === */
.events-section {
    position: relative;
    background-color: var(--light);
}

.event-card {
    height: 100%;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    margin-bottom: var(--space-sm);
}

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

.event-date .month {
    font-size: 0.9rem;
    font-weight: 500;
}

/* === Contact Section === */
.contact-section {
    position: relative;
    background-color: var(--white);
}

.contact-info {
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.contact-item .icon {
    margin-right: var(--space-sm);
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
}

.field {
    margin-bottom: var(--space-sm);
}

.label {
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.input, .textarea, .select select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

.map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

/* === Footer === */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: var(--space-lg) 0 var(--space-sm);
}

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

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

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

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

.footer-links a:hover {
    color: var(--primary-light);
}

.social-links a {
    color: var(--light);
    transition: color var(--transition-fast);
    margin-right: var(--space-sm);
}

.social-links a:hover {
    color: var(--primary-light);
}

.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: var(--space-md) 0;
}

/* === Success Page === */
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--space-md);
}

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

/* === Privacy & Terms Pages === */
.privacy-page, .terms-page {
    padding-top: 120px;
    padding-bottom: var(--space-lg);
}

.privacy-content, .terms-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
}

/* === Utility Classes === */
.has-text-centered {
    text-align: center;
}

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

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

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

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

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

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

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

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

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 0.75rem !important;
}

.is-size-4 {
    font-size: 1.5rem !important;
}

.is-size-5 {
    font-size: 1.25rem !important;
}

.is-size-6 {
    font-size: 1rem !important;
}

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

/* === Cookie Consent === */
#cookie-consent {
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 15px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

#accept-cookies {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
    background-color: var(--primary-dark);
}

/* === Responsive Styles === */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: var(--space-sm) 0;
    }
    
    .navbar-menu.is-active {
        display: block;
    }
    
    .navbar-item {
        display: block;
        padding: var(--space-xs) var(--space-md);
    }
    
    .navbar-burger {
        display: block;
    }
    
    .hero .title {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.25rem;
    }
    
    .testimonial-slide {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero .title {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: var(--space-md) 0;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        width: 30px;
        height: 30px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
}

@media screen and (max-width: 480px) {
    .button {
        padding: 0.6rem 1.2rem;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .buttons .button {
        width: 100%;
        margin-bottom: var(--space-xs);
    }
    
    .event-date {
        width: 60px;
        height: 60px;
    }
    
    .event-date .day {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

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

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

.animated-arrow {
    animation: bounce 2s infinite;
}

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
    transition-timing-function: var(--bounce);
}

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

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

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

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-up"] {
    transform: perspective(400px) rotateX(10deg);
}

[data-aos="flip-left"] {
    transform: perspective(400px) rotateY(10deg);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0) perspective(400px);
}