* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}


.company-overview {
  padding: 80px 40px;
}

.container-sec {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ===============================
   COMPANY LOGO
   =============================== */
/* ===============================
   COMPANY OVERVIEW – BASE
=============================== */

.company-overview {
  padding: 100px 40px;
  background: #ffffff;
}

.container-sec {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* CONTENT */
.content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.description {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 40px;
}

/* FEATURES */
.features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon {
  width: 44px;
  height: 44px;
  background: #e6f7ef;
  color: #10b981;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.feature p {
  font-size: 14px;
  color: #6b7280;
}

/* IMAGE */
.image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   COMPANY MOMENT / TEAM IMAGE
=============================== */
/* IMAGE */


.moment-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.moment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 1024px) {
  .container-sec {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .description {
    margin-left: auto;
    margin-right: auto;
  }

  .features {
    align-items: center;
  }

  .feature {
    max-width: 520px;
  }

  .image-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
    .company-moment {
    padding: 80px 24px;
  }

  .moment-image {
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  .company-overview {
    padding: 64px 16px;
  }

  .content h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .description {
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto 36px;
  }

  .features {
    gap: 18px;
  }

  .feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
  }

  .feature:last-child {
    border-bottom: none;
  }

  .icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .feature h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .feature p {
    font-size: 13px;
    line-height: 1.45;
  }
    .company-moment {
    padding: 64px 16px;
  }

  .moment-container {
    max-width: 360px;
    margin: 0 auto;
  }

  .moment-image {
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 26px;
  }

  .description {
    font-size: 14px;
  }

  .feature {
    grid-template-columns: 40px 1fr;
  }

  .icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
    .moment-container {
    max-width: 100%;
  }

  .moment-image {
    border-radius: 16px;
  }
  
}



/* ===========================
   OUR STORY SECTION
   =========================== */

.our-story-section {
    padding: 120px 20px;
    background: #ffffff;
}

.our-story-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Title */
.our-story-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111827;
}

/* Intro paragraph */
.our-story-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 40px;
}

/* Regular paragraphs */
.our-story-container p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 26px;
}

/* Divider */
.story-divider {
    border: none;
    height: 1px;
    background: #9fe3c2;
    margin: 40px 0;
}

/* Closing paragraph */
.our-story-closing {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .our-story-section {
        padding: 60px 20px;
    }

    .our-story-title {
        font-size: 28px;
    }
    .our-story-container p {
    font-size: 14px;
   
}
}
/* ===============================
   MISSION / VISION / VALUES
   =============================== */

.mvv-section {
    padding: 120px 20px;
    background: #ffffff;
}

.mvv-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 70px;
    color: #111827;
}

/* Layout */
.mvv-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Image */
.mvv-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Cards */
.mvv-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mvv-card {
    background: #ffffff;
    padding: 26px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mvv-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #374151;
}

/* Badge */
.mvv-badge {
    display: inline-block;
    background: #22b573;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

/* Values list */
.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    font-size: 14.5px;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 18px;
}

.values-list strong {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .mvv-section {
    padding: 100px 20px;
  }

  .mvv-title {
    font-size: 30px;
    margin-bottom: 60px;
  }

  .mvv-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .mvv-image {
    max-width: 520px;
    margin: 0 auto;
  }

  .mvv-content {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .mvv-section {
    padding: 70px 16px;
  }

  .mvv-title {
    font-size: 26px;
    margin-bottom: 44px;
  }

  /* Hide image on mobile */
  .mvv-image {
    display: none;
  }

  .mvv-card {
    padding: 22px 20px;
  }

  .mvv-card p {
    font-size: 14px;
    line-height: 1.65;
  }

  .values-list li {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .mvv-badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {

  .mvv-title {
    font-size: 24px;
  }

  .mvv-card {
    border-radius: 12px;
  }
}


/* ===============================
   LICENSING SECTION
   =============================== */

.licensing-section {
    padding: 120px 20px;
    background: #ffffff;
}

.licensing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* ===============================
   LEFT CONTENT
   =============================== */

.licensing-left h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #1fb56f;
}

.licensing-left .subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #1fb56f;
    margin-bottom: 18px;
}

.licensing-left .description {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}

/* Features List */
.licensing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

.licensing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 14px;
    position: relative;
    padding-left: 26px;
}

.licensing-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #1fb56f;
    font-weight: 700;
}

/* Button */
.btn-primary {
    display: inline-block;
    background: #1fb56f;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #1fb56f;
    transform: translateY(-2px);
}

/* ===============================
   RIGHT CONTENT
   =============================== */

.licensing-right h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.partners-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 26px;
}

/* Partner Card */
.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;

  /* RECTANGLE SHAPE */
  padding: 18px 26px;        /* less vertical, more horizontal */
  border-radius: 10px;       /* less pill-like */

  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
/* Logo */
.partner-logo {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.partner-logo img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}


/* Info */
.partner-info h4 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1fb56f;
}

.partner-info .location {
    font-size: 13px;
    color: #1fb56f;
    margin-bottom: 4px;
}

.partner-info .service-area {
    font-size: 12.5px;
    color: #64748b;
}

/* Badge */
.partner-card .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e0e7ff;
    color: #1fb56f;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Join Box */
.join-box {
    margin-top: 26px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 22px;
}

.join-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1fb56f;
}

.join-box p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
  .licensing-section {
    padding: 100px 20px;
  }

  .licensing-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .licensing-left {
    text-align: center;
  }

  .licensing-left .description {
    margin-left: auto;
    margin-right: auto;
  }

  .licensing-features {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .licensing-right {
    max-width: 640px;
    margin: 0 auto;
  }
}


@media (max-width: 768px) {
  .licensing-section {
    padding: 72px 16px;
  }

  /* LEFT */
  .licensing-left h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .licensing-left .subtitle {
    font-size: 14.5px;
    margin-bottom: 14px;
  }

  .licensing-left .description {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .licensing-features li {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .btn-primary {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    text-align: center;
  }

  /* RIGHT */
  .licensing-right h3 {
    font-size: 20px;
    text-align: center;
  }

  .partners-subtitle {
    text-align: center;
    margin-bottom: 22px;
  }

   .partner-card {
    padding: 20px 22px;
    gap: 16px;
  }

  .partner-card .badge {
    top: 14px;
    right: 14px;
  }
  .join-box {
    padding: 20px;
  }
}


@media (max-width: 480px) {
  .licensing-left h2 {
    font-size: 24px;
  }

  .licensing-features {
    margin-bottom: 28px;
  }

 .partner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  /* Create logo + name row */
  .partner-logo {
    margin-bottom: 0;
  }

  .partner-info {
    margin-top: 6px;
  }

  /* INLINE LOGO + NAME */
  .partner-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
  }

  .partner-logo {
    grid-row: 1 / 3;
  }

  .partner-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
  }

  .partner-info .location,
  .partner-info .service-area {
    font-size: 13px;
  }

  .partner-card .badge {
    grid-column: 1 / -1;
    margin-top: 10px;
    position: static;
  }
}


/* ===========================
   GALLERY SECTION
   =========================== */

.gallery-section {
    padding: 60px 20px;
    background: #ffffff;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.gallery-header {
    text-align: center;
    margin-bottom: 70px;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.gallery-header p {
    font-size: 14px;
    color: #475569;
}

/* Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Item */
.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
    transform: scale(1.06);
}
/* Hidden gallery items */
.hidden-item {
    display: none;
}
/* Gallery Modal */
.gallery-modal {
    max-width: 1200px;
}

.modal-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .modal-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .modal-gallery {
        grid-template-columns: 1fr;
    }
}
/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 75%;
    max-height: 65vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    margin-bottom: 30px;
}

/* Close */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 28px;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Navigation */
/* Arrow Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 10001;
}

/* Hover */
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.08);
}

/* LEFT ARROW */
.lightbox-nav.left {
    left: 40px;
}

/* RIGHT ARROW */
.lightbox-nav.right {
    right: 40px;
}

/* Thumbnails */
.lightbox-thumbs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 16px 24px;
}

.lightbox-thumbs img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-thumbs img.active {
    opacity: 1;
    outline: 2px solid #1fb56f;
}

/* Load More Card */
.load-more {
    background: linear-gradient(135deg, #22b573, #16a34a);
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.load-more .dots {
    font-size: 28px;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.load-more .text {
    font-size: 14px;
    font-weight: 600;
}

.load-more:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-header h2 {
        font-size: 28px;
    }
}



/* ===========================
   PROGRAMS SECTION
   =========================== */

.programs-section {
    padding: 120px 20px;
    background: #ffffff;
}

.programs-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.programs-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 90px;
}

.programs-header h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.programs-header p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* Card */
.program-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 50px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.program-card.reverse {
    grid-template-columns: 1fr 320px;
}

/* Image */
.program-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

/* Content */
.program-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.program-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* Link */
.program-link {
    font-size: 14px;
    font-weight: 600;
    color: #22b573;
    text-decoration: none;
}

.program-link:hover {
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
    .program-card,
    .program-card.reverse {
        grid-template-columns: 1fr;
    }

    .program-image img {
        height: auto;
    }
}










/* COMPANY OVERVIEW */
.company-overview {
    padding: 60px 16px;
}

.overview-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.overview-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.overview-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.overview-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.overview-list li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
}

.overview-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #20ba68;
    font-weight: bold;
}




/* OUR STORY */
.our-story {
    padding: 60px 0 120px;
}

.our-story h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.our-story p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .overview-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .overview-image {
        text-align: center;
        margin-top: 30px;
    }
}

/* ===============================
   MISSION / VISION / VALUES
   =============================== */

.mvv-section {
    padding: 90px 16;
    background: #fff;
}

.mvv-layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT IMAGE */
.mvv-left img {
    margin-top: 35px;
    width: 98%;
    height: 361px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* RIGHT CONTENT */
.mvv-right h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 28px;
}

/* ROW */
.mvv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

/* CARD */
.mvv-box {
    background: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.mvv-box p {
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

/* LABEL */
.mvv-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1fb56f;
    margin-bottom: 6px;
}

/* VALUES FULL WIDTH */
.mvv-full {
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .mvv-layout {
        grid-template-columns: 1fr;
    }

    .mvv-row {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   GALLERY SECTION
   =========================== */

.gallery-section {
    padding: 120px 16;
    background: #fff;
}

/* HEADER */
.gallery-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.gallery-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;   /* increased */
}


/* ITEM */
.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;   /* 🔥 professional ratio */
    border-radius: 18px;
    overflow: hidden;
    background: #f8f9fb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 60%,
        rgba(0,0,0,0.15)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}


.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* RESPONSIVE */
@media (max-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   PROGRAMS SECTION
   =========================== */

.programs-section {
    padding: 60px 16;
    background: #fff;
}

/* HEADER */
.programs-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.programs-header h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}

.programs-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ITEM */
.program-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

/* IMAGE */
.program-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* CONTENT */
.program-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.program-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .program-item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .program-image img {
        height: auto;
    }
}

/* ===========================
   FEATURED BRANDS (4 LOGOS)
   =========================== */
.featured-brands {
  padding: 120px 20px;
  background: #ffffff;
  text-align: center;
}

.featured-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 56px;
  line-height: 1.25;
}

/* Slider shell */
.brands-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
}

/* Viewport */
.brands-viewport {
  width: 100%;
  max-width: 1120px; /* 4 logos */
  overflow: hidden;
}

/* Track */
.brands-track {
  display: flex;
  gap: 32px;
  transition: transform 0.4s ease;
}

/* Brand item */
.brand-item {
  flex: 0 0 calc((100% - 96px) / 4); /* 4 items */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo */
.brand-item img {
  max-height: 110px;
  max-width: 100%;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-item img:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* Navigation */
.brand-nav {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #777;
  transition: color 0.2s ease, transform 0.2s ease;
}

.brand-nav:hover {
  color: #1fb56f;
  transform: scale(1.12);
}

@media (max-width: 1024px) {
  .featured-brands {
    padding: 96px 20px;
  }

  .featured-title {
    font-size: 30px;
    margin-bottom: 44px;
  }

  .brands-viewport {
    max-width: 840px;
  }

  .brand-item {
    flex: 0 0 calc((100% - 64px) / 3);
  }
}

@media (max-width: 768px) {
  .featured-brands {
    padding: 72px 16px;
  }

  .featured-title {
    font-size: 26px;
    margin-bottom: 32px;
    letter-spacing: 1px;
  }

  .brands-slider {
    gap: 20px;
  }

  .brands-viewport {
    max-width: 520px;
  }

  .brand-item {
    flex: 0 0 calc((100% - 32px) / 2);
  }

  .brand-item img {
    max-height: 90px;
  }

  .brand-nav {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .featured-brands {
    padding: 56px 14px;
  }

  .featured-title {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .brands-slider {
    gap: 12px;
  }

  .brands-viewport {
    max-width: 220px;
  }

  .brand-item {
    flex: 0 0 100%;
  }

  .brand-item img {
    max-height: 64px;
  }

  .brand-nav {
    font-size: 22px;
    height: 64px;
    display: flex;
    align-items: center;
  }
}



/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 655px;
    border-radius: 12px;
    position: relative;
    animation: scaleIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* ===== MODAL LAYOUT FIX ===== */
.modal-box {
    max-height: 85vh;
    overflow-y: auto;
}


/* Title */
.modal-box h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

/* Description text */
.modal-box p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* FORM */
.modal-box form {
    margin-top: 10px;
}

/* Form groups */
.form-group {
    margin-bottom: 18px;
}

/* Inputs & textarea */
.form-group input,
.form-group textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 48px;
    border-radius: 8px;
    border: 1.5px solid #d6d6d6;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Focus state */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #22b573;
    box-shadow: 0 0 0 3px rgba(34, 181, 115, 0.12);
    outline: none;
}

/* Textarea height */
.form-group textarea {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    line-height: 1.5;
    resize: vertical;
}

/* Submit button */
.modal-box .btn-service {
    margin-top: 12px;
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 8px;
}

/* Close button */
.modal-close {
    top: 18px;
    right: 18px;
    font-size: 26px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a9a9a;
}

/* ===========================
   FEATURED BRANDS (4 LOGOS)
   =========================== */


.featured-title {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 80px;
}

/* Slider Layout */
.brands-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Viewport shows ONLY 4 logos */
.brands-viewport {
    width: calc(4 * 300px);
    overflow: hidden;
}

/* Track */
.brands-track {
    display: flex;
    gap: 40px;
    transition: transform 0.4s ease;
}

/* Logo Item */
.brand-item {
    flex: 0 0 300px;          /* increased width */
    /* fixed width */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo */
.brand-item img {
    max-height: 120px;        /* 🔥 noticeably bigger */
    max-width: 280px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.brand-item img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Navigation */
.brand-nav {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    transition: transform 0.3s ease, color 0.3s ease;
}

.brand-nav:hover {
    color: #1fb56f;
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .brands-viewport {
        width: calc(3 * 240px);
    }
}

@media (max-width: 768px) {
    .brands-viewport {
        width: calc(2 * 220px);
    }
}

@media (max-width: 480px) {
    .brands-viewport {
        width: calc(1 * 200px);
    }
}


/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 655px;
    border-radius: 12px;
    position: relative;
    animation: scaleIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* ===== MODAL LAYOUT FIX ===== */
.modal-box {
    max-height: 85vh;
    overflow-y: auto;
}


/* Title */
.modal-box h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

/* Description text */
.modal-box p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* FORM */
.modal-box form {
    margin-top: 10px;
}

/* Form groups */
.form-group {
    margin-bottom: 18px;
}

/* Inputs & textarea */
.form-group input,
.form-group textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 48px;
    border-radius: 8px;
    border: 1.5px solid #d6d6d6;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Focus state */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #22b573;
    box-shadow: 0 0 0 3px rgba(34, 181, 115, 0.12);
    outline: none;
}

/* Textarea height */
.form-group textarea {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    line-height: 1.5;
    resize: vertical;
}

/* Submit button */
.modal-box .btn-service {
    margin-top: 12px;
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 8px;
}

/* Close button */
.modal-close {
    top: 18px;
    right: 18px;
    font-size: 26px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a9a9a;
}

.partner-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.partner-modal.active {
    display: flex;
}

.partner-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 14px;
    padding: 32px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-primary,
.program-link {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.program-link:hover {
    transform: translateY(-2px);
}

.program-card,
.partner-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program-card:hover,
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* ===== MODAL ANIMATION ===== */
.modal-overlay,
.partner-modal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active,
.partner-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal box scale */
.modal-box,
.partner-modal-content {
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.modal-overlay.active .modal-box,
.partner-modal.active .partner-modal-content {
    transform: scale(1);
    opacity: 1;
}

.gallery-item img {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.lightbox-image {
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
