/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d8659;
    --dark-green: #1f5f3f;
    --light-green: #4a9d73;
    --accent-orange: #ff6b35;
    --dark-orange: #e55a2b;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-light: #ffffff;
    --bg-white: #ffffff;
    --bg-green: #2d8659;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    position: relative;
}

/* Diagonal Stripe Background Elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green) 50%, transparent 50%);
    transform: rotate(15deg);
    z-index: 0;
    opacity: 0.05;
}

body::after {
    content: '';
    position: fixed;
    top: -30%;
    right: -15%;
    width: 50%;
    height: 200%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange) 50%, transparent 50%);
    transform: rotate(12deg);
    z-index: 0;
    opacity: 0.05;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: visible;
    transition: all 0.3s ease;
    cursor: pointer;
}

.company-logo:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}

.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.3s ease;
}

.company-logo:hover .logo-svg {
    filter: brightness(1.1) drop-shadow(0 4px 15px rgba(45, 134, 89, 0.5));
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .company-logo {
        width: 50px;
        height: 50px;
    }
}

.logo h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
}

.logo h2:hover {
    transform: scale(1.1);
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-orange));
    border-radius: 8px;
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-orange));
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.nav-link.active::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 140px);
    position: relative;
    z-index: 1;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    padding: 3rem 2rem;
    text-align: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    background: rgba(45, 134, 89, 0.7);
    padding: 2rem 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.3);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 5rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    transform: rotate(45deg);
    opacity: 0.1;
    z-index: 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.mission-card,
.vision-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.section-header {
    margin-bottom: 2rem;
}

.section-title-green {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title-orange {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-underline {
    height: 4px;
    width: 80px;
    margin-top: 0.5rem;
}

.title-underline.green {
    background: var(--primary-green);
}

.title-underline.orange {
    background: var(--accent-orange);
}

.mission-text,
.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 8rem;
    font-weight: 700;
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}

.green-quote {
    color: var(--primary-green);
}

.orange-quote {
    color: var(--accent-orange);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: var(--primary-green);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.clients-section .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.clients-single-cell {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.client-large {
    min-height: 400px;
}

.client-small {
    min-height: 190px;
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
    opacity: 0.9;
}

.glass-card:hover .client-logo {
    transform: scale(1.15);
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Responsive client cell */
@media (max-width: 768px) {
    .clients-single-cell {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    
    .client-large,
    .client-small {
        min-height: 250px;
    }
}

/* Fixed Footer */
.fixed-footer {
    background: var(--dark-green);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover {
    color: white;
    background: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
}

.footer-link:hover::after {
    width: 80%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-section {
        height: 400px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-card,
    .vision-card {
        padding: 2rem;
    }

    .section-title-green,
    .section-title-orange {
        font-size: 2rem;
    }

    .quote-icon {
        font-size: 6rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .grid-cell {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .hero-overlay {
        padding: 1.5rem 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

