/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #6b4f3b;
  --section-bg-color: #ffffff;
  --dark-color: #07302e;
  --grey-color: #fcfeff;
  --text-secondary-white-color: rgba(255, 255, 255, 0.98);
  --title-color: #565758;
  --p-color: #717275;
  --partner-color: #f5e8d0;

  --body-font-family: "Noto Sans JP", sans-serif;

  --h1-font-size: 72px;
  --h2-font-size: 42px;
  --h3-font-size: 36px;
  --h4-font-size: 32px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --copyright-text-font-size: 14px;
  --custom-link-font-size: 12px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

body,
html {
  height: 100%;
}

body {
  background: var(--white-color);
  font-family: var(--body-font-family);
  position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Alice", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Tampilkan dropdown saat hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* menghindari lompatan */
}

/* Styling tambahan opsional */
/* Buat menu tetap berada di atas elemen lain */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Gaya dropdown menu */
.dropdown-menu {
  transition: all 0.2s ease;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  border-radius: 10px;
  padding: 10px;
  border: none;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

/* Item dalam dropdown */
.dropdown-menu .dropdown-item {
  padding: 10px 15px;
  color: #0d2f2f;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover efek pada item */
.dropdown-menu .dropdown-item:hover {
  background-color: #0d2f2f;
  color: #fff;
  transform: translateX(5px);
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus,
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

.alice-regular {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
}

.video-ep1 {
  width: 100%;
  aspect-ratio: 6/10;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

.carousel-control-next,
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
OUR SERVICES      
-----------------------------------------*/
.service-card {
  height: 350px;
  position: relative;
  border: 2px solid #eee;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* WADAH OVERLAY UTAMA */
.service-overlay {
  background: rgba(0, 0, 0, 0.4);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  transition: background 0.4s ease;
  overflow-y: auto;
}

.service-card:hover .service-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* JUDUL DI DALAM OVERLAY */
.service-title {
  color: #ffffff;
  transition: transform 0.4s ease;
  font-size: 1.6rem; /* --- FIX 1: Perkecil sedikit font judul --- */
}

/* KONTEN DESKRIPSI (paragraf & tombol) */
.overlay-desc-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Saat hover: beri cukup ruang agar konten + tombol tidak kepotong */
.service-card:hover .overlay-desc-content {
  opacity: 1;
  max-height: 300px; /* Dinaikkan dari 200px agar tombol muat */
  padding-bottom: 1.5rem; /* Tambah ruang bawah */
}

.overlay-desc-content p {
  color: #ffffff;
  font-size: 14px; /* --- FIX 2: Perkecil lagi font paragraf --- */
  line-height: 1.3; /* --- FIX 3: Rapatkan lagi jarak baris --- */
  margin-top: 0.5rem !important; /* --- FIX 4: Paksa margin atas jadi kecil --- */
  margin-bottom: 0.75rem !important; /* --- FIX 5: Paksa margin bawah jadi kecil --- */
}

.read-more-btn {
  background-color: var(--partner-color, #ffffff);
  color: var(--dark-color, #000000);
  border: none;
  padding: 6px 18px; /* --- FIX 6: Perkecil padding tombol --- */
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  max-width: 150px;
  text-decoration: none;
}

.read-more-btn:hover {
  background-color: var(--dark-color, #333333);
  color: var(--partner-color, #ffffff);
}

/*---------------------------------------
  PORTFOLIO (Ambience Section)           
-----------------------------------------*/

.ambience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-thumb {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-thumb img.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-thumb:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.portfolio-title {
  font-size: 16px;
  font-weight: 600;
}

/* Responsive: 1 kolom di tablet & mobile */
@media (max-width: 768px) {
  .ambience-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-thumb {
    height: 250px;
  }
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.related-news button h3 {
  font-size: 1.1rem;
  margin: 0;
}

.related-news button a{
  color: #ffffff !important;
  font-size: 1.1rem;
  margin: 0;
}


.related-news button {
  background: linear-gradient(135deg, #004d40, #009688); /* gradasi modern */
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.related-news button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

.related-news button:hover::before {
  left: 100%;
}

.related-news button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}


.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/
.partner-btn {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #0d2f2f;
  transition: all 0.3s ease;
}

.partner-btn:hover {
  background-color: #0d2f2f;
  color: var(--partner-color);
}

.partner-btn.active {
  background-color: #0d2f2f;
  color: white;
}

/* Divider line */
.divider {
  font-size: 24px;
  color: #0d2f2f;
}

/* Konten toggle */
.partner-section {
  display: none;
}

.partner-section:not(.d-none) {
  display: block;
}

/*---------------------------------------
SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}



/*---------------------------------------
CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.bg-contact {
  background-color: var(--dark-color);
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type="submit"] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type="submit"]:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.google-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/* CSS Kustom untuk memposisikan tombol slider di footer */
#footerReviewsCarousel {
  position: relative; /* Memastikan tombol diposisikan relatif terhadap kontainer ini */
}

#footerReviewsCarousel .carousel-control-prev {
  /* Memindahkan tombol ke pojok kiri, sedikit keluar dari teks */
  left: -25px;
}

#footerReviewsCarousel .carousel-control-next {
  /* Memindahkan tombol ke pojok kanan, sedikit keluar dari teks */
  right: -25px;
}

/*---------------------------------------
  REVIEW            
-----------------------------------------*/
.reviews-section {
  background-color: #f8f9fa; /* Warna latar belakang seksi */
  padding: 80px 0;
}
.coverflow-container {
  position: relative;
  width: 100%;
  height: 420px; /* Cukup tinggi untuk kartu */
  perspective: 1200px; /* Efek 3D */
}
.coverflow-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
  max-width: 400px; /* Lebar maksimal kartu */
  transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s;
  cursor: pointer;
}
/* Styling untuk kartu di tengah (aktif) */
.coverflow-item.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 10;
}
/* Styling untuk kartu sebelumnya (di kiri) */
.coverflow-item.prev {
  transform: translateX(-55%) scale(0.8) rotateY(45deg);
  opacity: 0.6;
  z-index: 5;
}
/* Styling untuk kartu berikutnya (di kanan) */
.coverflow-item.next {
  transform: translateX(55%) scale(0.8) rotateY(-45deg);
  opacity: 0.6;
  z-index: 5;
}
/* Styling untuk kartu yang lebih jauh (tersembunyi) */
.coverflow-item.far-prev {
  transform: translateX(-110%) scale(0.7) rotateY(45deg);
  opacity: 0;
  z-index: 1;
}
.coverflow-item.far-next {
  transform: translateX(110%) scale(0.7) rotateY(-45deg);
  opacity: 0;
  z-index: 1;
}
.review-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #ddd;
}
.review-name {
  font-weight: 700;
  margin-bottom: 10px;
}
.review-text {
  font-style: italic;
  color: #6c757d;
  min-height: 70px;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none; /* Agar tidak mengganggu klik kartu */
}
.carousel-controls button {
  pointer-events: all; /* Mengaktifkan klik hanya pada tombol */
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
}
@media (max-width: 768px) {
  .carousel-controls {
    padding: 0;
  }
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  Roastery              
-----------------------------------------*/
/* Placeholder styling agar filter terlihat aktif */
.event_filter li {
  /* === INI BARIS YANG DITAMBAHKAN === */
  display: inline-block;
}
.event_filter a {
  cursor: pointer;
  padding: 8px 20px;
  margin: 5px;
  border: 1px solid #ddd;
  display: inline-block;
  text-decoration: none;
  color: #333;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.event_filter a:hover {
  background-color: #f0f0f0;
}
.event_filter a.is_active {
  background-color: #8b4513; /* Warna coklat kopi */
  color: white;
  border-color: #8b4513;
}
.events_item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.events_item:hover {
  transform: translateY(-5px);
}
.events_item .thumb {
  position: relative;
}
.events_item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.events_item .down-content .category {
  background-color: rgba(139, 69, 19, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}
.events_item .down-content .author {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 500;
}
.events_item .down-content h4 {
  margin-top: 5px;
  font-weight: 700;
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/

/* === General Responsiveness === */
img,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

.heroText {
  padding: 0 1rem;
  text-align: center;
}

/* === Navbar Dropdown Mobile Fix === */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column !important;
    align-items: center;
  }

  .navbar .dropdown-menu {
    position: relative;
    float: none;
    text-align: center;
  }

  .navbar-collapse {
    background-color: var(--grey-color);
    padding-bottom: 1rem;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}

/* === Service Cards (Mobile) === */
@media (max-width: 767px) {
  .service-card {
    height: auto !important;
  }

  .card-title-overlay {
    position: static !important;
    padding: 1rem 0;
    background-color: var(--primary-color);
  }

  .overlay-desc {
    position: static !important;
    opacity: 1 !important;
    background-color: var(--dark-color) !important;
    color: var(--partner-color) !important;
    padding-bottom: 2rem;
  }

  .read-more-btn {
    padding-top: 1px;
    margin-top: 1rem;
    background-color: var(--partner-color);
    color: var(--dark-color);
  }

  .news-detail-title {
    font-size: 36px;
  }
}

/* === Extra Small Devices: News Detail + Hero Text === */
@media (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }
}

@media (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}

/* === Partner Section === */
.partner-section img {
  max-width: 100%;
  height: auto;
}

/* === Footer for Small Devices === */
@media (max-width: 576px) {
  footer .col-6,
  footer .col-lg-3 {
    width: 100% !important;
    text-align: center;
    margin-top: 1rem;
  }

  .social-icon {
    justify-content: center;
  }
}

/* === Ultra Wide Screens === */
@media (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}
