:root {
   --color-primary: #00478F;
   --color-primary-text: #fff;

    --color-primary-light: #CADBFF;
    --color-primary-light-2: ;
    --color-primary-light-text: #1e1e1e;

    --color-accent: #E4572E;
    --color-accent-text: #fff;
    
}

body,html{
    background: #f8f9fa;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

h1,h2,h3,h4,h5{
    font-family: "Playfair Display", serif;
}


/*/////////////////////////////////////////////////////////////////////*/
/* Hero Segment */


.about-hero-parent{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        background: url('https://elixihitec.in/wp-content/uploads/2025/08/about-hero-background.jpg') no-repeat;
        background-size: cover;
        padding: 64px;
    }
    .about-section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 70vh;
        gap: 0px;

        color: white;

        
    }
    .about-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 16px;

        
    }
    .about-title {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 24px;
        color: whitesmoke;
    }
    .about-details {
        font-size: 1.1rem;
        color: white;
        margin-bottom: 32px;
        line-height: 1.7;
        width: 90%;
    }
    .read-more-btn {
        padding: 12px 32px;
        width: 20%;
        text-align: center;
        align-items: center;
        background: var(--color-primary);
        color: #fff;
        border: none;
        border-radius: 24px;
        font-size: 1rem;
        text-decoration: none;
        transition: background 0.2s;
        cursor: pointer;
    }
    .read-more-btn:hover {
        background: var(--color-accent);
    }
    .about-image-container {
        flex: 1;
    
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;

        
    }

    .about-image-container > div{
        height: 500px;
    
    }
    .about-image {
        height: 100%;


        align-self: center;

        object-fit: cover;
        border-radius: 24px;
        
        display: block;
        margin: 0 auto;
        position: relative;
        z-index: 1;

    }

    .company-history-about-us{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .values-section{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        color: white;
        gap: 24px;
        margin-top: 64px;
    }

    .value-card{
        padding: 8px 16px;
    }

    .mission, .vision{
        border-right: 2px solid rgb(220, 219, 231);   
    }

    .values-section .value-title{
        font-size: 1.5rem;
        margin: 16px 0px 8px 0px;
    }

    

    .values-section .value-desc{
        font-size: 1rem;
    }

    .company-values-icon{
        font-size: 48px;
        color: #007bff;
        margin: 0;
    }
    .values .company-values-icon, .values .value-title{
        color: #3597ff;
    }

    .mission .company-values-icon, .mission .value-title{
        color: #1fe080;
    }

    .vision .company-values-icon, .vision .value-title{
        color: #ff9a35;
    }




    @media (max-width: 900px) {

        .about-hero-parent{
            padding: 16px;
            gap: o;
        }

        .about-section {
            flex-direction: column;
            gap: 64px;
            height: 100%;
            padding: 16px;
        }
        .about-left, .about-right {
            max-width: 100%;
            padding: 0px;
        }
        .about-right {
            min-width: 0;
            min-height: 300px;
        }
        .about-image {
            width: 100%;
            height: 60vw;
            min-height: 200px;
        }

        .about-image-container > div{
        height: 350px;
        align-items: center;
        justify-content: center;
    
    }

        .values-section{
            flex-direction: column;
            margin-top: 48px;
        }

        .mission, .vision{
        border-bottom: 2px solid rgb(220, 219, 231);   
        border-right: none;
    }
}






/*/////////////////////////////////////////////////////////////////////*/
/* What we Offer */

.service-parent-container{
    display: flex;
    flex-direction: column;
    padding: 128px 64px;
    align-items: center;
}

.service-parent-container > h1{
    font-size: 2.5rem;
    margin-bottom: 64px;
    text-align: center;
    color: var(--color-primary);
    

}


.services-parent {
    display: flex;
    width: 100vw;
    max-width: 1200px;
    height: 50vh;
    border-radius: 16px;
    overflow: hidden;
}

.services-child {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: flex 0.5s cubic-bezier(.77,0,.18,1), background 0.3s;
    cursor: pointer;
    padding: 36px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    
}

.services-child img {
    position: absolute;
    width: 98%;
    height: 98%;
    object-fit: cover;
    border-radius: 12px;
    top:0;
    left:0;

    z-index: 0;
    transition: width 0.4s, height 0.4s;
}

.services-child h3{
    z-index: 3;
    color: #f0f8ff;
}


.services-child .title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    transition: font-size 0.4s;
    z-index: 2;
    color: whitesmoke;
}

.services-child .subheading {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 12px;
    text-align: center;
    transition: opacity 0.4s;
    z-index: 2;
}

.services-child .extra {
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s, max-height 0.4s;
    font-size: 0.98rem;
    color: white;
    margin-top: 12px;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.services-child:hover, .services-child:focus {
    flex: 2.2 1 0;
    background: #f0f8ff;
    z-index: 2;
}

.services-parent:hover .services-child:not(:hover) {
    flex: 0.6 1 0;
    opacity: 0.9;
}

.services-child:hover .extra {
    opacity: 1;
    max-height: 120px;
    pointer-events: auto;
}





@media (max-width: 900px) {

    .services-parent {
        display: flex;
        flex-direction: column;
        
        height: 120vh;
        gap: 16px;
        
    }

    .services-child{
        align-items: center;
        justify-content: flex-start;
        margin: 0px 16px;
        padding: 16px 8px;
    }

    .services-child .title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 8px;
        text-align: center;
        
        z-index: 2;     
    }

    .services-child h3{
        padding: 2px 0px;
    }

    .services-child .subheading {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 12px;
        text-align: center;
        
        z-index: 2;
    }

    .services-child img {
        width: 100%;
        height: 100%;
    }

    .services-child:hover img {
        width: 100%;
        height: 100%;
    }

    .services-child .extra {
        opacity: 1;
        max-height: auto;
        transition: none;
        
        color: whitesmoke;
        margin-top: 12px;
        text-align: center;
        pointer-events: none;
        z-index: 2;
    }


    .services-child:hover, .services-child:focus {
    flex: 1;
    background: #f0f8ff;
    z-index: 2;
}

.services-parent:hover .services-child:not(:hover) {
    flex: 1;
    opacity: 1;
}

.services-child:hover .extra {
    opacity: 1;
    max-height: 120px;
    pointer-events: auto;
}

}




/*/////////////////////////////////////////////////////////////////////*/
/* Our Story */



.container {
    display: flex;
    flex-direction: row;
    padding: 64px;
    gap: 48px;

    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.left-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
}
.left-column h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--color-accent);
}
.left-column p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}
.right-column {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    align-items: center;
    column-gap: 16px;
}


.img-div {
    background: #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.img-div.tall {
    grid-row: span 2;
    height: 270px;
}
.img-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

}

.img-content{
    padding: 12px 8px;
    background: var(--color-primary-light);
}

.img-content h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: bold;
}
.img-content p {
    
    font-size: 0.97rem;
    color: #555;
}


/* Responsive */
@media (max-width: 900px) {
    .container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    }
    .right-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    gap: 16px;
    }
    .img-div, .img-div.tall {
    width: 100%;
    height: auto;
    min-height: 100px;
    max-height: 200px;
    }
    .img-div img {
    position: static;
    height: 100%;
    }
}




/*/////////////////////////////////////////////////////////////////////*/
/* Awards Section */


.award-section {
    padding: 64px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.stars-row {
    margin-bottom: 24px;
}
.stars-row img {
    height: 32px;
    vertical-align: middle;
}
.award-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #222;
}
.award-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 64px;
}
.awards-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 64px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    align-items: center;
}
.awards-container img {
    height: 170px;
    width: auto;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.compliance-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 128px;
    flex-wrap: wrap;
}
.compliance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}
.compliance-item img {
    height: 36px;
    margin-bottom: 12px;
}
.compliance-title {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}
@media (max-width: 900px) {

    .award-section{
        padding: 16px;
    }

    .awards-container, .compliance-row {
        
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 16px;
        align-items: start;
        justify-content: center;
        margin-bottom: 0px;
    }

    .awards-container img{
        height: 120px;
        width: 120px;
        align-items: center;
        justify-content: center;
    }

    .compliance-item{
        flex-direction: row;
        gap: 12px;
    }

    .compliance-item img{
        margin-bottom: 0px;
    }
}

