/* ================================================= */
/* Base Styles (Desktop/Large Screen Base) */
/* ================================================= */

/* Hero Section */
.sustain-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sustain-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.sustain-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
    z-index: 1;
}

.sustain-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem; /* Added for mobile safety */
}

.sustain-hero-overlay h1 {
    font-family: 'Montserrat', 'Arial Black', Impact, sans-serif;
    font-size: 4rem; /* Base Desktop size */
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intro Container */
.sustain-intro {
    background: #f8fafc;
    padding: 4rem 2rem; /* Base padding */
}

.sustain-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sustain-image {
    flex: 1; /* Added flex property */
}
.sustain-image img {
    width: 100%;
    max-width: 950px;
    border-radius: 100px 0 100px 0;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.sustain-text {
    flex: 1; /* Added flex property */
}
.sustain-text h2 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0F766E;
}

.sustain-text p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sustain-text ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: #334155;
    line-height: 1.6;
}

.sustain-text ul li {
    margin-bottom: 0.6rem;
}

/* ================================================= */
/* Sustainability Points Layout */
/* ================================================= */
.sustain-points {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem; /* Base padding */
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.sustain-point {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sustain-point.reverse {
    flex-direction: row-reverse;
}

.sustain-point-text {
    flex: 1;
}

.sustain-point-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0F766E; /* Used consistent teal */
    margin-bottom: 1rem;
}

.sustain-point-text p {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sustain-point-text ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    color: #334155;
}

.sustain-point-text ul li {
    margin-bottom: 0.5rem;
}

.sustain-point-image {
    flex: 1;
}

.sustain-point-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    object-fit: cover;
}


/* ================================================= */
/* Sustainability Roadmap & Commitment Grid */
/* ================================================= */
.sustain-section {
    padding: 3rem 1rem;
    background: #f8fafc;
}

.sustain-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Base desktop grid */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(2, 12, 27, 0.08);
}

.sustain-panel {
    position: relative;
    display: flex;
    align-items: stretch;
}

.sustain-content {
    padding: 2.5rem clamp(1.25rem, 2vw, 2.25rem);
    width: 100%;
    display: grid;
    gap: 1rem;
    align-content: start;
}

/* Left (Roadmap - Teal) */
.sustain-panel--roadmap {
    background: #0F766E;
    color: #fff;
}
.sustain-panel--roadmap .sustain-title {
    color: #fff;
}

.sustain-list {
    display: grid;
    gap: 0.8rem;
    margin: 0.5rem 0 0 0;
    padding-left: 1.1rem;
}
.sustain-list li {
    line-height: 1.55;
}

/* Right (Commitment - White) */
.sustain-panel--commit {
    background: #fff;
    color: #475569;
}

.sustain-title {
    font: 800 1.6rem/1.25 "Montserrat", "Poppins", system-ui, sans-serif;
}
.sustain-title--dark {
    color: #0D9488;
}

.sustain-text {
    line-height: 1.7;
    color: #374151;
}

.sustain-bullets {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding-left: 1.1rem;
}
.sustain-bullets li {
    line-height: 1.6;
}


/* ================================================= */
/* Responsive Media Queries (Consolidated and Refined) */
/* ================================================= */

/* General Tablet/Small Desktop Adjustments (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Hero */
    .sustain-hero {
        height: 300px;
    }
    .sustain-hero-overlay h1 {
        font-size: 3rem;
    }
    
    /* General Padding */
    .sustain-intro, .sustain-points {
        padding: 3rem 1.5rem;
    }

    /* Intro Section: Stack columns for tablet */
    .sustain-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .sustain-image img {
        border-radius: 30px;
    }
    .sustain-text {
        order: 2; /* Put text below image on stack */
    }
    .sustain-image {
        order: 1;
    }
    .sustain-text h2 {
        font-size: 1.8rem;
    }
    .sustain-text p,
    .sustain-text ul {
        font-size: 1rem;
        text-align: left; /* Keep body text readable */
    }

    /* Sustainability Points: Stack columns */
    .sustain-point,
    .sustain-point.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .sustain-point-text h2 {
        margin-top: 1rem;
    }
    .sustain-point-text p,
    .sustain-point-text ul {
        text-align: left; /* Keep body text readable */
    }

    /* Roadmap/Commitment Grid: Stack panels */
    .sustain-wrap {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
}

/* Mobile Adjustments (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero */
    .sustain-hero {
        height: 250px;
    }
    .sustain-hero-overlay h1 {
        font-size: 2.2rem;
    }

    /* General Padding */
    .sustain-intro, .sustain-points {
        padding: 2rem 1rem;
    }
    
    /* Intro Section */
    .sustain-container {
        gap: 1.5rem;
    }
    .sustain-text h2 {
        font-size: 1.5rem;
    }
    .sustain-text p,
    .sustain-text ul {
        font-size: 0.95rem;
    }

    /* Sustainability Points */
    .sustain-points {
        gap: 3rem;
    }
    .sustain-point-text h2 {
        font-size: 1.4rem;
    }
    .sustain-point-text p,
    .sustain-point-text ul {
        font-size: 0.9rem;
    }

    /* Roadmap/Commitment Panels */
    .sustain-content {
        padding: 1.5rem 1rem;
    }
    .sustain-title {
        font-size: 1.4rem;
    }
    .sustain-list, .sustain-bullets {
        font-size: 0.9rem;
    }
}

/* Very Small Devices (max-width: 480px / 320px phones) */
@media (max-width: 480px) {
  /* Hero Section */
  .sustain-hero {
    height: 180px; /* Reduce height for small screens */
  }

  .sustain-hero-overlay {
    padding: 0 0.5rem;
  }

  .sustain-hero-overlay h1 {
    font-size: 1.6rem; /* Smaller headline for small screens */
    line-height: 1.3;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  /* Adjust intro padding */
  .sustain-intro {
    padding: 1.5rem 1rem;
  }

  /* Ensure images fit nicely */
  .sustain-image img {
    border-radius: 20px;
  }

  /* Make sustainability points compact */
  .sustain-point {
    gap: 1.2rem;
  }

  .sustain-point-text h2 {
    font-size: 1.2rem;
  }

  .sustain-point-text p,
  .sustain-point-text ul {
    font-size: 0.85rem;
  }

  /* Final section (Roadmap & Commitment) */
  .sustain-title {
    font-size: 1.2rem;
  }
  .sustain-content {
    padding: 1rem;
  }
}
