/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Main Colors */
:root {
  --gold: #f4c542;  /* Warm gold */
  --black: #0d0d0d; /* Deep black background */
  --gray: #cccccc;  /* Light text for readability */
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--gray);
  background: var(--black);
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.1);
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
 
}

header .logo {
  font-weight: bold;
  color: var(--gold);
}

header nav a {
  color: var(--gray);
  margin: 0 1rem;
  text-decoration: none;
  transition: 0.3s;
}

header nav a:hover { color: var(--gold); }

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('images/hero-bg.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--gold);
}

.hero p {
  color: var(--gray);
}

.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--gold);
  color: var(--black);
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #e6b800;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
  scroll-margin-top: 80px;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--gold);
}

/* About Section */
.about p {
  text-align: center;
  max-width: 700px;
  margin: auto;
  color: var(--gray);
}

/* Portfolio */
.portfolio .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio video {
  width: 100%;
  border: 2px solid var(--gold);
  border-radius: 8px;
}

/* Services */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: center;
}

.service-box {
  flex: 1 1 250px;
  padding: 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  transition: 0.3s;
  color: var(--gray);
  background: rgba(255, 215, 0, 0.05);
}

.service-box:hover {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.03);
}

/* Contact */
.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact input, .contact textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: #1a1a1a;
  color: var(--gray);
}

.contact input::placeholder, 
.contact textarea::placeholder { color: #999; }

.contact button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.contact button:hover {
  background: #e6b800;
}

.contact .socials {
  margin-top: 2rem;
  text-align: center;
  color: var(--gray);
}

.contact .socials a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 5px;
  transition: 0.3s;
}

.contact .socials a:hover { color: #fff; }

/* Footer */
footer {
  background: var(--black);
  color: var(--gold);
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(244, 197, 66, 0.3);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0px);
}

/* Shimmer Gradient Effect */
.shimmer {
  background: linear-gradient(
    120deg,
    #f4c542 20%,
    #fff8dc 40%,
    #f4c542 60%
  );
  background-size: 200% auto;
  color: #f4c542; /* fallback color */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Keyframes for Shimmer Sweep */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 36px;        /* Adjust as needed */
  width: auto;
  display: block;
}

.logo-text {
  font-weight: bold;
  font-size: 1.5rem;
}

.clients {
  padding: 2rem 2rem 4rem;
  background: rgba(244, 197, 66, 0.05);
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 1100px;
}

.client-slider {
  overflow: hidden;
  position: relative;
}

.client-track {
  display: flex;
  width: calc(200%); /* Since duplicate items for seamless scroll */
  animation: scrollClients 20s linear infinite;
  will-change: transform;
}

.client-item {
  flex: 0 0 auto;
  padding: 1rem 2rem;
  margin-right: 1rem;
  background: rgba(244, 197, 66, 0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-item img {
  height: 60px;    /* Adjust size as needed */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px #222);
  background: transparent;
}

/* Animation for horizontal scroll */
@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-track {
  display: flex;
  animation: scrollClientsLinear 20s linear infinite;
  width: max-content;
}

@keyframes scrollClientsLinear {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

.clients {
  background: transparent !important;
  border-radius: 0 !important;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.client-item {
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 1rem 2rem;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showreel-container {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.showreel-container video {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--gold);
}



.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.reel video,
.modal-content video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--gold);
  background: #111;
  box-shadow: 0 0 24px 6px rgba(244, 197, 66, 0.6),
              0 0 6px 1px rgba(244, 197, 66, 0.8);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  background: var(--black);
  border-radius: 12px;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content video {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 8px;
  border: 2px solid var(--gold);
  background: #111;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.5rem;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
}

.modal-controls {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-controls button {
  background: var(--gold);
  border: none;
  color: var(--black);
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 0.3rem 0.8rem;
  transition: background 0.3s;
}

.modal-controls button:hover {
  background: #e6b800;
}

#modal-seek-slider {
  flex-grow: 1;
  cursor: pointer;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: #ccc;
}

#modal-seek-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
  margin-top: -4px;
  transition: background 0.3s;
}

#modal-seek-slider::-webkit-slider-thumb:hover {
  background: #e6b800;
}

/* Firefox */
#modal-seek-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

#modal-seek-slider::-moz-range-thumb:hover {
  background: #e6b800;
}

/* --- SERVICES SECTION FULL CSS --- */

.services {
  margin: 4rem auto 0 auto;
  max-width: 1100px;
  padding: 0 2rem 4rem 2rem;
  background: none;
}

.services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3.5rem; /* Increase space below header */
  color: var(--gold);
  font-family: inherit;
  font-weight: 700;
}

.services-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
  gap: 2.5rem 2.5rem;
  justify-items: center;
  align-items: stretch;
}

/* Top row */
.services-grid .service-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.services-grid .service-card:nth-child(2) { grid-column: 2; grid-row: 1; }

/* Second row */
.services-grid .service-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.services-grid .service-card:nth-child(4) { grid-column: 2; grid-row: 2; }

/* Wide card: full width below */
.service-card-wide {
  grid-column: 1 / span 2;
  grid-row: 3;
  width: 100%;
}

/* Card visuals */
.service-card,
.service-card-wide {
  background: transparent;
  color: var(--gray);
  border: 2px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 0 24px 0 rgba(244,197,66, 0.65);
  padding: 2rem 1.2rem;
  min-width: 210px;
  max-width: 340px;
  transition: box-shadow 0.3s, border 0.3s;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Wide card effect */
.service-card-wide {
  max-width: none;
  box-shadow: 0 0 40px 2px rgba(244,197,66, 0.8);
  padding: 2rem 1.5rem;
}

.service-card h3,
.service-card-wide h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  font-family: inherit;
}

.service-card p,
.service-card-wide p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
  font-family: inherit;
}
.service-card:hover {
  box-shadow: 0 0 40px 6px rgba(244, 197, 66, 0.9); /* Stronger gold glow */
  transform: translateY(-4px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default !important;
}


/* Responsive - stacks on mobile */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }
  .service-card,
  .service-card-wide {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin-bottom: 0;
    justify-items: stretch;
  }
  .service-card-wide {
    box-shadow: 0 0 36px 1px rgba(244,197,66, 0.7);
    padding: 2rem 1rem;
  }

}

/* ==== Responsive header adjustments ==== */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  header nav {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ==== Responsive services grid ==== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 1.5rem !important;
  }
  .service-card,
  .service-card-wide {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 1.5rem 1rem !important;
    margin-bottom: 0 !important;
  }
  .service-card-wide {
    box-shadow: 0 0 36px 1px rgba(244,197,66, 0.7) !important;
  }
}

@media (max-width: 480px) {
  header nav {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .logo-img {
    height: 34px;
  }
  .services-inner h2 {
    font-size: 1.5rem;
  }
  .service-card h3,
  .service-card-wide h3 {
    font-size: 1.05rem;
  }
  .service-card,
  .service-card-wide {
    padding: 1rem 0.5rem !important;
  }
}

@media (max-width: 900px) {
  .services-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.2rem !important;
    width: 100% !important;
  }
  .service-card,
  .service-card-wide {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 1rem 0.5rem !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
  }
}

@media (max-width: 900px) {
  .client-slider {
    overflow-x: auto !important;
    padding: 0 1rem;
  }
  .client-track {
    flex-wrap: wrap !important;
    width: auto !important;
    animation: none !important;
    min-width: 0 !important;
    gap: 1rem;
    justify-content: center;
  }
  .client-item {
    flex: 0 0 auto;
    min-width: 80px;
    max-width: 100px;
    margin-bottom: 1rem;
    margin-right: 1rem;
    padding: 0.5rem !important;
  }
  .client-item img {
    height: 36px !important;
    max-width: 80px !important;
  }
}

@media (max-width: 900px) {
  .client-slider {
    overflow-x: auto; /* Allow horizontal scroll */
    padding-left: 1rem; /* Optional to add some padding */
    -webkit-overflow-scrolling: touch; /* Smoother scroll on iOS */
  }
  .client-track {
    flex-wrap: nowrap !important; /* Prevent wrapping */
    width: max-content !important; /* Ensure width fits all logos in a row */
    animation: scrollClientsLinear 20s linear infinite; /* Keep scroll animation */
    justify-content: flex-start !important;
  }
  .client-item {
    min-width: 80px;
    margin-right: 1rem;
    padding: 0.5rem !important;
    flex: 0 0 auto; /* Ensure fixed width per item */
  }
  .client-item img {
    height: 36px !important;
    max-width: 80px !important;
  }
}

/* Responsive fixes for mobile devices only */
@media (max-width: 900px) {
  /* Header stacking on small screens */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  header nav {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Services section: stack cards vertically */
  .services-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }
  .service-card,
  .service-card-wide {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 1.5rem 1rem !important;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  .service-card-wide {
    box-shadow: 0 0 36px 1px rgba(244,197,66, 0.7) !important;
  }

  /* Clients section: horizontal scroll with looping */
  .client-slider {
    overflow-x: auto !important;
    padding-left: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .client-track {
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: scrollClients 20s linear infinite !important;
    justify-content: flex-start !important;
  }
  .client-item {
    min-width: 80px;
    margin-right: 1rem;
    padding: 0.5rem !important;
    flex: 0 0 auto;
  }
  .client-item img {
    height: 36px !important;
    max-width: 80px !important;
  }
}

@media (max-width: 480px) {
  /* Smaller adjustments for very small screens */
  header nav {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .logo-img {
    height: 34px;
  }
  .services-inner h2 {
    font-size: 1.5rem;
  }
  .service-card h3,
  .service-card-wide h3 {
    font-size: 1.05rem;
  }
  .service-card,
  .service-card-wide {
    padding: 1rem 0.5rem !important;
  }
}

@media (max-width: 900px) {
  .client-slider {
    overflow-x: hidden !important;  /* Hide horizontal scrollbar and disable scroll */
    -webkit-overflow-scrolling: auto; /* Remove momentum scroll */
    pointer-events: none;             /* Disable user interaction (touch, scroll) */
  }
  .client-track {
    pointer-events: auto;             /* Enable interaction for internal items if needed */
  }
}

.client-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.client-track {
  display: flex;
  width: max-content;
  gap: 1rem;
}
.client-item img {
  height: 48px;
}
@media (max-width: 900px) {
  .client-item img { height: 36px; }
}

/* Hamburger button hidden by default */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
  z-index: 200;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px 0;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile header layout */
@media (max-width: 900px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 0.7rem 1rem;
    position: relative;
  }
  .nav-toggle {
    display: block;
  }
  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 1.2rem 1.5rem;
    gap: 1rem;
    z-index: 150;
    display: none;
  }
  header nav.open {
    display: flex;
  }
  header nav a {
    font-size: 1.15rem;
    color: var(--gold);
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(244,197,66, 0.2);
  }
  .logo-container {
    flex: 1 1 auto;
  }
}

/* Hide old nav on desktop, show only our new centered nav */
header nav:not(.desktop-nav) {
  display: none;
}

/* Desktop nav container */
.desktop-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 2.5rem;
  padding: 0.75rem 3rem;
  /* border: 2px solid var(--gold);  Remove this line */
  /* border-radius: 50px;              Remove this line */
  /* background: transparent;          Remove or keep as transparent */
  z-index: 100;
  font-weight: 600;
  font-size: 1.15rem;
}

/* Links styling */
.desktop-nav a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
  padding: 0.25rem 0.75rem;
  border-radius: 25px;
}

/* Hover effect */
.desktop-nav a:hover,
.desktop-nav a:focus {
  background: var(--gold);
  color: var(--black);
  outline: none;
}

/* Make sure header is relative for absolute positioning of nav */
header {
  position: relative;
  height: 70px;
}

/* Hide desktop nav on mobile, keep toggle nav */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, box-shadow 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

/* Logo stays left, nav is centered (or right) */
.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.desktop-nav {
  display: flex;
  gap: 3rem;
  font-weight: 600;
  font-size: 1.15rem;
}

/* Desktop nav styling with shimmer rounded rectangle hover */
.desktop-nav a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  position: relative;
  font-weight: bold;
}

.desktop-nav a:hover,
.desktop-nav a:focus {
  color: var(--black);
  background: linear-gradient(120deg, #f4c542 20%, #fff8dc 40%, #f4c542 60%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Responsive: hide .desktop-nav and show mobile hamburger nav below 900px */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
}
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-align: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55; /* Adjust for desired overlay effect */
  pointer-events: none; /* Prevent video from being interactive */
}

.hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  color: var(--gold);
}
.hero p {
  color: var(--gray);
}
.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--gold);
  color: var(--black);
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}
.hero .btn:hover {
  background: #e6b800;
}

.btn-header-connect {
      color: var(--white);
      background: transparent;
      border: 2px solid var(--white);
      padding: 0.55rem 1.5rem;
      border-radius: 50px;
      font-weight: 700;
      font-family: inherit;
      font-size: 0.95rem;
      cursor: pointer;
      transition: background 0.3s, color 0.3s;
      text-decoration: none;
      display: flex;
      align-items: center;
      height: 36px;
      user-select: none;
    }
    .btn-header-connect:hover,
    .btn-header-connect:focus {
      background: var(--gold);
      color: var(--black);
      outline: none;
      text-decoration: none;
    }

/* Align the button to the right */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Ensure button stays rightmost */
header > .btn-header-connect {
  margin-left: auto;
}



/* Navigation links default color and hover */
.desktop-nav a {
  color: white !important;
  transition: color 0.3s, background 0.3s;
}

.desktop-nav a:hover,
.desktop-nav a:focus {
  color: var(--gold) !important; /* yellow */
  background: transparent !important;
  animation: none !important; /* Remove shimmer if desired */
}

.testimonials {
  max-width: 1100px;
  margin: 4rem auto 6rem auto;
  padding: 0 2rem;
  color: var(--gray);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--gold);
  font-family: inherit;
  font-weight: 700;
}

.testimonial-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.testimonial-card {
  min-width: 350px;
  max-width: 350px;
  background: transparent;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: none;
  color: var(--gold);
  font-style: italic;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  align-items: flex-start;
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--gray);
  font-style: italic;
  text-align: left;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-profile {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #222;
}

.testimonial-user h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  margin: 0;
  text-align: left;
  line-height: 1.2;
}

.testimonial-user span {
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .testimonial-card {
    min-width: 90vw;
    max-width: 94vw;
  }
  .testimonial-track {
    gap: 1rem;
  }
  .testimonial-profile {
    width: 40px;
    height: 40px;
  }
}
.portfolio-vertical-grid {
  max-width: 1100px;
  margin-top: -7rem ;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-tile-vertical {
  position: relative;
  min-height: 220px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(40,40,35,0.12);
  cursor: pointer;
  transition: box-shadow 0.2s;
  display: block;
}

.portfolio-tile-vertical img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.28s;
}

.portfolio-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.46);
  color: #fffbe8;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.portfolio-tile-vertical:hover .portfolio-tile-overlay,
.portfolio-tile-vertical:focus .portfolio-tile-overlay {
  opacity: 1;
}

.portfolio-tile-overlay span {
  width: 100%;
  padding: 1.5rem 2.5rem;
  background: none;
  border-radius: 10px;
  display: block;
}
.portfolio-tile-vertical:hover img,
.portfolio-tile-vertical:focus img {
  filter: blur(6px) brightness(0.7);
  transition: filter 0.25s;
}


@media (max-width: 700px) {
  .portfolio-tile-vertical img { height: 140px; }
  .portfolio-tile-overlay { font-size: 1.2rem; }
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: #e6b800;
  color: var(--black);
  text-decoration: none; /* Remove underline on hover/focus */
  outline: none;
}
.portfolio-btn-container {
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 2rem;
}

.service-card {
  background: #111;
  border: 2px solid #ffd500;
  box-shadow: 0 0 24px 0 #ffd50044;
  padding: 2rem 2.2rem;
  border-radius: 9px;
  color: #fafafa;
  transition: box-shadow 0.18s, transform 0.16s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 170px;
}

.service-card h3 {
  margin-top: 0;
  color: #ffd500;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.service-card-wide {
  grid-column: 1 / -1;
}

/* Custom style for the image card */
.service-card-image {
  padding: 0; /* Remove padding from the card */
  display: flex;
  align-items: stretch;  /* Make child fill vertical space */
  height: 170px;         /* Set same height as other cards, adjust as needed */
  border: none !important;
  box-shadow: none !important;
  border: none !important;
  box-shadow: 0 0 15px 3px rgba(192, 39, 45, 22.8) !important;
  position: relative;
  z-index: 1;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Fill card, crop if needed */
  border-radius: 9px;
  display: block;
  box-shadow: none;
  margin: 0;
  background: none;
}

#submitted-screen {
  width: 100%;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--black);
  margin-top: 3rem;
}

.submitted-card {
  background: rgba(0,0,0,0.7);
  border-radius: 20px;
  box-shadow: 0 4px 36px rgba(244,197,66,0.09);
  padding: 44px 26px;
  text-align: center;
  margin: 0 auto;
  max-width: 400px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.submitted-tick {
  margin-bottom: 14px;
  display: block;
}

.submitted-card h2.shimmer {
  color: var(--gold, #F4C542);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.1rem;
}
.submitted-text {
  color: var(--gray, #CCC);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.submitted-home {
  background: var(--gold, #F4C542);
  color: var(--black, #181818);
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.4em;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(244,197,66,0.16);
  transition: background 0.2s, color 0.2s;
}
.submitted-home:hover, .submitted-home:focus {
  background: #ffe379;
  color: #262626;
}
