﻿

/* 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/Lidar/bgimg.jpg);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply; /* Darkens the image under the gradient */
    filter: brightness(90%);
}

.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: 531px;
}

    /* 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: 531px;
    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;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    font-weight: bold
}

    .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;
        }

.sfdescription {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0.7rem;
    opacity: 0.9;
    position: relative;
    text-align: justify;
    font-family: 'Segoe UI';
    color: #707070;
}

.sfbox1 {
    text-align: justify;
    background: white;
    padding: 20px;
    margin-top: 0px;
    width: 750px;
    margin-left: 187px;
    border-radius: 0 0 50px;
    height: 293px;
}

.sfbox2 {
    text-align: justify;
    background: white;
    padding: 20px;
    margin-top: 0px;
    width: 750px;
    border-radius: 0 0 0 50px;
    height: 293px;
}

.sfbox3 {
    text-align: justify;
    background: white;
    padding: 20px;
    margin-top: 0px;
    width: 750px;
    border-radius: 0 0 50px 0;
    margin-left: 187px;
    height: 500px;
}

.sfbox4 {
    text-align: justify;
    background: white;
    padding: 20px;
    margin-top: 0px;
    width: 750px;
    border-radius: 0 0 0 50px;
    height: 500px;
}

.heading-container {
    position: relative;
    display: inline-block;
    background-color: white;
    border-radius: 10px;
}

    .heading-container h3 {
        font-family: 'Segoe UI', sans-serif;
        font-size: 20px;
        text-align: justify;
        color: rgba(119, 119, 119, 1);
        padding: 20px;
    }

.heading-container1 {
    position: relative;
    display: inline-block;
    background-color: white;
    border-radius: 10px;
    z-index: 1;
}

    .heading-container1 h3 {
        font-family: 'Segoe UI', sans-serif;
        font-size: 20px;
        text-align: justify;
        color: rgba(119, 119, 119, 1);
        padding: 20px;
    }

.heading-container2 {
    position: relative;
    display: inline-block;
    background-color: white;
    border-radius: 10px;
    z-index: 1;
}

    .heading-container2 h3 {
        font-family: 'Segoe UI', sans-serif;
        font-size: 20px;
        text-align: justify;
        color: rgba(119, 119, 119, 1);
        padding: 20px;
    }

.heading-container3 {
    position: relative;
    display: inline-block;
    background-color: white;
    border-radius: 10px;
    z-index: 1;
}

    .heading-container3 h3 {
        font-family: 'Segoe UI', sans-serif;
        font-size: 20px;
        text-align: justify;
        color: rgba(119, 119, 119, 1);
        padding: 20px;
    }


.background-heading {
    font-size: 2.2rem;
    font-weight: bold;
    color: #086d6e; /* Very light color for background */
    font-family: 'Segoe UI', sans-serif;
    margin-left: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.marginclass{
    margin-bottom:30px;
}

/* Add these media queries to your existing CSS */

/* For screens smaller than 1200px */
@media (max-width: 1199.98px) {
    .sfbox1, .sfbox2, .sfbox3, .sfbox4 {
        width: 100%;
        margin-left: 0;
        height: auto;
    }

    .heading-container h3,
    .heading-container1 h3,
    .heading-container2 h3,
    .heading-container3 h3 {
        font-size: 18px;
        padding: 15px;
    }

    .background-heading {
        font-size: 2rem;
    }
}

/* For tablets and smaller desktops */
@media (max-width: 991.98px) {
    .rowName1 {
        flex-direction: column;
    }

    .col-6 {
        width: 100% !important;
    }

    .image-container {
        order: -1;
        margin-bottom: 30px;
    }

    .tsbox1 {
        margin-bottom: 30px;
    }

    section .container .row {
        flex-direction: column;
    }

        section .container .row > div {
            width: 100%;
        }

        section .container .row img {
            width: 100%;
            height: auto;
            margin: 20px 0;
            border-radius: 10px !important;
        }

    .heading-container,
    .heading-container1,
    .heading-container2,
    .heading-container3 {
        margin-bottom: 30px;
    }
}

/* For smaller tablets and large phones */
@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .sfdescription {
        font-size: 1rem;
    }
}

/* For mobile phones */
@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
        padding: 5px 10px;
    }

        .hero h1::before,
        .hero h1::after,
        .hero h1 span::before,
        .hero h1 span::after {
            width: 20px;
            height: 2px;
        }

        .hero h1::after,
        .hero h1 span::after {
            width: 2px;
            height: 20px;
        }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .background-heading {
        font-size: 1.6rem;
    }

    .content_list .elementor-icon-list-item {
        margin-bottom: 15px;
    }

    .first-image, .second-image {
        margin-bottom: 15px;
    }

        .first-image img, .second-image img {
            width: 100%;
            height: auto;
        }
    .first-image{
        padding-top:0px;
    }
    .p-5{
        padding:0.75rem!important;
    }
}

/* For very small phones */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .background-heading {
        font-size: 1.4rem;
    }

    .heading-container h3,
    .heading-container1 h3,
    .heading-container2 h3,
    .heading-container3 h3 {
        font-size: 16px;
        padding: 10px;
    }
}