/* =======================================================================
St Joseph Orphanage - Professional & Responsive Design
Minimalist approach with proper spacing and alignment
======================================================================= */

/* ===================================== CSS Reset & Basic Styles ================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

/* ===================================== Typography ================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* ===================================== Utility Classes ================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }
.cp { cursor: pointer; }
.no-padding { padding: 0; }
.no-margin { margin: 0; }
.hid { display: none; }

/* ===================================== Button Styles ================================== */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background-color: #2ecc71;
  color: white;
  border-color: #2ecc71;
}

.btn-primary:hover {
  background-color: #27ae60;
  border-color: #27ae60;
  color: white;
}

.btn-success {
  background-color: #51be78;
  color: white;
  border-color: #51be78;
}

.btn-success:hover {
  background-color: #3a9b5c;
  border-color: #3a9b5c;
  color: white;
}

.btn-light {
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
}

.btn-light:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ===================================== Header Style ================================== */
header {
  background-color: #ffffff;
  width: 100%;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Header Top Section */
header .header-top {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
}

header .header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

header .header-top .col-det {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 30px;
}

/* Contact Info */
header .header-top .ulleft {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

header .header-top .ulleft li {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #666;
  font-size: 0.9rem;
  border-right: 1px solid #ddd;
}

header .header-top .ulleft li:last-child {
  border-right: none;
}

header .header-top .ulleft li i {
  margin-right: 8px;
  color: #2ecc71;
  font-size: 0.95rem;
}

header .header-top .ulleft li span {
  margin-left: 0;
}

/* Social Links */
header .header-top .ulright {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header .header-top .ulright li {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #666;
  font-size: 0.9rem;
}

header .header-top .ulright li small {
  font-weight: 600;
  margin-right: 5px;
}

header .header-top .ulright li i {
  font-size: 1.1rem;
  color: #2ecc71;
  transition: color 0.3s ease;
}

header .header-top .ulright li a:hover i {
  color: #27ae60;
}

/* Donate Button */
header .header-top .btn-bhed {
  display: flex;
  align-items: center;
  padding: 0;
}

header .header-top .btn-bhed .donate-link {
  width: auto;
}

header .header-top .btn-bhed .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #2ecc71 0%, #26b86f 100%);
  border: none;
  box-shadow: 0 10px 22px rgba(46, 204, 113, 0.25);
}

/* Header Bottom - Logo & Nav */
header .header-bottom {
  padding: 15px 0;
  background-color: #ffffff;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .header-bottom.scroll-to-fixed-fixed {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

header .header-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

header .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Logo */
header .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo a {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

header .logo span {
  display: inline;
}

/* Navigation Menu */
header .nav-col {
  flex-grow: 1;
}

header .nav-col .navbad {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
  list-style: none;
}

header .nav-col .navbad li {
  padding: 10px 0;
}

header .nav-col .navbad li a {
  display: inline-block;
  padding: 10px 18px;
  color: #143b30;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  background: transparent;
}

header .nav-col .navbad li a:hover,
header .nav-col .navbad li a.active {
  background: linear-gradient(135deg, #dffaf0 0%, #c8f2dd 100%);
  color: #0b4d3a;
  border-color: rgba(46, 204, 113, 0.35);
  box-shadow: 0 8px 18px rgba(46, 204, 113, 0.12);
}

header .header-bottom.scroll-to-fixed-fixed .nav-col .navbad li a {
  color: #18392f;
}

header .header-bottom.scroll-to-fixed-fixed .nav-col .navbad li a:hover,
header .header-bottom.scroll-to-fixed-fixed .nav-col .navbad li a.active {
  background: linear-gradient(135deg, #e8fff3 0%, #d4f7e5 100%);
  color: #0d4d3d;
}

/* Hamburger Menu */
header .small-menu {
  display: none;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

/* =========================================================
   MISSION & VISION SECTION
   ========================================================= */

.mission-vision {
    width: 100%;
    padding: 75px 20px;
    background: #f8faf9;
    box-sizing: border-box;
}


/* Main container */
.mv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;

    box-sizing: border-box;
}


/* Individual column */
.mv-item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.mv-item h3 {
    margin: 0 0 20px 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;

    color: #173f67;
    text-transform: uppercase;

    letter-spacing: 0;

    position: relative;
}


/* Green underline */
.mv-item h3::after {
    content: "";

    display: block;

    width: 85px;
    height: 5px;

    margin-top: 18px;

    background: #36b878;
    border-radius: 2px;
}


/* =========================================================
   IMAGE
   ========================================================= */

.mv-img {
    width: 100%;
    height: 245px;

    margin: 0 0 22px 0;

    overflow: hidden;

    border-radius: 12px;

    background: #e9eeee;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}


.mv-img img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.4s ease;
}


/* Optional subtle hover effect */
.mv-img:hover img {
    transform: scale(1.03);
}


/* =========================================================
   PARAGRAPH
   ========================================================= */

.mv-item p {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
    line-height: 1.65;

    font-weight: 400;

    color: #173f67;

    text-align: left;

    word-spacing: normal;
    letter-spacing: normal;

    overflow-wrap: break-word;
}


/* =========================================================
   LARGE TABLETS
   ========================================================= */

@media (max-width: 1100px) {

    .mission-vision {
        padding: 60px 25px;
    }

    .mv-container {
        gap: 40px;
    }

    .mv-item h3 {
        font-size: 25px;
    }

    .mv-img {
        height: 220px;
    }

    .mv-item p {
        font-size: 15.5px;
        line-height: 1.6;
    }
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 850px) {

    .mv-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }

    .mv-item h3 {
        font-size: 24px;
    }

    .mv-img {
        height: 230px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .mission-vision {
        padding: 50px 20px;
    }

    .mv-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .mv-item {
        width: 100%;
    }

    .mv-item h3 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .mv-item h3::after {
        width: 70px;
        height: 4px;
        margin-top: 14px;
    }

    .mv-img {
        width: 100%;
        height: 240px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .mv-item p {
        font-size: 16px;
        line-height: 1.65;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .mission-vision {
        padding: 40px 16px;
    }

    .mv-container {
        gap: 45px;
    }

    .mv-item h3 {
        font-size: 22px;
    }

    .mv-img {
        height: 210px;
    }

    .mv-item p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* =========================================================
   DONATION SECTION
   ========================================================= */

.donation-section {
    width: 100%;
    padding: 80px 4vw;
    margin: 0;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   FULL WIDTH INNER AREA
   ========================================================= */

.donation-wrap {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   INTRO
   ========================================================= */

.donation-intro {
    width: 100%;

    display: grid;

    grid-template-columns: minmax(300px, 0.75fr)
                           minmax(450px, 1.25fr);

    gap: 80px;

    align-items: center;

    margin-bottom: 65px;

    box-sizing: border-box;
}


/* =========================================================
   WORD ART
   ========================================================= */

.donation-word-art {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    color: #173f67;

    font-family: Arial, Helvetica, sans-serif;

    line-height: 0.9;
}


.donation-word-art span {
    display: block;

    font-size: 22px;

    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 8px;
}


.donation-word-art strong {
    display: block;

    font-size: clamp(48px, 5vw, 76px);

    font-weight: 900;

    letter-spacing: -3px;

    line-height: 0.9;

    color: #173f67;
}


.donation-word-art i {
    display: block;

    width: 95px;
    height: 5px;

    margin-top: 22px;

    background: #36b878;

    border-radius: 3px;
}


/* =========================================================
   QUOTE
   ========================================================= */

.donation-quote {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding-left: 58px;

    box-sizing: border-box;
}


.donation-quote svg {
    position: absolute;

    top: 0;
    left: 0;

    width: 42px;
    height: 42px;

    fill: #36b878;
}


.donation-quote p {
    max-width: 850px;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(21px, 2vw, 28px);

    font-weight: 400;

    font-style: italic;

    line-height: 1.55;

    color: #4d5862;

    text-align: left;
}


.donation-quote div {
    width: 70px;
    height: 3px;

    margin-top: 22px;

    background: #36b878;

    border-radius: 3px;
}


/* =========================================================
   THREE EQUAL COLUMNS
   ========================================================= */

.donation-grid {
    width: 100%;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 30px;

    align-items: stretch;

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   CARD
   ========================================================= */

.donation-card {
    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    flex-direction: column !important;

    background: #ffffff;

    border: 1px solid #e4e8eb;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.donation-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   IMAGE
   ========================================================= */

.donation-card .donation-image {
    width: 100% !important;

    height: 270px !important;

    flex-shrink: 0;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #eeeeee;

    box-sizing: border-box;
}


.donation-card .donation-image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover;

    object-position: center;

    transition: transform 0.4s ease;
}


.donation-card:hover .donation-image img {
    transform: scale(1.04);
}


/* =========================================================
   BODY
   ========================================================= */

.donation-body {
    width: 100%;

    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 28px 30px 30px;

    box-sizing: border-box;
}


/* =========================================================
   TITLE
   ========================================================= */

.donation-body h3 {
    margin: 0 0 18px;

    padding: 0;

    min-height: 58px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 23px;

    font-weight: 800;

    line-height: 1.25;

    color: #173f67;

    text-align: left;

    box-sizing: border-box;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.donation-body p {
    margin: 0;

    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.7;

    color: #59636d;

    text-align: left;

    word-spacing: normal;

    letter-spacing: normal;

    white-space: normal;

    overflow-wrap: break-word;

    word-break: normal;

    box-sizing: border-box;
}


/* =========================================================
   BUTTON
   ========================================================= */

.donation-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    margin-top: auto !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding: 12px 23px;

    min-width: 130px;

    background: #36b878;

    border: 1px solid #36b878;

    border-radius: 5px;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.3;

    text-align: center;

    text-decoration: none !important;

    box-sizing: border-box;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.donation-btn:hover {
    background: #299b64;

    border-color: #299b64;

    color: #ffffff !important;

    text-decoration: none !important;

    transform: translateY(-2px);
}


/* =========================================================
   LARGE SCREEN
   ========================================================= */

@media (min-width: 1500px) {

    .donation-section {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .donation-wrap {
        max-width: 1700px;
    }

    .donation-grid {
        gap: 35px;
    }

    .donation-card .donation-image {
        height: 290px !important;
    }

    .donation-body {
        padding: 30px 32px 32px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1000px) {

    .donation-section {
        padding: 65px 30px;
    }


    .donation-intro {
        grid-template-columns: 1fr 1.4fr;

        gap: 45px;
    }


    .donation-word-art strong {
        font-size: 55px;
    }


    .donation-card .donation-image {
        height: 230px !important;
    }


    .donation-body {
        padding: 24px;
    }


    .donation-body h3 {
        font-size: 21px;
    }


    .donation-body p {
        font-size: 15px;

        line-height: 1.65;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .donation-intro {
        grid-template-columns: 1fr;

        gap: 35px;

        margin-bottom: 50px;
    }


    .donation-word-art {
        align-items: center;

        text-align: center;
    }


    .donation-word-art i {
        margin-left: auto;
        margin-right: auto;
    }


    .donation-quote {
        padding-left: 50px;
    }


    .donation-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 25px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .donation-section {
        padding: 50px 20px;
    }


    .donation-intro {
        margin-bottom: 45px;
    }


    .donation-word-art span {
        font-size: 18px;
    }


    .donation-word-art strong {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .donation-quote {
        padding-left: 42px;
    }


    .donation-quote svg {
        width: 32px;
        height: 32px;
    }


    .donation-quote p {
        font-size: 19px;

        line-height: 1.5;
    }


    .donation-grid {
        grid-template-columns: 1fr !important;

        gap: 30px;
    }


    .donation-card .donation-image {
        height: 260px !important;
    }


    .donation-body {
        padding: 25px;
    }


    .donation-body h3 {
        min-height: auto;

        font-size: 22px;
    }


    .donation-body p {
        font-size: 16px;

        line-height: 1.7;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 400px) {

    .donation-section {
        padding: 40px 16px;
    }


    .donation-word-art strong {
        font-size: 38px;
    }


    .donation-quote {
        padding-left: 38px;
    }


    .donation-quote p {
        font-size: 17px;
    }


    .donation-card .donation-image {
        height: 220px !important;
    }

}
/* ===================================== Responsive Header ================================== */
@media screen and (max-width: 991px) {
  header .header-top .col-det {
    flex-direction: column;
    gap: 15px;
  }

  header .header-top .ulleft {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  header .header-top .ulleft li,
  header .header-top .ulleft li:last-child {
    border: none;
    padding: 5px 0;
  }

  header .header-top .ulright {
    width: 100%;
    justify-content: center;
  }

  header .header-top .btn-bhed {
    width: 100%;
    padding: 10px 0;
  }

  header .header-top .btn-bhed .btn {
    width: 100%;
  }

  header .header-bottom .container {
    flex-direction: column;
  }

  header .nav-row {
    flex-direction: column;
  }

  header .nav-col {
    width: 100%;
    display: none;
  }

  header .nav-col.show {
    display: block;
  }

  header .nav-col .navbad {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    width: 100%;
  }

  header .nav-col .navbad li {
    width: 100%;
    padding: 0;
    border-top: 1px solid #f0f0f0;
  }

  header .nav-col .navbad li a {
    display: block;
    border-radius: 0;
    padding: 12px 15px;
    width: 100%;
  }

  header .small-menu {
    display: block;
  }

  header .logo {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  header .logo a {
    font-size: 0.9rem;
  }

  header .nav-col .navbad li a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

/* ===================================== Form Controls ================================== */
input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

::placeholder {
  color: #999;
  opacity: 1;
}

/* ===================================== Slider Style ================================== */
.slider {
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.slider-img {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slider-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.slider-captions {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  color: white;
  padding: 0 20px;
}

.slider-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  animation: slideDown 0.8s ease-out;
  background: linear-gradient(135deg, #ffffff 0%, #87d7ff 50%, #4ab8e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #2ecc71, transparent);
  margin: 20px auto 0;
}

.slider-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 500;
}

.slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  transform: translateY(-50%);
  padding: 0 20px;
}

.slider .owl-nav .owl-prev,
.slider .owl-nav .owl-next {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.slider .owl-nav .owl-prev:hover,
.slider .owl-nav .owl-next:hover {
  background-color: rgba(46, 204, 113, 0.8);
  border-color: #2ecc71;
}

.slider .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.slider .owl-dots .owl-dot span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.slider .owl-dots .owl-dot.active span {
  background-color: #2ecc71;
  width: 30px;
  border-radius: 6px;
}

@media screen and (max-width: 768px) {
  .slider-img {
    height: 350px;
  }

  .slider-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .slider-title::after {
    width: 60px;
    margin-top: 12px;
  }

  .slider-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .slider-captions {
    bottom: 30px;
  }
}

/* ===================================== Section Styling ================================== */
section {
  padding: 60px 0;
}

section.light {
  background-color: #f8f9fa;
}

section.dark {
  background-color: #2c3e50;
  color: white;
}

section.dark h2,
section.dark h3,
section.dark h4 {
  color: white;
}

/* ===================================== About Section ================================== */
.about-us {
  background: linear-gradient(180deg, #f8f9fa 0%, #f3f7f5 100%);
  padding: 70px 0;
}

.about-us .container {
  display: block;
  max-width: 1200px;
}

.about-us .natur-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 30px;
}

.about-us .text-part {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.about-us .text-part h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: #1d2a2a;
}

.about-us .image-part {
  flex: 0 0 100%;
  max-width: 100%;
}

.about-us .image-part .about-quick-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 22px;
  width: 100%;
}

.about-us .image-part .about-quick-box .about-qcard {
  background: #fff;
  padding: 28px 18px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-us .image-part .about-quick-box .about-qcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
}

@media screen and (max-width: 991px) {
  .about-us .image-part .about-quick-box {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media screen and (max-width: 576px) {
  .about-us .image-part .about-quick-box {
    grid-template-columns: 1fr;
  }
}

/* ===================================== Events Section ================================== */
.events {
  padding: 60px 0;
  background-color: #ffffff;
}

.events .event-ro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.events .event-ro .event-box {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.events .event-ro .event-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.events .event-ro .event-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.events .event-ro .event-box h4 {
  padding: 20px 15px 10px;
  font-size: 1.1rem;
  color: #2c3e50;
}

.events .event-ro .event-box p {
  padding: 0 15px 20px;
  font-size: 0.95rem;
  text-align: justify;
  color: #666;
  margin: 0;
}

.events .event-ro .event-box .raises {
  padding: 0 15px 15px;
  font-weight: 600;
  color: #2ecc71;
}

/* ===================================== Mission Vision Section ================================== */
.mission-vision {
  padding: 70px 0;
  background: linear-gradient(180deg, #f7faf7 0%, #eef7f0 100%);
}

.mission-vision .container {
  max-width: 1200px;
}

.mission-vision .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.mission-vision .mv-det {
  background: #ffffff;
  border: 1px solid rgba(46, 204, 113, 0.12);
  border-radius: 18px;
  padding: 24px 22px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mission-vision .mv-det h3 {
  color: #1d2a2a;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  min-height: 48px;
}

.mission-vision .mv-img {
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.mission-vision .mv-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.mission-vision .mv-det p {
  margin: 0;
  line-height: 1.8;
  text-align: justify;
  color: #515d5b;
  font-size: 0.97rem;
}

@media screen and (max-width: 991px) {
  .mission-vision .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .mission-vision {
    padding: 50px 0;
  }

  .mission-vision .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-vision .mv-det {
    padding: 20px 18px 16px;
  }
}

/* ===================================== Doctor Message Section ================================== */
.doctor-message {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/slider/slider16.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: white;
}

.doctor-message .session-title h2 {
  color: white;
}

.doctor-message .inner-lay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.doctor-message .inner-lay .numb {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: rgba(46, 204, 113, 0.2);
  border: 2px solid #2ecc71;
}

.doctor-message .inner-lay .numb h3 {
  font-size: 2.5rem;
  color: #2ecc71;
  margin-bottom: 10px;
}

.doctor-message .inner-lay .numb p {
  font-size: 1rem;
  margin: 0;
}

/* ===================================== Blog Section ================================== */
.our-blog {
  padding: 60px 0;
  background-color: #ffffff;
}

.our-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.our-blog .single-blog {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.our-blog .single-blog:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.our-blog .single-blog figure {
  margin: 0;
  overflow: hidden;
  height: 220px;
}

.our-blog .single-blog figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.our-blog .single-blog:hover figure img {
  transform: scale(1.05);
}

.our-blog .single-blog .blog-detail {
  padding: 20px;
}

.our-blog .single-blog .blog-detail small {
  color: #2ecc71;
  font-size: 0.85rem;
  font-weight: 600;
}

.our-blog .single-blog .blog-detail h4 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #2c3e50;
}

.our-blog .single-blog .blog-detail p {
  text-align: justify;
  margin: 0 0 15px 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.our-blog .single-blog .link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.our-blog .single-blog .link a {
  color: #2ecc71;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.our-blog .single-blog .link a:hover {
  color: #27ae60;
  gap: 15px;
}

/* ===================================== Team Section ================================== */
.our-team {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.our-team .team-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.our-team .team-row .single-usr {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.our-team .team-row .single-usr:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.our-team .team-row .single-usr img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.our-team .team-row .single-usr .det-o {
  padding: 20px;
  background-color: #2ecc71;
  color: white;
}

.our-team .team-row .single-usr .det-o h4 {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}

.our-team .team-row .single-usr .det-o i {
  color: white;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ===================================== Gallery Section ================================== */
.gallery {
  padding: 60px 0;
  background-color: #ffffff;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  color: #2ecc71;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.gallery-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #2ecc71;
}

.gallery-filter {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  padding: 10px 20px;
  border: 2px solid #2ecc71;
  background-color: white;
  color: #2ecc71;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-button:hover,
.filter-button.active {
  background-color: #2ecc71;
  color: white;
}

.gallery_product {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery_product .port-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.gallery_product .port-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery_product .port-image:hover img {
  transform: scale(1.1);
}

/* ===================================== Footer Style ================================== */
footer {
  background-color: #1e2936;
  color: white;
  padding: 60px 0 0;
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer h2 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

footer p {
  text-align: justify;
  line-height: 1.8;
  color: #bbb;
  margin-bottom: 15px;
}

footer .link-list {
  list-style: none;
}

footer .link-list li {
  padding: 8px 0;
  border-bottom: 1px solid #444;
}

footer .link-list li:last-child {
  border-bottom: none;
}

footer .link-list li a {
  color: #bbb;
  transition: all 0.3s ease;
}

footer .link-list li a:hover {
  color: #2ecc71;
  padding-left: 5px;
}

footer .link-list li i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

footer address {
  font-style: normal;
  line-height: 1.8;
}

footer address a {
  color: #2ecc71;
  font-weight: 600;
}

footer address a:hover {
  color: #27ae60;
}

.copy {
  background-color: #16202b;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #444;
  color: #999;
}

.copy a {
  color: #2ecc71;
  transition: all 0.3s ease;
}

.copy a:hover {
  color: #27ae60;
}

.copy-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copy .social-icons {
  display: flex;
  gap: 15px;
}

.copy .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #2ecc71;
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.copy .social-icons a:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
}

/* ===================================== Session Title ================================== */
.session-title {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 0;
}

.session-title h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.session-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  color: #666;
}

.session-title span {
  display: block;
  font-style: italic;
  color: #999;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ===================================== Page Navigation ================================== */
.page-nav {
  background-color: #e8e8e8;
  padding: 60px 0;
  text-align: center;
}

.page-nav h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.page-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-nav ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.page-nav ul li i {
  width: 20px;
  text-align: center;
  color: #2ecc71;
}

.page-nav ul li a {
  color: #2ecc71;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-nav ul li a:hover {
  color: #27ae60;
}

@media screen and (max-width: 768px) {
  .page-nav {
    padding: 40px 0;
  }

  .page-nav h2 {
    font-size: 1.5rem;
  }
}

/* ===================================== Responsive Design ================================== */
@media screen and (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-vision .container,
  .about-us .container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .slider-img {
    height: 250px;
  }

  .slider-title {
    font-size: 1.3rem;
  }

  .slider-text {
    font-size: 0.85rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .gallery_product {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================== Contact Form ================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 150px;
}

/* ===================================== Donation Section ================================== */
.donation-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.donation-welcome {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  padding: 40px;
  border-radius: 8px;
}

.donation-welcome h2 {
  color: white;
  margin-bottom: 20px;
}

.donation-welcome p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.donation-welcome ul {
  margin-left: 20px;
}

.donation-welcome li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.donation-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.donation-form h3 {
  color: #2ecc71;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .donation-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .donation-welcome,
  .donation-form {
    padding: 30px;
  }
}

/* Let the nav stick to the viewport instead of only inside <header> */
header { display: contents; }

#menu-jk {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbad {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.small-menu {
    display: none;
    background: none;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 991px) {
    .small-menu { display: block; }
    .nav-col {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
    }
    .nav-col.open { display: block; }
    .navbad { flex-direction: column; gap: 0; }
    .navbad .nav-link { display: block; padding: 12px 20px; }
}