/* Base Styles */
:root {
    /* Tetrad Color Scheme */
    --primary-color: #3273dc; /* Primary blue */
    --primary-light: #5e91e5;
    --primary-dark: #1a5cbf;
    --secondary-color: #dc7232; /* Orange - complementary to primary */
    --accent1-color: #32dc72; /* Green - tetrad harmony */
    --accent2-color: #7232dc; /* Purple - tetrad harmony */
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --gray-dark: #4a4a4a;
    --gray-light: #e0e0e0;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    min-height: 70px;
}

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

.navbar-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    margin-top: 70px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-body {
    padding: 6rem 1.5rem;
}

.hero .title, 
.hero .subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
.section {
    padding: 5rem 1.5rem;
}

.section .title {
    margin-bottom: 1.5rem;
    position: relative;
}

.section .title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.card-content {
    flex-grow: 1;
    padding: 1.5rem;
}

.card-image {
    overflow: hidden;
}

.card-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

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

/* Button Styles */
.button {
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 500;
}

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

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

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

.button.is-light:hover {
    background-color: var(--gray-light);
}

/* Progress Indicators */
.progress-container {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.progress::-webkit-progress-bar {
    background-color: var(--gray-light);
    border-radius: 5px;
}

.progress::-webkit-progress-value {
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

/* Stat Widgets */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-dark);
}

.stat-box {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card .media {
    margin-bottom: 1.5rem;
}

.testimonial-card .content {
    font-style: italic;
}

.testimonial-card .rating {
    color: var(--secondary-color);
    margin-top: 1rem;
}

/* Client/Partner Logos */
.client-logo, .partner-box {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.client-logo img, .partner-box img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img, .partner-box:hover img {
    filter: grayscale(0%);
}

.client-logo:hover, .partner-box:hover {
    transform: scale(1.05);
}

/* Contact Form */
.box form .field {
    margin-bottom: 1.5rem;
}

.input, .textarea, .select select {
    border-radius: 4px;
    border: 1px solid var(--gray-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input:focus, .textarea:focus, .select select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
}

/* Contact Info */
.contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item .icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

/* Social Media */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.social-button:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: #252424!important;
    color: var(--light-color);
    padding: 3rem 1.5rem;
}

.footer h3 {
    color: var(--light-color);
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

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

/* Success Page */
.success-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.success-icon img {
    border-radius: 50%;
}

/* Vision & Values */
.vision-box, .mission-box {
    height: 100%;
    padding: 2rem;
}

/* Privacy & Terms */
.privacy-content, .terms-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--light-color);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-body {
        padding: 4rem 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .stat-item {
        width: 50%;
    }
}

/* Micro-animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.button:active {
    transform: scale(0.95);
}

.card .title {
    position: relative;
    display: inline-block;
}

.card .title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.card:hover .title::after {
    width: 100%;
}

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Image Container */
.image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Barba.js Page Transitions */
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.fade-leave {
    opacity: 1;
}

.fade-leave-active {
    opacity: 0;
    transition: opacity 0.5s ease;
}