/* ==========================================================================
   Base Styles
   ========================================================================== */

/* Typography */
h1, h2 {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #43A047;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 4px;
    background-color: #43A047;
}

/* New Section Heading Styles */
.section-title-container {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title-container::before,
.section-title-container::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background-color: #0F7E2C;
}

.section-title-container::before {
    margin-right: 30px;
}

.section-title-container::after {
    margin-left: 30px;
}

.section-title-container h2 {
    color: #0F7E2C;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    white-space: nowrap;
    padding: 0;
}

.section-title-container h2::before,
.section-title-container h2::after {
    display: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 1rem;
}

/* Prevent horizontal scroll */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure container doesn't overflow */
.container, .hero-wrapper, .grid-container {
    width: 100%;
    box-sizing: border-box;
}

/* Section Base Styles */
section:not(.page-hero) {
    padding: 80px 20px 60px;
    max-width: 1100px;
    margin: auto;
}

/* Page Hero sections have their own specific styling */

/* Section Text Styles */
section p {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 300;
    text-align: justify;
    hyphens: auto;
}

/* Strong text styling */
section p strong {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */
#hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    margin-top: 80px;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-wrapper {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    gap: 40px;
}

#hero .hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

#hero .hero-image {
    flex: 1;
    height: 400px;
    min-height: 300px;
    background: url('../img/delivery-hero.png') center/contain no-repeat;
    background-size: contain;
}

.hero-heading {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-heading::after {
    display: none;
}

#hero p {
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #FFCA16;
    color: #333333;
    text-decoration: none;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.2);
}

/* Hero Animations */
.slide-in-left {
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Animation Styles
   ========================================================================== */
.fade-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 1s ease forwards;
}


    .fade-up {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeUp 1s ease forwards;
      animation-delay: 0.4s;
    }


    .zoom-in {
      opacity: 0;
      transform: scale(0.8);
      animation: zoomIn 0.8s ease forwards;
      animation-delay: 0.8s;
    }    /* ==========================================================================
   Grid Layout Styles
   ========================================================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}


    /* First row - 3 cards */
    .grid-container .card:nth-child(-n+3) {
      grid-row: 1;
    }


    /* Second row - 3 cards */
    .grid-container .card:nth-child(n+4) {
      grid-row: 2;
    }


    @media (max-width: 992px) {
      .grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
      }
      .grid-container .card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
      }
    }


    @media (max-width: 576px) {
      .grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 10px;
      }
      
      .card {
        padding: 15px;
      }
      
      .card h3 {
        font-size: 1.1rem;
      }
      
      .card p {
        font-size: 0.9rem;
        text-align: center;
      }
      
      .card .icon {
        font-size: 2rem;
      }
    }


/* ==========================================================================
   Card Component Styles
   ========================================================================== */
.card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}


.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #e85d04;
}


.card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}


.card p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  font-weight: 300;
  text-align: justify;
  hyphens: auto;
  margin-bottom: 1rem;
}


/* ==========================================================================
   Steps Section Styles
   ========================================================================== */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}


.step-box {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e85d04;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}


.step-content h3 {
  margin-top: 0;
  color: #d00000;
  
}


.step-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #444;
  
}


.onboarding-benefits {
  background-color: #fff3e0;
  border-left: 6px solid #e85d04;
  padding: 20px;
  margin: 40px auto 20px;
  max-width: 800px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.6;
}


.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}


.step-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px 20px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.step-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFCA16;
  color: #000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.step-card h3 {
  margin-top: 30px;
  color: #d00000;
   font-family: 'Poppins', sans-serif;
      font-weight: 500;
      font-size: 1.25rem;
      color: #333;
      margin: 15px 0 10px;
      letter-spacing: 0.01rem;
  
}


.step-card p {
  color: #444;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #444;
}


.onboarding-benefits {
  background-color: #fff3e0;
  border-left: 6px solid #e85d04;
  padding: 20px;
  margin: 40px auto 20px;
  max-width: 800px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.6;
}



    #our-story {
      text-align: center;
      padding: 60px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    /* Our Story heading now uses the section-title-container styles for consistency */#our-story p {
      color: #333;
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 20px;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
      text-align: justify;
    }


    .highlight-text {
      color: #0F7E2C;
      font-weight: 600;
    }


    #differentiator {
      text-align: center;
      padding: 60px 20px;
    }
    /* Differentiator heading now uses the section-title-container styles for consistency */#differentiator .card h3 {
      font-family: 'Poppins', sans-serif;
      font-weight: 500;
      font-size: 1.25rem;
      color: #333;
      margin: 15px 0 10px;
      letter-spacing: 0.01rem;
    }

    #differentiator .card p {
      font-family: 'Montserrat', sans-serif;
      font-weight: 300;
      font-size: 0.875rem;
      line-height: 1.8;
      color: #333;
      margin-top: 10px;
      letter-spacing: 0.01rem;
    }

    /* ==========================================================================
   Media Queries - Mobile First Approach
   ========================================================================== */

/* Small devices (phones, 576px and up) */
@media (max-width: 575px) {
    /* Hero Section Mobile */
    #hero {
        min-height: 70vh;
        padding: 20px 15px;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    #hero .hero-content {
        order: 2;
    }
    
    #hero .hero-image {
        order: 1;
        height: 250px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-btn {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    /* Sections Mobile */
    section:not(.page-hero) {
        padding: 40px 15px 30px;
    }
    
    /* Typography Mobile */
    h1, h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        text-align: center;
        margin-bottom: 20px;
    }
    
    .section-title-container {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .section-title-container::before,
    .section-title-container::after {
        display: none;
    }
    
    .section-title-container h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        white-space: normal;
    }
    
    /* Grid Mobile */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 10px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 10px;
    }
    
    /* Cards Mobile */
    .card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .card h3 {
        font-size: 1.2rem;
    }
    
    .card p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Quick Start Mobile */
    .quick-start-section {
        padding: 0;
        margin: 5px auto;
        width: calc(100% - 16px);
        box-sizing: border-box;
    }
    
    .quick-start-content {
        padding: 10px 8px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .quick-start-section h2 {
        font-size: 1.2rem;
        margin: 0 0 2px 0;
    }
    
    .quick-start-section p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .quick-start-icon {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }
    
    .quick-start-section .highlight {
        font-size: 0.9rem;
    }
    
    /* Benefits Mobile */
    .benefits-container {
        padding: 25px 20px;
        margin: 20px 15px;
    }
    
    .benefit-item {
        font-size: 1rem;
        gap: 12px;
    }
    
    .benefit-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
    
    .benefits-footer p {
        font-size: 1.1rem;
    }
    
    /* CTA Mobile */
    .cta-section {
        padding: 50px 20px;
        margin: 30px 15px;
        border-radius: 20px;
    }
    
    .cta-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Medium devices (tablets, 576px to 768px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    #hero .hero-image {
        height: 300px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Quick Start - Tablet */
    .quick-start-section {
        padding: 0;
        width: calc(100% - 16px);
    }
    
    .quick-start-content {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .quick-start-text {
        display: flex;
        align-items: center;
    }
}

/* Large tablets and small desktops (768px to 992px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-wrapper {
        gap: 30px;
    }
    
    #hero .hero-image {
        height: 350px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Differentiator Section Styles
   ========================================================================== */
#differentiator {
    text-align: center;
    padding: 60px 20px;
}

#differentiator h2 {
    color: #0F7E2C;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

#differentiator h2::before,
#differentiator h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background-color: #0F7E2C;
}

/* ==========================================================================
   Quick Start Section Styles
   ========================================================================== */
.quick-start-section {
    padding: 0;
    max-width: 1060px;
    margin: 10px auto;
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.quick-start-content {
    background: linear-gradient(135deg, #0F7E2C, #1aa83c);
    color: white;
    padding: 15px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(15, 126, 44, 0.2);
    text-align: center;
    z-index: 2;
}

.quick-start-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.quick-start-icon {
    font-size: 1.8rem;
    margin: 0 8px 0 0;
    line-height: 1;
    display: inline-block;
}

.quick-start-icon i {
    color: #ffeb3b;
}

.quick-start-section h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    line-height: 1.2;
}

.quick-start-section h2::before,
.quick-start-section h2::after {
    display: none;
}

.quick-start-section p {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: white;
    margin: 0 auto;
    line-height: 1.2;
    max-width: 600px;
    letter-spacing: 0;
}

.quick-start-section .highlight {
    color: #ffeb3b;
    font-weight: bold;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .quick-start-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .quick-start-section .quick-start-text {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .quick-start-section h2 {
        margin: 0;
        margin-right: 8px;
    }
    
    .quick-start-section p {
        margin: 0;
    }
    
    .quick-start-icon {
        margin-bottom: 0;
    }
}

 .benefits-container {
      background: linear-gradient(135deg, rgba(15, 126, 44, 0.05), rgba(15, 126, 44, 0.1));
      border-radius: 20px;
      padding: 40px;
      margin: 40px auto;
      max-width: 800px;
      box-shadow: 0 10px 30px rgba(15, 126, 44, 0.1);
    }


    .benefits-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 30px;
    }


    .benefit-item {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 1.1rem;
      color: #333;
    }


    .benefit-icon {
      width: 28px;
      height: 28px;
      background-color: #0F7E2C;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }


    .benefits-footer {
      text-align: center;
      border-top: 2px dashed rgba(15, 126, 44, 0.2);
      padding-top: 25px;
      margin-top: 10px;
    }


    .benefits-footer p {
      color: #0F7E2C;
      font-size: 1.2rem;
      font-weight: 600;
      margin: 0;
    }

    .cta-section {
  padding: 80px 20px 60px;
  max-width: 1100px;
  margin: auto;
}

.cta-content {
  background: #333333;
  color: #fff;
  text-align: center;
  padding: 60px 40px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(15, 126, 44, 0.2);
}


.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}


.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.cta-content h2::after {
  display: none;
}


.cta-content p {
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: white;
  margin: 0 auto 35px;
  line-height: 1.6;
  max-width: 700px;
  letter-spacing: 0.01em;
  position: relative;
}


.cta-btn {
  background-color: #fff;
  color: #0F7E2C;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}


.cta-btn:hover {
  background-color: #0F7E2C;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transform: translateY(-2px);
  border: 2px solid #fff;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Override Styles
   ========================================================================== */
.cta-content .section-title-container::before,
.cta-content .section-title-container::after {
  display: none;
}

.cta-content .section-title-container h2 {
  color: #FFCA16;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.cta-content .section-title-container {
  margin-bottom: 5px;
}

 body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      scroll-behavior: smooth;
      overflow-x: hidden;
      width: 100%;
    }    /* Header styles moved to headerfooter.css */

    nav .logo img {
      height: 40px;
    }

    nav .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    nav a {
      color: #333;
      text-decoration: none;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #43A047;
    }

    nav a i {
      font-size: 1.1rem;
    }

    section {
      padding: 120px 0 60px;
      width: 100%;    }

    /* Footer styles moved to headerfooter.css */

    /* About Page Specific Styles */
    /* Now using the global .page-hero class for consistent styling across pages */

    .about-section {
      background: white;
      border-radius: 12px;
      padding: 40px;
      margin-bottom: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .about-section h2 {
      color: #0F7E2C;
      font-size: 2rem;
      margin-bottom: 20px;
    }    .about-section p {
      font-family: "Montserrat", sans-serif;
      color: #555;
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 20px;
      text-align: justify;
      font-weight: 300;
    }

    .values-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      margin-top: 30px;
    }

    .value-card {
      background: #f8f9fa;
      padding: 25px;
      border-radius: 8px;
      border-left: 4px solid #0F7E2C;
    }

    .value-card h3 {
      color: #0F7E2C;
      margin-top: 0;
      margin-bottom: 15px;
      font-size: 1.4rem;
    }

    .value-card p {
      margin: 0;
      font-size: 1.05rem;
    }

    .about-content {
      background: #f8f9fa;
      padding: 40px 0 60px;
    }

    .section-title {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-title h2 {
      color: #0F7E2C;
      font-size: 2.5rem;
      position: relative;
      display: inline-block;
      margin: 0;

    white-space: nowrap;
    padding: 0;
    }

    .section-title h2::before,
    .section-title h2::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 100px;
      height: 2px;
      background-color: #0F7E2C;
    }

    .section-title h2::before {
      right: calc(100% + 20px);
    }

    .section-title h2::after {
      left: calc(100% + 20px);
    }

    .mission-section {
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 40px;
      overflow: hidden;
    }

    .mission-content {
      flex: 0 0 60%;
      padding-right: 0;
    }

    .mission-image {
      flex: 0 0 calc(40% - 40px);
      height: 100%;
      min-height: 300px;
      position: relative;
      background: linear-gradient(135deg, rgba(15, 126, 44, 0.05), rgba(15, 126, 44, 0.1));
      border-radius: 8px;
      overflow: hidden;
      margin-right: 40px;
    }

    .mission-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
    }    .mission-title {
      font-family: "Bai Jamjuree", sans-serif;
      font-size: 3.5rem !important;
      font-weight: 700;
      color: #0F7E2C !important;
      margin-bottom: 30px !important;
      letter-spacing: -0.5px;
    }

    .vision-section {
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 40px;
      overflow: hidden;
      justify-content: space-between;
    }

    .vision-content {
      flex: 0 0 55%;
      padding-left: 0;
      padding-right: 20px;
    }

    .vision-image {
      flex: 0 0 40%;
      height: 100%;
      min-height: 300px;
      position: relative;
      background: linear-gradient(135deg, rgba(15, 126, 44, 0.05), rgba(15, 126, 44, 0.1));
      border-radius: 8px;
      overflow: hidden;
      margin: 0;
    }

    .vision-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
    }

    .grid-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin: auto;
    }

    /* First row - 3 cards */
    .grid-container .card:nth-child(-n+3) {
      grid-row: 1;
    }

    /* Second row - 3 cards */
    .grid-container .card:nth-child(n+4) {
      grid-row: 2;
    }

    .card {
      background: #fff;
      border: 1px solid #eee;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      border-radius: 16px;
      padding: 20px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .card .icon {
      font-size: 2.2rem;
      margin-bottom: 1rem;
      color: #0F7E2C;
    }    .card h3 {
      font-family: "Inter", sans-serif;
      margin-top: 0;
      color: #0F7E2C;
      font-size: 1.3rem;
      font-weight: 500;
    }    .card p {
      font-family: "Montserrat", sans-serif;
      font-size: 0.95rem;
      color: #444;
      margin-bottom: 0;
      text-align: justify;
    }

    .quick-start-section {
      background: linear-gradient(135deg, #0F7E2C, #1aa83c);
      color: white;
      padding: 80px 20px 60px;
      max-width: 1100px;
      margin: auto;
      border-radius: 30px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(15, 126, 44, 0.2);
    }

    .quick-start-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
      opacity: 0.3;
      z-index: 1;
    }

    .quick-start-content {
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .quick-start-icon {
      font-size: 4rem;
      margin-bottom: 20px;
      animation: bounce 2s infinite;
    }    .quick-start-section h2 {
      font-family: "Bai Jamjuree", sans-serif;
      color: white !important;
      font-size: 2.5rem;
      margin-bottom: 20px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      font-weight: 600;
    }

    .quick-start-section p {
      font-size: 1.3rem;
      margin: 0;
      line-height: 1.6;
      max-width: 700px;
      margin: 0 auto;
    }

    .quick-start-section .highlight {
      color: #ffeb3b;
      font-weight: bold;
      font-size: 1.4rem;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin: 40px auto;
    }

    .step-card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 16px;
      padding: 30px 20px 20px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .step-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .step-badge {
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #FFCA16;
      color: #333333;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      font-weight: bold;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }   
     .step-card h3 {
      font-family: "Inter", sans-serif;
      font-weight: 500;
      margin-top: 30px;
      color: #333333;
      font-size: 1.4rem;
    }

    .benefits-container {
      background: linear-gradient(135deg, rgba(15, 126, 44, 0.05), rgba(15, 126, 44, 0.1));
      border-radius: 20px;
      padding: 40px;
      margin: 40px auto;
      max-width: 800px;
      box-shadow: 0 10px 30px rgba(15, 126, 44, 0.1);
    }

    .benefits-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 30px;
    }

    .benefit-item {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 1.1rem;
      color: #333;
    }

    .benefit-icon {
      width: 28px;
      height: 28px;
      background-color: #0F7E2C;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .benefits-footer {
      text-align: center;
      border-top: 2px dashed rgba(15, 126, 44, 0.2);
      padding-top: 25px;
      margin-top: 10px;
    }

    .benefits-footer p {
      color: #E53935;
      font-size: 1.2rem;
      font-weight: 600;
      margin: 0;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    @media (max-width: 992px) {
      .grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
      }
      .grid-container .card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding-left: 20px;
        padding-right: 20px;
      }
      
      .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 15px;
      }
      
      .grid-container {
        grid-template-columns: 1fr;
        padding: 15px;
      }
      
      nav {
        flex-direction: column;
      }
      
      nav a {
        margin: 0.5rem 0;
      }

      .values-grid {
        grid-template-columns: 1fr;
      }

      /* Hero section now uses global .page-hero class */

      .section-title h2::before,
      .section-title h2::after {
        width: 50px;
      }

      .mission-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
      }

      .mission-content {
        flex: 1;
        padding: 0;
        text-align: center;
      }

      .mission-image {
        flex: none;
        width: 100%;
        min-height: 250px;
        order: -1;
        margin: 0;
      }

      .vision-section {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
      }

      .vision-content {
        flex: 1;
        padding: 0;
        text-align: center;
      }

      .vision-image {
        flex: none;
        width: 100%;
        min-height: 250px;
        order: -1;
        margin: 0;
      }
      
      /* Mobile typography improvements */
      .mission-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
      }
      
      .member-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
      }

      .member-content {
        text-align: center;
      }

      .member-bio {
        text-align: center;
      }

      .member-name {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
      }

      .team-container,
      section {
        padding-left: 20px;
        padding-right: 20px;
      }
    }

.mission-content p, .vision-content p {
      font-family: "Montserrat", sans-serif;
      color: #555;
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 20px;
      text-align: justify;
      font-weight: 300;
    }

    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      scroll-behavior: smooth;
      overflow-x: hidden;
      width: 100%;
    }    .container {
      max-width: 1100px;
      margin: 0 auto;
      width: 100%;
      padding-left: 40px;
      padding-right: 40px;
      box-sizing: border-box;
    }

    header {
      background: #fff;
      box-shadow: 0 15px 40px -20px rgba(40, 44, 63, .15);
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }    /* Header styles moved to headerfooter.css */section {
      padding: 120px 0 60px;
      width: 100%;
    }    /* Footer styles moved to headerfooter.css */

    /* Team Page Specific Styles */
    /* Now using the global .page-hero class for consistent styling across pages */
    
    .team-container {
      background: #f8f9fa;
      padding: 40px 0 60px;
    }/* Team Member Styles */    .team-container {
      max-width: 1100px;
      margin: 40px auto;
      padding: 0;
    }.team-member {
      margin-bottom: 50px;
      background: white;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .team-member:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 25px rgba(15, 126, 44, 0.1);
    }.member-header {
      display: flex;
      align-items: center;
      margin-bottom: 30px;
      gap: 40px;
    }    .member-image-container {
      flex-shrink: 0;
      width: 100px;
      height: 100px;
      position: relative;
      transform: rotate(45deg);
      overflow: hidden;
      border: 2px solid #0F7E2C;
      margin-left: 20px;
      box-sizing: border-box;
      background-color: white;
      padding: 4px;
    }

    .member-image-inner {
      width: 100%;
      height: 100%;
      position: relative;
      overflow: hidden;
    }

    .member-image {
      width: 140px;
      height: 140px;
      object-fit: cover;
      transform: rotate(-45deg);
      position: absolute;
      top: -24px;
      left: -24px;
    }

    .member-info {
      flex-grow: 1;
    }

    .member-name {
      color: #0F7E2C;
      font-size: 2.8rem;
      margin: 0 0 10px 0;
      font-weight: bold;
      line-height: 1.2;
    }

    .member-position {
      color: #333;
      font-size: 1.2rem;
      font-weight: 500;
    }

    .member-content {
      width: 100%;
    }    .member-bio {
      color: #555;
      font-size: 1.1rem;
      line-height: 1.8;
      text-align: justify;
      margin: 0 0 15px 0;
    }

    .member-bio:last-child {
      margin-bottom: 0;
    }@media (max-width: 768px) {
      .member-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
      }

      .member-content {
        text-align: center;
      }

      .member-bio {
        text-align: center;
      }

      .member-name {
        font-size: 2.2rem;
      }      .team-container,
      section {
        padding-left: 20px;
        padding-right: 20px;
      }
    }

    .social-links a {
      color: #0F7E2C;
      text-decoration: none;
      font-size: 1.2rem;
      transition: color 0.3s ease;
    }

    .social-links a:hover {
      color: #1aa83c;
    }

    @media (max-width: 992px) {
      .team-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }    @media (max-width: 768px) {
      .container {
        padding-left: 20px;
        padding-right: 20px;
      }
      
   
  

      .member-header {
        gap: 20px;
      }
    }

    @media (max-width: 576px) {
      .team-grid {
        grid-template-columns: 1fr;
      }      /* Hero styling now handled by global .page-hero class */
    }

    /* ==========================================================================
   Global Hero Styles
   ========================================================================== */
.page-hero {
  text-align: center;
  padding: 160px 20px 80px;
  background: linear-gradient(135deg, rgba(15, 126, 44, 0.05), rgba(15, 126, 44, 0.1));
  margin-bottom: 40px;
  width: 100%;
  max-width: none; /* Override the section max-width */
}

.page-hero h1 {
  color: #0F7E2C;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.page-hero h1::before,
.page-hero h1::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  height: 2px;
  background-color: #0F7E2C;
}

.page-hero h1::before {
  right: calc(100% + 20px);
}

.page-hero h1::after {
  left: calc(100% + 20px);
}

.page-hero p {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  font-weight: 400;
  line-height: 1.6;
}

/* Media Query for Responsive Design */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 15px 60px;
  }
  
  .page-hero h1::before,
  .page-hero h1::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 100px 15px 40px;
  }
  
  .page-hero h1::before,
  .page-hero h1::after {
    display: none;
  }
}

/* ==========================================================================
   Enhanced Mobile Responsiveness for All Sections
   ========================================================================== */

/* Mobile improvements for Quick Start Section */
@media (max-width: 768px) {
    .quick-start-section {
        padding: 40px 20px 30px;
    }
    
    .quick-start-content {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .quick-start-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
    }
    
    .quick-start-section p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .quick-start-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .quick-start-section .highlight {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .quick-start-section {
        padding: 30px 15px 20px;
    }
    
    .quick-start-content {
        padding: 30px 15px;
    }
    
    .quick-start-section h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    
    .quick-start-section p {
        font-size: 1rem;
    }
    
    .quick-start-icon {
        font-size: 2.5rem;
    }
}

/* Mobile improvements for Benefits Container */
@media (max-width: 768px) {
    .benefits-container {
        padding: 25px 20px;
        margin: 20px 15px;
    }
    
    .benefit-item {
        font-size: 1rem;
        gap: 12px;
    }
    
    .benefit-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
    
    .benefits-footer p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .benefits-container {
        padding: 20px 15px;
        margin: 15px 10px;
    }
    
    .benefit-item {
        font-size: 0.95rem;
    }
    
    .benefits-footer p {
        font-size: 1rem;
    }
}

/* Mobile improvements for CTA Section */
@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px 30px;
    }
    
    .cta-content {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .cta-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 30px 15px 20px;
    }
    
    .cta-section h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Mobile improvements for Steps Grid */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 15px;
    }
    
    .step-card {
        padding: 25px 15px 15px;
    }
    
    .step-card h3 {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    
    .step-card p {
        font-size: 0.9rem;
    }
    
    .step-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: -15px;
    }
}

@media (max-width: 480px) {
    .step-card {
        padding: 20px 12px 12px;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
    
    .step-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -12px;
    }
}

/* Mobile improvements for Section Title Container */
@media (max-width: 768px) {
    .section-title-container {
        flex-direction: column;
        margin-bottom: 25px;
    }
    
    .section-title-container::before,
    .section-title-container::after {
        display: none;
    }
    
    .section-title-container h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        white-space: normal;
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .section-title-container h2 {
        font-size: clamp(1.5rem, 6vw, 1.9rem);
    }
}

/* Mobile improvements for Mission and Vision sections */
@media (max-width: 768px) {
    .mission-section,
    .vision-section {
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .mission-content,
    .vision-content {
        flex: 1;
        padding: 0;
        text-align: center;
    }
    
    .mission-image,
    .vision-image {
        flex: none;
        width: 100%;
        min-height: 200px;
        margin: 0;
    }
    
    .mission-title {
        font-size: clamp(2rem, 6vw, 2.8rem) !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mission-section,
    .vision-section {
        padding: 20px 15px;
    }
    
    .mission-image,
    .vision-image {
        min-height: 180px;
    }
    
    .mission-title {
        font-size: clamp(1.8rem, 7vw, 2.3rem) !important;
    }
}

/* Mobile improvements for About sections */
@media (max-width: 768px) {
    .about-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .about-section p {
        font-size: 1rem;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 20px;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .value-card p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 20px 15px;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .about-section p {
        font-size: 0.95rem;
    }
    
    .value-card {
        padding: 15px;
    }
}

/* Mobile improvements for Team sections */
@media (max-width: 768px) {
    .team-member {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .member-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .member-image-container {
        margin-left: 0;
    }
    
    .member-name {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        text-align: center;
    }
    
    .member-position {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .member-content {
        text-align: center;
    }
    
    .member-bio {
        text-align: center;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 15px;
    }
    
    .member-name {
        font-size: clamp(1.6rem, 6vw, 1.9rem);
    }
    
    .member-position {
        font-size: 1rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
}

/* Mobile improvements for Our Story section */
@media (max-width: 768px) {
    #our-story {
        padding: 40px 20px;
    }
    
    #our-story p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    #our-story {
        padding: 30px 15px;
    }
    
    #our-story p {
        font-size: 0.95rem;
    }
}

/* Enhanced Hero Section Mobile Responsiveness */
@media (max-width: 768px) {
    #hero {
        min-height: 60vh;
        padding: 30px 20px;
        margin-top: 70px;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    #hero .hero-content {
        order: 2;
        max-width: 100%;
    }
    
    #hero .hero-image {
        order: 1;
        height: 200px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-heading {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    #hero p {
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: 50vh;
        padding: 20px 15px;
        margin-top: 70px;
    }
    
    .hero-wrapper {
        gap: 20px;
    }
    
    #hero .hero-image {
        height: 180px;
        max-width: 250px;
    }
    
    .hero-heading {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    
    #hero p {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }
    
    .hero-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
}

/* Enhanced grid responsiveness for better mobile experience */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 10px;
    }
}

    
    .member-image-container {
      margin-right: 30px;
    }

   .member-image {
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
}


    .team-member {
      margin-bottom: 60px;
      padding: 30px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }    .member-header {
      display: flex;
      align-items: center;
      margin-bottom: 25px;
    }

    .member-name {
      font-family: "Bai Jamjuree", sans-serif;
      font-size: 1.7em;
      font-weight: 600;
      color: #0F7E2C;
      margin-bottom: 8px;
    }

    .member-position {
      font-family: "Montserrat", sans-serif;
      font-weight: 300;
      font-size: 1em;
      color: #333;
      margin-bottom: 15px;
    }

    .member-bio {
      font-family: "Montserrat", sans-serif;
      font-weight: 300;
      font-size: 20px;
      line-height: 1.6;
      color: #444;
      margin-bottom: 15px;
    }

    @media (max-width: 768px) {
      .member-header {
        flex-direction: column;
        text-align: center;
      }

      .member-image-container {
        margin: 0 auto 20px;
      }
      
      /* Content styling for mobile */
      .member-content {
        text-align: left;
      }
      
      .member-bio {
        text-align: justify;
        font-size: 16px;
        line-height: 1.5;
        padding: 0 5px;
      }
      
      .member-name {
        font-size: 22px;
        text-align: center;
        margin-bottom: 5px;
      }
      
      .member-position {
        text-align: center;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 400;
        color: #0F7E2C;
      }
      
      .member-info {
        width: 100%;
      }
      
      .team-member {
        padding: 20px 15px;
        margin-bottom: 40px;
      }
      
      /* Hero section responsive */
      #team-hero h1 {
        font-size: 26px;
      }
      
      #team-hero p {
        font-size: 16px;
        padding: 0 10px;
      }
      
      .container {
        padding-left: 10px;
        padding-right: 10px;
      }
    }
    
    /* Extra small devices */
    @media (max-width: 480px) {
      .member-bio {
        font-size: 14px;
        line-height: 1.4;
      }
      
      .member-name {
        font-size: 20px;
      }
      
      .team-member {
        padding: 15px 12px;
        margin-bottom: 30px;
      }
    }

    /* Table section styles */
    .table-section {
      padding: 30px 0;
      background-color: #fff;
      margin-bottom: 0;
    }
    
    .section-title {
      text-align: center;
      font-family: "Bai Jamjuree", sans-serif;
      color: #0F7E2C;
      margin-bottom: 40px;
      font-size: 2.5em;
      font-weight: 600;
    }
    
    .table-row {
      display: flex;
      flex-wrap: wrap;
      background: #fff;
      border-radius: 0;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      overflow: hidden;
      margin-bottom: 30px;
      border: 1px solid #f0f0f0;
      transition: all 0.3s ease;
      width: 100%;
    }
    
    .table-row:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(15, 126, 44, 0.15);
      border-color: #e0e0e0;
      position: relative;
      z-index: 1;
    }
    
    /* Connected rows hover effect */
    .table-row[style*="margin-bottom: 0"]:hover + .table-row[style*="margin-top: -1px"] {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(15, 126, 44, 0.15);
      border-color: #e0e0e0;
      position: relative;
      z-index: 1;
    }
    
    .table-row[style*="margin-top: -1px"]:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(15, 126, 44, 0.15);
      border-color: #e0e0e0;
    }
    
    .table-col-30 {
      flex: 0 0 25%;
      padding: 30px;
      background-color: white;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .table-col-70 {
      flex: 0 0 75%;
      padding: 30px;
      display: flex;
      align-items: center;
    }
    
    .table-member-info {
      margin-top: 0;
      padding-top: 0;
    }
    
    .table-member-info .member-name {
      font-family: "Bai Jamjuree", sans-serif;
      font-size: 2.2em;
      font-weight: 600;
      color: #0F7E2C;
      margin-bottom: 8px;
      position: relative;
      padding-bottom: 15px;
      transition: all 0.3s ease;
    }
    
    .table-member-info .member-name:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 70px;
      height: 4px;
      background-color: #0F7E2C;
      transition: width 0.3s ease;
    }
    
    .table-row:hover .table-member-info .member-name {
      color: #043f14;
    }
    
    .table-row:hover .table-member-info .member-name:after {
      width: 100px;
    }
    
    .table-member-info .member-position {
      font-family: "Montserrat", sans-serif;
      font-weight: 300;
      font-size: 1.2em;
      color: #444;
      margin-bottom: 15px;
      margin-top: 10px;
    }
    
    .table-col-full {
      flex: 0 0 100%;
      padding: 40px 60px;
    }
    
    .single-column-row {
      margin-top: 30px;
      background: #fff;
      border-radius: 0;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      border: 1px solid #f0f0f0;
    }
    
    .content-box {
      background-color: #f9f9f9;
      border-left: 4px solid #F9C516;
      padding: 25px;
      margin-top: 30px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.04);
      transition: all 0.3s ease;
    }
    
    .content-box:hover {
      background-color: #f5f5f5;
      border-left-width: 6px;
      box-shadow: 0 4px 15px rgba(15, 126, 44, 0.1);
    }
    
    .content-box h4 {
      font-family: "Bai Jamjuree", sans-serif;
      color: #0F7E2C;
      margin-bottom: 12px;
      font-size: 1.3em;
    }
    
    /* Table section image styles */
    .table-col-30 img, .table-col-70 img, .table-col-full img {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 0 auto 20px;
      border: none;
    }
    
    .table-image-container {
      margin: 0;
      text-align: center;
      display: flex;
      align-items: center;
      height: 100%;
    }
    
    .table-image-container.full-space {
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
    }
    
    .table-image {
      max-width: 100%;
      max-height: 150px;
      border: none;
      box-shadow: none;
      width: auto;
      transition: transform 0.3s ease;
    }
    
    .table-row:hover .table-image {
      transform: scale(1.05);
    }
    
    .full-width-image {
      width: 100%;
      height: auto;
      max-height: none;
      object-fit: cover;
      margin: 0;
    }
    
    @media (max-width: 768px) {
      .table-row {
        flex-direction: column;
      }
      
      .table-col-30, .table-col-70 {
        flex: 0 0 100%;
        width: 100%;
      }
      
      .table-col-30 {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px;
      }
      
      .table-col-70 {
        padding: 20px;
      }
      
      .table-member-info .member-name {
        font-size: 1.8em;
        text-align: center;
      }
      
      .table-member-info .member-name:after {
        left: 50%;
        transform: translateX(-50%);
      }
      
      .table-member-info .member-position {
        text-align: center;
        font-size: 1em;
      }
      
      .table-col-full {
        padding: 25px;
      }
      
      .section-title {
        font-size: 2em;
        margin-bottom: 30px;
      }
    }
