﻿
:root {
    --primary: #16989A;
    --secondary: #e74c3c;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #f39c12;
}

.solution-title {
    color: #16989A;
    font-weight: bold;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0056b3, #ffc107);
    margin: 0 auto 25px;
}

.solutions-section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .solutions-section-title h2 {
        font-size: 2.2rem;
        color: #2c3e50;
        display: inline-block;
        padding-bottom: 10px;
        background: linear-gradient(to right, #3498db, #e74c3c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

        .solutions-section-title h2::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, #3498db, #e74c3c);
            margin: 10px auto 0;
            border-radius: 2px;
        }

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    .row {
        flex-direction: column;
    }
    .solution-icon {
        margin-left: 45%;
    }
}

.solutions {
    padding: 80px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .solution-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.solution-image {
    height: 300px;
    overflow: hidden;
}

    .solution-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s;
        filter: brightness(80%);
    }

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-content {
    padding: 25px;
}

    .solution-content p {
        font-size: 1.2rem;
        text-align: center;
    }

.solution-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-left: 125px;
}

.solution-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
    font-family: 'Segoe UI';
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {

    .solution-icon {
        margin-left: 45%;
    }

    nav ul {
        margin-top: 15px;
    }

        nav ul li {
            margin-left: 15px;
            margin-right: 15px;
        }

    .section-title {
        font-size: 1.6rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 576px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

        nav ul li {
            margin: 5px 10px;
        }

    .solution-icon {
        margin-left: 45%;
    }
}

.solutions-benefits-section {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: white;
    padding: 60px 20px;
    border-radius: 20px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}


.solutions-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.solutions-header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.solutions-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.solutions-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero section with animated gradient */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9)), /* Transparent (left) → Black (right) */
        url('/assets/images/IMAGES/Food beverages/1111.jpg');
        background-size: cover;
        background-position: center;
        background-blend-mode: multiply; /* Darkens the image under the gradient */
        filter: brightness(50%);
    }

.hero-content {
    width: 100%;
    z-index: 2;
    position: relative; /* Required for pseudo-elements */
    display: inline-block; /* Ensures the lines wrap the text properly */
    padding: 10px 60px;
}

    .hero-content::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px; /* Thickness of the line */
        height: 100%; /* Length of the vertical part */
        background: white;
    }

.hero h1 {
    font-size: 3rem;
    font-weight: bolder;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease forwards 0.3s;
    color: white;
    position: relative; /* Required for pseudo-elements */
    display: inline-block; /* Ensures the lines wrap the text properly */
    padding: 10px 20px; /* Adds space around the text for the lines */
    max-width: 574px;
}

    /* Top-left corner line */
    .hero h1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 40px; /* Length of the horizontal part */
        height: 3px; /* Thickness of the line */
        background: white;
    }

    /* Top-left vertical line */
    .hero h1::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px; /* Thickness of the line */
        height: 40px; /* Length of the vertical part */
        background: white;
    }

    /* Bottom-right corner line (requires an additional wrapper or another pseudo-element) */
    .hero h1 span::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 3px;
        background: white;
    }

    .hero h1 span::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 3px;
        height: 40px;
        background: white;
    }

    .hero h1 span {
        color: #009999;
    }

.hero p {
    font-size: 20px;
    color: white;
    font-weight: bolder;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
    text-align: justify;
    max-width: 574px;
    font-family: 'Segoe UI';
    line-height: 1.2;
}


/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        justify-content: center;
        text-align: center;
        height: 90vh !important;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

header {
    position: relative;
    z-index: 1000;
}

.main-slogan {
    text-align: center;
    font-size: 2.8rem;
    letter-spacing: 3px;
    line-height: 1.3;
    animation: glow 2s infinite alternate;
    transition: transform 0.3s ease;
    padding-bottom: 40px;
    margin-top: 100px;
}

    .main-slogan:hover {
        transform: scale(1.03);
    }


@keyframes glow {
    0% {
        text-shadow: 0 0 10px black, 0 0 10px black, 0 0 15px black;
    }

    100% {
        text-shadow: 0 0 20px black, 0 0 30px;
    }
}

.intro-text {
    color: white;
    text-align: center;
    font-family: math;
    line-height: 1.4;
}

/* Add these media queries at the end to handle responsiveness */
@media (max-width: 1200px) {
    .hero {
        padding: 250px 0 120px;
    }

    .main-slogan {
        font-size: 2.5rem;
        margin-top: 80px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 200px 0 100px;
    }

    .main-slogan {
        font-size: 2.2rem;
        margin-top: 60px;
    }

    .hero p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 180px 0 80px;
        margin-bottom: 60px;
    }

    .main-slogan {
        font-size: 1.8rem;
        margin-top: 40px;
        padding-bottom: 30px;
    }

    .hero p {
        font-size: 1.2rem;
    }

    section {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 60px;
    }

    .main-slogan {
        font-size: 1.5rem;
        margin-top: 30px;
        padding-bottom: 20px;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Ensure grid responsiveness without changing columns */
@media (max-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}

