:root {
  --brand:#1dbf73;
  --brand-dark:#17a65f;
  --text:#222;
  --muted:#6b7280;
  --bg:#ffff;
  --card:#ffffff;
  --danger:#e11d48;
}
/* Carousel Section */
.carousel-section {
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide img {
  width: 100%;
  flex-shrink: 0;
}
.carousel-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
}
.carousel-container .prev { left: 10px; }
.carousel-container .next { right: 10px; }

/* Reset & Base */
* { box-sizing: border-box; }
html,body {
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }

/* Containers & Sections */
.container { max-width:1180px; margin:0 auto; padding:0 16px; }
.section { padding:48px 10; }
.section-title { font-size:28px; margin:0 0 18px; }
.center {
  text-align: center;
}

/* Navbar */
.navbar {
  position:sticky; top:0; z-index:50;
  background:#ffffff; color:#000000; border-bottom:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; gap:24px; padding:12px 16px;
}
.logo { font-weight:700; font-size:23px; color:#000000; }
.nav-links { list-style:none; display:flex; gap:18px; margin-left:auto; align-items:center; }
.nav-links a { color:#000000; opacity:.9;font-weight: bold; }
.nav-links a:hover { opacity:1; color:#0bde00; }
.nav-links .cta {
  background:#0bde00; padding:8px 14px; border-radius:6px; font-weight:600; color:#fff;
}
nav {
  background: #222;
  padding: 10px;
  position: relative;
  overflow: hidden; /* keeps animation inside */
}

nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.moving-text {
  display: inline-block;
  white-space: nowrap;
  animation: move 12s linear infinite;
  color: #ffffff;
  font-weight: bold;
  margin-left: 20px;
  background-color: #000000;
}

@keyframes move {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}
/* Navbar logo */
.logo img {
  height: 65px;   /* adjust size */
  width: auto;    /* keeps aspect ratio */
  display: block;
}
.nav-links .cta:hover { background:#0bde00; }

/* Hero */
.hero {
  height:70vh; display:flex; justify-content:center; align-items:center;
  background: url("images/about.jpg") center/cover no-repeat;
  position:relative; color:#ffffff; text-align:center;
}
.hero::after {
  content:""; position:absolute; top:0; left:0;
  width:100%; height:100%; background:rgba(0,0,0,.55);
}
.hero-content { position:relative; z-index:1; }
.hero h1 { font-size:48px; margin:0 0 12px; }
.hero p { font-size:18px; margin:0 0 20px; color:#ffffff; }
.search-bar { display:flex; justify-content:center; gap:10px; }
.search-bar input {
  padding:10px; width:300px; border-radius:6px; border:1px solid #ccc;
}
.search-bar button {
  padding:10px 20px; border:none; background:#0bde00;
  color:#ffffff; border-radius:6px; cursor:pointer; font-weight:600;
}
.search-bar button:hover { background:#0bde00; }
/* ================================
   Categories Horizontal Menu
================================= */
.categories-menu {
  display: flex;
  justify-content: center;
  background: #0bde00;
  margin: 20px auto;
  padding: 0;
  list-style: none;
  border-radius: 6px;
  overflow: visible; /* ✅ must allow dropdown to show */
  max-width: 100%;
}

.categories-menu li {
  position: relative;
}

.categories-menu > li > a {
  display: block;
  padding: 14px 25px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.categories-menu > li > a:hover {
  background: #0bde00;
}

/* Sub-menu (vertical dropdown) */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 9999; /* ✅ ensure it appears above */
}

.sub-menu li a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.3s;
}

.sub-menu li a:hover {
  background: #0bde00;
}

.categories-menu li.has-sub:hover .sub-menu {
  display: block !important; /* ✅ stronger rule */
}

/* Gig Grid */
.gig-grid {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:20px;
}
.gig-card {
  background:var(--card); padding:15px; border-radius:8px;
  box-shadow:0 4px 6px rgba(0,0,0,.1);
}
.gig-card img { width:100%; border-radius:6px; }
.gig-card h3 { font-size:16px; margin:10px 0; }
.gig-card p { font-size:14px; color:#555; }
.gig-meta { display:flex; justify-content:space-between; font-weight:bold; margin-top:8px; }
.gig-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: #0bde00;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.gig-btn:hover {
  background: #0bde00;
}
/* ================================
   Testimonials
================================= */
.testimonials {
  background: #078900;
  padding: 60px 20px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.testimonial-card {
  background: #ffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.quote {
  font-style: italic;
  margin-bottom: 16px;
  color: #444;
}

.client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.client-name {
  font-weight: 600;
  font-size: 15px;
}

.client-role {
  color: #6b7280;
  font-size: 13px;
}
/* ================================
   Footer (Fiverr Style)
================================= */
.footer {
  background: #000000;
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 50px 0;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--brand, #0bde00);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--brand, #0bde00);
}

/* Responsive */
@media(max-width:1000px){
  .gig-grid{ grid-template-columns:repeat(3,1fr); }
}
@media(max-width:700px){
  .gig-grid{ grid-template-columns:repeat(2,1fr); }
  .hero h1{ font-size:30px; }
  .categories-menu { flex-wrap:wrap; }
}
@media(max-width:460px){
  .gig-grid{ grid-template-columns:1fr; }
  .search-bar { flex-direction:column; }
  .search-bar input{ width:100%; }
}