/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .section:nth-child(even) {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
}

body.dark-mode .feature-item,
body.dark-mode .expertise-card,
body.dark-mode .value-item,
body.dark-mode .member-card,
body.dark-mode .office-card,
body.dark-mode .testimonial,
body.dark-mode .contact-form-section {
    background: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .section-title,
body.dark-mode .about-text h3,
body.dark-mode .feature-item h4,
body.dark-mode .expertise-card h3,
body.dark-mode .value-item h4,
body.dark-mode .member-card h4,
body.dark-mode .office-card h3,
body.dark-mode .contact-form-section h3 {
    color: #e0e0e0;
}

body.dark-mode .contact-item {
    background: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.dark-mode .contact-item:hover {
    background: rgba(80, 80, 80, 0.9);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #3a3a3a;
    border-color: #4a4a4a;
    color: #e0e0e0;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #1FCC40;
    background: #404040;
}

body.dark-mode .client-names span {
    background: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Roadmap Section */
.roadmap-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body.dark-mode .roadmap-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-item:nth-child(even) .roadmap-content-item {
    text-align: right;
    margin-right: 2rem;
    margin-left: 0;
}

.roadmap-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.roadmap-item.completed .roadmap-icon {
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    box-shadow: 0 0 20px rgba(31, 204, 64, 0.3);
}

.roadmap-item.upcoming .roadmap-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 0 20px rgba(108, 117, 125, 0.3);
}

.roadmap-content-item {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-left: 2rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .roadmap-content-item {
    background: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-content-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
    transform: translateY(-50%);
}

body.dark-mode .roadmap-content-item::before {
    border-right-color: #2c2c2c;
}

.roadmap-item:nth-child(even) .roadmap-content-item::before {
    left: auto;
    right: -10px;
    border-right: none;
    border-left: 10px solid white;
}

body.dark-mode .roadmap-item:nth-child(even) .roadmap-content-item::before {
    border-left-color: #2c2c2c;
}

.roadmap-content-item h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

body.dark-mode .roadmap-content-item h4 {
    color: #e0e0e0;
}

.roadmap-content-item p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

body.dark-mode .roadmap-content-item p {
    color: #b0b0b0;
}

.roadmap-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.roadmap-item.completed .roadmap-status {
    background: rgba(31, 204, 64, 0.1);
    color: #1FCC40;
    border: 1px solid rgba(31, 204, 64, 0.3);
}

.roadmap-item.upcoming .roadmap-status {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .roadmap-item,
    .roadmap-item:nth-child(even) {
        flex-direction: row;
    }
    
    .roadmap-icon {
        margin: 0 1rem 0 0;
    }
    
    .roadmap-content-item,
    .roadmap-item:nth-child(even) .roadmap-content-item {
        margin-left: 1rem;
        margin-right: 0;
        text-align: left;
    }
    
    .roadmap-content-item::before {
        left: -10px;
        border-right: 10px solid white;
        border-left: none;
    }
    
    body.dark-mode .roadmap-content-item::before {
        border-right-color: #2c2c2c;
        border-left: none;
    }
    
    .roadmap-item:nth-child(even) .roadmap-content-item::before {
        left: -10px;
        right: auto;
        border-right: 10px solid white;
        border-left: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.floating {
    transform: translateY(0);
    animation: slideDown 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

/* Keep navbar always visible */
.navbar.nav-hidden {
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced floating behavior */
.navbar.floating .nav-container {
    padding: 0.8rem 2rem;
}

.navbar.floating .nav-logo h2 {
    font-size: 1.3rem;
}

.navbar.floating .nav-menu {
    gap: 1.5rem;
}

.navbar.floating .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

body.dark-mode .navbar.floating {
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #6c757d;
}

.nav-logo h2 .highlight-a {
    color: #1FCC40;
}

.nav-tagline {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 25px;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.theme-toggle {
    background: none;
    border: 2px solid #34495e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #34495e;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: #1FCC40;
    border-color: #1FCC40;
    color: white;
    transform: scale(1.1);
}

body.dark-mode .theme-toggle {
    border-color: #e0e0e0;
    color: #e0e0e0;
}

body.dark-mode .nav-link {
    color: #e0e0e0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #34495e;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Prevent overlap with fixed navbar; respect safe-area on mobile */
    padding-top: max(240px, env(safe-area-inset-top));
    padding-bottom: 2rem;
}

.inner-hero {
    min-height: 70vh;
    padding-top: max(180px, env(safe-area-inset-top));
    padding-bottom: 4rem;
}

.inner-hero .hero-title {
    font-size: 3.5rem;
}

.inner-hero .hero-subtitle {
    font-size: 2rem;
}

.inner-hero-background {
    background-image: url('../images/slide7-lagos-skyline.jpeg');
    animation: none;
    filter: saturate(110%);
}

.inner-hero .hero-overlay {
    background: rgba(7, 25, 13, 0.72);
}

.breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundSlideshow 20s ease-in-out infinite;
}

@keyframes backgroundSlideshow {
    0%, 20% { 
        background-image: url('../images/slide1-solar-cameroon.jpeg');
    }
    20.01%, 40% { 
        background-image: url('../images/slide2-freight-train.jpeg');
    }
    40.01%, 60% { 
        background-image: url('../images/slide4-artisanal-miners.jpeg');
    }
    60.01%, 80% { 
        background-image: url('../images/slide5-angola-port.jpeg');
    }
    80.01%, 100% { 
        background-image: url('../images/slide8-copper-trucks.jpeg');
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-title .highlight-a {
    color: #1FCC40;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(31, 204, 64, 0.5);
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-style: italic;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #1FCC40, #17a834);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(31, 204, 64, 0.5);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(31, 204, 64, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(31, 204, 64, 0.5);
    background: linear-gradient(135deg, #22d646 0%, #1aa537 100%);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    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); }
}

/* Hero Values Section */
.hero-values {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.value-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.value-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.value-box h4 {
    color: #1FCC40;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.fade-in-delay-5 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.5s forwards;
}

.fade-in-delay-6 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.8s forwards;
}

/* Banner Carousel */
.banner-carousel {
    margin-top: 3rem;
    max-width: 800px;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .banner-carousel {
        margin-top: 2rem;
    }
    
    .carousel-container {
        height: 200px;
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .hero-values {
        gap: 3rem;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .value-box {
        padding: 1.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.9s forwards;
}

.fade-in-delay-4 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section Background Images */
.section[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.section[style*="background-image"] .container {
    position: relative;
    z-index: 2;
}

.section[style*="background-image"] .section-title,
.section[style*="background-image"] .section-subtitle {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section[style*="background-image"] .section-line {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dark mode adjustments for background sections */
body.dark-mode .section-overlay {
    background: rgba(0, 0, 0, 0.6);
}

body.dark-mode .section[style*="background-image"] .section-title,
body.dark-mode .section[style*="background-image"] .section-subtitle {
    color: #f8f9fa;
}

/* Mobile optimization for background images */
@media (max-width: 768px) {
    .section[style*="background-image"] {
        background-attachment: scroll;
    }
    
    .section-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Enhanced content visibility over background images */
.section[style*="background-image"] .feature-item,
.section[style*="background-image"] .expertise-card,
.section[style*="background-image"] .member-card,
.section[style*="background-image"] .office-card,
.section[style*="background-image"] .testimonial,
.section[style*="background-image"] .client-names span,
.section[style*="background-image"] .contact-form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.section[style*="background-image"] .feature-item h4,
.section[style*="background-image"] .expertise-card h3,
.section[style*="background-image"] .member-card h4,
.section[style*="background-image"] .office-card h3,
.section[style*="background-image"] .client-names span {
    color: #2c3e50;
}

.section[style*="background-image"] .contact-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.section[style*="background-image"] .contact-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Dark mode adjustments for content over backgrounds */
body.dark-mode .section[style*="background-image"] .feature-item,
body.dark-mode .section[style*="background-image"] .expertise-card,
body.dark-mode .section[style*="background-image"] .member-card,
body.dark-mode .section[style*="background-image"] .office-card,
body.dark-mode .section[style*="background-image"] .testimonial,
body.dark-mode .section[style*="background-image"] .client-names span,
body.dark-mode .section[style*="background-image"] .contact-form-section {
    background: rgba(44, 44, 44, 0.95);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .section[style*="background-image"] .feature-item h4,
body.dark-mode .section[style*="background-image"] .expertise-card h3,
body.dark-mode .section[style*="background-image"] .member-card h4,
body.dark-mode .section[style*="background-image"] .office-card h3,
body.dark-mode .section[style*="background-image"] .client-names span {
    color: #e0e0e0;
}

/* About Section */
.about-section {
    background-image: url('../images/dhow.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 1024px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight {
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(31, 204, 64, 0.3);
}

.highlight h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.about-quote {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    font-style: italic;
    font-size: 1.3rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    border-left: 5px solid #1FCC40;
}

.about-mission {
    font-size: 1.2rem;
    text-align: center;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.8;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.expertise-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
}

.expertise-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    display: inline-block;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.expertise-card h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
}

.expertise-card li {
    padding: 0.5rem 0;
    color: #5a6c7d;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1FCC40;
    font-weight: bold;
}

/* Core Sectors Section */
.sectors-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 6rem;
}

.sectors-section .section-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.sectors-section .section-header .section-title,
.sectors-section .section-header .section-subtitle {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.sector-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(31, 204, 64, 0.12), rgba(31, 204, 64, 0));
    pointer-events: none;
}

.sector-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.sector-header {
    position: relative;
    z-index: 2;
    margin-bottom: 1.8rem;
}

.sector-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 35px rgba(31, 204, 64, 0.35);
}

.sector-card h3 {
    font-size: 1.9rem;
    color: #1f2d3d;
    margin-bottom: 0.75rem;
}

.sector-card p {
    color: #607080;
    margin: 0;
}

.sector-summary {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    z-index: 2;
}

.sector-summary li {
    position: relative;
    padding-left: 1.6rem;
    color: #465464;
    font-size: 1.02rem;
    line-height: 1.55;
}

.sector-summary li::before {
    content: '\f111';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #1FCC40;
    position: absolute;
    left: 0;
    top: 0.35rem;
    font-size: 0.6rem;
    text-shadow: 0 0 12px rgba(31, 204, 64, 0.45);
}

.sector-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(31, 204, 64, 0.12);
    color: #168231;
    border: 1px solid rgba(31, 204, 64, 0.3);
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.sector-more-btn::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

.sector-more-btn:hover {
    background: rgba(31, 204, 64, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 204, 64, 0.2);
}

.sector-guide {
    background: linear-gradient(135deg, rgba(9, 39, 19, 0.95), rgba(8, 26, 40, 0.9));
    color: #f2f8f4;
    position: relative;
}

.sector-guide .section-title,
.sector-guide .section-subtitle {
    color: #f2f8f4;
}

.detail-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #f6fff9;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.detail-link i {
    font-size: 1.2rem;
}

.detail-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.sector-detail-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(243, 247, 252, 1) 0%, rgba(233, 245, 237, 1) 100%);
}

.sector-detail-section:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(231, 242, 255, 1) 0%, rgba(241, 250, 244, 1) 100%);
}

.detail-card {
    max-width: 1080px;
    margin: 0 auto;
}

.sector-cta {
    background: linear-gradient(135deg, rgba(3, 20, 8, 0.95), rgba(7, 47, 21, 0.9));
    color: #f6fff9;
    text-align: center;
}

.cta-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.cta-card h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #f6fff9;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: rgba(246, 255, 249, 0.9);
    text-decoration: none;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.25s ease;
}

.cta-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.sector-pillars {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pillar {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(15, 15, 15, 0.08);
}

.pillar h4 {
    font-size: 1.1rem;
    color: #1f3c5c;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.sector-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sector-list li {
    position: relative;
    padding-left: 1.4rem;
    color: #526273;
    font-size: 0.97rem;
    line-height: 1.5;
}

.sector-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #1FCC40;
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.85rem;
}

body.dark-mode .sector-card {
    background: rgba(26, 26, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
}

body.dark-mode .sector-card::before {
    background: linear-gradient(135deg, rgba(31, 204, 64, 0.2), rgba(31, 204, 64, 0));
}

body.dark-mode .pillar {
    background: rgba(45, 45, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

body.dark-mode .sector-card h3,
body.dark-mode .pillar h4 {
    color: #f0f4f8;
}

body.dark-mode .sector-card p,
body.dark-mode .sector-list li {
    color: #ced6e0;
}

body.dark-mode .sector-summary li {
    color: #d8e3ef;
}

body.dark-mode .sector-summary li::before {
    color: #4fe06f;
    text-shadow: 0 0 15px rgba(79, 224, 111, 0.45);
}

body.dark-mode .sector-more-btn {
    background: rgba(31, 204, 64, 0.18);
    color: #f5fff8;
    border-color: rgba(31, 204, 64, 0.45);
}

body.dark-mode .sector-more-btn:hover {
    background: rgba(31, 204, 64, 0.28);
    box-shadow: 0 14px 28px rgba(31, 204, 64, 0.35);
}

body.dark-mode .sector-guide {
    background: linear-gradient(135deg, rgba(4, 15, 6, 0.95), rgba(3, 14, 21, 0.92));
}

body.dark-mode .detail-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(245, 255, 248, 0.92);
}

body.dark-mode .detail-link:hover {
    background: rgba(255, 255, 255, 0.18);
}

body.dark-mode .sector-detail-section {
    background: linear-gradient(180deg, rgba(13, 20, 24, 1) 0%, rgba(9, 26, 18, 1) 100%);
}

body.dark-mode .sector-detail-section:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(11, 18, 24, 1) 0%, rgba(15, 21, 28, 1) 100%);
}

body.dark-mode .cta-link {
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
    .sector-card {
        padding: 2rem;
    }

    .sector-pillars {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .sectors-section {
        padding-bottom: 4.5rem;
    }

    .sector-card {
        padding: 1.75rem;
    }

    .sector-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .sector-card h3 {
        font-size: 1.6rem;
    }

    .sector-pillars {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .sector-card {
        padding: 1.5rem;
    }

    .pillar {
        padding: 1.25rem;
    }
}

/* Clients Section */
.clients-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.clients-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #5a6c7d;
}

/* White text for sections with background images */
.section[style*="background-image"] .clients-description {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.clients-list h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.section[style*="background-image"] .clients-list h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.client-names {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.client-names span {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.client-names span:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    color: white;
}

/* Projects Section */
.projects-content {
    max-width: 1000px;
    margin: 0 auto;
}

.projects-description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #5a6c7d;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 5px solid #1FCC40;
}

.testimonial::before {
    content: '"';
    font-size: 6rem;
    color: #1FCC40;
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial cite {
    color: #2c3e50;
    font-weight: 600;
}

/* Team Section */
.team-values {
    margin-bottom: 5rem;
}

.team-values h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

/* White text for team-values heading on background images */
.section[style*="background-image"] .team-values h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.value-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.value-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.value-item h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

.team-members {
    margin-top: 5rem;
}

.team-members h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

/* White text for team-members heading on background images */
.section[style*="background-image"] .team-members h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.member-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(31, 204, 64, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.member-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 204, 64, 0.4);
}

.member-photo i {
    font-size: 3rem;
    color: white;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.member-photo:hover .member-image {
    transform: scale(1.05);
}

.member-card h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #1FCC40;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.member-description {
    color: #7f8c8d;
    line-height: 1.7;
    text-align: left;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}

.gallery-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.gallery-slide.prev {
    transform: translateX(-100%);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide.active .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slide-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.gallery-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    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 {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.office-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.office-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-card h3 i {
    color: #1FCC40;
}

.office-details h4 {
    color: #1FCC40;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.office-details p {
    color: #7f8c8d;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.contact-cta {
    text-align: center;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(31, 204, 64, 0.3);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2BE774 0%, #149B8C 100%);
}

.email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(31, 204, 64, 0.4);
}

/* Contact Form */
.contact-form-section {
    max-width: 800px;
    margin: 4rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1FCC40;
    box-shadow: 0 0 0 3px rgba(31, 204, 64, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(31, 204, 64, 0.3);
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 204, 64, 0.4);
    background: linear-gradient(135deg, #22d646 0%, #1aa537 100%);
}

.form-submit-btn:active {
    transform: translateY(-1px);
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #2c3e50;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .whatsapp-tooltip {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
    animation: slideInUp 0.3s ease;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 2rem;
        margin: 3rem 1rem 0;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.footer-logo h3 .highlight-a {
    color: #1FCC40;
}

.footer-logo p {
    font-style: italic;
    opacity: 0.8;
}

.footer-contact h4 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-contact p:hover {
    color: #1FCC40;
}

.footer-contact i {
    width: 16px;
    color: #1FCC40;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: #1FCC40;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 2rem; }
    .hero-stats { gap: 2rem; }
    .stat-item h3 { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: max(80px, env(safe-area-inset-top));
        left: -100%;
        width: 100%;
        height: calc(100vh - max(80px, env(safe-area-inset-top)));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        min-height: auto;
        padding-top: max(200px, env(safe-area-inset-top));
        padding-bottom: 2rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .hero-description { font-size: 1.1rem; }
    .hero-stats { 
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
        margin: 2rem 0;
    }
    .hero-cta { 
        flex-direction: column; 
        align-items: center;
        margin: 2rem 0;
    }
    
    .section { padding: 3rem 0; }
    .section-title { font-size: 2rem; }
    .container { padding: 0 1rem; }
    
    .expertise-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .members-grid { grid-template-columns: 1fr; }
    .offices-grid { grid-template-columns: 1fr; }
    
    .about-highlights { grid-template-columns: 1fr; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    
    .nav-logo {
        gap: 0.5rem;
    }
    
    .nav-logo-img {
        height: 65px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .nav-tagline {
        font-size: 0.8rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .nav-container { padding: 1rem; }
    
    .nav-logo {
        gap: 0.3rem;
    }
    
    .nav-logo-img {
        height: 55px;
    }
    
    .nav-logo h2 {
        font-size: 1.1rem;
    }
    
    .nav-tagline {
        font-size: 0.7rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: max(180px, env(safe-area-inset-top));
        padding-bottom: 3rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.5rem; }
    
    .hero-stats {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .hero-cta {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .section-title { font-size: 1.8rem; }
    .btn-primary, .btn-secondary { padding: 0.8rem 1.5rem; font-size: 1rem; }
    .feature-item, .expertise-card, .value-item, .member-card, .office-card {
        padding: 1.5rem;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
    padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem 1rem;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: #2c3e50;
    z-index: 2;
    position: relative;
    max-width: 100%;
    width: 100%;
}

.loading-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: logoGlow 2s ease-in-out infinite alternate;
    color: #2c3e50;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

.loading-logo .highlight-a {
    color: #1FCC40;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1), 0 0 20px rgba(31, 204, 64, 0.3);
}

.loading-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.9;
    text-align: center;
    line-height: 1.4;
}

.loading-text {
    font-size: 1.2rem;
    color: rgba(44, 62, 80, 0.8);
    margin-bottom: 2rem;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes floatAnimation {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-20px) scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
}

@keyframes logoGlow {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2); }
    100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.4); }
}

.loader {
    width: clamp(40px, 10vw, 60px);
    height: clamp(40px, 10vw, 60px);
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.loading-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.loading-progress {
    width: clamp(200px, 80vw, 300px);
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1));
    border-radius: 2px;
    animation: progressAnimation 3s ease-out forwards;
    width: 0%;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .loading {
        padding: 1.5rem;
    }
    
    .loading-tagline {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .loading {
        padding: 1rem;
    }
    
    .loading-tagline {
        margin-bottom: 2rem;
    }
}

/* Africa Slideshow Section */
.africa-slideshow-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

body.dark-mode .africa-slideshow-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
}

.africa-slideshow {
    max-width: 900px;
    margin: 3rem auto 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: left;
}

.slide-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1FCC40;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Navigation arrows */
.slideshow-prev, .slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slideshow-prev {
    left: 1rem;
}

.slideshow-next {
    right: 1rem;
}

.slideshow-prev:hover, .slideshow-next:hover {
    background: rgba(31, 204, 64, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Slide indicators */
.slideshow-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #1FCC40;
    transform: scale(1.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .africa-slideshow-section {
        padding: 4rem 0;
    }
    
    .slide {
        height: 350px;
    }
    
    .slide-caption {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-caption h3 {
        font-size: 1.3rem;
    }
    
    .slideshow-prev, .slideshow-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .slideshow-prev {
        left: 0.5rem;
    }
    
    .slideshow-next {
        right: 0.5rem;
    }
    
    .dot {
        height: 12px;
        width: 12px;
    }
}

@media (max-width: 480px) {
    .slide {
        height: 280px;
    }
    
    .slide-caption {
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-caption h3 {
        font-size: 1.1rem;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
    }
}

/* Popup Image System */
.popup-image-trigger {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1FCC40;
    box-shadow: 0 4px 12px rgba(31, 204, 64, 0.3);
    transition: all 0.3s ease;
    animation: pulseGlow 3s ease-in-out infinite;
}

.popup-image-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(31, 204, 64, 0.5);
}

.popup-image-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(31, 204, 64, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(31, 204, 64, 0.6), 0 0 20px rgba(31, 204, 64, 0.4);
    }
}

/* Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.popup-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    position: relative;
    max-width: 800px;
    max-height: 90vh;
    margin: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.4s ease;
}

body.dark-mode .popup-content {
    background: #2c2c2c;
    color: #e0e0e0;
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
}

.popup-description {
    padding: 2rem;
}

.popup-description h3 {
    color: #1FCC40;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.popup-description p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #1FCC40;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Popup gallery layout */
.popup-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.popup-gallery .popup-image-trigger {
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Mobile responsiveness for popups */
@media (max-width: 768px) {
    .popup-image-trigger {
        width: 90px;
        height: 90px;
    }
    
    .popup-gallery {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .popup-content {
        margin: 1rem;
        max-height: 85vh;
    }
    
    .popup-description {
        padding: 1.5rem;
    }
    
    .popup-description h3 {
        font-size: 1.3rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1FCC40 0%, #17a834 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #22d646 0%, #1aa537 100%);
}

@media (min-width: 1441px) {
    .popup-gallery {
        gap: 2rem;
    }

    .popup-gallery .popup-image-trigger {
        width: 140px;
        height: 140px;
    }
}