/* ===================================
   GLOBAL STYLES & VARIABLES
   =================================== */

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

:root {
    --primary-color: #3C663E;
    --primary-dark: #2d4f30;
    --primary-light: #4d7d50;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8faf8;
    --white: #ffffff;
    --shadow-sm: 0 2px 20px rgba(60, 102, 62, 0.1);
    --shadow-md: 0 10px 40px rgba(60, 102, 62, 0.15);
    --shadow-lg: 0 20px 60px rgba(60, 102, 62, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

  /* Header Styles */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        header.scrolled {
            background: rgba(255, 255, 255, 1);
            box-shadow: var(--shadow-md);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        /* Logo Styles */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
            animation: fadeInLeft 0.8s ease;
            z-index: 1001;
        }

        .logo-image {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 20px rgba(60, 102, 62, 0.3);
            transition: var(--transition);
            overflow: hidden;
        }

        .logo-image:hover {
            transform: rotate(5deg) scale(1.05);
            box-shadow: 0 8px 25px rgba(60, 102, 62, 0.4);
        }

        .logo-image i {
            font-size: 2rem;
            color: var(--white);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-color);
            letter-spacing: 1px;
            line-height: 1;
        }

        .logo-subtitle {
            color: #555;
            font-size: 0.8rem;
            font-weight: 400;
            margin-top: 2px;
        }

        /* Desktop Menu */
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
            margin: 0;
        }

        .nav-menu > li {
            position: relative;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95rem;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0;
            position: relative;
        }

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

        .nav-menu > li > a:hover::after {
            width: 100%;
        }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

        .nav-menu a i {
            font-size: 0.85rem;
            transition: var(--transition);
        }

        .nav-menu a:hover i {
            transform: scale(1.2);
        }

        /* Dropdown Styles */
        .dropdown {
            position: relative;
        }

        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            min-width: 280px;
            box-shadow: var(--shadow-lg);
            border-radius: 16px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            padding: 0.8rem 0;
            margin-top: 0.8rem;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .dropdown:hover > .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .dropdown-content a {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.9rem 1.5rem;
            color: var(--text-dark);
            transition: var(--transition);
            border-left: 3px solid transparent;
        }

        .dropdown-content a:hover {
            background: linear-gradient(90deg, rgba(60, 102, 62, 0.08) 0%, transparent 100%);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
            padding-left: 2rem;
        }

        .dropdown-content i {
            width: 20px;
            color: var(--primary-color);
            transition: var(--transition);
        }

        .dropdown-content a:hover i {
            transform: translateX(5px);
        }

        /* Nested Dropdown */
        .dropdown .dropdown {
            position: relative;
        }

        .dropdown .dropdown > a {
            justify-content: space-between;
        }

        .dropdown .dropdown .dropdown-content {
            left: 100%;
            top: 0;
            margin-top: 0;
            margin-left: 0.5rem;
        }

        .dropdown .dropdown > a .fa-chevron-right {
            margin-left: auto;
            font-size: 0.75rem;
            opacity: 0.6;
        }

        /* Join Button */
        .btn-join {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 0.9rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.95rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            box-shadow: 0 5px 20px rgba(60, 102, 62, 0.3);
            transition: var(--transition);
            border: none;
            cursor: pointer;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .btn-join::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn-join:hover::before {
            left: 100%;
        }

        .btn-join:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(60, 102, 62, 0.5);
        }

        .btn-join i {
            font-size: 1rem;
            transition: var(--transition);
        }

        .btn-join:hover i {
            transform: rotate(15deg);
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 6px;
            z-index: 1001;
            padding: 10px;
        }

        .menu-toggle span {
            width: 28px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
            transition: var(--transition);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Mobile Styles */
        @media (max-width: 992px) {
            nav {
                padding: 1rem 3%;
            }

            .menu-toggle {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--white);
                flex-direction: column;
                gap: 0;
                padding: 2rem 0;
                transform: translateX(-100%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                overflow-y: auto;
                box-shadow: var(--shadow-lg);
            }

            .nav-menu.active {
                transform: translateX(0);
            }

            .nav-menu > li {
                width: 100%;
                border-bottom: 1px solid #eee;
            }

            .nav-menu > li > a {
                padding: 1.2rem 2rem;
                width: 100%;
                justify-content: space-between;
                font-size: 1.05rem;
            }

            .nav-menu > li > a::after {
                display: none;
            }

            /* Mobile Dropdown */
            .dropdown-content {
                position: static;
                box-shadow: none;
                border-radius: 0;
                padding: 0;
                transform: none;
                opacity: 1;
                visibility: visible;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease;
                background: rgba(60, 102, 62, 0.03);
                border: none;
                margin: 0;
            }

            .dropdown.active > .dropdown-content {
                max-height: 2000px;
            }

            .dropdown-content a {
                padding: 1rem 3rem;
                border-left: 3px solid transparent;
            }

            .dropdown-content a:hover {
                padding-left: 3.5rem;
            }

            /* Nested Mobile Dropdown */
            .dropdown .dropdown .dropdown-content {
                background: rgba(60, 102, 62, 0.05);
                margin-left: 0;
            }

            .dropdown .dropdown .dropdown-content a {
                padding-left: 4rem;
            }

            .dropdown .dropdown .dropdown-content a:hover {
                padding-left: 4.5rem;
            }

            /* Third Level Nested Dropdown */
            .dropdown .dropdown .dropdown .dropdown-content {
                background: rgba(60, 102, 62, 0.07);
            }

            .dropdown .dropdown .dropdown .dropdown-content a {
                padding-left: 5rem;
            }

            .dropdown .dropdown .dropdown .dropdown-content a:hover {
                padding-left: 5.5rem;
            }

            /* Mobile Join Button */
            .mobile-join-btn {
                display: block;
                margin: 1.5rem 2rem;
                text-align: center;
            }

            .nav-join-btn {
                display: none;
            }

            .logo-title {
                font-size: 1.5rem;
            }

            .logo-subtitle {
                font-size: 0.7rem;
            }

            .logo-image {
                width: 50px;
                height: 50px;
            }
        }

        /* Animations */
        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Demo Content */
        .demo-content {
            padding: 3rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .demo-content h1 {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .demo-content p {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

/* ===================================
   HERO SLIDER
   =================================== */

.hero-slider {
    margin-top: 70px;
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 102, 62, 0.182) 0%, rgba(45, 79, 48, 0.297) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.slide-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.slide-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 1s ease;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.about-text {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(60, 102, 62, 0.3);
    animation: pulse 2s ease-in-out infinite;
    margin-top: 1rem;
}

.experience-badge i {
    font-size: 2rem;
}

.mission-vision {
    display: grid;
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(60, 102, 62, 0.08);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary-color);
    animation: fadeInRight 1s ease;
}

.mv-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.mv-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mv-card h3 i {
    font-size: 1.5rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===================================
   STATS COUNTER SECTION
   =================================== */

.stats-section {
    background: var(--gradient-primary);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: movePattern 20s linear infinite;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stats-title {
    text-align: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease;
}

.stat-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    animation: rotateIn 1s ease;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   CLIENT LOGOS SECTION
   =================================== */

.clients-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(60, 102, 62, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(60, 102, 62, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInDown 1s ease;
}

.section-header .section-subtitle {
    position: relative;
    display: inline-block;
}

.section-header .section-subtitle::before,
.section-header .section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.section-header .section-subtitle::before {
    right: calc(100% + 15px);
}

.section-header .section-subtitle::after {
    left: calc(100% + 15px);
}

.section-title-clients {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.logo-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-card[data-aos="fade-up"] {
    opacity: 1;
    transform: translateY(0);
}

.logo-wrapper {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.logo-card:hover .logo-wrapper {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.logo-card:hover .logo-wrapper::before {
    opacity: 1;
}

.logo-card:hover .logo-wrapper::after {
    opacity: 1;
    animation: ripple 1.5s ease-out;
}

.logo-content {
    position: relative;
    z-index: 3;
    text-align: center;
    transition: var(--transition);
}

.logo-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: block;
}

.logo-card:hover .logo-content i {
    color: var(--white);
    transform: scale(1.15) rotateY(360deg);
}

.logo-text {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.logo-card:hover .logo-text {
    color: var(--white);
    transform: translateY(-5px);
}

.logo-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 4;
    text-align: center;
}

.logo-card:hover .logo-overlay {
    bottom: 0;
}

.logo-overlay p {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Marquee Scroll */
.marquee-wrapper {
    margin: 5rem 0;
    background: var(--gradient-primary);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark), transparent);
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    gap: 5rem;
    align-items: center;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.marquee-logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

.marquee-logo {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) opacity(0.7);
    transition: all 0.4s ease;
}

.marquee-logo-item:hover .marquee-logo {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.1);
}

/* Old marquee item styles (kept for backward compatibility) */
.marquee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-item i {
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Partnership Stats Banner */
.partnership-stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.partnership-stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 102, 62, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.partner-stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.partner-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    opacity: 0.1;
}

.partner-stat-item:hover::before {
    left: 0;
}

.partner-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(60, 102, 62, 0.15);
}

.partner-stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(60, 102, 62, 0.3);
}

.partner-stat-item:hover .partner-stat-icon {
    transform: rotate(360deg) scale(1.1);
}

.partner-stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.partner-stat-info {
    flex: 1;
}

.partner-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.partner-stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   NEWS SECTION
   =================================== */

.news-section {
    padding: 8rem 5%;
    background: var(--white);
    position: relative;
}


.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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


.news-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.news-header h2 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.news-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.news-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(60, 102, 62, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.news-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.news-card:hover::before {
    opacity: 0.95;
}

.news-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="white" stroke-width="2" fill="none" opacity="0.1"/></svg>');
    animation: movePattern 15s linear infinite;
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.news-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.news-card:hover .news-content {
    transform: translateY(-250px);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-card:hover .news-date {
    color: rgba(255, 255, 255, 0.9);
}

.news-date i {
    color: var(--primary-color);
    font-size: 1rem;
}

.news-card:hover .news-date i {
    color: var(--white);
}

.news-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.5s ease;
}

.news-card:hover .news-title {
    color: var(--white);
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    transition: color 0.5s ease;
}

.news-card:hover .news-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.news-link:hover::after {
    width: 100%;
}

.news-card:hover .news-link {
    color: var(--white);
}

.news-card:hover .news-link::after {
    background: var(--white);
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: 8rem 5%;
    background: var(--bg-light);
}

.features .section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 5rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(60, 102, 62, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    background: var(--white);
    color: var(--primary-color);
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: var(--white);
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0L50 50L0 100" stroke="white" stroke-width="0.5" fill="none" opacity="0.05"/></svg>');
    animation: movePattern 30s linear infinite;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 5% 2rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Footer Logo Styles */
.footer-about {
    position: relative;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.footer-logo-image:hover {
    transform: rotate(5deg) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.footer-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-about h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-column ul li a i {
    font-size: 0.8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-item i {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom .fa-heart {
    color: #ff6b6b;
}

/* Web Sayura Credit */
.websayura-credit {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.websayura-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.websayura-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.websayura-logo {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
}

.websayura-link:hover .websayura-logo {
    transform: rotate(8deg) scale(1.1);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.8));
}

.websayura-link span {
    font-weight: 600;
    position: relative;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.websayura-link:hover span {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* ===================================
   ANIMATIONS & KEYFRAMES
   =================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes rotateIn {
    from {
        transform: rotate(-180deg) scale(0);
    }
    to {
        transform: rotate(0) scale(1);
    }
}

@keyframes movePattern {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100px) translateY(100px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .section-title {
        font-size: 2.5rem;
    }

    .section-title-clients {
        font-size: 3rem;
    }

    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    nav {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .slide-content h1 {
        font-size: 3.5rem;
    }

    .about-container {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    .nav-center {
        order: 3;
        grid-column: 1 / -1;
    }

    .nav-join-btn {
        order: 2;
    }

    .menu-toggle {
        order: 2;
        margin-right: 1rem;
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-menu > li:last-child {
        display: none;
    }

    .btn-join {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-slider {
        height: 100vh;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .btn {
        width: 100%;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-arrow.prev {
        left: 20px;
    }

    .slider-arrow.next {
        right: 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-clients {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .logo-wrapper {
        height: 180px;
        padding: 2rem 1.5rem;
    }

    .logo-content i {
        font-size: 3rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .marquee-item {
        font-size: 1.1rem;
        gap: 0.8rem;
    }

    .marquee-logo-item {
        min-width: 140px;
        height: 80px;
        padding: 1rem 1.5rem;
    }

    .marquee-logo {
        max-height: 50px;
    }

    .partnership-stats-banner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .partner-stat-number {
        font-size: 2.2rem;
    }

    .news-header h2 {
        font-size: 2.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px;
    }

    .clients-section {
        padding: 5rem 5%;
    }

    .section-header .section-subtitle::before,
    .section-header .section-subtitle::after {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-title-clients {
        font-size: 2rem;
    }

    .logos-grid {
        grid-template-columns: 1fr;
    }

    .marquee-item {
        font-size: 1rem;
    }

    .marquee-logo-item {
        min-width: 120px;
        height: 70px;
        padding: 0.8rem 1rem;
        gap: 3rem;
    }

    .marquee-logo {
        max-height: 40px;
    }

    .partner-stat-icon {
        width: 60px;
        height: 60px;
    }

    .partner-stat-icon i {
        font-size: 1.5rem;
    }

    .partner-stat-number {
        font-size: 2rem;
    }

    .partner-stat-label {
        font-size: 0.9rem;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .news-header h2 {
        font-size: 2rem;
    }
}