﻿
:root {
    --primary: #16989A;
    --secondary: #16989A;
    --accent: #16a085;
    --dark: #333333;
    --light: #f8f9fa;
}

.section-title {
    text-align: center;
    position: relative;
}


    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1rem;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1s ease forwards;
        color: #2c3e50;
        display: inline-block;
        background: #086d6e;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: 'Segoe UI';
    }

        .section-title h2::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: #086d6e;
            margin: 10px auto 0;
            border-radius: 2px;
        }

.section h3 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
}

.section-content {
    max-width: 1600px;
    margin: 0 auto;
}

.highlight {
    background: linear-gradient(120deg, rgba(0,204,153,0.2), rgba(0,204,153,0.2));
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.cardsgrid {
    margin-left: 60px;
    margin-top: 30px;
}

.card-custom {
    /* --- Flexbox for horizontal layout --- */
    display: flex; /* 1. Make card-custom a flex container */
    align-items: center; /* 2. Vertically align items (icon and body) to the center */
    gap: 20px; /* 3. Add space between icon and body (adjust as needed) */
    /* --- Your existing styles --- */
    border: none;
    border-radius: 10px;
    overflow: hidden; /* Be mindful: this can clip box-shadows on hover if they expand */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%; /* This ensures all cards in a row have the same height if their parent controls it */
    background-color: #fff; /* Good to explicitly set a background */
    max-width: 800px;
    margin-bottom: 30px;
    color: #16989A;
}


.card-custom1 {
    /* --- Flexbox for horizontal layout --- */
    display: flex; /* 1. Make card-custom a flex container */
    align-items: center; /* 2. Vertically align items (icon and body) to the center */
    gap: 5px; /* 3. Add space between icon and body (adjust as needed) */
    /* --- Your existing styles --- */
    border: none;
    border-radius: 10px;
    overflow: hidden; /* Be mindful: this can clip box-shadows on hover if they expand */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 150px; /* This ensures all cards in a row have the same height if their parent controls it */
    background-color: #fff; /* Good to explicitly set a background */
    width: 400px;
    margin-bottom: 30px;
    color: #16989A;
    margin-right: 30px;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    /* --- Adjustments for side icon --- */
    flex-shrink: 0; /* 5. Prevent icon container from shrinking */
    width: 80px; /* 6. Set a fixed width for the icon container */
    height: 80px; /* 6. Set a fixed height (making it square, adjust as needed) */
    /*    You can remove this if you want height to be auto or match card-custom height */
    font-size: 2.5rem; /* 7. Slightly adjust icon size if needed */
    border-radius: 8px; /* 8. Optional: round the corners of the icon background */
    /* --- Your existing styles for centering the icon itself --- */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-body {
    flex-grow: 1; /* 9. Allow the card body to take up remaining horizontal space */
    /* Optional: If text content is minimal, you might want to ensure it aligns well */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
}

.card-title {
    margin-top: 0; /* Reset margin if it looks off in the new layout */
    margin-bottom: 0.5rem; /* Adjust as needed */
    font-size: 1.5rem !important;
    color: #16989A;
    font-weight: bold;
    font-family: 'Segoe UI';
}

.card-text {
    margin-bottom: 0; /* Reset margin if it looks off */
    font-size: 1.2rem; /* Example */
    line-height: 1.5; /* Example */
    color: #555; /* Example */
    text-align: left;
    font-family: 'Segoe UI';
    color: #707070;
}


.industries-section {
    background-color: var(--primary);
    color: white;
}

    .industries-section .section-title {
        color: white;
    }

        .industries-section .section-title:after {
            background: var(--accent);
        }

.industry-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

    .industry-item:hover {
        transform: scale(1.05);
        background: rgba(255,255,255,0.15);
    }

    .industry-item h3 {
        margin-bottom: 1rem;
    }

.benefit-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-item {
    margin-bottom: 2rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


/* 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, 1)), /* Transparent (left) → Black (right) */
        url('/assets/images/IMAGES/CIP/1 (4).jpeg');
        background-size: cover;
        background-position: center;
        background-blend-mode: multiply; /* Darkens the image under the gradient */
        filter: brightness(70%);
    }

.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: 510px;
}

    /* 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: 510px;
    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;
    }
    .row {
        flex-direction: column;
    }
}

/* Fix for header visibility */
header {
    position: relative;
    z-index: 1000; /* Ensure header stays above everything */
}

.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: -90px;
}

    .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;
    }
}

.our-vision {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: -30px;
    position: relative;
    overflow: hidden;
    text-align: center;
}


.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

    .vision-content p {
        color: black;
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 0.7rem;
        opacity: 0.9;
        position: relative;
        text-align: justify;
    }
.section h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    perspective: 1000px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px;
    box-sizing: border-box;
}

    .slider-dots .dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
        background: grey;
    }

        .slider-dots .dot.active {
            background-color: white;
            transform: scale(1.2);
            background: #16989A;
        }

.slider-images {
    position: relative;
    width: 100%;
    height: 100%;
}

    .slider-images img {
        position: absolute;
        width: 80%;
        height: 80%;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center center;
        cursor: pointer;
    }

/* Navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
}

    .slider-arrow:hover {
        background: rgba(0,0,0,0.8);
        transform: translateY(-50%) scale(1.1);
    }

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Active image */
.slider-images img.active {
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    top: 50%;
    left: 50%;
    z-index: 10;
    opacity: 1;
    filter: brightness(1);
}

/* Next image */
.slider-images img.next {
    transform: translate(10%, -50%) scale(0.9) translateZ(-50px) rotateY(-15deg);
    top: 50%;
    left: 50%;
    z-index: 5;
    opacity: 0.8;
    filter: brightness(0.8) blur(1px);
}

/* Previous image */
.slider-images img.prev {
    transform: translate(-110%, -50%) scale(0.9) translateZ(-50px) rotateY(15deg);
    top: 50%;
    left: 50%;
    z-index: 5;
    opacity: 0.8;
    filter: brightness(0.8) blur(1px);
}

/* Hidden images */
.slider-images img:not(.active):not(.next):not(.prev) {
    transform: translate(-50%, -50%) scale(0.8) translateZ(-100px);
    opacity: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .slider-images img {
        width: 90%;
        height: 70%;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }
}



.image-slider1 {
    position: relative;
    width: 100%;
    background-color: #04467a;
    overflow: hidden;
    perspective: 1000px;
}

.slider-dots1 {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px;
    box-sizing: border-box;
}

    .slider-dots1 .dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
        background: grey;
    }

        .slider-dots1 .dot.active {
            background-color: white;
            transform: scale(1.2);
            background: #16989A;
        }

.slider-images1 {
    position: relative;
    width: 100%;
    height: 100%;
}

    .slider-images1 img {
        position: absolute;
        width: 80%;
        height: 80%;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center center;
        cursor: pointer;
    }

/* Navigation arrows */
.slider-arrow1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
}

    .slider-arrow1:hover {
        background: rgba(0,0,0,0.8);
        transform: translateY(-50%) scale(1.1);
    }

.prev-arrow1 {
    left: 20px;
}

.next-arrow1 {
    right: 20px;
}

/* Active image */
.slider-images1 img.active {
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    top: 50%;
    left: 50%;
    z-index: 10;
    opacity: 1;
    filter: brightness(1);
}

/* Next image */
.slider-images1 img.next {
    transform: translate(10%, -50%) scale(0.9) translateZ(-50px) rotateY(-15deg);
    top: 50%;
    left: 50%;
    z-index: 5;
    opacity: 0.8;
    filter: brightness(0.8) blur(1px);
}

/* Previous image */
.slider-images1 img.prev {
    transform: translate(-110%, -50%) scale(0.9) translateZ(-50px) rotateY(15deg);
    top: 50%;
    left: 50%;
    z-index: 5;
    opacity: 0.8;
    filter: brightness(0.8) blur(1px);
}

/* Hidden images */
.slider-images1 img:not(.active):not(.next):not(.prev) {
    transform: translate(-50%, -50%) scale(0.8) translateZ(-100px);
    opacity: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .slider-images1 img {
        width: 90%;
        height: 70%;
    }

    .slider-arrow1 {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .prev-arrow1 {
        left: 10px;
    }

    .next-arrow1 {
        right: 10px;
    }
}
.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: 200px;
    overflow: hidden;
}

    .solution-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-content {
    padding: 15px;
}

    .solution-content h3 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #16989A;
        font-family: 'Segoe UI';
    }

    .solution-content p {
        font-size: 1.2rem;
        font-family: 'Segoe UI';
        color: #707070;
    }



.solution-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.solution-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {


    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;
        }

    .cardsgrid {
        margin-left: 0px;
        margin-top: 30px;
    }
    .feature-box {
        width: 350px;
        margin-left:13%;
    }
    .flip-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .flip-card {
        width: 90%;
        max-width: 300px;
        height: 180px;
    }

    .flip-card-front h3 {
        font-size: 1.1rem;
    }

    .flip-card-back p {
        font-size: 0.9rem;
    }
}


.solutions-header {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    background-image: url('/assets/images/IMAGES/Homepage/dairy 1.jpg');
}

    .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;
}

/* Electrical Systems Section */
.electrical-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: translateY(3px);
    margin-bottom: 15px;
    width: 350px;
    margin-right: 30px;
}

    .feature-box.animated {
        animation: fadeInUp 0.8s ease forwards;
    }

    .feature-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.feature-box h3 {
    color: #16989A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    font-family: 'Segoe UI';
}

.feature-box p {
    font-size: 1.2rem;
    color: #707070;
    font-family: 'Segoe UI';
}


.flip-card-section {
    padding: 10px 0;
}

.flip-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.flip-card {
    width: 220px;
    height: 220px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flip-card-front {
    background: white;
    color: #2c3e50;
}

.flip-card-back {
    background: #16989A;
    color: white;
    transform: rotateY(180deg);
}

.flip-card-front i {
    font-size: 2.5rem;
    color: #16989A;
    margin-bottom: 15px;
}

.flip-card-front h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #16989A;
    font-family: 'Segoe UI';
}

.flip-card-back p {
    text-align: center;
    line-height: 1.5;
    color: white;
    font-size: 1.2rem;
    font-family: 'Segoe UI';
}

@media (max-width: 768px) {
    .flip-card {
        width: 150px;
        height: 150px;
    }

    .flip-card-front h3 {
        font-size: 1rem;
    }

    .flip-card-back p {
        font-size: 0.8rem;
    }
}

.benefits-section {
    background: linear-gradient(135deg, var(--dark), #1a252f);
    color: white;
    padding: 20px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .benefits-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/assets/images/IMAGES/GrainSpicesCondiments/bgimg.png') center/cover;
        opacity: 0.1;
        z-index: 0;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1; /* Ensure content is above pseudo-element */
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
    width: 100%;
}

    .benefit-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.2);
    }

    .benefit-card i {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 15px;
    }

    .benefit-card h3 {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .benefit-card p {
        font-size: 1.2rem;
    }

p {
    color: white;
    font-size: 15px;
    line-height: 21px;
}

