/* Clu Media site styles */
:root {
  --clu-blue: #1e90ff;
  --clu-dark: #2b2b2b;
  --clu-black: #0f0f0f;
  --clu-light: #f5f5f5;
  --clu-white: #ffffff;

  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);

  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--clu-white);
  color: var(--clu-dark);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.8s ease;
}
body.loaded {
  opacity: 1;
}
body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--clu-blue);
  color: var(--clu-white);
  padding: 0.5rem 1rem;
  z-index: 999;
  border-radius: 0.25rem;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1100px, 100% - 2.5rem);
  margin: 0 auto;
}

/* PAGE TRANSITION */
.page-transition {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #007aff 0%, #0d0d0d 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 99999;
}
.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(12px);
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  transform: translateY(-100%); /* Start hidden above the viewport */
  opacity: 0;
  visibility: hidden;
}

.site-header.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-header.scrolled {
  background: rgba(15, 15, 15, 0.95);
  color: #fff;
}
.nav-open .site-header {
  background: #05060a;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon {
  position: relative;
  width: 36px;
  height: 36px;
  background: var(--clu-blue);
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.35);
}

.logo-lens {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}

.logo-c {
  position: relative;
  font-weight: 700;
  color: #fff;
  font-size: 0.8rem;
}

.main-nav ul {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  padding: 0.35rem 0.4rem;
  font-weight: 500;
  position: relative;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.1rem;
  width: 100%;
  height: 3px;
  background: var(--clu-blue);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--clu-blue);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 24px rgba(30, 144, 255, 0.35);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(30, 144, 255, 0.25);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: none;
}
.btn-small {
  padding: 0.45rem 1.15rem;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 32px;
  background: transparent;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: currentColor;
  border-radius: 10px;
}

/* Import Grift font */
@import url('resources/fonts/fonts.css');

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem 6rem; /* Removed header height padding since header is fixed */
  background: #000;
  color: #fff;
  margin-top: 0;
}

.hero-video {
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Changed from -1 to 0 to ensure video is above the default background */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 122, 255, 100);
  z-index: 1;
  mix-blend-mode: multiply;
}

.hero-text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0;
  padding: 0;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-text-container h1 {
  color: white;
  font-family: 'Grift', sans-serif;
  font-size: 9vw;
  font-weight: 900; /* Using Black weight */
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 0.8;
  text-align: center;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: none;
  display: inline-block;
  text-align: left;
}

.hero-text-container h1 br {
  display: block;
  content: '';
  margin-top: 0.2em;
}
body:not(.logo-shrink) .moving-logo {
  transition-delay: 0s;
}

.scroll-down {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.15s ease;
}
.scroll-down:hover {
  transform: translateX(-50%) translateY(3px);
}

/* sections */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: var(--clu-light);
}
.section-head {
  margin-bottom: 2.3rem;
}
.section-head h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.section-head p {
  color: rgba(43, 43, 43, 0.7);
  max-width: 34rem;
}
.grid {
  display: grid;
  gap: 1.8rem;
}

/* services */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 15, 15, 0.03);
  transition: transform 0.1s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* work */
.work-grid {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.work-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.work-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.9;
}

.work-card:hover .work-thumb img {
  transform: scale(1.05);
  opacity: 1;
}

.work-card:hover .work-thumb .play-button::before {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.play-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.play-button::before {
  content: '';
  width: 60px;
  height: 60px;
  background: rgba(30, 144, 255, 0.9);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.play-button::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  transition: all 0.3s ease;
}

.work-card:hover .play-button::after {
  transform: translate(-40%, -50%) scale(1.1);
}

.work-body {
  padding: 1.4rem 1.4rem 1.3rem;
}
.inline-link {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  color: var(--clu-blue);
  font-weight: 500;
}

/* about */
.about-split {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 2.5rem;
  align-items: start;
}
.about-panel {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid rgba(0, 0, 0, 0.018);
  box-shadow: var(--shadow-sm);
}
.about-panel ul {
  display: grid;
  gap: 0.7rem;
}

/* blog */
.blog-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-listing .blog-grid,
.blog-listing-page .blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.blog-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  position: relative;
  height: 200px;
  background-color: #f0f0f0;
  overflow: hidden;
}

.blog-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
}

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

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* standalone blog pages */
.blog-page {
  background-color: #f5f5f5;
  color: #333;
}

.blog-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  transform: none;
  opacity: 1;
  visibility: visible;
  background: rgba(15, 15, 15, 0.95);
  z-index: 1000;
}

.blog-page .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-page .main-nav ul {
  gap: 1.5rem;
}

.blog-page .main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.blog-page .main-nav a.active {
  color: var(--clu-blue);
}

.blog-page .logo-text {
  color: #fff;
}

.blog-listing-page main {
  padding-top: calc(var(--header-h) + 2rem);
}

/* contact */
.contact-section {
  background: linear-gradient(145deg, #0f0f0f 0%, #1e90ff 140%);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2.5rem;
  align-items: flex-start;
}
.contact-form {
  background: rgba(245, 245, 245, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem 1.3rem;
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 15, 15, 0.3);
  border-radius: 0.5rem;
  padding: 0.6rem 0.6rem;
  color: #fff;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 1px;
}
.contact-form .btn {
  justify-content: center;
}

/* footer */
.site-footer {
  padding: 2.5rem 0 1.1rem;
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.5fr 0.5fr;
  gap: 2rem;
  margin-bottom: 1.8rem;
}
.footer-heading {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

/* video modal */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.video-modal.open {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}
.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.video-content {
  position: relative;
  width: min(960px, 90%);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  animation: slideUp 0.4s ease forwards;
}
.video-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}
.video-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
#video-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* portfolio page */
.section-tight {
  padding: 1.75rem 0 0.5rem;
}
.portfolio-filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.pf-btn {
  background: rgba(15, 15, 15, 0.03);
  border: 1px solid rgba(15, 15, 15, 0.05);
  border-radius: 999px;
  padding: 0.4rem 1.1rem 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pf-btn:hover {
  background: rgba(30, 144, 255, 0.08);
}
.pf-btn.active {
  background: #1e90ff;
  border-color: #1e90ff;
  color: #fff;
}

.film-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.film-card {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(15, 15, 15, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.film-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}
.film-thumb {
  position: relative;
  height: 180px;
  background: linear-gradient(140deg, #1e90ff 0%, #0f69c2 85%);
  cursor: pointer;
  transition: transform 0.35s ease;
}
.film-card:hover .film-thumb {
  transform: scale(1.03);
}
.film-thumb-alt {
  background: linear-gradient(140deg, #ff5f6d 0%, #1e90ff 95%);
}
.film-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 15, 15, 0.85);
  color: #fff;
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.film-play {
  position: absolute;
  bottom: 0.8rem;
  right: 0.9rem;
  background: rgba(245, 245, 245, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  pointer-events: none;
}
.film-body {
  padding: 1.3rem 1.1rem 1.1rem;
}
.film-body h2 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.35rem;
}
.film-body p {
  color: rgba(15, 15, 15, 0.6);
  font-size: 0.9rem;
}
.hero-portfolio {
  min-height: 55vh;
}

/* reveals */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* parallax */
.parallax-item {
  will-change: transform;
  transition: transform 0.2s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .parallax-item {
    transition: none;
    transform: none !important;
  }
}

/* animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-split {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    background: #05060a;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: calc(var(--header-h) + 1rem) 2rem 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    z-index: 999;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.1rem;
  }
  .main-nav a {
    color: #fff;
    font-size: 1.2rem;
    display: block;
    width: 100%;
    padding: 0.35rem 0;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-portfolio {
    min-height: 70vh;
  }
  .hero-video {
    background: transparent;
  }
  .hero-video .hero-bg {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    inset: 0;
    padding: calc(var(--header-h) + 0.75rem) 1.5rem 2rem;
  }
}

/* Cursor styles removed - using default browser cursor */

/* Brands Carousel */
.brands-section {
  padding: 4rem 0;
  background: #f9f9f9;
  overflow: hidden;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
  color: var(--clu-dark);
  position: relative;
  z-index: 2;
}

.brands-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
}

.brands-track {
  display: flex;
  gap: 3rem;
  padding: 1rem 0;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.brand-item {
  flex: 0 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-item:hover {
  opacity: 1;
  transform: scale(1.1);
}

.brand-item img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.5);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%) contrast(1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 5));
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 6rem;
  line-height: 1;
  color: rgba(30, 144, 255, 0.05);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.1);
}

.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.author-info h4 {
  margin: 0;
  color: var(--clu-dark);
  font-weight: 600;
  font-size: 1.05rem;
}

.author-info p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #777;
  font-style: normal;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .brands-track {
    gap: 2rem;
  }
  
  .brand-item {
    padding: 0 1.5rem;
  }
  
  .brand-item img {
    height: 35px;
  }
}

@media (max-width: 768px) {
  .brands-section {
    padding: 3rem 0;
  }
  
  .brands-track {
    animation-duration: 20s;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .brand-item {
    padding: 0 1rem;
  }
  
  .brand-item img {
    height: 30px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Statistics Section */
.stats-section {
  background: #0f0f0f;
  color: #fff;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(15, 15, 15, 0.95) 100%);
  z-index: -1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 144, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clu-blue);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* Service Cards */
.service-card {
    background: var(--clu-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    color: var(--clu-black);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--clu-dark);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-service-example {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--clu-blue);
    color: var(--clu-blue) !important; /* Force blue text */
    background: white !important; /* Force white background */
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block !important; /* Ensure it's visible */
    position: static !important; /* Reset any positioning */
    z-index: 1 !important; /* Ensure it's above other elements */
}

.btn-service-example:hover {
    background: var(--clu-blue) !important;
    color: white !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.modal-content {
    background: var(--clu-white);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--clu-dark);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--clu-blue);
}

.modal-body {
    padding: 1rem 0;
}

.modal-body h3 {
    margin-top: 0;
    color: var(--clu-black);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.modal-media {
    margin: 2rem 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f5f5f5;
}

.modal-media iframe,
.modal-media img {
    width: 100%;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: auto;
    }
}

.blog-card h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.blog-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

/* Blog Post */
.blog-post-container {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4rem;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--clu-blue);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
}

.post-meta .read-time {
    margin-left: 1rem;
    display: inline-block;
}

.post-content {
    line-height: 1.7;
}

.post-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-listing .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
}
