@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap");

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  width: 100%;
  padding: 2px 20px 16px;
}

/* ========================================
   HERO CONTAINER
======================================== */

.hero-container {
  position: relative;

  width: 100%;
  max-width: 1160px;
  height: 365px;

  margin: 0 auto;

  overflow: hidden;

  background: #222;
}

/* ========================================
   HERO IMAGE
======================================== */

.hero-image {
  position: absolute;

  width: 100%;
  height: 100%;

  inset: 0;

  object-fit: cover;
  object-position: center;

  display: block;
}

/* ========================================
   RIGHT DARK GRADIENT
======================================== */

.hero-overlay {
  position: absolute;

  inset: 0;

  pointer-events: none;
  opacity: 70%;

  background: linear-gradient(
    90deg,
    rgba(55, 28, 16, 0) 38%,
    rgba(55, 28, 16, 0.2) 50%,
    rgba(55, 28, 16, 0.62) 70%,
    rgba(55, 28, 16, 0.88) 100%
  );
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .hero-section {
    padding: 10px 15px 15px;
  }

  .hero-container {
    height: 320px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(55, 28, 16, 0) 30%,
      rgba(55, 28, 16, 0.35) 55%,
      rgba(55, 28, 16, 0.82) 100%
    );
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
  .hero-section {
    padding: 10px;
  }

  .hero-container {
    height: 260px;
  }

  .hero-image {
    object-position: center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(55, 28, 16, 0) 20%,
      rgba(55, 28, 16, 0.3) 50%,
      rgba(55, 28, 16, 0.78) 100%
    );
  }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 400px) {
  .hero-container {
    height: 220px;
  }
}

/* =========================================
   BIOGRAPHY SECTION
========================================= */

.biography-section {
  width: 100%;
  padding: 40px 20px 71px;
}

/* =========================================
   BIOGRAPHY CONTAINER
========================================= */

.biography-container {
  position: relative;

  width: 100%;
  max-width: 1160px;

  margin: 0 auto;

  background: #ffffff;

  border: 1px solid #ddd;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

  padding: 66px 22px 28px;
}

/* =========================================
   BIOGRAPHY TITLE
========================================= */

.biography-title {
  position: absolute;
  font-family: "Karla", sans-serif;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #6827a2, #e475a3);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 10px 17px;
  min-width: 120px;
  text-align: center;
}

/* =========================================
   BIOGRAPHY CONTENT
========================================= */

.biography-content {
  display: grid;

  grid-template-columns: 1fr 1fr;

  column-gap: 55px;

  align-items: start;
}

/* =========================================
   BIOGRAPHY COLUMN
========================================= */

.biography-column {
  min-width: 0;
}

/* =========================================
   PARAGRAPHS
========================================= */

.biography-column h4{
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: capitalize;
  font-weight: 800;
  margin-bottom: 10px;
}

.biography-column p {
  margin: 0 0 18px;
  text-align: justify;

  color: #171717;

  font-size: 14px;

  line-height: 1.55;

  font-weight: 600;
}

/* =========================================
   ITALIC TEXT
========================================= */

.biography-column em {
  font-style: italic;
}

/* =========================================
   LINK
========================================= */

.biography-link {
  color: #171717;

  text-decoration: none;

  transition: color 0.3s ease;
}

.biography-link:hover {
  color: #5637b7;
  text-decoration: underline;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .biography-section {
    padding: 0 15px 15px;
  }

  .biography-container {
    padding: 62px 20px 25px;
  }

  .biography-content {
    column-gap: 30px;
  }

  .biography-column p {
    font-size: 13.5px;
    line-height: 1.6;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .biography-section {
    padding: 0 10px 15px;
  }

  .biography-container {
    padding: 60px 18px 20px;
  }

  .biography-title {
    font-size: 14px;
    padding: 9px 15px;
    min-width: 110px;
  }

  .biography-content {
    grid-template-columns: 1fr;

    row-gap: 0;
  }

  .biography-column p {
    font-size: 13px;

    line-height: 1.65;

    margin-bottom: 17px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {
  .biography-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .biography-column p {
    font-size: 12.5px;
  }
}



/* ==========================================
   AWARDS SECTION
========================================== */

.awards-section {
    position: relative;
    width: 100%;
    padding: 100px 5% 110px;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at center 65%,
            #62544d 0%,
            #302a27 32%,
            #171513 65%,
            #0b0b0a 100%
        );

    color: white;
}


/* ==========================================
   STARS
========================================== */

.awards-stars {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.8) 1px,
            transparent 1.5px
        ),
        radial-gradient(
            circle,
            rgba(210,160,95,0.65) 1px,
            transparent 1.5px
        );

    background-size:
        150px 130px,
        230px 190px;

    background-position:
        20px 10px,
        80px 40px;

    opacity: 0.55;
}


/* ==========================================
   HEADER
========================================== */

.awards-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 10px;
}


/* Small heading */

.awards-eyebrow {
    display: block;

    margin-bottom: 22px;

    color: #c9995c;

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 6px;

    text-transform: uppercase;
}


/* Main heading */

.awards-header h2 {
    margin: 0;
    color: #d9a765;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: capitalize;
}


/* Gold line */
.awards-line {
    width: 52px;
    height: 1px;
    margin: 28px auto 20px;
    background: #c9985d;
    box-shadow:
        0 0 12px rgba(201,152,93,0.5);
}


/* Description */

.awards-header p {
    margin: 0 auto;

    max-width: 650px;

    color: rgba(255,255,255,0.62);

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   GRID
========================================== */

.awards-grid {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    column-gap: 25px;

    row-gap: 15px;

    align-items: start;
}


/* ==========================================
   AWARD CARD

   IMPORTANT:
   opacity is 1 by default.
   So JS fail hone par bhi
   images visible rahengi.
========================================== */

.award-card {
    position: relative;

    width: 100%;

    min-width: 0;

    text-align: center;

    opacity: 1;

    transform: translateY(0);

    transition:
        transform 0.45s ease,
        opacity 0.6s ease;
}


/* ==========================================
   IMAGE CONTAINER
========================================== */

.award-image {
    position: relative;

    width: 100%;

    height: 330px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    margin-bottom: 4px;
}


/* Golden glow */

.award-image::before {
    content: "";

    position: absolute;

    width: 210px;

    height: 210px;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(206,158,91,0.25),
            rgba(206,158,91,0.08) 40%,
            transparent 72%
        );

    filter: blur(15px);

    pointer-events: none;
}


/* Ground shadow */

.award-image::after {
    content: "";

    position: absolute;

    width: 80px;

    height: 8px;

    left: 50%;

    bottom: 10px;

    transform: translateX(-50%);

    background: rgba(0,0,0,0.75);

    border-radius: 50%;

    filter: blur(9px);
}


/* ==========================================
   ACTUAL IMAGE
========================================== */

.award-image img {
    position: relative;

    z-index: 3;

    display: block;

    width: auto;

    max-width: 85%;

    height: 300px;

    object-fit: contain;

    object-position: center bottom;

    filter:
        drop-shadow(
            0 18px 18px rgba(0,0,0,0.5)
        );

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


/* ==========================================
   HOVER
========================================== */

.award-card:hover {
    transform: translateY(-8px);
}


.award-card:hover .award-image img {
    transform: scale(1.04);

    filter:
        drop-shadow(
            0 25px 25px rgba(0,0,0,0.6)
        )
        drop-shadow(
            0 0 18px rgba(216,166,99,0.18)
        );
}


/* ==========================================
   TITLE
========================================== */

.award-card h3 {
    margin: 0 8px;
    color: #f0e4d4;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 1px;
}


/* Small gold line */

.award-card h3::after {
    content: "";

    display: block;

    width: 24px;

    height: 1px;

    margin: 11px auto 9px;

    background: #b98a51;
}


/* Description */

.award-card p {
    margin: 0 auto;

    max-width: 210px;

    color: rgba(255,255,255,0.55);

    font-size: 10px;

    line-height: 1.6;
}


/* ==========================================
   SECOND ROW
   5 + 3 CENTERED
========================================== */

.award-card:nth-child(6) {
    grid-column: 2;
}

.award-card:nth-child(7) {
    grid-column: 3;
}

.award-card:nth-child(8) {
    grid-column: 4;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    .awards-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        column-gap: 20px;

        row-gap: 60px;
    }


    .award-card:nth-child(6),
    .award-card:nth-child(7),
    .award-card:nth-child(8) {
        grid-column: auto;
    }


    .award-image {
        height: 300px;
    }


    .award-image img {
        height: 275px;
    }
}


/* ==========================================
   MOBILE TABLET
========================================== */

@media (max-width: 750px) {

    .awards-section {
        padding:
            80px 25px
            90px;
    }


    .awards-header {
        margin-bottom: 50px;
    }


    .awards-header h2 {
        font-size: 45px;
    }


    .awards-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 25px;

        row-gap: 55px;
    }


    .award-image {
        height: 290px;
    }


    .award-image img {
        height: 270px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 500px) {

    .awards-section {
        padding:
            70px 20px
            80px;
    }


    .awards-eyebrow {
        font-size: 8px;

        letter-spacing: 4px;
    }


    .awards-header h2 {
        font-size: 36px;

        line-height: 1.1;
    }


    .awards-header p {
        font-size: 11px;
    }


    .awards-grid {
        grid-template-columns: 1fr;

        max-width: 380px;
    }


    .award-image {
        height: 350px;
    }


    .award-image img {
        height: 320px;

        max-width: 92%;
    }


    .award-card h3 {
        font-size: 18px;
    }
}