:root {
  --primary: #ffc300;
  --secondary: #2c3e50;
  --accent: #f39c12;
  --light: #f9f9f9;
  --dark: #333;
  --gray: #95a5a6;
  --transition: all 0.3s ease;
  --primary-dark: #1e1b4b;
  --primary-accent: #6366f1;
  --secondary-accent: #ec4899;
  --bg-color: #f8fafc;
  --text-main: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --gradient-main: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-accent)
  );
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.12);
  --brand-yellow: #ffc300; /* Vibrant Yellow for highlights */
  --brand-green: #38a169; /* Fresh Green for accents */
  --brand-dark: #1a202c; /* Dark text/background contrast */
  --text-light: #f7f7f7;
  --font-serif: "Merriweather", serif;
  --font-sans: "Lato", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  padding-top: 130px; /* Account for fixed navbar + topbar */
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
}

/* Top Bar Styles */
.top-bar {
  background-color: var(--secondary);
  color: white;
  padding: 8px 0;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1040;
  transition: var(--transition);
}

.top-bar.scrolled {
  transform: translateY(-100%);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.top-bar-links {
  display: flex;
  gap: 20px;
}

.top-bar-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 13px;
}

.top-bar-links a:hover {
  color: var(--accent);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Custom Navbar Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: var(--transition);
  position: fixed;
  top: 40px; /* Height of top bar */
  width: 100%;
  z-index: 1030;
}

.navbar.scrolled {
  top: 0;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-yellow) !important;
}

.navbar-brand span {
  color: var(--secondary);
}

.navbar-nav .nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  margin: 0 8px;
  padding: 8px 16px !important;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--brand-green) !important;
  background-color: rgba(83, 231, 60, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--brand-green) !important;
  background-color: rgba(83, 231, 60, 0.1);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--brand-green);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px 0;
  margin-top: 10px;
}

.dropdown-item {
  padding: 8px 20px;
  color: var(--dark);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--primary);
}

.navbar-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-icons a {
  color: var(--secondary);
  font-size: 18px;
  transition: var(--transition);
  position: relative;
}

.navbar-icons a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.navbar-icons .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box {
  position: relative;
  margin-right: 15px;
}

.search-box input {
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  padding: 8px 15px 8px 40px;
  font-size: 14px;
  width: 200px;
  transition: var(--transition);
}

.search-box input:focus {
  width: 250px;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.location-selector {
  margin-right: 15px;
}

.location-selector select {
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  padding: 8px 15px 8px 15px;
  font-size: 14px;
  width: 180px;
  transition: var(--transition);
  background-color: white;
}

.location-selector select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.navbar-toggler {
  border: none;
  padding: 5px 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Demo Content */
.demo-content {
  padding: 50px 0;
  text-align: center;
}

.demo-content h1 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.demo-content p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 30px;
}

@media (max-width: 1199.98px) {
  .location-selector select {
    width: 160px;
  }

  .search-box input {
    width: 180px;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 20px 0;
  }

  .navbar-nav .nav-link {
    margin: 5px 0;
    padding: 10px 15px !important;
  }

  .search-box,
  .location-selector {
    margin: 15px 0;
    width: 100%;
  }

  .search-box input,
  .location-selector select {
    width: 100%;
  }

  .navbar-icons {
    justify-content: center;
    margin-top: 15px;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .top-bar-links {
    order: -1;
  }
}

/* Blogger Badge */
.blogger-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

.section.bigyaapan-full {
  background: #fff;
  float: none;
}
.section.bigyaapan-full .bigyaapan-item {
  display: block;
  padding: 12px 0 0 0;
}
.section.bigyaapan-full .bigyaapan-item:nth-child(1) {
  margin-top: 0;
}
.section.bigyaapan-full .bigyaapan-item:last-child {
  padding-bottom: 0;
}
.section.bigyaapan-full img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.ad-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7); /* dim background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

.ad-container.closed {
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
}
.btn {
  background-color: var(--brand-green);
  color: var(--light);
}

.ad-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ad-close-btn:hover {
  background: var(--secondary);
  color: white;
  transform: rotate(90deg);
}

/* Slider Styles */
.jacket-slider {
  width: 90%;
  max-width: 600px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  padding: 20px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: var(--light);
  height: 45vh;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.jacket-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.jacket-image {
  flex: 1;
  text-align: center;
  height: 100%;
}

.jacket-image img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.jacket-info {
  flex: 1;
  padding: 20px;
}

/* Slider Controls */
.jacket-slider .slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.jacket-slider .slider-nav-jacket {
  background: var(--brand-green);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.jacket-slider .slider-nav-jacket:hover {
  background: var(--secondary);
}

.jacket-slider .slider-dots {
  display: flex;
  gap: 10px;
}

.jacket-slider .jacket-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.jacket-slider .jacket-dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

/* Special Offer Badge */
.offer-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .jacket-slide {
    flex-direction: column;
    text-align: center;
  }

  .jacket-image img {
    height: 300px;
  }

  .features {
    justify-content: center;
  }

  .ad-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .jacket-slider {
    padding: 20px;
  }

  .jacket-info h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
  }

  .ad-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
}

.news-section-wrapper {
  padding: 30px 0;
}

/* --- Left Column (Small News) --- */
.small-news-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.small-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.small-news-img {
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}
.small-news-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.small-news-title:hover {
  color: var(--brand-green); /* Bootstrap danger/red */
}

/* --- Main Center Column --- */
.main-article {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* Soft pink tint for background, as seen in the image */
  background-color: #fefafa;
}
.main-article-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}
.main-article-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 15px;
}
.article-source {
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 10px;
}

/* --- Right Column (Trending) --- */
.trending-section {
  padding-left: 15px;
  border-left: 1px solid #eee;
}
@media (max-width: 991.98px) {
  .trending-section {
    padding-left: 12px;
    border-left: none;
    margin-top: 20px;
  }
}

.trending-header {
  color: var(--brand-green); /* Red color for 'Trending' */
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 3px solid var(--brand-green);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trending-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  transition: background-color 0.3s;
  cursor: pointer;
}
.trending-item:last-child {
  border-bottom: none;
}

.trending-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-right: 10px;
  flex-shrink: 0;
}

.trending-link {
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}
.trending-link:hover {
  color: #000;
}

/* jQuery Hover Style */
.trending-item:hover,
.trending-highlight {
  background-color: #ffe8e8; /* Light red/pink highlight */
  border-radius: 4px;
  padding-left: 5px;
}

.trending-item.trending-highlight .trending-link {
  font-weight: 600;
}

/* ------------------------------
   GLOBAL RESETS
--------------------------------*/
.small-news-item,
.main-article {
  margin-bottom: 25px;
}

/* ------------------------------
   AUTHOR BOX (LEFT – Small Items)
--------------------------------*/
.small-author-box {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #fafafa;
  transition: 0.2s ease;
}

.small-author-box:hover {
  background: #f0f0f0;
}

.small-author-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.small-author-info {
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.small-author-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #333;
}

.small-author-date {
  font-size: 12px;
  color: #777;
}

/* ------------------------------
   MAIN ARTICLE AUTHOR SECTION
--------------------------------*/
.main-author-box {
  margin: 15px 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  width: 100%;
}

a {
  text-decoration: none;
  color: #000;
}

.text-muted {
  display: flex;
  flex-direction: column;
}

.author-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.main-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.main-author-info h5 {
  font-size: 17px;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.main-author-date {
  margin: 3px 0 0;
  font-size: 14px;
  color: #777;
}

/* ------------------------------
   LEFT SMALL IMAGES
--------------------------------*/
.small-news-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* ------------------------------
   MAIN ARTICLE IMAGE
--------------------------------*/
.main-article-img {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

/* ------------------------------
   RESPONSIVE DESIGN
--------------------------------*/
@media (max-width: 991px) {
  /* For tablet screens */
  .main-author-box {
    padding: 10px;
    gap: 12px;
  }

  .main-author-img {
    width: 50px;
    height: 50px;
  }

  .main-author-info h5 {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* For mobile screens */
  .small-author-box {
    padding: 7px 8px;
  }

  .small-author-name {
    font-size: 12px;
  }

  .small-author-date {
    font-size: 11px;
  }

  .main-author-box {
    flex-direction: row;
    padding: 10px;
  }

  .main-author-img {
    width: 45px;
    height: 45px;
  }

  .main-author-info h5 {
    font-size: 14px;
  }

  .main-author-date {
    font-size: 12px;
  }
}

.related-posts-section {
  padding: 30px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ccc; /* Separator line */
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* Red Arrow Link (using a Bootstrap icon or simple text) */
.all-posts-link {
  font-size: 1.5rem;
  color: #dc3545; /* Red color */
  text-decoration: none;
  transition: color 0.2s;
}
.all-posts-link:hover {
  color: #bd2130;
}

/* --- Post Card Styling --- */
.post-card {
  margin-bottom: 20px;
  text-align: left;
}

.post-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 15px;
}

.post-image {
  width: 100%;
  height: 180px; /* Fixed height for consistent look */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.post-card:hover .post-image {
  transform: scale(1.05);
}

.post-category {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6c757d; /* Gray text */
  margin-bottom: 5px;
  text-transform: uppercase;
}

.post-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.post-title:hover {
  color: var(--brand-green); /* Red hover effect */
}

.post-source {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
}

/* jQuery/Hover Effect (subtle background change) */
.post-card-highlight {
  background-color: #fcfcfc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 5px;
  transition: all 0.3s;
}

.reels-section-wrapper {
  padding: 30px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Section Header --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin: 0;
  border-left: 5px solid var(--brand-green); /* Orange-Red accent */
  padding-left: 10px;
}

.all-posts-link {
  font-size: 1.5rem;
  color: var(--brand-green);
  text-decoration: none;
  transition: color 0.2s;
}
.all-posts-link:hover {
  color: var(--brand-green);
}

/* --- Reel Card Styling (Vertical Thumbnail) --- */
.reel-card {
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.reel-thumbnail {
  width: 100%;
  padding-bottom: 177.77%; /* 9:16 aspect ratio */
  background-size: cover;
  background-position: center;
  position: relative;
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  color: #fff;
}

.reel-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 5px;
}

.reel-logo {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* --- Modal (Reel Viewer) Styling --- */
.reel-modal-dialog {
  max-width: 400px;
  height: 100%;
  margin: 0 auto;
}

.reel-modal-content {
  background-color: #000;
  border: none;
  height: 100vh;
}

/* Forces the modal to be centered in the viewport on large screens */
@media (min-width: 576px) {
  .modal-dialog-centered.reel-modal-dialog {
    height: auto;
  }
}

.reel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.reel-iframe-wrapper {
  /* 9:16 Aspect Ratio Container */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive YouTube Embed */
.reel-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- VERTICAL CAROUSEL OVERRIDE --- */
.carousel-inner {
  height: 100%;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-item {
  display: block;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.carousel-item-next:not(.carousel-item-start),
.carousel-item-prev:not(.carousel-item-end) {
  transform: translateY(0);
}

/* New custom classes for vertical movement */
.carousel-item-up {
  transform: translateY(-100%);
}
.carousel-item-down {
  transform: translateY(100%);
}

/* Active item transition from up */
.carousel-item-up.carousel-item-next,
.carousel-item-up.carousel-item-prev {
  transform: translateY(100%);
}

/* Active item transition from down */
.carousel-item-down.carousel-item-next,
.carousel-item-down.carousel-item-prev {
  transform: translateY(-100%);
}

.carousel-item-next.carousel-item-start {
  transform: translateY(100%);
}

.carousel-item-prev.carousel-item-end {
  transform: translateY(-100%);
}

/* Prev/Next Buttons (Up/Down) - STYLED AS ROUNDED SQUARES */
.carousel-control-up,
.carousel-control-down {
  position: absolute;
  z-index: 5;
  /* Adjust positioning */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(40, 40, 40, 0.5); /* Darker background */
  border-radius: 12px; /* Rounded square */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
  border: none; /* Make sure it's a button, but style it */
}
.carousel-control-up:hover,
.carousel-control-down:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
}
.carousel-control-up {
  top: 15%; /* Move down slightly */
}
.carousel-control-down {
  bottom: 15%; /* Move up slightly */
  top: auto;
}
.carousel-control-up i,
.carousel-control-down i {
  color: #fff;
  font-size: 1.8rem;
}

/* Ensure Close Button is visible */
.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  z-index: 10;
}

/* Style for the YouTube Link Overlay */
.youtube-link-overlay {
  position: absolute;
  bottom: 5%; /* Higher than the down button */
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
}
.youtube-link-overlay:hover {
  background-color: rgba(255, 0, 0, 0.8);
  color: #fff;
}
.youtube-link-overlay i {
  margin-right: 5px;
  font-size: 1.2em;
  color: #ff0000; /* YouTube Red */
}

/* ---------- Horizontal Reel Slider ---------- */

.reel-horizontal-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 10px;
}

.reel-track {
  display: flex;
  gap: 15px;
  transition: transform 0.4s ease;
}

.reel-slide {
  flex: 0 0 calc(25% - 15px);
}

@media (max-width: 992px) {
  .reel-slide {
    flex: 0 0 calc(33.33% - 15px);
  }
}

@media (max-width: 768px) {
  .reel-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .reel-slide {
    flex: 0 0 100%;
  }
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 5;
  transition: 0.3s;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.slider-left {
  left: 0px;
}
.slider-right {
  right: 0px;
}

.section-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- Section Headers --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.red-arrow {
  color: var(--brand-green); /* Deep Red for the arrow icon */
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.red-arrow:hover {
  opacity: 0.8;
}

/* --- Column 1: Café Culture (Left) --- */
.health-talk-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}
.health-talk-item:hover {
  background-color: #fafafa;
}
.health-talk-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.talk-image-wrapper {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.talk-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-details {
  flex-grow: 1;
}

.talk-description {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 5px;
  max-height: 65px;
  overflow: hidden;
}
.talk-author-info {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a4a4a; /* Gray/Black accent for Magazine name */
}

/* --- Column 2: Central Feature (Middle) --- */
.central-feature-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.feature-image-wrapper {
  position: relative;
  padding-top: 60%; /* Aspect ratio for the central image */
  overflow: hidden;
}
.feature-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 20px;
  background-color: #fff;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* --- Column 3: Pub & Bar Express (Right) --- */
.info-express-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}
.info-express-item:hover {
  background-color: #fafafa;
}
.info-express-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-express-profile {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.info-express-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  border: 2px solid #2a9d8f; /* Green/Teal accent for Pub section */
}

.info-express-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
}

.info-express-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin-bottom: 5px;
}
.info-express-source {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2a9d8f; /* Green/Teal accent for Pub section */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
  .section-wrapper {
    margin: 20px auto;
  }
  /* Stack the columns vertically on tablet/mobile */
  .row > div:nth-child(2),
  .row > div:nth-child(3) {
    margin-top: 30px;
  }
  .feature-title {
    font-size: 1.3rem;
  }
}

.section-wrapper-dark {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  /* Dark Theme for the Video Section */
  background-color: #121212; /* Dark background */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  color: #f0f0f0; /* Light text color */
}

/* --- Section Header --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
}

.section-wrapper-dark .section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e0e0e0;
  margin: 0;
}

.red-arrow {
  color: var(--brand-green); /* Bright Orange/Red accent for contrast */
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.red-arrow:hover {
  opacity: 0.8;
}

/* --- Video Item Styling --- */
.video-item {
  margin-bottom: 20px;
  cursor: pointer;
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  /* 16:9 Aspect Ratio (9/16 * 100) */
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 8px;
  background-color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.video-item:hover .video-thumbnail-wrapper {
  transform: scale(1.02);
}

.video-thumbnail-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(255, 69, 0, 0.8); /* Orange/Red background */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
}

.video-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
  line-height: 1.4;
}
.video-source {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 5px;
}

/* --- Main Feature Video Styling --- */
.main-video-wrapper {
  margin: 0;
  padding: 0;
}

.main-video-thumbnail {
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 10px;
}

.main-video-content {
  text-align: center;
  padding: 20px 0;
}

.main-video-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* YouTube 'Watch on' button simulation */
.watch-on-youtube {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff;
  background-color: #cc0000;
  padding: 3px 8px;
  border-radius: 3px;
  text-decoration: none;
  margin-top: 5px;
}

/* Sidebar Stacked Video Styling */
.sidebar-video-item {
  display: flex;
  margin-bottom: 20px;
}

.sidebar-thumbnail-wrapper {
  width: 100px;
  min-width: 100px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin-right: 15px;
  background-color: #333;
}

.sidebar-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-wrapper-dark .sidebar-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 5px;
}
.sidebar-title span {
  font-weight: 700;
  color: var(--brand-green);
}

/* Responsive adjustments */
@media (min-width: 992px) {
  /* Desktop Layout: Main video dominates the center */
  .main-video-col {
    order: 2; /* Ensure the main video is visually central */
  }
  .left-sidebar-col {
    order: 1;
  }
  .right-sidebar-col {
    order: 3;
  }
}

@media (max-width: 991px) {
  /* Stack on tablet/mobile */
  .main-video-col,
  .left-sidebar-col,
  .right-sidebar-col {
    margin-top: 20px;
  }
  .main-video-title {
    font-size: 1.4rem;
  }
}

/* --- RESORT SECTION STYLES (Simple Card Slider - Teal/Green) --- */
.resort-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  /* Hide scrollbar for aesthetic purposes */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.resort-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.resort-card-item {
  flex: 0 0 85%; /* Mobile: Show 85% of card */
  width: 85%;
  margin-right: 24px;
  scroll-snap-align: start;
  background-color: white;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border: 1px solid #e0f2f1;
}
.resort-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 121, 107, 0.15);
}

@media (min-width: 640px) {
  .resort-card-item {
    flex: 0 0 calc(50% - 12px); /* Tablet: Show 2 cards side-by-side */
    width: calc(50% - 12px);
  }
}
@media (min-width: 1024px) {
  .resort-card-item {
    flex: 0 0 calc(33.333% - 16px); /* Desktop: Show 3 cards side-by-side */
    width: calc(33.333% - 16px);
  }
}

/* --- HOTEL SECTION STYLES (Vertical Feature - Dark/Gold/Blue) --- */
.hotel-feature-container {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.hotel-sidebar-card {
  transition: background-color 0.2s;
}
.hotel-sidebar-card:hover {
  background-color: rgba(
    255,
    255,
    255,
    0.05
  ); /* Very slight light hover on dark background */
}

.main-footer {
  background-color: #1a202c; /* Dark Charcoal */
  color: #d1d5db; /* Light gray text */
  padding: 40px 20px;
  border-top: 5px solid var(--primary); /* Gold accent line */
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-col {
  flex-basis: 100%; /* Default to full width on mobile */
  padding: 10px 0;
}

.footer-col h4 {
  font-size: 18px;
  color: #f3f4f6; /* White text for headings */
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9ca3af; /* Medium gray for links */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary); /* Gold hover color */
}

.social-links-footer a {
  display: inline-block;
  height: 36px;
  width: 36px;
  background-color: #2d3748; /* Slightly lighter dark gray */
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  color: #d1d5db;
  transition: all 0.3s ease;
}

.social-links-footer a:hover {
  background-color: var(--primary); /* Gold background on hover */
  color: #1a202c; /* Dark text on hover */
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280; /* Darker gray for copyright */
  padding-top: 20px;
  border-top: 1px solid #374151; /* Separator line */
}

/* Desktop Layout (4 columns) */
@media (min-width: 768px) {
  .footer-col {
    flex-basis: calc(25% - 22.5px); /* 4 columns with gap */
  }
}

/* Horizontal Scroll Container */
.resort-slider {
  display: flex;
  flex-direction: row;
  overflow-x: scroll; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Enable smooth scrolling via JS */
  flex-wrap: nowrap;
  padding-bottom: 1rem;

  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.resort-slider::-webkit-scrollbar {
  display: none;
}

/* Individual Card Styling */
.resort-card-item {
  flex: 0 0 85%; /* Mobile default: 85% width for more content visibility */
  max-width: 300px;
  margin-right: 1.25rem;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out;
}

.resort-card-item:hover {
  transform: translateY(-4px);
}

/* Image Aspect Ratio */
.card-img-wrapper {
  height: 180px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rating Stars (Amber color) */
.star-rating i {
  color: #ffc107;
  font-size: 0.875rem;
}

/* Price text (Teal color) */
.price-text {
  color: #00897b;
}

/* Navigation Button Styling */
.slider-nav {
  position: absolute;
  top: 50%; /* Center vertically */
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, opacity 0.2s;
}

.slider-nav:hover {
  background: #fff;
  border-color: #aaa;
}

.prev-btn {
  left: 5px; /* Position to the left */
}

.next-btn {
  right: 5px; /* Position to the right */
}
.slider-wrapper {
  position: relative;
}

/* Hide buttons on mobile or when not needed */
@media (max-width: 767px) {
  .slider-nav {
    display: none; /* Hide buttons on small screens where touch scrolling is best */
  }
  .slider-wrapper {
    padding: 0; /* Remove button padding when buttons are hidden */
  }
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  .resort-card-item {
    flex: 0 0 calc(50% - 1.5rem); /* Tablet: two cards per scroll view */
  }
}

@media (min-width: 1200px) {
  .resort-card-item {
    flex: 0 0 calc(33.333% - 1rem); /* Desktop: three cards per view */
  }
}

/* --- General Card Styling --- */
.blog-card,
.sidebar-card {
  border: none;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-badge {
  background-color: #f97316; /* Vibrant Orange */
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 6px;
  text-transform: uppercase;
  display: inline-block;
}

.read-more {
  color: var(--brand-green); /* Custom Red accent for CTAs */
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.read-more:hover {
  color: #c82333;
  text-decoration: underline;
}

/* --- 1. Featured Card Styling (Horizontal) --- */
.featured-card {
  margin-bottom: 3rem;
  background-color: #ffffff;
}

.featured-card .row {
  margin: 0;
}

.featured-img-col {
  padding: 0;
}

.featured-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}

.featured-card .card-body {
  padding: 2rem;
}

.featured-card .card-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  margin-top: 0.5rem;
}

/* --- 2. Standard Card Styling (Vertical) --- */
.standard-card {
  height: 100%;
}

.standard-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.standard-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.standard-card:hover .card-img-top {
  transform: scale(1.08);
}

.standard-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

.standard-card .card-footer {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
}

/* --- Sidebar Styling --- */
.sidebar-title {
  font-weight: 700;
  color: #1f2937;
  border-bottom: 3px solid var(--brand-green); /* Red accent line */
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-list-item {
  padding: 0.75rem 0;
  border-bottom: 1px dashed #e5e7eb;
  transition: background-color 0.2s;
}

.sidebar-list-item:hover {
  background-color: #f9fafb;
}

.sidebar-list-item:last-child {
  border-bottom: none;
}

.sidebar-list-item a {
  font-weight: 600;
  color: #343a40;
  text-decoration: none;
}

.sidebar-list-item a:hover {
  color: #dc3545;
}

.list-group-flush .list-group-item {
  border-right: 0;
  border-left: 0;
}

.list-group-flush .list-group-item:first-child {
  border-top: 0;
}

/* Pagination Styling */
.pagination .page-link {
  color: #1f2937;
  border-radius: 6px;
  margin: 0 4px;
  transition: background-color 0.3s, border-color 0.3s;
}

.pagination .page-item.active .page-link {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  box-shadow: 0 2px 5px rgba(220, 53, 69, 0.4);
}

.pagination .page-link:hover {
  background-color: #f9fafb;
  color: #dc3545;
}

/* --- Header Styling --- */
.header-section-listing {
  background: linear-gradient(135deg, #1f2937, #4b5563);
  color: white;
  padding: 5rem 0;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-section-listing h1 {
  font-weight: 800;
  font-size: 3.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* --- Author Profile Card (Base Styles) --- */
.profile-card {
  background-color: white;
  border-radius: 16px;
  /* Note: Padding and flex are overwritten below by user's specific styles */
  padding: 3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: -80px;
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex; /* Preserved original contradictory/unused flex property */
}

.profile-img-lg {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #dc3545; /* Red accent border */
  box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.15);
}

.profile-img-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name-lg {
  font-weight: 800;
  color: #1f2937;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.author-title-lg {
  color: #f97316; /* Orange accent */
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1rem;
}

.profile-bio {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #4b5563;
  line-height: 1.6;
}

/* --- Post Listing Styles (Reused from Blog) --- */
.section-title {
  font-weight: 700;
  color: #1f2937;
  border-bottom: 3px solid #dc3545;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.blog-card {
  border: none;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;

}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .card-img-top {
  transform: scale(1.08);
}

.card-footer {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
}

.category-badge {
  background-color: #f97316;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 6px;
  text-transform: uppercase;
  display: inline-block;
}

.read-more {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.read-more:hover {
  color: #9cc823;
  text-decoration: underline;
}

/* --- Sidebar Styles (New) --- */
.sidebar-widget {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h5 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f0f4f8; /* Light gray separator */
  padding-bottom: 0.5rem;
}

.category-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.category-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}
.category-list li:last-child {
  border-bottom: none;
}
.category-list a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
}
.category-list a:hover {
  color: #dc3545;
}

/* Newsletter form styling */
.newsletter-input {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
}
.newsletter-btn {
  background-color: #f97316;
  border: none;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.newsletter-btn:hover {
  background-color: #ea580c;
}

/* --- Custom Card Overrides (Re-added to match original input) --- */
.profile-card {
  background-color: white;
  border-radius: 16px;
  padding: 1.8rem; /* reduced from 3rem */
  max-width: 75%; /* added fixed smaller width */
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.profile-img-lg {
  width: 110px; /* reduced from 150px */
  height: 110px;
  border: 4px solid #dc3545;
  margin-bottom: 1rem; /* reduced spacing */
}
.author-name-lg {
  font-size: 1.8rem; /* reduced from 2.5rem */
  margin-bottom: 0.2rem;
}
.author-title-lg {
  font-size: 0.9rem; /* smaller title */
  margin-bottom: 0.7rem;
}
.profile-bio {
  font-size: 0.95rem; /* slightly smaller text */
  margin-bottom: 1.2rem;
}
.social-links a {
  font-size: 1.1rem; /* smaller icons */
}

.hero-metadata {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.author-info img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 0.75rem;
  border: 2px solid #dc3545;
}

.category-badge-hero {
  background-color: #dc3545; /* Red Accent */
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-left: 1.5rem;
}

.featured-image-container {
  width: 100%;
  height: 450px; /* Large feature image */
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  margin-top: 2rem;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.2);
}

.featured-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Article Content Styling --- */
.article-content {
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.article-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.article-content h2,
.article-content h3 {
  color: #1f2937;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content blockquote {
  border-left: 5px solid #f97316; /* Orange accent */
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  background-color: #fff7ed;
  padding: 1.5rem;
  border-radius: 8px;
  color: #5b5b5b;
}

.article-content strong {
  color: #dc3545;
}

/* Responsive Media/Figure Styling */
.article-content figure {
  margin: 3rem 0;
}

.article-content figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-content figcaption {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
  padding-top: 0.75rem;
  font-style: italic;
}

/* Responsive Iframe/Map Container */
.responsive-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* 16:9 Aspect Ratio */
  padding-top: 56.25%;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Table Styling */
.article-content table {
  width: 100%;
  margin: 2.5rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-content th {
  background-color: #1f2937; /* Dark header */
  color: white;
  font-weight: 700;
  padding: 1rem;
  text-align: left;
}

.article-content td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-content tr:hover td {
  background-color: #f3f4f6;
}

/* --- Author Callout Box --- */
.author-box {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-top: 3rem;
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1.5rem;
  border: 3px solid #f97316;
  object-fit: cover;
}

.author-box h6 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.author-box small {
  color: #dc3545;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

/* --- Review Box Styling (User Submission) --- */
.review-box {
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 3rem;
}

.review-box h4 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #dc3545;
  padding-bottom: 0.75rem;
}

.rating-stars .fa-star {
  color: #e0e0e0; /* Default star color */
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}
.rating-stars .fa-star.checked,
.rating-stars .fa-star:hover,
.rating-stars .fa-star:hover ~ .fa-star {
  color: #f97316; /* Orange on hover/checked */
}

.review-box .form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
}
.review-box .btn-primary {
  background-color: #dc3545;
  border-color: #dc3545;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  transition: background-color 0.2s, border-color 0.2s;
}
.review-box .btn-primary:hover {
  background-color: #c82333;
  border-color: #c82333;
}

/* --- Sidebar Styles --- */
.sidebar-widget {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h5 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 0.5rem;
}

.category-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.category-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}
.category-list li:last-child {
  border-bottom: none;
}
.category-list a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
}
.category-list a:hover {
  color: #dc3545;
}

/* Newsletter form styling */
.newsletter-input {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
}
.newsletter-btn {
  background-color: #f97316;
  border: none;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.newsletter-btn:hover {
  background-color: #ea580c;
}

/* Related Posts Card Styling */
.related-post-card {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}
.related-post-card:last-child {
  border-bottom: none;
}
.related-post-card:hover {
  background-color: #f9fafb;
  border-radius: 4px;
}

.related-post-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
}

.related-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.4;
}
.related-post-title:hover {
  color: #dc3545;
}
.related-post-meta {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Gallery specific styling */
.gallery-item img {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-item img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* --- Author Scorecard Styling (The Review Card) --- */
.author-scorecard {
  background-color: #fdf2f2; /* Very light red/pink */
  border: 2px solid #dc3545;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.scorecard-header {
  border-bottom: 1px solid #f09b9e;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scorecard-header h4 {
  font-weight: 800;
  color: #dc3545;
  margin: 0;
  font-size: 1.4rem;
}

.overall-rating .fas.fa-star {
  color: #f97316; /* Orange stars */
  font-size: 1.75rem;
  margin-left: 0.15rem;
}

.rating-detail {
  margin-bottom: 0.5rem;
}

.rating-label {
  font-weight: 600;
  color: #1f2937;
}

.rating-bar-container {
  height: 8px;
  background-color: #fde2e2;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar {
  height: 100%;
  background-color: #dc3545;
}

.score-value {
  font-weight: 700;
  color: #dc3545;
  font-size: 0.9rem;
}

/* --- Hero/Header Section --- */
.hero-section-detail {
  background-color: #1f2937; /* Dark background */
  color: white;
  padding: 4rem 0 0;
  margin-bottom: 3rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-section-detail h1 {
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.main-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blogger-section {
  flex-grow: 1;
  width: 100%;
}

.sidebar {
  width: 100%;
}

/* Desktop Layout (768px and up) */
@media (min-width: 1024px) {
  .main-content {
    flex-direction: row;
  }
  .blogger-section {
    width: 66.666%; /* Equivalent to lg:col-span-2 */
  }
  .sidebar {
    width: 33.333%;
  }
}

/* Section Headings */
.section-title {
  font-size: 2.25rem; /* 4xl */
  font-weight: 700;
  color: #1f2937; /* Gray 800 */
  border-bottom: 4px solid var(--primary); /* Primary accent line */
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

/* --- Personnel Grid and Card Styling (New) --- */
.personnel-grid {
  display: grid;
  /* 2 columns on small mobile, 3 on tablet/desktop */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .personnel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Ensure the grid fits nicely within the main content area on larger screens */
@media (min-width: 1024px) {
  .blogger-section .personnel-grid,
  .featured-row-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.personnel-card {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem; /* rounded-xl */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.2s;
}

.personnel-card:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  cursor: pointer;
}

.personnel-img {
  width: 4.5rem; /* 18 */
  height: 4.5rem; /* 18 */
  border-radius: 9999px; /* rounded-full */
  object-fit: cover;
  margin: 0 auto 0.75rem auto;
  border: 3px solid #f3f4f6; /* Subtle border */
}

.personnel-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.personnel-subtitle {
  color: #6b7280; /* Gray 500 */
  font-size: 0.75rem; /* text-xs */
  font-weight: 400;
  line-height: 1.3;
}

/* Featured Row Container (mimicking the pink/red box in the image) */
.featured-row-container {
  background-color: #fef2f2; /* Very light red/pink */
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.featured-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

/* Remove unused styles from the new layout */
.tag-list,
.card-description,
.view-link {
  display: none;
}

/* Sidebar Widget Styling (Kept from previous version) */
.widget {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem; /* xl */
  font-weight: 700;
  color: #1f2937;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

/* Recent Posts List */
.recent-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #f3f4f6;
  text-decoration: none;
  color: #4b5563;
}

.recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.post-img {
  width: 3rem; /* 12 */
  height: 3rem; /* 12 */
  object-fit: cover;
  border-radius: 0.375rem; /* rounded-md */
  flex-shrink: 0;
}

.post-title {
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.15s;
}

.recent-post:hover .post-title {
  color: var(--primary); /* Primary Accent */
}

.post-meta {
  font-size: 0.75rem; /* text-xs */
  color: #9ca3af;
}

/* Popular Tags Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud .tag {
  background-color: var(--primary); /* Primary Accent */
  color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.tag-cloud .tag:hover {
  background-color: var(--primary);
}

/* Pagination Styles (Kept from previous version) */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  background-color: #ffffff;
  border: 1px solid #bfdbfe;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pagination-link:hover:not(.active):not(.disabled) {
  background-color: #e0f2fe;
  border-color: #93c5fd;
}

.pagination-link.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination-link.active:hover {
  background-color: var(--primary);
}

.pagination-link.disabled {
  color: #9ca3af;
  background-color: #f9fafb;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

.pagination-dots {
  padding: 0.75rem 0.5rem;
  color: #9ca3af;
}

/* Section Headings */
.section-title {
  font-size: 2.25rem; /* 4xl */
  font-weight: 700;
  color: #1f2937; /* Gray 800 */
  border-bottom: 4px solid var(--primary);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

/* --- Search/Filter Bar (Updated for attractiveness) --- */
.search-bar-container {
  background-color: #ffffff;
  padding: 2rem; /* Increased padding */
  border-radius: 1rem; /* More rounded */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Deeper shadow */
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-bar-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.search-bar-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.search-bar-header p {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

.search-input-group {
  display: flex;
  width: 100%;
  border-radius: 0.75rem; /* Smoother rounding for the whole group */
  overflow: hidden;
  background-color: white;
  border: 1px solid #e5e7eb; /* Soft initial border */
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-input-group:focus-within {
  /* Highlight the group when focused */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3); /* Blue ring shadow */
  border-color: var(--primary);
}

.search-input {
  flex-grow: 1;
  padding: 0.9rem 1.25rem; /* Larger padding */
  border: none;
  font-size: 1rem;
  outline: none;
  border-right: 1px solid #e5e7eb; /* Separator for input/button on desktop */
}

.search-button {
  padding: 0.9rem 1.5rem;
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.search-button:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db; /* Softer border */
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #4b5563;
  background-color: white;
  flex-grow: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; /* Hide default select arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234b5563'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.97l3.71-3.74a.75.75 0 111.08 1.04l-4.25 4.25a.75.75 0 01-1.08 0L5.21 8.27a.75.75 0 01.02-1.06z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Desktop Layout for Filters */
@media (min-width: 768px) {
  .filter-row > * {
    flex-grow: 1;
    flex-basis: 0;
  }
}

/* Mobile adjustments for Search Group */
@media (max-width: 600px) {
  .search-input-group {
    /* Stack input and button vertically on smaller screens */
    flex-direction: column;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .search-input {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: none;
    border-right: none;
  }
  .search-button {
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1rem 1.5rem;
  }
  .filter-row {
    flex-direction: column;
  }
}
/* Tablet adjustments for Search Group */
@media (min-width: 601px) and (max-width: 767px) {
  .search-input-group {
    border: 1px solid #e5e7eb;
  }
  .search-button {
    border-radius: 0 0.75rem 0.75rem 0;
  }
  .search-input {
    border-radius: 0.75rem 0 0 0.75rem;
    border-right: 1px solid #e5e7eb;
  }
}

/* --- PAGE HEADER --- */
.page-header {
  text-align: center;
  padding: 4rem 0 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 300;
}

/* --- LAYOUT --- */
.main-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 992px) {
  .main-layout {
    flex-direction: row;
    align-items: flex-start; /* Important for sticky sidebar */
  }
  .content-column {
    width: 65%;
  }
  .sidebar-column {
    width: 35%;
    position: sticky;
    top: 100px; /* Stick below header */
  }
}

/* --- FEATURE CARDS (Pitch) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* --- FORM STYLING --- */
.form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Decorative top border */
.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-main);
}

.form-title {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .input-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* --- SIDEBAR --- */
.widget {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

/* FAQ Styling */
.faq-item {
  margin-bottom: 1.2rem;
}
.faq-q {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-q i {
  color: var(--primary);
  font-size: 0.8rem;
}
.faq-a {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Contact List */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.contact-icon-box {
  width: 40px;
  height: 40px;
  background-color: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background-color 0.3s;
}
.contact-list li:hover .contact-icon-box {
  background-color: var(--primary);
  color: var(--white);
}

/* Testimonial Widget */
.testimonial-widget {
  background: var(--primary-dark);
  color: var(--white);
}
.testimonial-widget .widget-title {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.quote-icon {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}
.quote-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.quote-author {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--primary); /* Pop of color */
}

/* --- SLIDER CONTAINER --- */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 60vh; /* Responsive height */
  min-height: 400px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Tablet/Desktop height */
@media (min-width: 768px) {
  .slider-wrapper {
    height: 80vh;
  }
}

/* --- SLIDE ITEM --- */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* --- IMAGE & OVERLAY --- */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.7) contrast(1.1); /* Subtle visual enhancement */
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 3;
}

/* --- CONTENT BOX --- */
.slide-content {
  position: relative;
  z-index: 4;
  max-width: 90%;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .slide-content {
    max-width: 1000px;
    padding-left: 5%;
    margin: 0;
  }
}

.slide-tag {
  display: inline-block;
  background-color: var(--brand-yellow);
  color: var(--brand-dark);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  font-weight: 900;
}

.slide-description {
  font-size: 1rem;
  max-width: 450px;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.slide-metadata {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.metadata-item i {
  color: var(--brand-green);
  margin-right: 0.4rem;
}

/* --- BUTTONS --- */
.btn-recipe {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--brand-green);
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(56, 161, 105, 0.4);
  border: none;
  cursor: pointer;
}

.btn-recipe:hover {
  background-color: #2f855a; /* Darker green on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(56, 161, 105, 0.5);
}

/* Responsive Title Sizing */
@media (min-width: 640px) {
  .slide-title {
    font-size: 3.5rem;
  }
}
@media (min-width: 1024px) {
  .slide-title {
    font-size: 4.5rem;
  }
}

/* --- SLIDER CONTROLS (Arrows) --- */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  transition: background-color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-control:hover {
  background-color: var(--brand-green);
  transform: translateY(-50%) scale(1.05);
}

#prevBtn {
  left: 0;
  border-radius: 0 5px 5px 0;
}

#nextBtn {
  right: 0;
  border-radius: 5px 0 0 5px;
}

/* --- DOT NAVIGATION --- */
.dot-navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
  background-color: var(--brand-yellow);
  transform: scale(1.2);
}

.author-wrapper img{
  width: 50px;
  height: 50px;
}

 .items {
    width: 100%;
    display: inline-block
}

 .items img {
    width: 100%;
    float: left;
    height: auto
}

 .items .item.app-download {
    max-width: 100%;
    flex: 0 0 100%;
    -ms-flex: 0 0 100%
}

 .items .item.app-download .small-title {
    color: #fff;
    font-weight: 400
}

.items .item .app-box .app-icon:nth-child(1) {
    padding-right: 5px
}

.items .item .app-box .app-icon:nth-child(2) {
    padding-left: 5px
}

.navbar-brand img{
  width: 190px;
}

.footer-col img {
  width: 200px;
}

.site-by{
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.site-by:hover{
  color: #f1dfdf;
}
