/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Parallax Effects */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.parallax-bg-1 {
    background: linear-gradient(45deg, var(--primary-green) 0%, transparent 50%, var(--accent-green) 100%);
    animation: parallaxMove1 20s ease-in-out infinite;
}

.parallax-bg-2 {
    background: radial-gradient(circle at 30% 70%, var(--bright-green) 0%, transparent 50%);
    animation: parallaxMove2 25s ease-in-out infinite;
}

.parallax-bg-3 {
    background: linear-gradient(135deg, var(--accent-green) 0%, transparent 60%, var(--primary-green) 100%);
    animation: parallaxMove3 30s ease-in-out infinite;
}

.parallax-bg-4 {
    background: conic-gradient(from 45deg, var(--primary-green), var(--accent-green), var(--bright-green), var(--primary-green));
    animation: parallaxRotate 40s linear infinite;
}

@keyframes parallaxMove1 {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    33% { transform: translateX(-20px) translateY(-10px) scale(1.05); }
    66% { transform: translateX(15px) translateY(20px) scale(0.95); }
}

@keyframes parallaxMove2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    50% { transform: translateX(30px) translateY(-25px) rotate(5deg); }
}

@keyframes parallaxMove3 {
    0%, 100% { transform: translateY(0) skewX(0deg); }
    50% { transform: translateY(-15px) skewX(2deg); }
}

@keyframes parallaxRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.float-1 {
    width: 80px;
    height: 80px;
    background: var(--accent-green);
    top: 10%;
    left: 80%;
    animation: float1 15s ease-in-out infinite;
}

.float-2 {
    width: 60px;
    height: 60px;
    background: var(--bright-green);
    top: 70%;
    left: 15%;
    animation: float2 20s ease-in-out infinite;
}

.float-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-green);
    top: 40%;
    right: 10%;
    animation: float3 25s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(20px); }
    66% { transform: translateY(10px) translateX(-15px); }
}

@keyframes float3 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(-90deg); }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--accent-green);
    top: 15%;
    left: 10%;
    animation: shapeMove1 18s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--bright-green);
    top: 60%;
    right: 15%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shapeMove2 22s ease-in-out infinite;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 10px;
    top: 30%;
    right: 25%;
    animation: shapeMove3 16s ease-in-out infinite;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: var(--accent-green);
    border-radius: 50%;
    top: 80%;
    left: 20%;
    animation: shapeMove4 24s ease-in-out infinite;
}

@keyframes shapeMove1 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(120deg) translateY(-20px); }
}

@keyframes shapeMove2 {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(40px) scale(1.3); }
}

@keyframes shapeMove3 {
    0%, 100% { transform: rotate(0deg) skew(0deg); }
    33% { transform: rotate(15deg) skew(5deg); }
    66% { transform: rotate(-10deg) skew(-3deg); }
}

@keyframes shapeMove4 {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(0.7) translateY(-30px); }
}

:root {
    /* Colors - Harmonisées avec le logo */
    --primary-green: #1B4D3E;
    --light-green: #2D6A4F;
    --accent-green: #40916C;
    --bright-green: #52B788;
    --logo-green: #2D6A4F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.25);
    
    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 15px;
    --radius-large: 25px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-medium);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition-fast);
    padding: 15px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    box-shadow: var(--shadow-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    transition: all var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.logo-img {
    height: 28px;
    width: auto;
    transition: all var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.nav-logo h2 {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 28px;
    color: var(--primary-green);
    margin: 0;
}

.nav-logo span {
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, 
        rgba(45, 90, 39, 0.6) 0%, 
        rgba(107, 155, 55, 0.4) 50%, 
        rgba(143, 188, 143, 0.3) 100%),
        url('../images/mbsc.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(45, 90, 39, 0.5) 0%, 
        rgba(107, 155, 55, 0.3) 50%, 
        rgba(143, 188, 143, 0.2) 100%);
    backdrop-filter: blur(1px);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.scroll-indicator:hover {
    transform: translateY(-5px);
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-green);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--bright-green));
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--medium-gray);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-green);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.about-card h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Realizations Section */
.realizations {
    background: var(--white);
}

.realization-items {
    margin-top: 80px;
}

.realization-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding: 60px 0;
}

.realization-item.reverse {
    direction: rtl;
}

.realization-item.reverse > * {
    direction: ltr;
}

.realization-content h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.realization-content p {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.realization-content ul {
    list-style: none;
}

.realization-content li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    color: var(--dark-gray);
}

.realization-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 18px;
}

.realization-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-large);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23ffffff" opacity="0.1" width="400" height="300"/><text x="200" y="150" text-anchor="middle" fill="%23ffffff" font-size="24" font-family="Arial">Image</text></svg>');
    background-size: cover;
    background-position: center;
}

.mining-site::before {
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: none;
}

.extraction-chain::before {
    content: '🏭';
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: none;
}

.equipment::before {
    content: '🚛';
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: none;
}

.research::before {
    content: '🔬';
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: none;
}

.vision-statement {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-large);
    margin-top: 80px;
}

.vision-statement h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    margin-bottom: 20px;
}

.vision-statement p {
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
}

/* Services Section */
.services {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    filter: brightness(1.2) contrast(1.1);
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon img {
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 10px rgba(255,255,255,0.8));
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    transition: all var(--transition-medium);
}

.service-card:hover .service-overlay {
    bottom: 0;
}

.service-overlay ul {
    list-style: none;
    margin-top: 20px;
}

.service-overlay li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.service-overlay li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bright-green);
}

/* Strategy Section */
.strategy {
    background: var(--white);
}

.strategy-content {
    margin-top: 80px;
}

.strategy-main {
    text-align: center;
    margin-bottom: 80px;
}

.strategy-card.impact {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.strategy-card.impact h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin-bottom: 20px;
}

.strategy-card.impact p {
    font-size: 18px;
    line-height: 1.7;
}

.strategy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.strategy-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
}

.strategy-point:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: var(--shadow-light);
}

.point-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--bright-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.strategy-point h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.strategy-point p {
    color: var(--medium-gray);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    margin: 0;
}

/* Team Section */
.team {
    background: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 40px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    text-align: center;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-green);
}

.team-image {
    margin-bottom: 30px;
}

.team-image .image-placeholder.team-member {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 48px;
    color: var(--white);
    transition: all var(--transition-fast);
}

.team-card:hover .team-image .image-placeholder.team-member {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.3);
}

.team-info h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.team-role {
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 20px;
    font-size: 16px;
}

.team-info p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill {
    background: linear-gradient(135deg, var(--accent-green), var(--bright-green));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.skill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(64, 145, 108, 0.3);
}

.team-values {
    text-align: center;
    background: var(--light-gray);
    padding: 60px;
    border-radius: var(--radius-large);
}

.team-values h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.value-item i {
    font-size: 36px;
    color: var(--accent-green);
}

.value-item span {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-green);
}

/* Safety Section */
.safety {
    background: var(--light-gray);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
}

.safety-image .image-placeholder.safety-team {
    height: 400px;
}

.safety-team::before {
    content: '👷‍♂️';
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: none;
}

.safety-info h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.safety-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.safety-point {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.safety-point:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.safety-point i {
    font-size: 24px;
    color: var(--accent-green);
    width: 30px;
}

.safety-point span {
    font-weight: 500;
    color: var(--dark-gray);
}

/* Performance Section */
.performance {
    background: var(--white);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.performance-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: var(--radius-large);
    text-align: center;
    transition: all var(--transition-medium);
    border: 3px solid transparent;
}

.performance-card:hover {
    background: var(--white);
    border-color: var(--accent-green);
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.performance-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.performance-card h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.performance-value {
    margin-bottom: 15px;
}

.counter {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 48px;
    color: var(--accent-green);
}

.unit {
    font-weight: 600;
    font-size: 24px;
    color: var(--medium-gray);
    margin-left: 5px;
}

.performance-card p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* Budget Section */
.budget {
    background: var(--light-gray);
}

.budget-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}

.budget-chart {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
}

.chart-container {
    position: relative;
    height: 300px;
}

.budget-info h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.budget-info p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 16px;
}

.budget-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.highlight strong {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 28px;
    color: var(--accent-green);
}

.highlight span {
    color: var(--medium-gray);
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
    margin-bottom: 60px;
}

.contact-form {
    background: var(--light-gray);
    padding: 50px;
    border-radius: var(--radius-large);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: var(--radius-medium);
    font-family: var(--font-primary);
    font-size: 16px;
    background: var(--white);
    transition: all var(--transition-fast);
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-group label {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--medium-gray);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    color: var(--accent-green);
    background: var(--white);
    padding: 0 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-light);
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.info-card h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.map-container {
    position: relative;
    height: 450px;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--light-gray);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-large);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.map-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-green);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.map-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.map-link i {
    font-size: 16px;
}

#map {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-box {
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    min-width: 70px;
    min-height: 70px;
}

.footer-logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-section h3 {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 28px;
    margin: 0;
}

.footer-section h3 span {
    color: var(--bright-green);
}

.footer-section h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--bright-green);
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--bright-green);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--bright-green);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-item i {
    width: 20px;
    color: var(--bright-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--bright-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img {
        height: 38px;
    }
    
    .nav-logo h2 {
        font-size: 24px;
    }
    
    .nav-logo {
        gap: 6px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left var(--transition-fast);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .realization-item {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .realization-item.reverse {
        direction: ltr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-points {
        grid-template-columns: 1fr;
    }
    
    .strategy-point {
        flex-direction: column;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-card {
        padding: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .safety-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .performance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .budget-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* AOS Animation Overrides */
[data-aos] {
    transition-duration: 0.8s;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 50px, 0);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translate3d(-50px, 0, 0);
    opacity: 0;
}

[data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translate3d(50px, 0, 0);
    opacity: 0;
}

[data-aos="fade-left"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

[data-aos="flip-up"] {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
}

[data-aos="flip-up"].aos-animate {
    transform: perspective(400px) rotateX(0);
    opacity: 1;
}

[data-aos="slide-right"] {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
}

[data-aos="slide-right"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Parallax Effects */
.parallax-element {
    will-change: transform;
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Loading States */
body.loading {
    overflow: hidden;
}

body.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2D5A27, #6B9B37);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.loading::after {
    content: 'MBSC SARLU';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    z-index: 10000;
    animation: pulse 1.5s infinite;
}

.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}