/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

/* Table styling */
.table-main {
    border-collapse: separate;
    border-spacing: 0 12px;
    /* space between rows */
    width: 100%;
    font-family: 'Barlow', sans-serif;
}

.table-main thead tr {
    background-color: var(--primary);
    color: var(--light);
    text-transform: uppercase;
    font-weight: 600;
}

.table-main tbody tr {
    background-color: var(--secondary);
    transition: background-color 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.table-main tbody tr:hover {
    background-color: #ffe5e6;
    /* a light shade of primary */
}

.table-main th,
.table-main td {
    vertical-align: middle !important;
    padding: 15px 20px;
    border: none !important;
}

/* Button inside table */
.btn--table-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    padding: 6px 15px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
}

.btn--table-outline:hover,
.btn--table-outline:focus {
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 82, 90, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }

    .table-main thead {
        display: none;
    }

    .table-main tbody tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .table-main tbody td {
        display: flex;
        justify-content: space-between;
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
    }

    .table-main tbody td:last-child {
        border-bottom: 0;
    }

    .table-main tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        text-transform: uppercase;
        color: var(--primary);
    }
}

.accordion-button {
    border-radius: 0.25rem;
    font-size: 1.05rem;
    padding: 1rem;
    transition: background 0.3s, color 0.3s;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f8ff;
    color: #0d6efd;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-body {
    font-size: 0.95rem;
    line-height: 1.6;
}

.message-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--secondary);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s;
}

.message-box:hover {
    transform: translateY(-10px);
}

.message-box img {
  width: 280px;                 /* Adjust to your preferred size */
  height: 300px;                /* Same as width → perfect circle */
  border-radius: 50%;           /* Makes the image circular */
  object-fit: cover;            /* Crops nicely without distortion */
  object-position: center;      /* Ensures the face stays centered */
  display: block;
  margin: 0 auto 15px auto;     /* Centers horizontally + space below */
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.044); /* Optional: neat subtle shadow */
}

.message-box h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.message-box p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;       /* More breathing room between lines */
    text-align: justify;     /* Makes it look like a paragraph */
    margin: 0;               /* Remove extra spacing for uniformity */
    white-space: normal;
}

.message-section {
    padding: 50px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .message-box {
        text-align: center;
    }
}

.cursor-pointer {
      cursor: pointer;
    }
    .list-hover:hover,
    #service-list .active {
      background-color: #ffe5e6;
      color: var(--primary);
      font-weight: 600;
      transition: 0.3s;
    }
    .menu-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      cursor: pointer;
      overflow: hidden;
    }
    .menu-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 6px 15px rgba(243, 82, 90, 0.4);
    }
    .menu-price {
      font-weight: 700;
      color: var(--primary);
      font-size: 1.2rem;
    }

    .menu-card-body {
      padding: 15px;
      text-align: center;
    } 

    .menu-card img {
    width: 100%;
    height: auto;                  /* Mobile/tablet: natural ratio */
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    }

    /* ✅ Desktop (≥1024px) */
    @media (min-width: 1024px) {
    .menu-card img {
        height: 280px;              /* Standard desktop */
    }
    }

    /* ✅ Large Desktop / 2K (≥1600px) */
    @media (min-width: 1600px) {
    .menu-card img {
        height: 420px;              /* Slightly taller for 2K screens */
    }
    }

    /* ✅ 3K Resolution (≥2560px) */
    @media (min-width: 2560px) {
    .menu-card img {
        height: 600px;
    }
    }

    /* ✅ 4K Resolution (≥3840px) */
    @media (min-width: 3840px) {
    .menu-card img {
        height: 800px;
    }
    }

    /* ✅ 5K Resolution (≥5120px) */
    @media (min-width: 5120px) {
    .menu-card img {
        height: 1000px;
    }
    }

/* vision  */
/* 🌿 Vision Section Image Styles */
.vision-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.vision-image .main-img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    object-fit: cover;
    transition: none;
}

/* 📱 Mobile (small devices) */
@media (max-width: 575.98px) {
    .vision-image .main-img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }
}

/* 💻 Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .vision-image .main-img {
        max-width: 480px;
    }
}

/* 🖥️ Large desktop */
@media (min-width: 1280px) {
    .vision-image .main-img {
        max-width: 650px;
    }
}

/* 🖥️ Wide screen */
@media (min-width: 1600px) {
    .vision-image .main-img {
        max-width: 700px;
    }
}

/* 🖥️ Ultra-wide (4K, 5K monitors) */
@media (min-width: 2560px) {
    .vision-image .main-img {
        max-width: 900px;
    }
}
/* 🌍 Mission Section */
.mission {
    overflow-x: hidden;
}

.mission-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mission-image .main-img {
    width: 100%;
    height: auto;
    max-width: 550px;
    border-radius: 12px;
    object-fit: cover;
    transition: none; /* No hover animation */
}

/* ✍️ Mission Text Styling */
.mission-text .section-header h2 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
}

.mission-text .section-header h3 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

/* ✅ Responsive Adjustments */
@media (max-width: 575.98px) {
    .mission-image .main-img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .mission-text {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mission-image .main-img {
        max-width: 480px;
    }
}

@media (min-width: 1280px) {
    .mission-image .main-img {
        max-width: 600px;
    }
}

@media (min-width: 1600px) {
    .mission-image .main-img {
        max-width: 700px;
    }
}

@media (min-width: 2560px) {
    .mission-image .main-img {
        max-width: 900px;
    }
}
@media (max-width: 400px) {
  .message-box {
    padding: 20px 10px;
  }

  .message-box img {
    width: 180px;
    height: 180px;
  }

  .message-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .message-box p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .message-section {
    padding: 30px 10px;
  }
}

@media (max-width: 340px) {
  .message-box img {
    width: 150px;
    height: 150px;
  }

  .message-box p {
    font-size: 0.95rem;
  }
}