/* ============================================================
   GLOBAL & RESET
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0A0A0A;
  color: #E0E0E0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: #C9A84C; }
h4 { font-size: clamp(1.2rem, 1.6vw, 1.6rem); }

.lead {
  font-size: 1.15rem;
  color: #B0B0B0;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.section-intro h3 {
  margin-bottom: 0.5rem;
}
.section-intro h2 {
  margin-bottom: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.9rem 2.4rem;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: center;
}

.btn--gold {
  background: #C9A84C;
  color: #0A0A0A;
  border-color: #C9A84C;
}
.btn--gold:hover {
  background: transparent;
  color: #C9A84C;
}

.btn--outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline:hover {
  border-color: #C9A84C;
  color: #C9A84C;
}

.btn--large {
  padding: 1.1rem 3.6rem;
  font-size: 1rem;
  width: 100%;
  max-width: 320px;
}

/* ============================================================
   HEADER
   ============================================================ */
.s-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}
.logo-name span {
  color: #C9A84C;
}

/* ---- Navigation ---- */
.header-nav-wrap {
  display: flex;
  align-items: center;
}
.header-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.header-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B0B0B0;
  transition: color 0.3s;
}
.header-nav a:hover,
.header-nav a.active {
  color: #C9A84C;
}

/* ---- Mobile Toggle ---- */
.header-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.header-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s;
}
.header-menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.header-menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile nav ---- */
@media (max-width: 768px) {
  .header-menu-toggle {
    display: flex;
  }
  .header-nav-wrap {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0A0A0A;
    padding: 1.5rem 24px 2rem;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  .header-nav-wrap.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .header-nav {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
  .header-nav a {
    display: block;
    padding: 0.6rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
}

/* ============================================================
   HOME / HERO
   ============================================================ */
.s-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 24px 80px;
  background-image: url('../images/IF-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0A0A0A;
}

.s-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  z-index: 1;
}

.home-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.home-subtitle {
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: #C9A84C;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.home-title {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.home-desc {
  font-size: 1.2rem;
  color: #D0D0D0;
  max-width: 600px;
  margin: 0 auto 2.4rem;
}
.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.home-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.home-scroll a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #B0B0B0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.home-scroll i {
  font-size: 0.8rem;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.s-about {
  padding: 100px 0 80px;
  background: #0F0F0F;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.s-about .lead {
  font-size: 1.2rem;
}

/* ============================================================
   SERVICES – refined cards
   ============================================================ */
.s-services {
  padding: 100px 0 80px;
  background: #0A0A0A;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;          /* more space between cards */
  margin-top: 2rem;
}

.service-card {
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.12);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  border-color: #C9A84C;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Image */
.service-img {
  width: 100%;
  aspect-ratio: 16 / 9;    /* consistent landscape ratio */
  object-fit: cover;
  background: #1A1A1A;
}

/* Content padding */
.service-card .service-icon,
.service-card h4,
.service-card p,
.service-card .service-link {
  padding: 0 1.5rem;
}

.service-card .service-icon {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
  color: #C9A84C;
}

.service-card h4 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  color: #FFFFFF;
}

.service-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #B0B0B0;
  flex-grow: 0;
}

.service-card .service-link {
  padding-bottom: 1.5rem;
  margin-top: auto;        /* pushes link to the bottom */
  color: #C9A84C;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.service-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   PORTFOLIO / CLIENTS
   ============================================================ */
.s-portfolio {
  padding: 100px 0 80px;
  background: #0F0F0F;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.client-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 4rem;
  margin-top: 2rem;
}
.client-logo {
  text-align: center;
  transition: transform 0.3s;
}
.client-logo:hover {
  transform: scale(1.04);
}
.client-logo i {
  font-size: 2.4rem;
  color: #C9A84C;
  display: block;
  margin-bottom: 0.5rem;
}
.client-logo span {
  font-weight: 500;
  color: #B0B0B0;
}

/* ============================================================
   BLOG
   ============================================================ */
.s-blog {
  padding: 100px 0 80px;
  background: #0A0A0A;
}

/* Blog list - desktop grid */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.08);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.blog-card:hover {
  border-color: #C9A84C;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #1A1A1A;
}

.blog-card-body {
  padding: 1.6rem 1.8rem 2rem;
}

.blog-card-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C9A84C;
  margin-bottom: 0.4rem;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #B0B0B0;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  color: #C9A84C;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.blog-card-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   BLOG – HORIZONTAL SCROLL ON MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .blog-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.5rem;
    padding: 0.5rem 0.25rem 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #C9A84C transparent;
  }

  .blog-list::-webkit-scrollbar {
    height: 4px;
  }

  .blog-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .blog-list::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 10px;
  }

  .blog-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    min-width: 280px;
  }

  .blog-card img {
    height: 160px;
  }

  .blog-card-body {
    padding: 1.2rem 1.4rem 1.6rem;
  }

  .blog-card-title {
    font-size: 1.1rem;
  }

  .blog-card-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  /* Make the "View All" button full width on mobile */
  .blog-list .btn--gold {
    flex: 0 0 auto;
    min-width: 200px;
    margin: auto;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .blog-card {
    flex: 0 0 250px;
    min-width: 250px;
  }

  .blog-card img {
    height: 140px;
  }

  .blog-card-body {
    padding: 1rem 1.2rem 1.4rem;
  }

  .blog-card-title {
    font-size: 1rem;
  }
}

/* Blog single */
.blog-single {
  margin-top: 2rem;
}
.blog-single #blogBackBtn {
  margin-bottom: 2rem;
}
.blog-single-content {
  max-width: 800px;
  margin: 0 auto;
}
.blog-single-content h2 {
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}
.blog-single-content .meta {
  color: #C9A84C;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.blog-single-content img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin: 1.5rem 0;
  border-radius: 4px;
}
.blog-single-content p {
  color: #D0D0D0;
  margin-bottom: 1.2rem;
}

/* Blog admin */
.blog-admin {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #C9A84C;
}
.blog-admin h3 {
  color: #C9A84C;
  margin-bottom: 1.5rem;
}
#blogForm .form-field {
  margin-bottom: 1.2rem;
}
#blogForm input,
#blogForm textarea,
#blogForm select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
#blogForm input:focus,
#blogForm textarea:focus {
  outline: none;
  border-color: #C9A84C;
}
#blogForm textarea {
  resize: vertical;
}
#blogAdminList {
  margin-top: 2rem;
}
.admin-post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: #141414;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.admin-post-item span {
  font-size: 0.95rem;
  color: #E0E0E0;
}
.admin-post-item .delete-btn {
  background: none;
  border: none;
  color: #FF6B6B;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.3s;
}
.admin-post-item .delete-btn:hover {
  color: #FF3B3B;
}

/* ============================================================
   CONTACT
   ============================================================ */
.s-contact {
  padding: 100px 0 80px;
  background: #0F0F0F;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
.contact-wrapper {
  max-width: 820px;
  margin: 0 auto;
}
#contactForm .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
#contactForm .form-field {
  margin-bottom: 1.2rem;
}
#contactForm label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B0B0B0;
  margin-bottom: 0.3rem;
}
#contactForm input,
#contactForm textarea,
#contactForm select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
#contactForm input:focus,
#contactForm textarea:focus,
#contactForm select:focus {
  outline: none;
  border-color: #C9A84C;
}
#contactForm select option {
  background: #141414;
  color: #FFFFFF;
}
#contactForm textarea {
  resize: vertical;
}
#contactForm .btn--gold {
  margin-top: 0.6rem;
}
.form-status {
  margin-top: 1.2rem;
  font-size: 0.95rem;
}
.form-status.success {
  color: #7BC67E;
}
.form-status.error {
  color: #FF6B6B;
}

/* ============================================================
   FOOTER
   ============================================================ */
.s-footer {
  background: #0A0A0A;
  padding: 3rem 24px 2.4rem;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-logo .logo-name {
  font-size: 1.2rem;
}
.footer-copy {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
}
.footer-social a {
  color: #888;
  font-size: 1.3rem;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #C9A84C;
}

/* ============================================================
   GO TOP
   ============================================================ */
.go-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: #C9A84C;
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.go-top.visible {
  opacity: 1;
  visibility: visible;
}
.go-top:hover {
  background: #FFFFFF;
  color: #0A0A0A;
  transform: translateY(-3px);
}

/* ============================================================
   ANIMATIONS & SCROLL EFFECTS
   ============================================================ */

/* Base class for animated elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children (cards) */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SERVICE CARD – EXPAND / COLLAPSE
   ============================================================ */

.service-short {
  font-size: 0.95rem;
  color: #B0B0B0;
  margin-bottom: 0.8rem;
}

.service-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.3s ease;
  opacity: 0;
  margin: 0;
}

.service-card.is-expanded .service-full {
  max-height: 400px;   /* adjust if your text is longer */
  opacity: 1;
  margin-bottom: 1.2rem;
}

.service-full p {
  font-size: 0.95rem;
  color: #D0D0D0;
  line-height: 1.8;
  margin: 0;
}

/* Toggle button / link */
.toggle-service {
  cursor: pointer;
  color: #C9A84C;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
  background: none;
  border: none;
  padding: 0;
  margin-top: auto;
}

.toggle-service:hover {
  color: #FFFFFF;
}

.toggle-service i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.service-card.is-expanded .toggle-service i {
  transform: rotate(180deg);
}

/* ============================================================
   RESPONSIVE FINE‑TUNING
   ============================================================ */
@media (max-width: 768px) {
  .home-title {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }
  .home-desc {
    font-size: 1rem;
  }
  .home-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  #contactForm .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .blog-list {
    grid-template-columns: 1fr;
  }
  .section-intro h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .s-home {
    padding: 100px 16px 60px;
  }
  .container {
    padding: 0 16px;
  }
  .header-logo img {
    height: 28px;
  }
  .logo-name {
    font-size: 1rem;
  }
  .btn {
    font-size: 0.75rem;
    padding: 0.7rem 1.6rem;
  }
}

.service-card .service-icon,
.service-card h4,
.service-card p,
.service-card .service-link {
  padding: 0 1.2rem;
  
}
/* Service card images */
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  margin-bottom: 1rem;
  background: #1A1A1A; /* fallback if image fails */
}

/* Optionally, if you want the icon to sit on top of the image */
.service-card {
  position: relative;
  overflow: hidden;
  padding-top: 0; /* remove the padding if image is full width */
}
.service-card .service-img {
  border-radius: 0;
}
.service-card .service-icon,
.service-card h4,
.service-card p,
.service-card .service-link {
  padding: 0 1.2rem 0.6rem;
}
.service-card h4 {
  margin-top: 0.5rem;
}

/* ============================================================
   CLIENT CAROUSEL
   ============================================================ */
.client-carousel-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.client-carousel {
  display: flex;
  gap: 4rem;
  animation: scrollClients 25s linear infinite;
  width: max-content;
}

.client-carousel:hover {
  animation-play-state: paused;
}

.client-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
}

.client-item:hover {
  transform: scale(1.05);
  border-color: #C9A84C;
  background: rgba(201,168,76,0.05);
}

.client-item img {
  height: 80px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s;
}

.client-item:hover img {
  filter: grayscale(0);
}

.client-item .client-name {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #B0B0B0;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-item .hover-hint {
  display: none;
  font-size: 0.7rem;
  color: #C9A84C;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.client-item:hover .hover-hint {
  display: block;
}

.carousel-hint {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   CLIENT CAROUSEL (left‑to‑right)
   ============================================================ */
.client-carousel-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.client-carousel {
  display: flex;
  width: max-content;
  animation: scrollClients 30s linear infinite;
}

.client-carousel:hover {
  animation-play-state: paused;
}

.client-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 1rem 2rem; /* horizontal padding instead of gap */
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
}

.client-item:hover {
  transform: scale(1.05);
  border-color: #C9A84C;
  background: rgba(201,168,76,0.05);
}

.client-item img {
  height: 80px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s;
}

.client-item:hover img {
  filter: grayscale(0);
}

.client-item .client-name {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #B0B0B0;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-item .hover-hint {
  display: none;
  font-size: 0.7rem;
  color: #C9A84C;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.client-item:hover .hover-hint {
  display: block;
}

.carousel-hint {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   TESTIMONIAL CAROUSEL (left‑to‑right – opposite direction)
   ============================================================ */
.testimonial-carousel-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.testimonial-carousel {
  display: flex;
  width: max-content;
  /* Separate keyframe just for testimonials – moves right */
  animation: scrollTestimonials 35s linear infinite;
}

.testimonial-carousel:hover {
  animation-play-state: paused;
}

.testimonial-item {
  flex: 0 0 320px;
  background: #F5F5F5;
  color: #1A1A1A;
  padding: 2rem 1.8rem;
  margin-right: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid rgba(201,168,76,0.1);
}

.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.testimonial-item .quote {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
  color: #333;
}

.testimonial-item .author {
  font-weight: 600;
  color: #0A0A0A;
  font-size: 1rem;
}

.testimonial-item .role {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-top: 0.2rem;
}

.testimonial-item .hover-hint {
  display: none;
  font-size: 0.7rem;
  color: #C9A84C;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.testimonial-item:hover .hover-hint {
  display: block;
}

/* NEW: Dedicated keyframe for testimonials (moves RIGHT) */
@keyframes scrollTestimonials {
  0% { transform: translateX(-50%); }  /* start at leftmost position */
  100% { transform: translateX(0); }    /* end back at start */
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-item {
    flex: 0 0 260px;
    padding: 1.5rem;
    margin-right: 1.5rem;
  }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  background: #1A1A1A;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #B0B0B0;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-body {
  text-align: center;
}

.modal-body img {
  max-height: 180px;
  width: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: grayscale(0);
}

.modal-body h3 {
  font-family: 'Playfair Display', serif;
  color: #FFFFFF;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-body p {
  color: #D0D0D0;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .client-item img {
    height: 60px;
    max-width: 120px;
  }
  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  .modal-body img {
    max-height: 120px;
  }
  .modal-body h3 {
    font-size: 1.4rem;
  }
}
/* ============================================================
   ABOUT – refined with image
   ============================================================ */
.s-about {
  padding: 100px 0 80px;
  background: #0F0F0F;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(0.2);
}

.about-image:hover img {
  transform: scale(1.02);
  filter: grayscale(0);
}

.about-text h3 {
  color: #C9A84C;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.about-text .lead {
  font-size: 1.1rem;
  color: #B0B0B0;
  max-width: 100%;
  margin: 0 0 1.8rem 0;
}

.about-text .btn {
  margin-top: 0.5rem;
}

/* ----- Animation for left slide (image) ----- */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  .about-text {
    text-align: center;
  }
  .about-text .lead {
    margin: 0 auto 1.8rem;
  }
}
/* ============================================================
   CONTACT FORM – FormSubmit.co specific styles
   ============================================================ */

/* Form container */
.contact-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

/* Form rows */
.contact-wrapper .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Form fields */
.contact-wrapper .form-field {
  margin-bottom: 1.2rem;
}

/* Labels */
.contact-wrapper label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B0B0B0;
  margin-bottom: 0.3rem;
}

/* Inputs, textareas, selects */
.contact-wrapper input,
.contact-wrapper textarea,
.contact-wrapper select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
}

.contact-wrapper input:focus,
.contact-wrapper textarea:focus,
.contact-wrapper select:focus {
  outline: none;
  border-color: #C9A84C;
}

.contact-wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B0B0B0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3rem;
  cursor: pointer;
}

.contact-wrapper select option {
  background: #141414;
  color: #FFFFFF;
}

.contact-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button centering */
.contact-wrapper .btn--gold {
  margin-top: 0.6rem;
}

/* Form status message */
.contact-wrapper .form-status {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  text-align: center;
}

.contact-wrapper .form-status.success {
  color: #7BC67E;
}

.contact-wrapper .form-status.error {
  color: #FF6B6B;
}

/* ============================================================
   RESPONSIVE FINE‑TUNING for contact form
   ============================================================ */

@media (max-width: 768px) {
  .contact-wrapper .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* ============================================================
   BLOG – View All Button
   ============================================================ */

.view-all-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  grid-column: 1 / -1;
}

.view-all-wrapper .btn--gold {
  min-width: 220px;
  text-align: center;
}

/* Mobile – View All button below the horizontal scroll */
@media (max-width: 768px) {
  .blog-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.5rem;
    padding: 0.5rem 0.25rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #C9A84C transparent;
    flex-wrap: nowrap;
    /* Remove margin-bottom so the button sits close */
    margin-bottom: 0;
  }

  .blog-list::-webkit-scrollbar {
    height: 4px;
  }

  .blog-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .blog-list::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 10px;
  }

  .blog-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    min-width: 280px;
  }

  .blog-card img {
    height: 160px;
  }

  .blog-card-body {
    padding: 1.2rem 1.4rem 1.6rem;
  }

  .blog-card-title {
    font-size: 1.1rem;
  }

  .blog-card-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  /* View All button – now below the blog cards, not in the scroll */
  .view-all-wrapper {
    grid-column: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0 0.5rem;
    width: 100%;
    flex-shrink: 0;
    /* Remove flex from the scroll container */
    flex: none;
  }

  .view-all-wrapper .btn--gold {
    min-width: 200px;
    white-space: nowrap;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .blog-card {
    flex: 0 0 250px;
    min-width: 250px;
  }

  .blog-card img {
    height: 140px;
  }

  .blog-card-body {
    padding: 1rem 1.2rem 1.4rem;
  }

  .blog-card-title {
    font-size: 1rem;
  }

  .view-all-wrapper .btn--gold {
    min-width: 160px;
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
  }
}