/* Global Styles */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
}

body, html {
  margin: 0;
    padding-top: 3.85%;
  background-color: #fff;
  font-family: 'Segoe UI', 'Sulphur Point', sans-serif;
}
/* Section animations */
.section {
    margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Container */
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0.5rem 1rem !important;
  box-sizing: border-box;

 
      background: #fff;
 
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

.site-ad-bar {
  width: 100%;
  box-sizing: border-box; /* <--- this is the key */
  background: linear-gradient(to right, #fff8e1, #ffe0b2);
  padding: 12px 20px;
  border-bottom: 1px solid #ffc107;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow-x: hidden; /* optional: to be extra safe */
}

.site-ad-bottom {
  margin-top: 20px;
}

.site-ad-bar a {
  color: #d35400;
  font-weight: bold;
  text-decoration: none;
  margin-left: 8px;
}

.site-ad-bar a:hover {
  text-decoration: underline;
}

/* Responsive adjustment if needed */
@media (max-width: 600px) {
  .site-ad-bar {
    font-size: 0.95rem;
    padding-top: 17%;
    }
}
.ad-inline {
  width: 100%;              
  max-width: 1000px;        
  margin: 2rem auto;        
  background: linear-gradient(135deg, #ff9800, #f44336);
  border: 1px solid #ffc107;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  box-sizing: border-box;   /* ensure padding doesn't break width */
}

.ad-inline a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.ad-inline a:hover {
  text-decoration: underline;
}

/* Floating Side Ads */
.side-ad {
  position: fixed;
  top: 520px; 
  width: 120px;
  height: auto;
  margin-bottom: 0;
  padding: 8px;
  background-color: #fff3cd;
  color: #333;
  border: 1px solid #ffc107;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  z-index: 999;
  font-size: 0.95rem;
}
.side-ad a {
  color: #d35400;
  font-weight: bold;
  text-decoration: none;
}
.side-ad a:hover {
  text-decoration: underline;
}

.left-ad {
  left: 10px;
}
.right-ad {
  right: 10px;
}

/* Mobile: Hide side ads */
@media (max-width: 768px) {
  .side-ad {
    display: none;
  }
}

/* Navbar*/
.site-header { 
  position: fixed; 
  top: 0; 
   width: 100%; 
  z-index: 2000; 
  background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(12px); 
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
  transition: background 0.3s ease; 
}

.navbar-container {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 32px 2% 1px; /* reduce padding for tighter look */
  
}

/* Left group = logo + nav */
.nav-left {
  display: flex;
  align-items: center;
  gap: 5px; 
}

.nav-right {
  display: flex;
  align-items: center;
    gap: 5px;
}

/* Logo */ 
.logo img { 
  height: 60px; 
  transition: transform 0.3s ease; 
  z-index: 1500;

} 
.logo img:hover { 
  transform: scale(1.05);
 }

/* Nav Links */
.main-nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0px;
  margin-left: 10px;
  align-items: center;
}

.main-nav ul li {
  position: relative; /* Important for dropdown */
  overflow: visible;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

/* Underline effect on hover */
.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px; /* move underline a bit below text */
  width: 0;
  height: 2px;
  background-color: #ff8c00;
  transition: width 0.3s ease, left 0.3s ease;
}
.main-nav ul li a:hover { color: #ff0015;}

.main-nav ul li a:hover::after {
  width: 100%;
  left: 0;
}



.main-nav ul li a.active {
  color: #ff0015;
  position: relative;
}
.main-nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff0015;
}
/* Add arrow to dropdown parent links */

.arrow {
  font-size: 0.7rem;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  color: inherit; /* follows link color */
}
body.menu-open {
  overflow: hidden;
  height: 100vh;
}

         

/* Dropdown */

ul.dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  padding: 0;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition:
    max-height 0.4s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0.35s; /* delay hiding visibility */
  z-index: 9999;
}

ul.dropdown li a {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  font-size: 0.95rem;
}



/* CTA Button */
.cta-button {
  background: #ff3d00;
  padding: 10px 16px;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  display: inline-block;
}

.cta-button:hover {
  background: #e63300;
}

/* Quick Links Group */
.quick-links-group {
  position: absolute;
  top: 12px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 999;
}

/* Base bubble style */
.quick-links-group a {
  width: 40px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  color: #fff;
}

/* Gradient tulip colors */
.quick-links-group a:nth-child(1) { background: linear-gradient(135deg, #ff7b00, #ff3d00); }
.quick-links-group a:nth-child(2) { background: linear-gradient(135deg, #ff007b, #ff4da6); }
.quick-links-group a:nth-child(3) { background: linear-gradient(135deg, #007bff, #00bfff); }
.quick-links-group a:nth-child(4) { background: linear-gradient(135deg, #28a745, #6ddf6d); }

/* Hover animation */
.quick-links-group a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* Tooltip desktop only */
.quick-links-group a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -28px;
  font-size: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.quick-links-group a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .main-nav ul li:hover > ul.dropdown,
  .main-nav ul li:focus-within > ul.dropdown {
    max-height: 500px;   /* just enough for menu */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s; /* open immediately */
  }
}
/* Mobile Responsive */
.nav-toggle {
  display: none;
  font-size: 2rem;
  background: #ff3d00;
  color: white;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 2000;
  }

  /* Mobile Navbar */
  .main-nav {
    display: flex; /* Always flex so animation works */
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 2000;

    /* Start hidden for animation */
    max-height: 0;
    opacity: 0;
      transform: scaleY(0.95);
    transform-origin: top;
    transition: 
      max-height 0.5s ease,
      opacity 0.4s ease,
      transform 0.4s ease;
    
  }

  /* Show menu */
   .main-nav.show {
    max-height: calc(100vh - var(--header-height, 105px)); /* leave space for header */
    opacity: 1;
   transform: scaleY(1);
    overflow-y: auto; /* allow menu scroll */
  }
 /* Nice mobile scroll look */
  .main-nav.show::-webkit-scrollbar {
    width: 6px;
  }
  .main-nav.show::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
  /* Remove gaps */
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  .main-nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 0;
    position: relative;

    
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  /* Full-width buttons */
  .main-nav ul li a {
    display: block;
    width: 100%;
    padding: 15px;
    color: #333;
    background: #fff;
    text-decoration: none;
    font-weight: 525;
    transition: background 0.3s, color 0.3s;
  }

  .main-nav ul li a:hover {
    background: #f3f3f3;
    color: #ff3d00;
  }

  /* Dropdown hidden by default */
   .main-nav ul li > ul.dropdown {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    border-radius: 0;
    max-height: 0;         /* collapsed by default */
    opacity: 0;
  overflow: hidden;             /* hides content while collapsed */
  transform: translateY(-8px);
     transition:
    max-height 0.4s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
 
  }


  /* Show dropdown on click */
  .main-nav ul li.open > ul.dropdown {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }


  .main-nav ul li ul.dropdown li {
    border-bottom: 1px solid #eee;
  }

  .main-nav ul li ul.dropdown li a {
    color: #444;
    padding: 12px;
    background: #f9f9f9;
  }

  .main-nav ul li ul.dropdown li a:hover {
    background: #eee;
  }
  .quick-links-group {
    position: fixed;
    margin-top: 2px;
    bottom: 15px;
    left: 54%;
    transform: translateX(-50%);
    flex-direction: row;   /* horizontal layout */
    gap: 20px;    
    padding: 0;
    z-index: 999;
  
  }

  .quick-links-group a {
    width: 40px;
    height: 30px;
    font-size: 20px;
  }

  /* Hide tooltips on mobile */
  .quick-links-group a::after {
    content: attr(data-tooltip);
    position: static;
    transform: none;
    background: none;
    color: #000;
    font-size: 12px;
    opacity: 1;
    padding: 0;
    margin-top: 4px;
    white-space: normal;
  }

  .quick-links-group a::before {
    display: none; /* remove arrow */
  }
}



/* --- Intro Section --- */
.intro-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 30px 8%;
  align-items: center;
  background: linear-gradient(135deg, #fff, #fff);
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Heading */
.intro-left h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #e53935, #ff9800);

    background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-left p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.7;
}


/* Features */
.intro-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 40px; /* Space below */
}

.intro-features a.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  padding: 8px 8px;
  font-size: 1rem;
  font-weight: 450;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f87171, #fb6666);
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(255, 77, 77, 0.25);
  transition: all 0.3s ease-in-out;
}

.intro-features a.feature i {
  font-size: 1.2rem;
}

.intro-features a.feature:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff8a65, #ff5252);
  box-shadow: 0 6px 14px rgba(255, 82, 82, 0.4),
              0 0 10px rgba(255, 255, 255, 0.6); /* 👈 White glow */
}

/* Responsive: stack buttons on small screens */
@media (max-width: 600px) {
  .intro-features {
    flex-direction: column;
    align-items: center;
  }

  .intro-features a.feature {
    width: 70%;
    text-align: center;
  }
}



/* Contact Card */
.intro-contact {
  background: #fff3e0;
  border: 1px solid #ff9800;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.intro-contact i {
  color: #e53935;
  margin-right: 10px;
}

/* Responsive */
@media(max-width: 900px) {
  .intro-section {
    grid-template-columns: 1fr;
    padding: 50px 6%;
  }
  .intro-left h1 {
    font-size: 2.2rem;
    text-align: center;
  }
  .intro-left p {
    text-align: center;
  }
  .intro-features {
    grid-template-columns: 1fr;
  }
  .intro-contact {
    text-align: center;
  }
}



/* Right side images container */
.intro-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.intro-right img {
  width: 100%;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Image hover effect */
.intro-right img:hover {
  transform: scale(1.05);
}

/* Visible animation */
.intro-right img.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade-in Animation */

.intro-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Animate feature icons */
.intro-features .feature {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-features .feature.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Ad Banner Slider */
.ad-banner-slider {
  width: 100%;
  
  position: relative;
  overflow: hidden;
  background: #000; /* fallback background */
}

/* Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.slide-text {
  position: absolute; /* overlay on image */
  top: 50%;           /* vertical center */
  left: 50%;          /* horizontal center */
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  padding: 20px;
  border-radius: 8px;
}

.slide-text h1 {
  font-size: 2.5rem;
  margin: 0;
}

.slide-text p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .slide-text {
      padding: 6px;
  }
  .slide-text h1 {
      font-size: 1.8rem;
       white-space: nowrap;
  }
  .slide-text p {
      font-size: 1rem;
       white-space: nowrap;
  }
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots div {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .active {
  background: #ffcc00;
  box-shadow: 0 0 10px #ffcc00;
}


/* Quick Action Strip */

.quick-actions-wrapper {
  background: linear-gradient(135deg, #e9f0ff 0%, #f3f5ff 100%);
  padding: 20px 16px; 
  border-radius: 20px; 
 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.02);
  margin: 20px auto; 
  max-width: 1100px; 
}

.quick-actions {
  display: grid;
 
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-content: center;
  gap: 25px; 
  padding: 10px;
 
  background: #ffffff;
  border-radius: 12px; 
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03); 
}


.qa-item {
  text-align: center;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: scale(0.8);
  will-change: transform, opacity;
 
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  padding: 8px 4px; 
}

.qa-item:hover {

  transform: scale(1.05) translateY(-5px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10; 
}

.qa-pic {
 
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 8px; 

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), inset 0 0 0 3px #f0f0f0;
 
  transform: scale(1); 
  
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.qa-item:hover .qa-pic {
  transform: scale(1.08); 
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18), inset 0 0 0 4px #e0e0e0;
}

.qa-text {
  font-size: 14px; 
  font-weight: 500; 
  color: #1a1a1a; 
  margin-top: 4px;
 
  transition: color 0.3s ease;
}

.qa-item:hover .qa-text {
  color: #0056b3; /* Brand color on hover for emphasis */
}


@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.qa-item.animate {
  animation: popIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.qa-item:nth-child(1).animate {
  animation-delay: 0.1s;
}
.qa-item:nth-child(2).animate {
  animation-delay: 0.25s;
}
.qa-item:nth-child(3).animate {
  animation-delay: 0.4s;
}
.qa-item:nth-child(4).animate {
  animation-delay: 0.55s;
}
.qa-item:nth-child(5).animate {
  animation-delay: 0.60s;
}
.qa-item:nth-child(6).animate {
  animation-delay: 0.75s;
}
.qa-item:nth-child(7).animate {
  animation-delay: 0.90s;
}


/* Tablet: ~5-6 per row */
@media (max-width: 1100px) {
  .quick-actions-wrapper {
    margin: 16px;
  }
}

@media (max-width: 900px) {
  .qa-pic {
    width: 90px;
    height: 90px;
  }
  .qa-text {
    font-size: 13px;
  }
}

/* Mobile: 3-4 per row */
@media (max-width: 600px) {
  .quick-actions {
    gap: 15px;
    padding: 8px;
  }
  .qa-pic {
    width: 70px;
    height: 70px;
  }
  .qa-text {
    font-size: 11px;
    font-weight: 600;
  }
  .quick-actions-wrapper {
    padding: 12px 8px;
    margin: 12px 8px;
    border-radius: 16px;
  }
}





/* ==== Services Grid Layout ==== */

.services-listing {
  padding: 20px 5%;
  text-align: center;
  
}

.services-listing h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
  position: relative;
}

.services-listing h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #ff3d00;
  margin: 10px auto 0;
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* ==== Service Card ==== */
.service-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}


.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}


.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}


.service-card:hover img {
  transform: scale(1.05);
}

/* ==== Info Section ==== */
.service-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  text-align: center;
}

.service-info i {
  color: #ff3d00;
  font-size: 1.1rem;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .services-grid {
    gap: 15px;
  }
  .service-card img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .service-card img {
    height: 150px;
  }
  .service-info {
    font-size: 0.9rem;
    padding: 10px;
  }
}





/* Animation for scroll appearance */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== News & Events ===== */
.news-events-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: stretch;
}

.news-column,
.events-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    background: #fff;
    min-width: 0; /* prevents overflow */
}

.column-header {
    background: #666;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
}

.column-body.scroll-container {
    flex: 1;
    overflow: hidden;
    padding: 0 15px;
}



.column-body {
    padding: 15px;
}

.news-item, .event-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.news-item:hover,
.event-item:hover {
    background-color: #eee; 
    transform: scale(1.02);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}


.news-item:last-child, .event-item:last-child {
    border-bottom: none;
}

.news-tag {
    display: inline-block;
    background: #0d47a1;
    color: white;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 3px;
}

.news-date, .event-date {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 3px;
    margin-left: 5px;
}

@media(max-width:768px) {
    .news-events-wrapper {
        flex-direction: column;
    }
}

.scroll-container {
    height: 200px; /* visible area */
    overflow: hidden;
    position: relative;
}

.scroll-content {
    display: flex;
    flex-direction: column;
    animation: smoothScroll 10s linear infinite;
}

.scroll-container:hover .scroll-content {
    animation-play-state: paused; /* pause on hover */
}

@keyframes smoothScroll {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}

.scroll-content > * {
    flex-shrink: 0;
}



/* ====== Stylish Footer ====== */
.footer {
  background: linear-gradient(135deg, #555 0%, #555 50%, #666 100%);
  color: #ddd;
  padding: 50px 5% 20px;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
}

/* Subtle premium pattern */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 18% 12% 38% 30%;
  column-gap: 35px; /* uniform visual gap */
  row-gap: 35px;
  max-width: 1300px;
  margin: auto;
  position: relative;
  z-index: 1;
}


/* Footer Sections */
.footer-section {
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.3rem;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background: #ff3d00;
}

.footer-section p,
.footer-section li {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #ff3d00;
}

/* Contact Form (Column 3) */
.footer-form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.02);
  padding: 0px 15px 15px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
}
.footer-form .form-row {
    display: flex;
    gap: 10px;
}

.footer-form .form-row input {
    flex: 1;
}
@media(max-width: 768px) {
    .footer-form .form-row {
        flex-direction: column;
    }
  }

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #eee;
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: #ff3d00;
  box-shadow: 0 0 8px rgba(255, 61, 0, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.footer-form button {
  width: 100%;
  padding: 14px;
  background: #ff3d00;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.footer-form button:hover {
  background: #e63300;
  box-shadow: 0 0 10px rgba(255, 61, 0, 0.4);
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.3rem;
  color: #bbb;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s ease, color 0.3s;
}

.social-icons a.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover bounce & colors */
.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
}

.social-icons a.facebook:hover { color: #3b5998; }
.social-icons a.whatsapp:hover { color: #25D366; }
.social-icons a.instagram:hover { color: #e1306c; }
.social-icons a.youtube:hover { color: #ff0000; }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #ddd;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #ff3d00;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2 columns */
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr; /* Stack columns */
  }
}


#scrollTopBtn {
    display: none; /* Hidden initially */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #ff0c0c;
    color: white;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    
    /* Center icon perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#scrollTopBtn:hover {
    background-color: #0d47a1;
    transform: translateY(-3px) scale(1.1) rotate(-10deg);
}

#scrollTopBtn i {
    pointer-events: none; /* Prevent click block */
    transition: transform 0.3s ease;
}

#scrollTopBtn:hover i {
    transform: rotate(10deg);
}



 






/* Slide down animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* Gallery */
.gallery-wrapper {
  display: grid;
  grid-template-areas: "gallery";

  padding: 2rem;
  align-items: center;
  overflow: hidden;
}

.gallery-container {
  grid-area: gallery;
  position: relative;
  overflow: hidden;
  max-height: 300px;
}
.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.gallery-track img {
  width: 100%;
  object-fit: cover;
  max-height: 300px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
}
.arrow-left { left: 0; }
.arrow-right { right: 0; }



/*property.php*/

.hero6 {
      background: url("images/pro.jpg") center/cover no-repeat;
    }


    .hero6::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.3);
    }

.p_section {
      max-width: 950px;
      margin: 30px auto;
      background: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    h2 {
      font-size: 1.8rem;
      margin-bottom: 15px;
      color: #1a237e;
      text-align: center;
    }

      .feature-card {
      background: #fafafa;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      margin-bottom: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .feature-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .feature-card h3 {
      margin: 0 0 10px;
      font-size: 1.3rem;
      color: #ff800f;
    }

    .feature-card p {
      margin: 0 0 15px;
      font-size: 0.95rem;
      color: #444;
      line-height: 1.5;
    }

    .btn {
      display: inline-block;
      padding: 10px 18px;
      border-radius: 6px;
      font-size: 0.95rem;
      font-weight: 600;
      text-decoration: none;
      background: #ff800f;
      color: #fff;
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .btn:hover {
      background: #005fa3;
      transform: translateY(-2px);
    }
  
  
/* Post Property Form */

.property-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}
.property-form h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.property-form label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: bold;
}
.property-form input,
.property-form textarea,
.property-form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.property-form input[type="file"] {
  padding: 0.3rem;
}
.property-form input[type="submit"],
.property-form button {
  background-color: #ff800f;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
}
.property-form input[type="submit"]:hover,
.property-form button:hover {
  background-color: #005fa3;
}

/* Multiple Image Upload Thumbnails */
.property-gallery {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.property-gallery .thumb-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Form Logic States */
.form-section {
  margin-bottom: 1rem;
}
.form-section label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}
fieldset[disabled] {
  opacity: 0.6;
}
.hidden {
  display: none;
}

/* Filter Options (Top) */
.filter-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-options input[type="radio"] { display: none; }

.filter-options label {
  padding: 0.5rem 1.2rem;
  border: 2px solid #ff800f;
  border-radius: 25px;
  font-weight: bold;
  color: #ff800f;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-options input[type="radio"]:checked + label {
  background-color: #ff800f;
  color: #fff;
}

.filter-options label:hover { background-color: #ffb59c34; }



/* Property Listings */
.property-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.property-box {
  display: flex;
  flex-direction: row;
  flex: 1 1 320px;
  max-width: 360px;
  border: 1px solid #ccc;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.property-image-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 150px;
}
.property-thumb {
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1rem;
}
.property-thumb img:first-child {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.property-box:hover {
  transform: scale(1.02);
  background-color: #f5f9ff;
}


.property-info {
  flex-grow: 1;
  margin-left: 1.25rem;
}

.property-info h3 {
  margin: 0 0 0.5rem;
}

.property-info p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: #444;
}
/* Small thumbnails below */
.property-thumbs {
  margin-top: 6px;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
}

.property-thumbs img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.property-meta {
  margin-top: 30px; /* pushes it to bottom */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #f3503e;
}

.property-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-meta .meta-icon {
  font-size: 0.8rem;
}

/* RESPONSIVE LAYOUT FIXES */
@media (max-width: 1200px) {
  .property-box { flex: 1 1 calc(33.33% - 1rem); } /* 3 per row */
}
@media (max-width: 768px) {
  .property-box { flex: 1 1 calc(50% - 1rem); }   /* 2 per row */
}
@media (max-width: 480px) {
  .property-box { flex: 1 1 100%; }               /* 1 per row */
}
/*view property popup*/
/* Modal Background */
.property-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
    overflow-y: auto; /* enable vertical scrolling */
  scroll-behavior: smooth; 
}

.property-modal.show {
  display: flex;
}


body.modal-open {
  overflow: hidden;
}

/* Modal box */
.modal-content {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  max-width: 900px;
  width: 90%;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  margin-top: 30px;
  margin-bottom: 30px;

  /* ✅ Hide scrollbar in all browsers */
  -ms-overflow-style: none;     /* IE and Edge */
  scrollbar-width: none;        /* Firefox */
  scroll-behavior: smooth;  /* ✅ Smooth scroll */
}
.modal-content::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Edge */
}


/* Modal Close Button Fix */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #444;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  width: 36px;
  height: 36px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: #000;
  background: rgba(0,0,0,0.05);
  border-radius: 50%;
}

/* Fix for modal overflow and alignment */
.property-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  overflow-y: auto;
  z-index: 3000;
}

.property-modal.show {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}


.modal-gallery-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

#mainModalImage {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 6px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  background-color: rgba(0,0,0,0.4);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }
.gallery-arrow:hover {
  background-color: rgba(0,0,0,0.6);
}

.modal-details {
  flex-grow: 1;
  overflow-y: auto;
  padding-top: 1rem;

  /* Hide scrollbar for all browsers */
  -ms-overflow-style: none;      /* IE and Edge */
  scrollbar-width: none;         /* Firefox */
}
.modal-details::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Edge */
}



.modal-group {
  margin-bottom: 1.5rem;
}

.modal-group h4 {
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
  color: #ffd700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  background-color: rgba(0,0,0,0.4);
}

.modal-group-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.modal-field {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.modal-label {
  font-weight: bold;
  white-space: nowrap;
}

.modal-value {
  flex: 1;
  word-break: break-word;
}

@media (max-width: 768px) {

  .modal-content {
    width: 95% !important;
    max-width: none;
    padding: 1rem;
    word-break: normal !important;
    white-space: normal !important;
  }

  
  .modal-group-fields {
    grid-template-columns: 1fr !important;
  }

  
  .modal-value {
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }


  .modal-field {
    flex-direction: row;
    align-items: flex-start;
  }

  .modal-label {
    margin-bottom: 2px;
  }


  .modal-group {
    margin-bottom: 1rem;
  }
}

/* Post-Ad.php  */

.ad-form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 720px;
  margin: 2rem auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.ad-form h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #d35400;
  margin-bottom: 0.5rem;
}

.ad-form p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #555;
}

.ad-form label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: bold;
  color: #333;
}

.ad-form input,
.ad-form select,
.ad-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.ad-form input[type="file"] {
  padding: 0.4rem;
}

.ad-form button {
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  background-color: #0077cc;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ad-form button:hover {
  background-color: #005fa3;
}

/* Checkbox group styling */
.checkbox-group {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.95rem;
  color: #333;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .ad-form {
    padding: 1.2rem;
    margin: 1rem;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Job Posting Form */
.job-form {
  background-color: #fff;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  width: 95%;
  box-sizing: border-box;
}

.job-form h2 {
  margin-top: 0;
  font-size: 1.75rem;
  color: #333;
}

.job-form p {
  margin-bottom: 1.5rem;
  color: #666;
}

.job-form form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #222;
}

.job-form form input[type="text"],
.job-form form input[type="email"],
.job-form form input[type="date"],
.job-form form select,
.job-form form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.job-form form textarea {
  resize: vertical;
  min-height: 100px;
}

.job-form form button {
  margin-top: 1.5rem;
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.job-form form button:hover {
  background-color: #005fa3;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .job-form {
    padding: 1.2rem;
  }

  .job-form h2 {
    font-size: 1.5rem;
  }
}

  /*view jobs*/
   
   .hero4 {
      background: url("images/job.jpeg") center/cover no-repeat;
    }

        .hero4::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
    }

.job-list {
  display: flex;
  flex-direction: column;
  
  margin-top: 20px;
}

.job-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 15px 20px;
  background: #f7f9fc;
  border-left: 5px solid #2196F3;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);  
  transition: background 0.3s;
  margin-bottom: 15px;
}

.job-strip:hover {
  background: #e9f3ff;
}

.job-strip h3 {
  width: 100%;
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.job-detail {
  flex: 1 1 25%;
  min-width: 200px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.job-label {
  font-weight: bold;
  color: #333;
}

.pagination {
  margin-top: 1.5rem;
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 6px 12px;
  margin: 2px;
  background: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.pagination a.active {
  background-color: #0077cc;
  color: white;
  font-weight: bold;
}

.job-filters {
  text-align: center; 
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;     /* allow buttons to wrap */
  justify-content: center;
  gap: 10px;           /* consistent spacing between buttons */
}
.filter-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.2s;
}

.filter-btn:hover {
  background: linear-gradient(135deg, #0056b3, #003c80);
  transform: scale(1.05);
}

.filter-btn.active {
  background: #14d020; /* green highlight for active */
  font-weight: bold;
}

.job-toggle-buttons {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }
    .job-toggle-buttons button {
      padding: 8px 16px;
      font-size: 1rem;
      border: none;
      background-color: #ddd;
      border-radius: 5px;
      cursor: pointer;
    }
    .job-toggle-buttons .active {
      background-color: #0077cc;
      color: white;
    }

    @media (max-width: 600px) {
  .filter-btn {
    flex: 1 1 100%;    /* stack buttons full width */
    max-width: none;
   
  }
}



/* bus.php */
.bus-banner {
  position: relative;
    max-width: 900px;
    height: 400px;
    margin:  auto;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}
.bus-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

.travel-note {
  max-width: 900px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 1rem;
  border-radius: 5px;
  margin: 20px auto 10px; /* added */
  line-height: 1.5;
}
.bus-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fdfafa2f;
    padding: 25px 30px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

/* Heading */
.bus-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #222;
}

/* Filters */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.filter-form label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
.filter-form select {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
}

/* Table */
#busTableContainer table {
    border-collapse: collapse;
    width: 100%;
}
#busTableContainer th, 
#busTableContainer td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
#busTableContainer th {
    background: #f9f9f9;
    color: #333;
}
#busTableContainer tr:nth-child(even) {
    background: #fafafa;
}

/* Hover effect */
#busTableContainer tr:hover {
    background: #e9f4ff;
    transition: background 0.2s ease-in-out;
}

.time-pill {
    display: inline-block;
    margin: 4px 6px;
    padding: 5px 10px;
    background: #f0f8ff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fd4444;
    white-space: nowrap;
}

#busTableContainer td:nth-child(4) {
    text-align: left;   /* better readability */
    line-height: 2;     /* more vertical spacing */
}


/*register taxi*/
    .taxi-form {
      max-width: 600px;
      margin: 2rem auto;
      background: #f9f9f9;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 0 8px rgba(0,0,0,0.1);
    }
    .taxi-form h2 {
      margin-bottom: 1rem;
    }
    .taxi-form label {
      display: block;
      margin: 0.8rem 0 0.3rem;
      font-weight: bold;
    }
    .taxi-form input,
    .taxi-form textarea {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .taxi-form button {
      margin-top: 1rem;
      padding: 10px 20px;
      background-color: #0077cc;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    .success-message {
      background-color: #e7f8ec;
      border-left: 6px solid #28a745;
      padding: 1rem;
      font-weight: bold;
      font-size: 1.1rem;
      margin-bottom: 1.5rem;
      color: #155724;
      border-radius: 6px;
    }

/*taxi.php*/

 .hero3 {
      background: url('images/taxi.jpg') center/cover no-repeat;
}
    .hero3::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.45);
    }

.container.section .disclaimer {
  margin-top: 0;
  font-size: 0.95rem;
  color: #444;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.info-box {
    max-width: 900px;
    margin: 30px auto;
    background: #fdfafa2f;
    padding: 25px 30px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
  
/*taxi list*/
.taxi-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.taxi-card {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 15px;
  width: 300px;
  display: flex;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.taxi-card:hover {
  transform: scale(1.02);
  background-color: #f5f9ff;
}

.taxi-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
  border: 1px solid #ccc;
}

.taxi-info {
  flex: 1;
}

.taxi-info h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.taxi-info p {
  margin: 4px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444;
}
    .container.section h2 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .taxi-list {
    flex-direction: column;  /* stack cards one per row */
    align-items: center;
  }

  .taxi-card {
    width: 95%;           
    max-width: 500px;         
    flex-direction: row;      
    align-items: center;
    padding: 18px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-left: 6px solid #ff9800; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .taxi-image img {
    width: 130px;
    height: 120px;
    margin-right: 15px;
    border-radius: 10px;
    border: 2px solid #ddd;
  }

  .taxi-info {
    flex: 1;
  }

  .taxi-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #222;
  }

  .taxi-info p {
    font-size: 1rem;
    color: #555;
  }
}

 /*business-register.php*/

    form label {
      display: block;
      margin-top: 15px;
    }
    input, textarea {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    textarea {
      resize: vertical;
      min-height: 80px;
    }

    .categories {
      display: flex;
      flex-wrap: wrap;
      gap: 29px; /* Gap between individual category buttons */
      margin-top: 30px;
      /* This is the fixed grid for category buttons */
    }

   

   /* .category {
      background-color: #0077cc;
      color: white;
      padding: 14px;
      border-radius: 8px;
      cursor: pointer;
      justify-content: center;
      display: flex;
      align-items: center;
      transition: background-color 0.3s;
      width: 220px;  Fixed width for the button 
      height: 70px;
      z-index: 5;
    } */
    .category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
}

    .cat-icon {
  font-size: 1.3em;
}
    .category:hover {
      background-color: #59a8df;
    }
    .category.active { /* Style for the currently active category button */
      background-color: #13a300ff;
    }

    /* Styles for the full-width subcategory display area */
    #fullRowSubcategoryDisplay {
      display: none; /* Hidden by default */
      /* No absolute positioning anymore, it will be in the flow */
      width: calc(100% - 30px); /* Account for its own padding */
      margin: 15px 0; /* Vertical spacing around it */
      padding: 15px;
      background-color: #eef7ff;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      flex-wrap: wrap; /* Allow sub-buttons to wrap */
      gap: 10px;
      justify-content: flex-start; /* Align buttons to the start */
      align-items: center; /* Vertically center buttons */
      /* z-index is not needed as it's in flow */
    }

    #fullRowSubcategoryDisplay.active {
      display: flex; /* Show when a category is active */
    }

    .sub-btn {
      background-color: white;
      border: 1px solid #0077cc;
      color: #0077cc;
      padding: 8px 12px;
      border-radius: 20px;
      cursor: pointer;
      transition: 0.3s;
      white-space: nowrap; /* Prevents text from wrapping within the button */
    }
    .sub-btn:hover, .sub-btn.selected {
      background-color: #0077cc;
      color: white;
    }

    .submit-btn {
      background-color: #0077cc;
      color: white;
      padding: 12px 25px;
      border: none;
      border-radius: 6px;
      margin-top: 20px;
      font-size: 16px;
      cursor: pointer;
    }
    .submit-btn:hover {
      background-color: #005fa3;
    }


    /* --- business-dir.php --- */

    .hero7 {
      background: url("images/se.jpeg") center/cover no-repeat;
    }


    .hero7::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.7);
    }

/* --- Filters & Search --- */
.filters-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.filters, .search-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filters select, 
.search-box input {
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filters select:focus,
.search-box input:focus {
  border-color: #007BFF;
  box-shadow: 0 0 6px rgba(0,123,255,0.2);
  outline: none;
}

.search-button {
  padding: 10px 16px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

/* Heading and button row */
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  flex-wrap: wrap; /* ensures wrapping on mobile */
}

.heading-row h2 {
  margin: 0;
  font-size: 1.6rem;
  color: #1a237e;
}

/* Register button */
.register-btn {
  background-color: #0077cc;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.register-btn:hover {
  background-color: #005fa3;
}


/* --- Business Cards --- */
.business-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.business-card img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.business-info {
  flex: 1;
  min-width: 200px;
}

.business-card h4 {
  color: #007BFF;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.business-card p {
  margin: 4px 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .heading-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .register-btn {
    width: 100%;
    text-align: center;
  }
  .business-card {
    flex-direction: column;
    text-align: left;
    padding: 14px;
  }

  .business-card h4 {
  margin-bottom: 6px;   
}

  .business-card p {
  margin: 1px 0;
  color: #333;
  line-height: 1.50;
  font-size: 0.95rem;
}

.business-card strong {
  color: #000;            /* make labels (Owner, Contact, etc.) stand out */
  font-weight: 600;
}

  .business-card img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
  }

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    flex: 1;
  }

  .search-button {
    width: 100%;
  }
}


/*admin-business approve*/

    .business-row {
      display: flex;
      background: #fff;
      border-radius: 8px;
      margin-bottom: 20px;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      align-items: center;
    }

    .business-photo {
      width: 150px;
      height: 100px;
      object-fit: cover;
      border-radius: 8px;
      margin-right: 20px;
      border: 1px solid #ccc;
    }

    .business-details {
      flex: 1;
    }

    .business-details h3 {
      margin: 0 0 8px;
      color: #222;
    }

    .business-details p {
      margin: 3px 0;
      font-size: 14px;
      color: #555;
    }

    .actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .actions button {
      padding: 6px 12px;
      border: none;
      border-radius: 5px;
      font-weight: bold;
      cursor: pointer;
    }

    .approve {
      background-color: #28a745;
      color: white;
    }

    .reject {
      background-color: #dc3545;
      color: white;
    }


/*about.php*/

 
  

    /* --- Hero Section --- */
    .hero {
      background: url('images/bbb.png') center/cover no-repeat;
        }

            .hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
    }
    .hero h1 {
      font-size: 2.8rem;
      margin: 0;
      font-weight: bold;
      text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    }
    .hero p {
      font-size: 1.2rem;
      margin-top: 10px;
      font-weight: 500;
    }

    /* --- Section Styling --- */

    .p_section h2 {
      font-size: 1.6rem;
      margin-bottom: 15px;
      color: #e53935; /* matches logo red */
      border-bottom: 2px solid #ff9800;
      display: inline-block;
      padding-bottom: 5px;
    }


    #institutions h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}


    /* --- Gallery Grid --- */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 18px;
    }
    .gallery img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 10px;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .gallery img:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    /* Tourism Section */
#tourism {
  padding: 40px 8%;
  background: #fafafa;
  border-radius: 12px;
  margin-top: 40px;
}

#tourism h2 {
  font-size: 2rem;
  color: #e53935;
  margin-bottom: 20px;
  text-align: center;
}

#tourism p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #555;
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.attraction-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.attraction-card h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.attraction-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}


    /* --- Inline Ad --- */
    .ad-inline {
      background: linear-gradient(135deg, #ff9800, #f44336);
      color: #fff;
      padding: 20px;
      text-align: center;
      border-radius: 10px;
      font-size: 1.1rem;
      font-weight: 600;
      margin: 40px 0;
    
  display: block;
  max-width: 1000px;
  margin: 2rem auto;   /* centers block itself */
  text-align: center;
   align-self: center;
    }
    .ad-inline a {
      color: #fff;
      text-decoration: underline;
      font-weight: bold;
    }

    /* --- Contact --- */
    .contact-card {
      background: #fff3e0;
      border: 1px solid #ff9800;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
    }
    .contact-card p {
      margin: 8px 0;
      font-size: 1.05rem;
    }

    /* --- Responsive --- */
    @media(max-width:768px){
      .hero h1 { font-size: 2rem; }
      .hero p { font-size: 1rem; }
      .section { padding: 18px; }
    }

  
/* --- Contact us --- */

 .hero2 {
      background: url('images/banner2.jpeg') center/cover no-repeat;
}
    .hero2::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.3);
    }


/* Main Contact Container - Layout Setup */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    margin-bottom: 80px; /* Space above the footer */
}

/* Contact Form Section */
.contact-form, .contact-info {
    flex: 1; /* Both sections take equal space */
    min-width: 300px; /* Ensure they don't get too narrow */
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle shadow for lift */
}

.contact-form h2, .contact-info h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 3px solid #ff800f; /* Accent line */
    display: inline-block; /* Makes the border only cover the text width */
    padding-bottom: 5px;
}

/* Form Styling */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff800f; /* Highlight on focus */
    outline: none;
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form button[type="submit"] {
    background-color: #ff800f;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s;
    align-self: flex-start; /* Only takes necessary width */
}

.contact-form button[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.contact-form button[type="submit"] i {
    margin-right: 8px;
}

/* Contact Info Section */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1em;
    color: #555;
}

.info-item i {
    font-size: 1.5em;
    color: #ff800f;
    width: 30px; /* Ensures icon spacing is consistent */
    text-align: center;
    margin-right: 15px;
}


/* Map Styling */
.map {
    margin-top: 30px;
    border: 1px solid #ddd; /* Subtle border around the map */
    border-radius: 5px;
    overflow: hidden; /* Important for border-radius on the iframe */
}

.map iframe {
    display: block; /* Removes any default bottom margin/spacing */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stacks the form and info vertically */
        gap: 40px;
    }

    .contact-form, .contact-info {
        flex: none; /* Disables flex sizing */
        width: 100%; /* Full width */
    }

    .contact-header h1 {
        font-size: 2.5em;
    }

    .contact-form button[type="submit"] {
        width: 100%; /* Full width button on small screens */
    }
}



/* latest_shop.php */
    /* Hero Section */
    .hero1 {
      background: url("images/sale2.jpg") center/cover no-repeat;
    }

    .her {
      height: 350px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      color: #fff;
      text-align: center;
    }
    .hero1::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
    }
    .hero-content {
      position: relative;
      z-index: 1;
    }
    .hero-content h1 {
      font-size: 42px;
      margin: 0;
    }
    .hero-content p {
      margin-top: 10px;
      font-size: 18px;
    }

    .section {
      padding: 40px 8%;
    }

    .section h2 {
      text-align: center;
      margin-bottom: 20px;
      font-size: 26px;
      color: #333;
    }

    /* Search + Sort */
    .top-controls {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 15px;
      margin: 10px 0;
    }

    .search-box input {
      width: 250px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 15px;
    }

    .sort-box select {
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 15px;
      cursor: pointer;
    }

    /* Filter Menu */
    .filter-menu {
      text-align: center;
      margin-bottom: 20px;
    }

    .filter-menu button {
      background: #fff;
      border: 1px solid #ddd;
      padding: 8px 16px;
      margin: 5px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .filter-menu button.active,
    .filter-menu button:hover {
      background: #ff9900;
      color: #fff;
      border-color: #cc7a00;
    }

    /* Products */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 25px;
    }

    .product-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.2s ease-in-out;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .product-card:hover {
      transform: translateY(-6px);
    }

    .product-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .product-card h3 {
      font-size: 16px;
      margin: 10px;
      color: #222;
      min-height: 40px;
    }

    .product-card p {
      font-size: 15px;
      font-weight: bold;
      margin: 0 10px 10px;
      color: #e63946;
    }

    .buy-btn {
      display: block;
      text-align: center;
      background: #ff9900;
      color: #fff;
      padding: 10px;
      text-decoration: none;
      font-weight: 600;
      border-radius: 0 0 12px 12px;
      transition: background 0.3s ease;
    }

    .buy-btn:hover {
      background: #cc7a00;
    }

    /* Responsive */
    @media (max-width: 600px) {
      .product-card img {
        height: 280px;
      }
    }
 
/* local-admin.php */
  
    .hero5 {
      background: url("images/admm.jpeg") center/cover no-repeat;
    }


    .hero5::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
    }
    
    
    
    
    /* blog */
    
    
/* =========================
   BLOG LISTING STYLES
   ========================= */

.blog-container {
  margin-top: 40px;
}

.blog-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #222;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 18px;
}

.blog-content h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.blog-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: #ff6600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

    
    /* ===== Article Layout ===== */

.article-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

.article-content h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.article-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0 30px;
}

.article-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #222;
}

.article-text h2 {
  font-size: 24px;
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 4px solid #007bff;
  padding-left: 10px;
}

.article-text ul {
  margin: 15px 0 25px 20px;
}

.article-text li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .article-content h1 {
    font-size: 26px;
  }
  .article-text h2 {
    font-size: 21px;
  }
}
