/* V2 Spacekit Aesthetic - Unified Inter Typography & Pill Shapes */

:root {
  --primary-accent: #A91468;
  --secondary-accent: #D98BB5;
  
  --bg-color-light: #ffffff;
  --bg-surface-light: #f7f7f7;
  --text-main-light: #111111;
  --text-muted-light: #555555;
  --border-color-light: rgba(0,0,0,0.06);

  --bg-color-dark: #121212;
  --bg-surface-dark: #1e1e1e;
  --text-main-dark: #ffffff;
  --text-muted-dark: #aaaaaa;
  --border-color-dark: rgba(255,255,255,0.1);

  /* Fallback */
  --bg-color: var(--bg-color-light);
  --bg-surface: var(--bg-surface-light);
  --text-main: var(--text-main-light);
  --text-muted: var(--text-muted-light);
  --border-color: var(--border-color-light);

  color-scheme: light dark;

  --font-family: 'Inter', sans-serif;
  --section-padding: 8rem 5%;
  --transition-speed: 0.4s;
  --radius-pill: 500px;
  --radius-card: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: var(--bg-color-dark);
    --bg-surface: var(--bg-surface-dark);
    --text-main: var(--text-main-dark);
    --text-muted: var(--text-muted-dark);
    --border-color: var(--border-color-dark);
  }
}

/* light-dark support */
@supports (color: light-dark(white, black)) {
  :root {
    --bg-color: light-dark(var(--bg-color-light), var(--bg-color-dark));
    --bg-surface: light-dark(var(--bg-surface-light), var(--bg-surface-dark));
    --text-main: light-dark(var(--text-main-light), var(--text-main-dark));
    --text-muted: light-dark(var(--text-muted-light), var(--text-muted-dark));
    --border-color: light-dark(var(--border-color-light), var(--border-color-dark));
  }
}

html.dark-theme {
  --bg-color: var(--bg-color-dark);
  --bg-surface: var(--bg-surface-dark);
  --text-main: var(--text-main-dark);
  --text-muted: var(--text-muted-dark);
  --border-color: var(--border-color-dark);
  color-scheme: dark;
}

html.light-theme {
  --bg-color: var(--bg-color-light);
  --bg-surface: var(--bg-surface-light);
  --text-main: var(--text-main-light);
  --text-muted: var(--text-muted-light);
  --border-color: var(--border-color-light);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.section-padding { padding: var(--section-padding); }
.bg-surface { background-color: var(--bg-surface); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.heading-display {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.heading-large {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 600px;
}
.section-header .subtitle {
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: light-dark(rgba(255, 255, 255, 0.95), rgba(30, 30, 30, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem max(5%, calc(50% - 600px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo a {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-speed);
}

.main-nav a:hover {
  color: var(--text-main);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle .hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Pill Buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-arrow {
  transition: transform var(--transition-speed) ease;
}

.pill-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.pill-btn.primary {
  background-color: var(--text-main);
  color: var(--bg-color);
}
.pill-btn.primary:hover {
  background-color: var(--text-muted);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pill-btn.secondary {
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.pill-btn.secondary:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.pill-btn.small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}
.pill-btn.outline {
  border-color: var(--border-color);
  background: transparent;
  color: var(--text-main);
}
.pill-btn.outline:hover {
  border-color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 4rem;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text-block {
  max-width: 600px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-kicker-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-block;
}

.hero-kicker-icon .circle-1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--secondary-accent);
}

.hero-kicker-icon .circle-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-accent);
}

.hero h1 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem); /* Minimized font size */
}

.hero-subtext {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-link {
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.hero-link:hover {
  color: var(--text-main);
}

/* Hero Image Grid */
.hero-image-grid {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.hero-grid-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-grid-col.left-col {
  flex: 1.2;
  justify-content: flex-end;
}

.hero-grid-col.right-col {
  flex: 1;
}

.hero-grid-img {
  width: 100%;
  object-fit: cover;
  border-radius: 40px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.large-img {
  height: 360px;
}

.small-img {
  height: 170px;
}

/* Right col images offset adjustment to match the requested design */
.hero-grid-col.right-col .top-img {
  transform: translateY(-20px);
}
.hero-grid-col.right-col .bottom-img {
  transform: translateY(-20px);
}

.hero-badge {
  position: absolute;
  left: -40px;
  bottom: 80px;
  width: 100px;
  height: 100px;
  animation: spin 15s linear infinite;
  z-index: 3;
}

.hero-badge .badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 15s linear infinite reverse;
}

.hero-sparkle {
  position: absolute;
  z-index: 3;
}

.primary-sparkle {
  right: -20px;
  bottom: 30px;
  animation: pulse 2s ease-in-out infinite;
}

.secondary-sparkle {
  right: 30px;
  bottom: -10px;
  animation: pulse 2s ease-in-out infinite 1s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Background Dots */
.hero-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--text-muted) 2px, transparent 2px);
  background-size: 24px 24px;
  opacity: 0.15;
  z-index: 1;
}

.top-dots {
  top: 50px;
  left: 45%;
}

.bottom-dots {
  bottom: 20px;
  left: 20%;
}

/* Page Hero (For inner pages like products.html) */
.page-hero {
  padding-top: 150px;
  padding-bottom: 4rem;
}

/* Marquee */
.trust-banner {
  padding: 2rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  gap: 1rem;
}

.marquee-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.marquee-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Our Services Section */
.dark-section {
  background-color: var(--text-main);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dark-section-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 10px);
  z-index: 1;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.services-title-wrap {
  max-width: 600px;
}

.light-btn {
  background: var(--bg-surface);
  color: var(--text-main);
  border: none;
}
.light-btn:hover {
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.services-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dark-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.highlight-card {
  background: var(--primary-accent);
}

.service-img-top img, .service-img-bottom img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 4px);
  margin: 4px;
  width: calc(100% - 8px);
}

.service-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.text-link {
  margin-top: auto;
  color: var(--primary-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.text-link.highlight-link {
  color: var(--text-main);
}
.text-link:hover .btn-arrow {
  transform: translateX(4px);
}

/* Why Choose Us Section */
.bg-color {
  background-color: var(--bg-color);
}

.kicker-center {
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  text-align: left;
}

.why-choose-images {
  position: relative;
  height: 380px;
}

.why-choose-images img {
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 65%;
  z-index: 2;
}
.img-top-left img { width: 100%; height: 100%; }

.img-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 60%;
  z-index: 3;
}
.img-bottom-right img { width: 100%; height: 100%; }

.shape-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45%;
  height: 40%;
  z-index: 1;
}

.why-choose-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--text-main);
  border-radius: var(--radius-card);
  padding: 2rem;
  color: #fff;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--primary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
}

.feature-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mt-5 {
  margin-top: 4rem;
}

/* Portfolio Grid */
.portfolio-section {
  padding: var(--section-padding);
  background: var(--bg-color); /* Same as Why Choose Us */
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-item {
  width: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  padding: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}

.image-mask.rounded {
  border-radius: calc(var(--radius-card) - 8px);
  overflow: hidden;
  background: var(--bg-surface);
}

.portfolio-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.item-meta {
  margin-top: 1.5rem;
  padding: 0 0.5rem 0.5rem 0.5rem;
}

.item-meta h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.item-meta span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}

/* Product Carousel */
.product-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius-card) - 8px);
  overflow: hidden;
  background: var(--bg-surface);
}

.carousel-images {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

.carousel-images::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.carousel-images img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .carousel-images img {
  transform: scale(1.05);
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 1; /* Made clearly available by default */
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* We don't need the hover reveal anymore since they are always visible, but we can make them slightly more prominent when the whole card is hovered if we wanted to. I'll just remove the hover rule. */

.carousel-prev:hover, .carousel-next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Pagination Dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0.5rem 0.5rem 0.5rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.product-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: #25D366; /* WhatsApp Green */
  transition: all 0.3s ease;
}

.product-card:hover .product-action {
  background: #25D366;
  color: #fff;
  transform: scale(1.05);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  padding: 12px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.team-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius-card) - 8px);
  overflow: hidden;
  background: var(--bg-surface);
}

.team-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  background: var(--text-main);
  border-color: var(--text-main);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-card:hover .team-image-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem 0.5rem 0.5rem 0.5rem;
}

.team-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
  transition: color 0.4s ease;
}

.team-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.4s ease;
}

.team-card:hover .team-info h4 {
  color: #fff;
}

.team-card:hover .team-info span {
  color: rgba(255,255,255,0.7);
}

.team-social-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--primary-accent);
  border-radius: var(--radius-pill);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0.75rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-social-pill {
  opacity: 1;
  transform: translateX(0);
}

.team-social-pill a {
  color: #fff;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-social-pill a:hover {
  transform: scale(1.2);
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}
.process-step:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-card {
  padding: 4rem;
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text-main);
}

/* Footer */
/* Testimonials Section */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.testimonials-header-left {
  flex: 1;
}

.testimonials-header-right {
  flex: 1;
  max-width: 400px;
}

.btn-dark {
  display: inline-block;
  background: var(--text-main);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.btn-dark:hover {
  opacity: 0.9;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 2rem;
}

.testim-summary-card {
  background: var(--text-main);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testim-summary-card .rating-large {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testim-summary-card .stars {
  color: var(--primary-accent);
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.testim-summary-card .reviews-count {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.testim-summary-card .summary-text {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 200px;
}

.avatar-stack {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-stack img, .avatar-more {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--text-main);
  object-fit: cover;
  margin-left: -10px;
}
.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-more {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.testim-review-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 3rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.review-top .stars-bright {
  color: var(--primary-accent);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.review-top .rating-number {
  font-weight: 600;
  font-size: 1.1rem;
}

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

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.review-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.reviewer-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.reviewer-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.review-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.nav-btn.prev-btn {
  background: var(--primary-accent);
  color: #fff;
}

.nav-btn.prev-btn:hover {
  opacity: 0.9;
}

.nav-btn.next-btn {
  background: var(--text-main);
  color: #fff;
}

.nav-btn.next-btn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 4rem 5%;
  background: #111111;
  border-top: none;
  color: #fff;
}

.site-footer .logo img {
  filter: brightness(0) invert(1) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-accent);
}

/* Mobile Adjustments */
@media screen and (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-card.large, .bento-card.medium, .bento-card.wide {
    grid-column: span 1;
    grid-row: auto;
  }
  .bento-card.wide {
    flex-direction: column;
  }
  .bento-card.wide .bento-image-wrap {
    width: 100%;
    padding-bottom: 0;
  }
  .bento-card.wide .bento-content {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .sticky-container {
    flex-direction: column;
    gap: 3rem;
  }
  .sticky-text-wrapper {
    width: 100%;
    position: relative;
    top: 0;
  }
  .sticky-images-wrapper {
    width: 100%;
  }
  
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text-block {
    margin: 0 auto;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badge {
    left: -10px;
    bottom: -20px;
    transform: scale(0.8);
  }
  
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .services-cards-wrapper {
    grid-template-columns: 1fr;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-images {
    height: 350px;
  }
  
  .why-choose-features {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    margin-top: 1rem;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =========================================
   Theme Toggle Button
========================================= */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background var(--transition-speed);
}

.theme-toggle:hover {
  background: var(--border-color);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

html.dark-theme .moon-icon { display: none; }
html.light-theme .sun-icon { display: none; }

@media (prefers-color-scheme: dark) {
  html:not(.light-theme) .moon-icon { display: none; }
}
@media (prefers-color-scheme: light) {
  html:not(.dark-theme) .sun-icon { display: none; }
}

/* =========================================
   Custom Cursor
========================================= */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  
  a, button, .portfolio-item, .product-card, .mobile-menu-toggle, .theme-toggle {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-accent);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border 0.3s;
    will-change: transform;
    border: 2px solid transparent;
  }

  .custom-cursor.cursor-hover {
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 2px solid var(--primary-accent);
  }
}
