:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --deep-forest-green: #1e8449;
    --white: #ffffff;
    --light-gray: #f4f6f7;
    --text-color: #2c3e50;
    --footer-bg: #1a252f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed; /* Fixed for scroll effect */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.logo-img {
    height: 75px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Make it white for dark footer */
}

.site-header.transparent {
    background: transparent;
    box-shadow: none;
    color: var(--white);
}

.site-header.transparent .nav-list a,
.site-header.transparent .lang-switcher,
.site-header.transparent .logo {
    color: var(--white);
}

.site-header.transparent .logo-icon {
    color: var(--white);
}

.site-header.transparent .logo-img {
    filter: brightness(0) invert(1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.site-header.transparent .header-container {
    height: 100px; /* Slightly larger on transparent */
}

.logo {
    display: flex;
    align-items: center;
    color: var(--deep-forest-green);
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    z-index: 1001;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--dark-green);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.site-header.transparent .nav-list a::after {
    background-color: var(--white);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--dark-green);
}

.site-header.transparent .nav-list a.active {
    color: var(--white);
    font-weight: 700;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
    flex-direction: column;
    display: flex;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    padding: 10px 20px;
    color: var(--text-color) !important; /* Always dark text in dropdown */
    display: block;
    white-space: nowrap;
}

.nav-dropdown a::after {
    display: none; /* No underline in dropdown */
}

.nav-dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--primary-green) !important;
}

/* Lang Switcher */
.lang-switcher {
    position: relative;
    margin-left: 40px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--primary-green); /* Default Green */
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    display: none;
    flex-direction: column;
    min-width: 80px;
    overflow: hidden;
    z-index: 1002;
    margin-top: 10px;
}

.lang-switcher:hover .lang-dropdown {
    display: flex;
}

.lang-dropdown a {
    padding: 10px 15px;
    display: block;
    text-align: center;
    font-weight: 500;
    color: var(--text-color) !important;
}

.lang-dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--primary-green) !important;
}

/* Canvas Particles */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs-container {
    background: #e9ecef;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumbs {
    display: flex;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li span {
    margin: 0 10px;
}

.breadcrumbs a:hover {
    color: var(--primary-green);
}

/* Main Content */
main {
    flex: 1;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-col i {
    margin-right: 10px;
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .logo-icon {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px 40px; /* Adjusted padding */
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1000;
        color: var(--text-color) !important; /* Force dark text even on transparent headers */
    }

    /* Override for transparent header state in mobile menu */
    .site-header.transparent .main-nav a,
    .site-header.transparent .main-nav .lang-switcher {
        color: var(--text-color) !important;
    }

    .header-container {
        padding: 0 20px !important;
        justify-content: center !important; /* Center the logo */
    }

    .menu-toggle {
        position: absolute;
        right: 20px; /* Keep toggle on the right but floating */
        color: inherit;
    }

    .site-header.transparent .menu-toggle {
        color: var(--white);
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 30px;
        justify-content: center;
        width: 100%;
    }

    .lang-dropdown {
        position: relative; /* Static flow in mobile */
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        box-shadow: none;
        margin-top: 15px;
        background: transparent;
        gap: 15px;
        z-index: 1005; /* High z-index */
        pointer-events: auto; /* Ensure clickable */
    }

    .lang-dropdown a {
        border: 1px solid #ddd;
        border-radius: 6px;
        min-width: 60px;
        padding: 8px !important;
        background: #fdfdfd;
        color: var(--text-color) !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .current-lang {
        display: none; /* Hide current lang label in mobile as we show all options */
    }

    .main-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Page Sections */
.page-section {
    padding: 80px 0;
    opacity: 0; /* For animation */
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.05); /* Slight zoom for effect */
    transition: opacity 1s ease-in-out, transform 6s linear;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Above slides and particles */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.1);
}


/* Embossed 3D Corporate Design */

/* Header */
.modern-header {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.header-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(46, 204, 113, 0.2));
    z-index: 1;
}



/* Navbar Container (Global) */
.site-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0; /* Standard Navbar padding */
}

/* Page Header Container (Specific to Banners) */
.modern-header .header-container {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 0 50px;
    width: 100%;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Scrolled Navbar State */
.site-header.scrolled {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 0; /* Compact on scroll */
}

.site-header.scrolled .header-container {
    padding: 15px 0;
}

/* Row Layout */
.row-modern {
    display: flex;
    align-items: center;
    gap: 50px; /* Generous gap between image and text */
}

.col-image, .col-text {
    flex: 1;
}

/* Ensure image content fits */
.col-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Specific spacing for mobile handled in media query */

.site-header.scrolled .brand-text {
    color: var(--deep-forest-green);
}

/* Language Switcher Fixes */
.lang-switcher {
    color: var(--white); /* Default transparent header */
    transition: color 0.3s;
    font-weight: 600;
}

/* Force dark color on scroll OR on solid subpages */
.site-header.scrolled .lang-switcher,
.site-header.solid .lang-switcher,
.navbar.scrolled .lang-switcher,
.navbar.solid .lang-switcher {
    color: var(--deep-forest-green) !important;
}

/* Language Dropdown Fix (Bridge Gap) */
.lang-dropdown {
    margin-top: 0;
    padding-top: 15px; /* Invisible bridge area */
    top: 100%;
}
/* Actual visual part of dropdown needs to be handled if padding-top makes it huge? 
   The previous CSS has .lang-dropdown background set. 
   If I add padding-top, the background will extend. 
   Better approach: Use a transparent border-top or pseudo-element to bridge.
   Let's use a pseudo-element on .lang-switcher to fill the gap.
*/
.lang-switcher::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; /* Safe bridge */
}

.lang-dropdown {
    /* Reset padding if previously set to bridge */
    padding: 10px 0;
    margin-top: 15px; /* Push down visual */
}

/* Wrapper & Sections */
.corporate-wrapper {
    background-color: #ffffff; /* White BG */
    padding: 80px 0;
}

/* Embossed Card Style (Now Soft Elevated Card) */
.embossed-card {
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05); /* Soft Drop Shadow */
    padding: 50px;
    margin-bottom: 60px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02); /* Subtle border definition */
}

/* Modern Sections & Components */
.modern-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-forest-green);
    margin-bottom: 20px;
}

.text-content {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

/* Vision Cards */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-card {
    text-align: center;
    padding: 30px;
}

.embossed-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    margin: 0 auto 20px;
}

/* Stat Cards & Grid */
.capacity-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.stat-card-3d {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.stat-card-3d:hover {
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--deep-forest-green);
}

.neumorphic-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #f8f9fa;
    color: #444;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s;
}

.neumorphic-input:focus {
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
    background: #ffffff;
    border-color: var(--primary-green);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
    .modern-header {
        height: 250px;
    }
    .page-title {
        font-size: 2rem;
    }
    .row-modern {
        flex-direction: column;
    }
    .vision-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .vision-card {
        padding: 20px;
        text-align: center;
    }

    .embossed-icon-box {
        margin: 0 auto 15px;
    }
}

.section-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: none;
}

/* Services Grid */
.services-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card-item {
    text-align: center;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 30px #b8c6db, -15px -15px 30px #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.service-card-item:hover .large-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--dark-green);
}

.large-icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    margin-bottom: 30px;
}


/* Quality Policy Modern Design */
.policy-quote-box {
    background: #f8f9fa;
    border-left: 5px solid var(--primary-green);
    padding: 30px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(46, 204, 113, 0.2);
    position: absolute;
    top: 20px;
    left: 20px;
}

.policy-quote-box p {
    font-size: 1.25rem;
    font-weight: 500;
    color: #34495e;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    padding-left: 30px; /* Space for quote icon if needed, or centering */
}

.policy-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.policy-feature-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.policy-feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.15);
    border-color: var(--primary-green);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    margin-right: 20px;
    font-size: 1.1rem;
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
}


/* Contact Page Layout */
.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.small-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-forest-green);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: #666;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary-green);
}

/* Neumorphic Form Inputs */
.neumorphic-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    background: #e0e5ec;
    box-shadow: inset 5px 5px 10px #b8c6db, inset -5px -5px 10px #ffffff;
    color: #444;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s;
}

.neumorphic-input:focus {
    box-shadow: inset 2px 2px 5px #b8c6db, inset -2px -2px 5px #ffffff;
    background: rgba(255,255,255,0.4);
}

.neumorphic-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    background: var(--primary-green);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 5px 5px 15px rgba(46, 204, 113, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.neumorphic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 20px rgba(46, 204, 113, 0.6);
}

.map-card {
    padding: 0 !important; /* Force no padding for map */
    overflow: hidden;
    height: 450px;
}

@media (max-width: 992px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }

    .modern-header {
        height: 250px;
    }
    .page-title {
        font-size: 2rem;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--deep-forest-green);
}

/* About Preview */
.about-preview {
    background-color: var(--white);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--deep-forest-green);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.about-content p {
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1rem;
}


/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.content-text {
    flex: 1;
}

.content-text h2 {
    color: var(--deep-forest-green);
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.content-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.content-text p, .content-text ul {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}

.content-text ul {
    list-style: disc;
    padding-left: 20px;
}

/* Testimonials */
.testimonials-section {
    background: var(--light-gray);
    text-align: center;
}

.section-title {
    color: var(--deep-forest-green);
    font-size: 2.2rem;
    margin-bottom: 50px;
}


.testimonials-wrapper {
    position: relative;
    padding: 0 40px; /* Space for buttons */
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 5px; /* Top/Bottom padding for shadow */
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 300px;
    flex: 0 0 300px; /* Start with fixed width, or flex basis */
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

/* Testimonial Buttons */
.testi-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testi-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.testi-btn.prev-testi {
    left: 0;
}

.testi-btn.next-testi {
    right: 0;
}

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

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card h4 {
    color: var(--dark-green);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.testi-rating {
    color: #f1c40f; /* Gold color for stars */
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testi-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testi-company {
    font-size: 0.85rem;
    color: #555; /* Darker grey for better visibility */
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

/* Scroll To Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-top-btn:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
}

.scroll-top-btn.visible {
    display: flex;
    animation: fadeIn 0.4s;
}

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

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
    .content-row.reverse {
        flex-direction: column;
    }
}

/* Gallery Page Styles */
.gallery-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

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

.gallery-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-img-wrapper:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 204, 113, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
    .gallery-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* Performance Fix: Ensure content is visible */
.page-section, .feature-card, .gallery-item, .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    animation: none !important;
}

/* Particles Canvas */
#particles-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; 
    pointer-events: none; 
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default, JS toggles to flex */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px); /* Modern blur effect */
    /* Flexbox for centering */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close-lightbox:hover {
    color: var(--primary-green);
    transform: rotate(90deg);
}

.prev-slide,
.next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: all 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10000;
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    margin-top: 15px;
    width: 100%;
    text-align: center;
    color: #eee;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Mobile Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    .prev-slide, .next-slide {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .prev-slide { left: 10px; }
    .next-slide { right: 10px; }
    .close-lightbox { top: 10px; right: 20px; font-size: 30px; }
}
