/* 
 
AUTHOR NAME:        NEESHITHA RAMNEEHORAH 
CODE LAST UPDATED:  30/01/2026
PROJECT NAME:       Emtel CSR Website

*/

/* ===== RESET AND BASE STYLES ===== */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Asap", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* ===== CONTAINERS ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.sustainability-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    /* width: 100%; */
    max-width: 100%;
    /* height: 600px; */
    overflow: hidden;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 80%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ===== CEO SIGNATURE ===== */
.ceo-signature {
    color: red;
    font-weight: bold;
}

.ceo-paragraph {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    margin-bottom: 20px;
}

/* ===== FIRST SECTION ===== */
.first-section-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  /* grid-template-columns: 1fr 180px; */
  gap: 80px;
  padding: 0 20px 0 10px;
}

.first-section-content {
  padding-bottom: 20px;
  position: relative;
}

/* Top Navigation */
.top-nav {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  margin-top: 20px;
}

.top-nav-link,
.top-nav-normal {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.top-nav-link {
  color: #ff0000;
}

.top-nav-normal {
  color: #0000005b;
}

.top-nav-link:hover {
  opacity: 0.7;
}

/* Main Titles */
.main-title-large {
  color: #f00;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 35px;
  text-align: left;
}

.main-subtitle-large {
  font-size: 45px;
  font-weight: 700;
  color: #ff0000;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: left;
}

/* Breadcrumb */
.breadcrumb-wrapper {
  position: absolute;
  right: 0;
  top: 230px;
  padding-right: 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #999;
}

.breadcrumb-link {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #ff0000;
}

.breadcrumb-separator {
  color: #999;
  font-size: 11px;
}

.breadcrumb-current {
  color: #ff0000;
  font-weight: 600;
}

/* Text Styles */
.intro-text,
.body-text {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  margin-bottom: 20px;
}

.we-care-highlight {
  color: #f00;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.quote-text {
  font-size: 20px;
  font-weight: 600;
  color: #ff0000;
  line-height: 1.3;
}

/* Sidebar */
.first-section-sidebar {
  padding-top: 300px;
}

.sidebar-heading {
  color: #f00;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: right;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 18px;
}

.sidebar-links li a {
  text-decoration: none;
  color: #757575;
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  display: block;
  transition: color 0.3s ease;
}

.sidebar-links li a:hover {
  color: #ff0000;
}

/* ===== CEO SECTION ===== */
.ceo-section-wrapper {
  background-color: #fff;
}

.ceo-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  align-items: stretch;
}

.ceo-image-area {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.ceo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0 20px 20px 0;
  position: absolute;
  top: 0;
  left: 0;
}

.ceo-statement-area {
  background-color: #fff;
  padding: 80px 60px 20px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.ceo-heading {
  color: #f00;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  text-align: left;
}

.ceo-paragraph {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

/* ===== SECTION HEADINGS ===== */
.section-heading-center {
  color: #f00;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.9;
  text-align: left;
}

.section-heading-white {
  color: #fff;
  font-size: 56px;
  margin-top: 20px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.4;
  text-align: left;
}

.section-heading-red {
  color: #f00;
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.4;
  text-align: left;
}

.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 25px;
  line-height: 1.3;
  text-align: left;
}

.highlight {
  color: #f00;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}

/* ===== COMMITMENTS SECTION ===== */
.commitments-section {
  background-color: #f8f8f8;
  padding: 40px 0;
  margin-bottom: 5%;
  margin-top: 30px;
}

.section-intro {
  text-align: left;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 auto 50px;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.commitment-item {
  text-align: center;
}

.commitment-icon {
  width: 182px;
  height: 182px;
  margin: 0 auto 20px;
  border: 1px solid #ff00003d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.commitment-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.commitment-text {
  line-height: 1.4;
  color: #000;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.commitments-note {
  text-align: left;
  line-height: 1.4;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  margin-top: 50px;
}

/* ===== PILLARS SECTION ===== */
.pillars-section {
  padding: 0;
  background-color: #fff;
  margin-bottom: 5%;
  position: relative;
}

.pillars-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 180px;
  background: linear-gradient(to bottom, #fff 0%, #fff 75%, #f8f8f8 10%, #f8f8f8 100%);
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}

.pillars-title-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 100px 180px 270px;
  max-width: 1400px;
  background-color: transparent;
}

.pillars-main-title {
  color: #f00;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  margin-bottom: 30px;
}

.pillars-main-title .highlight {
  color: #f00;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}

.pillars-description {
  line-height: 1.4;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

.pillars-image-section {
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  position: relative;
  z-index: 20;
  max-height: 450px;
}

.pillars-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pillars-content-wrapper {
  background-color: #f8f8f8;
  padding-top: 250px;
  padding-bottom: 5%;
  margin-top: -200px;
  position: relative;
  z-index: 5;
}

.pillars-intro-text {
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  max-width: 900px;
  margin: 0 auto 50px;
  font-weight: 400;
}

.pillars-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: #fff;
  border-radius: 0 25px 25px 0;
  padding: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pillar-card-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  align-items: start;
}

.sdg-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  min-width: 140px;
}

.sdg-icons-grid img {
  width: 100px;
  height: auto;
  display: block;
  border-radius: 0;
}

.sdg-icons-grid.social {
  grid-template-rows: repeat(4, auto);
}

.sdg-icons-grid.human {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  min-width: 80px;
}

.sdg-icons-grid .blank-icon {
  opacity: 0;
}

.pillar-info {
  display: flex;
  flex-direction: column;
  padding: 100px 15px 10px 20px;
}

.pillar-title {
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: left;
  color: #f00;
  font-size: 18px;
  font-weight: 700;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-list li {
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  text-align: left;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.pillar-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-weight: 700;
  font-size: 18px;
}

.pillar-list li:last-child {
  margin-bottom: 0;
}

/* ===== ENVIRONMENTAL/SOCIAL/HUMAN SECTIONS ===== */
.environmental-section {
  /* padding: 50px 0; */
  background: linear-gradient(to bottom, #fff 0%, #fff 75%, #ff0000 75%, #ff0000 100%);
  position: relative;
}

.social-section {
  background: linear-gradient(to bottom, #ff0000 0%, #ff0000 50%, #fff 25%, #fff 100%);
  padding: 30px 0;
  margin-top: -40px;
}

.human-section {
  background-color: #fff;
  padding: 10px 0;
}

.environmental-section .container,
.social-section .container,
.human-section .container {
  position: relative;
  z-index: 10;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.goals-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Goal Cards */
.goal-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-5px);
}

.goal-image {
  width: 100%;
  height: auto;
  border-radius: 32px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.goal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 1;
  transition: all 0.4s ease;
  border-radius: 32px;
}

.goal-card:hover .goal-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.goal-overlay-content {
  transition: transform 0.4s ease;
}

.goal-card:hover .goal-overlay-content {
  transform: translateY(-30px);
}

.goal-overlay h3 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.goal-overlay .goal-subtitle {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.goal-card:hover .goal-overlay .goal-subtitle {
  font-size: 20px;
  margin-bottom: 15px;
}

.goal-overlay .goal-description {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 0;
}

.goal-card:hover .goal-overlay .goal-description {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.read-more-btn {
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 0 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
}

.goal-card:hover .read-more-btn {
  max-height: 50px;
  opacity: 1;
  padding: 12px 30px;
  margin-top: 5px;
}

.read-more-btn:hover {
  background-color: #cc0000;
  transform: scale(1.05);
}

.read-more-btn span {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover span {
  transform: translateX(3px);
}

/* ===== GOAL MODAL ===== */
.goal-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.goal-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #fff;
  border-radius: 20px;
  max-width: 1200px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 40px;
  color: #ff0000;
  cursor: pointer;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 0;
  max-height: 90vh;
  overflow: hidden;
}

.modal-image-container {
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-image-container img {
  width: 105%;
  height: 105%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
}

.modal-text-container {
  padding: 60px 50px;
  overflow-y: auto;
  max-height: 90vh;
   min-height: 0; /* ← add this */
   -webkit-overflow-scrolling: touch;
}

.modal-title {
  color: #ff0000;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.modal-text {
  color: #000;
  font-size: 15px;
  line-height: 1.8;
}

.modal-text h3 {
  color: #ff0000;
  font-size: 20px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
}

.modal-text p {
  margin-bottom: 15px;
}

.modal-text ol,
.modal-text ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.modal-text li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== DATA PROTECTION SECTION ===== */
.data-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.data-text {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: left;
}

.certificates-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.certificate-item {
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-radius: 8px;
}

.certificate-link {
  font-size: 18px;
  color: #f00;
  text-align: left;
  font-weight: 700;
  line-height: 1.4;
  padding-right: 20px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background-color: #fff; */
  border: 2px solid #ff0000;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.open-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background-color: #fff; */
  border: 2px solid #ff0000;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}



/* ===== ISO CERTIFICATIONS SECTION ===== */
.iso-section {
  background-color: #f4f4f4;
  padding: 40px 0;
}

.iso-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.iso-card {
  background-color: #fff;
  border-radius: 33px;
  padding: 50px 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.iso-card-content {
  flex: 1;
  margin-bottom: 20px;
}

.iso-description {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  text-align: left;
  font-weight: 400;
  margin-bottom: 10px;
}

.iso-description:last-child {
  margin-bottom: 0;
}

.iso-description strong {
  color: #000;
  font-weight: 700;
}

.iso-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ===== CODES AND DOWNLOADS SECTION ===== */
.codes-downloads-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.codes-downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 200px;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}

.link-item span {
  font-size: 18px;
  color: #f00;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  padding-right: 20px;
}

/* ===== BACKGROUND LOGO ===== */
.sections-with-bg-logo {
  position: relative;
  background-color: #fff;
  overflow: hidden;
  z-index: 1;
}

.background-logo-image {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 800px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.sections-with-bg-logo .human-section,
.sections-with-bg-logo .data-section {
  position: relative;
  z-index: 2;
  background-color: transparent;
}

.sections-with-bg-logo .human-section .container,
.sections-with-bg-logo .data-section .container {
  position: relative;
  z-index: 3;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops (1024px) */
@media (max-width: 1024px) {

   .pillars-title-section {
    padding: 60px 40px;
  }
  
  .commitments-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .goals-grid-three {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pillars-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image-container {
    max-height: 300px;
  }

  .modal-image-container img {
    border-radius: 20px 20px 0 0;
  }

  .goal-overlay h3 {
    font-size: 28px;
  }

  .goal-overlay .goal-subtitle {
    font-size: 16px;
  }

  .goal-card:hover .goal-overlay-content {
    transform: translateY(-25px);
  }

  .background-logo-image {
    width: 70%;
    max-width: 700px;
  }
}

/* Tablets (992px) */
@media (max-width: 992px) {

          /* Hide sidebar completely on mobile */
  /* .first-section-sidebar {
    display: none;
  } */

  .first-section-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 40px;
  }

  .first-section-content {
    padding-right: 0;
  }

  .first-section-sidebar {
    padding-top: 0;
  }

  .breadcrumb-wrapper {
    position: static;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .ceo-section-grid {
    grid-template-columns: 1fr;
  }

  .ceo-image-area {
    min-height: 500px;
  }

  .ceo-statement-area {
    padding: 60px 40px;
  }

  .ceo-heading {
    font-size: 36px;
  }

  .section-heading {
    font-size: 28px;
  }

  .pillars-header {
    grid-template-columns: 1fr;
    min-height: auto;
    background: linear-gradient(to bottom, #fff 0%, #fff 75%, #f8f8f8 10%, #f8f8f8 100%);
  }

  .pillars-title-section {
    padding: 60px 40px;
  }

  .pillars-main-title {
    font-size: 36px;
    margin-bottom: 25px;
  }

  .pillars-image-section {
    min-height: 400px;
    border-radius: 20px;
  }

  .pillars-hero-image{
        border-radius: 20px 20px 0 0;
        padding: 10px;
      }

  .pillars-content-wrapper {
    margin-top: 0;
    padding: 60px 0;
  }

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .codes-downloads-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .iso-grid {
    grid-template-columns: 1fr;
  }

  .environmental-section {
    background: linear-gradient(to bottom, #fff 0%, #fff 45%, #ff0000 45%, #ff0000 100%);
  }

  .goal-overlay h3 {
    font-size: 24px;
  }

  .goal-card:hover .goal-overlay h3 {
    font-size: 28px;
  }

  .goal-overlay .goal-subtitle {
    font-size: 16px;
  }

  .goal-card:hover .goal-overlay .goal-subtitle {
    font-size: 18px;
  }

  .goal-overlay .goal-description {
    font-size: 13px;
  }

  .goal-card:hover .goal-overlay-content {
    transform: translateY(-20px);
  }
}

/* Mobile Landscape / Small Tablets (768px) */
@media (max-width: 768px) {

      /* Hide sidebar completely on mobile */
  .first-section-sidebar {
    display: none;
  }

  .container,
  .sustainability-container {
    padding: 0 20px;
  }

  .first-section-wrapper {
    padding: 30px 0;
  }

  .first-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .top-nav {
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .top-nav-link,
  .top-nav-normal {
    font-size: 11px;
  }

  .main-title-large {
    font-size: 42px;
    margin-bottom: 25px;
  }

  .main-subtitle-large {
    font-size: 32px;
    margin-bottom: 20px;
  }

  /* Hide breadcrumb on mobile */
  .breadcrumb-wrapper {
    display: none;
  }

  .quote-text {
    font-size: 18px;
  }

  .sidebar-heading {
    font-size: 14px;
    margin-bottom: 25px;
    text-align: left;
  }

  .sidebar-links li {
    margin-bottom: 15px;
  }

  .sidebar-links li a {
    font-size: 13px;
    text-align: left;
  }

  .ceo-section-grid {
    grid-template-columns: 1fr;
  }

  .ceo-image-area {
    min-height: 400px;
  }

  .ceo-photo {
    border-radius: 20px 20px 0 0;
  }

  .ceo-statement-area {
    padding: 50px 30px;
    max-width: 100%;
  }

  .ceo-heading {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .ceo-paragraph,
  .intro-text,
  .body-text,
  .data-text {
    font-size: 15px;
  }

  .section-heading,
  .section-heading-center {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .section-heading-white,
  .section-heading-red {
    font-size: 36px;
  }

  .highlight {
    font-size: 28px;
  }

  .commitments-section {
    padding: 60px 0;
  }

  .commitments-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0px 30px 0px 30px;
  }

  .commitment-icon {
    width: 140px;
    height: 140px;
  }

  .commitment-text {
    font-size: 15px;
  }

  .goals-grid,
  .goals-grid-three {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pillars-header {
    background: linear-gradient(to bottom, #fff 0%, #fff 35%, #f8f8f8 35%, #f8f8f8 100%);
  }

  .pillars-title-section {
    padding: 50px 30px;
  }

  .pillars-main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .pillars-main-title .highlight {
    font-size: 32px;
  }

  .pillars-description {
    font-size: 14px;
  }

  .pillars-image-section {
    min-height: 350px;
  }

  .pillars-cards-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card-content {
    /* grid-template-columns: 1fr; */
    gap: 20px;
  }

  .sdg-icons-grid {
    justify-self: center;
    margin-bottom: 10px;
  }

  .pillar-info {
    padding: 20px;
  }

  .certificates-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .certificate-link,
  .link-item span {
    font-size: 16px;
  }

  .environmental-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #fff 0%, #fff 40%, #ff0000 40%, #ff0000 100%);
  }

  .social-section,
  .human-section,
  .data-section,
  .iso-section,
  .codes-downloads-section {
    padding: 60px 0;
  }

  .goal-overlay {
    padding: 20px;
  }

  .goal-overlay h3 {
    font-size: 24px;
  }

  .goal-card:hover .goal-overlay h3 {
    font-size: 28px;
  }

  .goal-overlay .goal-subtitle {
    font-size: 14px;
  }

  .goal-card:hover .goal-overlay .goal-subtitle {
    font-size: 16px;
  }

  .read-more-btn {
    font-size: 12px;
  }

  .goal-card:hover .read-more-btn {
    padding: 10px 25px;
  }

  .goal-card:hover .goal-overlay-content {
    transform: translateY(-15px);
  }

  /* Hide modal image on mobile/tablet */
  .modal-image-container {
    display: none;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  @media (max-width: 768px) {
  .modal-content {
    width: 95%;
    height: 95vh;      /* was max-height */
    max-height: 95vh;
  }

  .modal-body {
    height: 100%;       /* fill modal-content */
    min-height: 0;       /* allow child to shrink/scroll */
  }

  .modal-text-container {
    height: 100%;        /* fill modal-body */
    max-height: none;    /* remove conflicting vh value */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    min-height: 0;
  }
}

  .modal-text-container {
    padding: 40px 30px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-text {
    font-size: 14px;
  }

  .iso-section {
    padding: 60px 0;
  }

  .iso-grid {
    margin-top: 40px;
  }

  .iso-card {
    padding: 40px 30px;
  }

  .iso-buttons {
    gap: 12px;
  }

  .background-logo-image {
    width: 80%;
    max-width: 600px;
    opacity: 0.04;
  }
}

/* Mobile Portrait (576px) */
@media (max-width: 576px) {

          /* Hide sidebar completely on mobile */
  .first-section-sidebar {
    display: none;
  }

  .container,
  .sustainability-container {
    padding: 0 15px;
  }

  .first-section-wrapper {
    padding: 25px 0;
  }

  .first-section-grid {
    gap: 30px;
    padding: 0 15px;
  }

  .top-nav {
    gap: 15px;
    margin-bottom: 30px;
  }

  .top-nav-link,
  .top-nav-normal {
    font-size: 10px;
  }

  .main-title-large {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .main-subtitle-large {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .intro-text,
  .body-text,
  .data-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .we-care-highlight {
    font-size: 15px;
  }

  .quote-text {
    font-size: 16px;
  }

  .sidebar-heading {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .sidebar-links li {
    margin-bottom: 12px;
  }

  .sidebar-links li a {
    font-size: 12px;
  }

  .ceo-image-area {
    min-height: 300px;
  }

  .ceo-statement-area {
    padding: 40px 20px;
  }

  .ceo-heading {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .ceo-paragraph {
    font-size: 14px;
    line-height: 1.7;
  }

  .section-heading,
  .section-heading-center {
    font-size: 24px;
  }

  .section-heading-white,
  .section-heading-red {
    font-size: 28px;
  }

  .highlight {
    font-size: 24px;
  }

  .commitments-section,
  .pillars-content-wrapper,
  .environmental-section,
  .social-section,
  .human-section,
  .data-section,
  .iso-section,
  .codes-downloads-section {
    padding: 50px 0;
  }

  .commitments-grid {
    gap: 30px;
    padding: 0px 30px 0px 30px;
  }

  .commitment-icon {
    width: 120px;
    height: 120px;
  }

  .commitment-icon img {
    width: auto;
    height: 100px;
  }

  .commitment-text {
    font-size: 14px;
  }

  .commitments-note,
  .section-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  .environmental-section {
    background: linear-gradient(to bottom, #fff 0%, #fff 35%, #ff0000 35%, #ff0000 100%);
  }

  .pillars-header {
    background: linear-gradient(to bottom, #fff 0%, #fff 0%, #f8f8f8 40%, #f8f8f8 100%);
  }

  .pillars-title-section {
    padding: 40px 20px;
  }

  .pillars-main-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .pillars-main-title .highlight {
    font-size: 26px;
  }

  .pillars-description {
    font-size: 14px;
  }

  .pillars-image-section {
    min-height: 300px;
  }

  .pillars-intro-text {
    font-size: 14px;
  }

  .pillar-card {
    /* padding: 30px 20px; */
  }

  .pillar-title {
    font-size: 16px;
  }

  .pillar-list li {
    font-size: 14px;
  }

  .goal-card {
    border-radius: 20px;
  }

  .goal-image {
    border-radius: 20px;
  }

  .goal-overlay {
    border-radius: 20px;
    padding: 15px;
  }

  .goal-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .goal-card:hover .goal-overlay h3 {
    font-size: 22px;
  }

  .goal-overlay .goal-subtitle {
    font-size: 13px;
  }

  .goal-card:hover .goal-overlay .goal-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .goal-overlay .goal-description {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .read-more-btn {
    font-size: 11px;
  }

  /* Hide arrow on mobile for read more button */
  .read-more-btn span {
    display: none;
  }

  .goal-card:hover .read-more-btn {
    padding: 10px 20px;
  }

  .goal-card:hover .goal-overlay-content {
    transform: translateY(-10px);
  }

  .modal-close {
    font-size: 30px;
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }

  .modal-text-container {
    padding: 30px 20px;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .modal-text {
    font-size: 13px;
  }

  .modal-text h3 {
    font-size: 18px;
  }

  .certificate-item,
  .link-item {
    padding-top: 15px;
  }

  .certificate-link,
  .link-item span {
    font-size: 14px;
    padding-right: 15px;
  }

  .download-btn {
    width: 36px;
    height: 36px;
  }

  .iso-section {
    padding: 50px 0;
  }

  .iso-card {
    padding: 30px 20px;
  }

  .iso-card-content {
    margin-bottom: 30px;
  }

  .iso-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .background-logo-image {
    width: 90%;
    max-width: 400px;
    opacity: 0.03;
  }
}

/* Extra Small Mobile (480px) */
@media (max-width: 480px) {

          /* Hide sidebar completely on mobile */
  .first-section-sidebar {
    display: none;
  }

  .main-title-large {
    font-size: 28px;
  }

  .main-subtitle-large {
    font-size: 22px;
  }

  .section-heading-white,
  .section-heading-red {
    font-size: 24px;
  }

  .section-heading,
  .section-heading-center {
    font-size: 20px;
  }

  .highlight {
    font-size: 20px;
  }

  .commitment-icon {
    width: 100px;
    height: 100px;
  }

  .commitment-icon img {
    width: auto;
    height: 100px;
  }
}