﻿/* =========================================
   INDIRA GAS & PETROLEUM
   AWARDS & ACHIEVEMENTS
========================================= */

:root {
    --igp-red: #e30613;
    --igp-dark-red: #c9000b;
    --igp-green: #006b2d;
    --igp-dark-green: #004f22;
    --igp-yellow: #f7bd20;
    --igp-light-yellow: #fff6d7;
    --igp-dark: #14233b;
    --igp-text: #4e5661;
    --igp-light-bg: #f8faf8;
    --igp-white: #ffffff;
    --igp-border: #e7e9e7;
    --igp-shadow: 0 12px 35px rgba(0, 50, 25, 0.09);
}


/* =========================================
   MAIN SECTION
========================================= */

.igp-awards-section {
    position: relative;
    width: 100%;
    padding: 90px 20px 85px;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(247, 189, 32, 0.10),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8faf8 100%
        );
    overflow: hidden;
}


/* Decorative red-green background circles */

.igp-awards-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.035);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.igp-awards-section::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 107, 45, 0.035);
    bottom: -120px;
    left: -80px;
    pointer-events: none;
}


/* =========================================
   CONTAINER
========================================= */

.igp-awards-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}


/* =========================================
   SECTION HEADING
========================================= */

.igp-section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.igp-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--igp-green);

    margin-bottom: 13px;
}

.igp-section-tag::before {
    content: "";
    width: 28px;
    height: 3px;
    background: var(--igp-red);
    border-radius: 10px;
}

.igp-section-heading h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;

    color: var(--igp-dark);
}

.igp-section-heading h2 span {
    color: var(--igp-red);
}

.igp-section-heading p {
    margin: 12px 0 0;

    font-size: 17px;
    line-height: 1.6;
    font-weight: 700;

    color: var(--igp-red);
}

.igp-heading-line {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.igp-heading-line span {
    display: block;
    width: 65px;
    height: 4px;
    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--igp-red) 0 50%,
            var(--igp-yellow) 50% 100%
        );
}


/* =========================================
   AWARDS GRID
========================================= */

.igp-awards-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* =========================================
   AWARD CARD
========================================= */

.igp-award-card {
    position: relative;

    display: flex;
    flex-direction: column;

    background: var(--igp-white);

    border: 1px solid var(--igp-border);
    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--igp-shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.igp-award-card:hover {
    transform: translateY(-8px);

    border-color: rgba(0, 107, 45, 0.20);

    box-shadow:
        0 20px 45px rgba(0, 60, 30, 0.14);
}


/* =========================================
   FEATURED CARD
========================================= */

.igp-featured-award {
    grid-column: span 2;

    display: grid;
    grid-template-columns: 1.05fr 1fr;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbf8 100%
        );
}

.igp-featured-award .igp-award-image {
    height: 100%;
    min-height: 360px;
}


/* =========================================
   IMAGE
========================================= */

.igp-award-image {
    position: relative;

    width: 100%;
    height: 245px;

    overflow: hidden;

    background: #eeeeee;
}

.igp-award-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.12)
        );

    pointer-events: none;
}

.igp-award-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.igp-award-card:hover .igp-award-image img {
    transform: scale(1.06);
}


/* =========================================
   FEATURED BADGE
========================================= */

.igp-award-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 3;

    padding: 7px 13px;

    border-radius: 30px;

    background: var(--igp-red);
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    box-shadow:
        0 5px 15px rgba(227, 6, 19, 0.25);
}


/* =========================================
   CONTENT
========================================= */

.igp-award-content {
    padding: 23px 23px 25px;
}

.igp-featured-award .igp-award-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 35px;
}


/* =========================================
   META
========================================= */

.igp-award-meta {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.5px;
    text-transform: uppercase;

    color: var(--igp-green);
}

.igp-meta-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    border-radius: 50%;

    background: var(--igp-light-yellow);
    color: var(--igp-yellow);

    font-size: 11px;
}


/* =========================================
   TITLE
========================================= */

.igp-award-content h3 {
    margin: 0 0 11px;

    color: var(--igp-dark);

    font-size: 18px;
    line-height: 1.38;

    font-weight: 800;
}

.igp-featured-award .igp-award-content h3 {
    font-size: 25px;
    line-height: 1.35;
}


/* =========================================
   DESCRIPTION
========================================= */

.igp-award-content p {
    margin: 0;

    color: var(--igp-text);

    font-size: 14px;
    line-height: 1.65;

    font-weight: 400;
}

.igp-featured-award .igp-award-content p {
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   CARD TOP ACCENT
========================================= */

.igp-award-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--igp-red),
            var(--igp-yellow)
        );

    transition: width 0.35s ease;

    z-index: 5;
}

.igp-award-card:hover::before {
    width: 100%;
}


/* =========================================
   BOTTOM TRUST STATEMENT
========================================= */

.igp-awards-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    max-width: 850px;

    margin: 48px auto 0;
    padding: 18px 25px;

    border-radius: 14px;

    background: #ffffff;

    border: 1px solid var(--igp-border);

    box-shadow:
        0 8px 25px rgba(0, 50, 25, 0.06);

    text-align: left;
}

.igp-bottom-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--igp-green);
    color: var(--igp-yellow);

    font-size: 18px;
}

.igp-awards-bottom strong {
    display: block;

    margin-bottom: 3px;

    color: var(--igp-dark);

    font-size: 15px;
    font-weight: 800;
}

.igp-awards-bottom span {
    display: block;

    color: var(--igp-text);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .igp-awards-section {
        padding: 75px 18px;
    }

    .igp-awards-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

    .igp-featured-award {
        grid-column: span 2;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .igp-awards-section {
        padding: 60px 15px 55px;
    }

    .igp-section-heading {
        margin-bottom: 38px;
    }

    .igp-section-heading h2 {
        font-size: 31px;
    }

    .igp-section-heading p {
        font-size: 15px;
        padding: 0 10px;
    }

    .igp-section-tag {
        font-size: 12px;
        letter-spacing: 1.3px;
    }

    .igp-awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .igp-featured-award {
        grid-column: auto;

        display: flex;
        flex-direction: column;
    }

    .igp-award-image,
    .igp-featured-award .igp-award-image {
        height: 235px;
        min-height: 235px;
    }

    .igp-award-content,
    .igp-featured-award .igp-award-content {
        padding: 21px 20px 23px;
    }

    .igp-award-content h3,
    .igp-featured-award .igp-award-content h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .igp-award-content p,
    .igp-featured-award .igp-award-content p {
        font-size: 13.5px;
        line-height: 1.65;
    }

    .igp-awards-bottom {
        margin-top: 32px;
        padding: 17px;
        gap: 12px;
    }

    .igp-bottom-icon {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;
    }

    .igp-awards-bottom strong {
        font-size: 13px;
    }

    .igp-awards-bottom span {
        font-size: 12px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .igp-awards-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .igp-section-heading h2 {
        font-size: 28px;
    }

    .igp-award-image,
    .igp-featured-award .igp-award-image {
        height: 210px;
        min-height: 210px;
    }

    .igp-award-content,
    .igp-featured-award .igp-award-content {
        padding: 18px;
    }

    .igp-awards-bottom {
        align-items: flex-start;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .igp-award-card,
    .igp-award-image img,
    .igp-award-card::before {
        transition: none;
    }

}