/* Custom CSS for Frontier Timber Website */

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2c;
    --light-green: #6a9a3d;
    --timber-brown: #6b4423;
    --dark-brown: #3d2817;
    --forest-dark: #1a3d0f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navigation Styles */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .nav-link {
    color: #333 !important;
}

#navbar.scrolled .logo-white {
    display: none;
}

#navbar.scrolled .logo-color {
    display: block !important;
}

.nav-link {
    position: relative;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4ade80;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(29, 61, 15, 0.3),
        rgba(45, 80, 22, 0.4)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide-content.active {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Stats Box */
.stat-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: translateZ(0);
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 61, 15, 0.85);
}

/* Approach Cards - Enhanced */
.approach-card-enhanced {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.approach-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #16a34a, #10b981, #059669);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.approach-card-enhanced:hover::before {
    transform: scaleX(1);
}

.approach-card-enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(22, 163, 74, 0.3);
    border-color: #16a34a;
}

.approach-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #16a34a;
    transition: all 0.4s ease;
}

.approach-card-enhanced:hover .approach-number {
    background: linear-gradient(135deg, #16a34a, #10b981);
    color: white;
    transform: rotate(360deg) scale(1.1);
}

.approach-icon-box {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #16a34a, #10b981);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
    transition: all 0.4s ease;
}

.approach-card-enhanced:hover .approach-icon-box {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.5);
}

.approach-card-title {
    font-size: 26px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.approach-card-enhanced:hover .approach-card-title {
    color: #16a34a;
}

.approach-card-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #10b981);
    border-radius: 2px;
    margin-bottom: 20px;
    transition: width 0.4s ease;
}

.approach-card-enhanced:hover .approach-card-divider {
    width: 100px;
}

.approach-card-text {
    font-size: 16px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 24px;
}

.approach-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-item i {
    color: #16a34a;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.approach-card-enhanced:hover .feature-item {
    color: #16a34a;
    transform: translateX(5px);
}

.approach-card-enhanced:hover .feature-item i {
    transform: scale(1.2);
}

/* Approach Process Flow */
.approach-process-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
}

.approach-process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.3);
}

.process-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #16a34a, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

.process-step-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.process-step-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.process-arrow {
    color: white;
    font-size: 28px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.process-arrow:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Legacy Approach Cards */
.approach-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.approach-card:hover::before {
    left: 100%;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 20px;
}

/* Impact Cards - Enhanced Version */
.impact-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.impact-card-enhanced:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 25px 60px rgba(22, 163, 74, 0.25);
    border-color: #16a34a;
}

.impact-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #10b981, #059669);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 10;
}

.impact-card-enhanced:hover::before {
    transform: scaleX(1);
}

.impact-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.impact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card-enhanced:hover .impact-image-wrapper img {
    transform: scale(1.15) rotate(2deg);
}

.impact-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(22, 163, 74, 0) 0%,
        rgba(22, 163, 74, 0.1) 50%,
        rgba(22, 163, 74, 0.4) 100%
    );
    transition: opacity 0.5s ease;
}

.impact-card-enhanced:hover .impact-image-overlay {
    background: linear-gradient(
        180deg,
        rgba(22, 163, 74, 0.1) 0%,
        rgba(22, 163, 74, 0.3) 50%,
        rgba(22, 163, 74, 0.6) 100%
    );
}

.impact-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #16a34a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    z-index: 5;
}

.impact-card-enhanced:hover .impact-icon-badge {
    transform: rotate(15deg) scale(1.15);
    background: #16a34a;
    color: white;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.4);
}

.impact-content {
    padding: 28px;
    background: white;
}

.impact-title {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.impact-card-enhanced:hover .impact-title {
    color: #16a34a;
}

.impact-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #10b981);
    border-radius: 2px;
    margin-bottom: 16px;
    transition: width 0.4s ease;
}

.impact-card-enhanced:hover .impact-divider {
    width: 80px;
}

.impact-description {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 20px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.impact-card-enhanced:hover .stat-item {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legacy Impact Cards - Keep for compatibility */
.impact-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.impact-card img {
    transition: transform 0.5s ease;
}

.impact-card:hover img {
    transform: scale(1.1);
}

/* Gallery - Enhanced Version */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item-enhanced.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    height: 660px;
}

.gallery-item-enhanced.gallery-wide {
    grid-column: span 2;
}

.gallery-item-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-enhanced:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(22, 163, 74, 0) 0%,
        rgba(22, 163, 74, 0.7) 60%,
        rgba(22, 163, 74, 0.95) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.gallery-item-enhanced:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    width: 100%;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.gallery-item-enhanced:hover .gallery-content {
    transform: translateY(0);
}

.gallery-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.gallery-item-enhanced:hover .gallery-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(10deg);
}

.gallery-title {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.gallery-item-enhanced:hover .gallery-badge {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

/* Legacy Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

/* Form Styles */
input:focus,
textarea:focus {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-control {
        width: 40px;
        height: 40px;
    }
    
    .slider-control.prev {
        left: 15px;
    }
    
    .slider-control.next {
        right: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stat-box {
        margin-bottom: 10px;
    }
}

/* Parallax Image Effect */
.parallax-image {
    transition: transform 0.3s ease;
}

.parallax-image:hover {
    transform: scale(1.05);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Smooth scrolling for sections */
.section {
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* What We Do Section Styles */
.what-we-do-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.what-we-do-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.what-we-do-card:hover::before {
    transform: scaleX(1);
}

.what-we-do-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(22, 163, 74, 0.2);
    border-color: #16a34a;
}

.timber-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, #16a34a, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
}

.what-we-do-card:hover .timber-icon-box {
    transform: rotate(5deg) scale(1.1);
}

.timber-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #10b981);
    margin: 16px 0;
    border-radius: 2px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #15803d;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
}

/* Why Work With Us Section Styles - Image-Based Cards */
.why-us-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 520px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.why-us-image-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(22, 163, 74, 0.3);
}

.why-us-image-card .image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.why-us-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.why-us-image-card:hover img {
    transform: scale(1.15);
}

.why-us-image-card .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(22, 163, 74, 0.15) 0%, rgba(21, 128, 61, 0.55) 80%, rgba(20, 83, 45, 0.65) 100% );
    transition: opacity 0.5s ease;
}

.why-us-image-card:hover .image-overlay {
     background: linear-gradient( to bottom, rgba(22, 163, 74, 0.1) 0%, rgba(21, 128, 61, 0.85) 80%, rgba(20, 83, 45, 0.35) 100% );
}

.why-us-image-card .image-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
    color: white;
}

.why-us-image-card .icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
    transition: all 0.4s ease;
}

.why-us-image-card:hover .icon-badge {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(10deg) scale(1.1);
}

.why-us-image-card .content-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.why-us-image-card .content-divider {
    width: 60px;
    height: 4px;
    background: white;
    border-radius: 2px;
    margin-bottom: 16px;
    transition: width 0.4s ease;
}

.why-us-image-card:hover .content-divider {
    width: 100px;
}

.why-us-image-card .content-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.why-us-image-card .content-text .highlight {
    font-weight: 700;
    color: #fbbf24;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.why-us-image-card .progress-indicator {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.why-us-image-card .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: width 2s ease;
}

.why-us-image-card .feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.why-us-image-card .mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.why-us-image-card:hover .mini-badge {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.why-us-image-card .tech-icons-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.why-us-image-card .tech-mini-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-us-image-card:hover .tech-mini-icon {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

.why-us-image-card .tech-mini-icon i {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.why-us-image-card .tech-mini-icon span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legacy styles kept for compatibility */
.advantage-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.advantage-card:hover {
    background: #f9fafb;
    border-color: #16a34a;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #10b981);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    transition: width 2s ease;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    border: 1px solid #16a34a;
    color: #15803d;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.tech-stat {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 12px;
    border-radius: 8px;
}

/* Vision and Mission Cards */
.vision-mission-card {
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vision-mission-card:hover::before {
    transform: scaleX(1);
}

.vision-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(22, 163, 74, 0.2);
    border-color: #16a34a;
}

.vm-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #16a34a, #10b981);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
    transition: all 0.4s ease;
}

.vision-mission-card:hover .vm-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

.vm-title {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

.vm-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #10b981);
    border-radius: 2px;
    margin-bottom: 20px;
    transition: width 0.4s ease;
}

.vision-mission-card:hover .vm-divider {
    width: 100px;
}

.vm-text {
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 24px;
}

.vm-badge {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    border: 1px solid #16a34a;
    color: #15803d;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.vision-mission-card:hover .vm-badge {
    background: #16a34a;
    color: white;
    transform: translateY(-2px);
}

/* Why Uganda Section */
.why-uganda-stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
}

.why-uganda-stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(8px);
}

.why-uganda-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fbbf24;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.why-uganda-stat-box:hover .why-uganda-icon {
    background: #fbbf24;
    color: #15803d;
    transform: rotate(10deg);
}

/* Core Values */
.core-values-section {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #16a34a;
    border-radius: 20px;
    padding: 48px;
    margin-top: 32px;
}

.core-value-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.core-value-card:hover {
    background: white;
    border-color: #16a34a;
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(22, 163, 74, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .what-we-do-card,
    .advantage-card {
        padding: 24px;
    }
    
    .timber-icon-box,
    .advantage-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    
    .core-values-section {
        padding: 32px 20px;
    }
    
    .advantage-card:hover {
        transform: translateY(-8px);
    }
    
    /* Why Work With Us - Mobile */
    .why-us-image-card {
        height: 450px;
    }
    
    .why-us-image-card .image-content {
        padding: 24px;
    }
    
    .why-us-image-card .icon-badge {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .why-us-image-card .content-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .why-us-image-card .content-text {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .why-us-image-card .mini-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .why-us-image-card .tech-mini-icon {
        padding: 10px 6px;
    }
    
    .why-us-image-card .tech-mini-icon i {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .why-us-image-card .tech-mini-icon span {
        font-size: 10px;
    }
    
    .why-us-image-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    /* Impact Section - Mobile */
    .impact-card-enhanced {
        margin-bottom: 20px;
    }
    
    .impact-image-wrapper {
        height: 220px;
    }
    
    .impact-icon-badge {
        width: 56px;
        height: 56px;
        font-size: 24px;
        top: 16px;
        right: 16px;
    }
    
    .impact-content {
        padding: 20px;
    }
    
    .impact-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .impact-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .impact-stats {
        gap: 8px;
        padding-top: 12px;
    }
    
    .stat-item {
        padding: 10px 8px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .impact-card-enhanced:hover {
        transform: translateY(-10px) scale(1.01);
    }
    
    /* Vision & Mission - Mobile */
    .vision-mission-card {
        padding: 28px;
    }
    
    .vm-icon-wrapper {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .vm-title {
        font-size: 24px;
    }
    
    .vm-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .vm-badge {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    /* Why Uganda - Mobile */
    .why-uganda-stat-box {
        padding: 20px;
    }
    
    .why-uganda-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
        margin-right: 16px;
    }
    
    .why-uganda-stat-box h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .why-uganda-stat-box p {
        font-size: 14px;
    }
    
    /* Approach Section - Mobile */
    .approach-card-enhanced {
        padding: 32px 24px;
    }
    
    .approach-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
        top: 16px;
        right: 16px;
    }
    
    .approach-icon-box {
        width: 80px;
        height: 80px;
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .approach-card-title {
        font-size: 22px;
    }
    
    .approach-card-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .approach-process-wrapper {
        padding: 28px 20px;
    }
    
    .approach-process-flow {
        flex-direction: column;
        gap: 16px;
    }
    
    .process-step {
        min-width: 100%;
        padding: 20px 16px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        font-size: 24px;
    }
    
    .process-step-content h4 {
        font-size: 16px;
    }
    
    .process-step-content p {
        font-size: 13px;
    }
    
    /* Gallery - Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gallery-item-enhanced {
        height: 280px;
    }
    
    .gallery-item-enhanced.gallery-large,
    .gallery-item-enhanced.gallery-wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 320px;
    }
    
    .gallery-overlay {
        padding: 24px;
    }
    
    .gallery-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .gallery-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .gallery-description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .gallery-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .slider-control,
    .slider-indicators,
    #navbar,
    footer {
        display: none;
    }
}
