:root {
    --bg-main: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;

    --brand-green: #3dbf00;
    --brand-gold: #353f37;
    --brand-purple: #353f37;
    --brand-blue: #353f37;

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -99;
    backdrop-filter: none;
}

/* Typography & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Header */
.main-header {
    margin: 20px auto;
    width: 95%;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
}

.main-logo {
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transition: var(--transition);
}

.main-logo:hover {
    filter: brightness(1) invert(0) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
}

.logo-text h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--text-main);
}

.logo-text h1 span {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Slider Section */
.banner-section {
    margin: 40px 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* More subtle shadow for light mode */
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 400%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide {
    width: 25%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Lighter gradient for banner text legibility */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    max-width: 600px;
    animation: fadeInUp 0.8s ease backwards;
}

.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    /* Banner text remains white for contrast */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    /* Contrast against dark image edges */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.dot.active {
    width: 24px;
    background: var(--brand-green);
    box-shadow: 0 0 8px rgba(61, 191, 0, 0.5);
}

/* Cards Section */
.solutions-section {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: #353f37;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.company-card {
    display: flex;
    flex-direction: column;
    padding: 35px 25px;
    color: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Removed gradient strip but keeping hover animation */
.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 15px;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.is-green {
    color: var(--brand-green);
}

.is-gold {
    color: var(--brand-gold);
}

.is-purple {
    color: var(--brand-purple);
}

.is-blue {
    color: var(--brand-blue);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 3px;
    color: #353f37;
}

.tagline {
    font-size: 0.8rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Removed specific tagline color overrides so they all default to white */

.desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.card-socials {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.card-socials a {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #353f37;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.card-socials a:hover {
    transform: translateY(-3px);
    background: #527c59 !important;
    color: white;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-top: auto;
    transition: var(--transition);
}

.card-action:hover {
    color: var(--brand-green);
    gap: 12px;
}

.main-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-radius: 20px 20px 0 0;
    color: var(--text-muted);
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
    color: white;
}

.social-links a.linkedin:hover {
    background: #0077B5;
}

.social-links a.instagram:hover {
    background: #E1306C;
}

.social-links a.tiktok:hover {
    background: #000000;
}

/* Responsiveness */
@media(max-width: 1024px) {
    .carousel-container {
        height: 350px;
    }
}

@media(max-width: 768px) {
    .carousel-container {
        height: 250px;
    }

    .slide-content {
        bottom: 20px;
        left: 20px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

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

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

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