/* ================ MODERN 2025 DESIGN SYSTEM ================ */
:root {
  /* Premium Color Palette */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  
  /* Neutral Colors */
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  
  /* Typography */
  --font-primary: 'Inter', 'Poppins', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* ================ BASE STYLES ================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: var(--font-primary);
  color: var(--light);
  background-color: var(--dark);
  scroll-behavior: smooth;
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================ BACKGROUND VIDEO ================ */
.background-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

#background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7) contrast(1.2);
}

/* ================ MODERN HEADER & NAVIGATION ================ */
header {
  background: rgba(15, 23, 42, 0.8);
  padding: var(--space-sm) var(--space-lg);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: var(--space-xs) 0;
  letter-spacing: 0.025em;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

nav a:hover::before,
nav a.active::before {
  width: 100%;
}

nav a.active,
nav a:hover {
  color: var(--primary-light);
  transform: translateY(-1px);
}

/* ================ MODERN HERO SECTION ================ */
.hero {
  padding: 12rem var(--space-lg) 6rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin: var(--space-lg) 0;
  color: var(--gray-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-img img {
  max-width: 100%;
  width: 320px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
}

.hero-img img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.4);
}

/* ================ MODERN BUTTONS ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(99, 102, 241, 0.5);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.4);
}

/* ================ MODERN SECTIONS ================ */
.about {
  padding: var(--space-2xl) var(--space-lg);
  background: rgba(15, 23, 42, 0.6);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  pointer-events: none;
}

.services-preview {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
}

.portfolio-preview,
.contact-cta {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================ MODERN TWO COLUMN LAYOUT ================ */
.two-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.two-column .text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.two-column .text p {
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  color: var(--gray-light);
  font-size: 1.1rem;
}

.two-column .image img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
}

.two-column .image img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), 0 0 25px rgba(99, 102, 241, 0.3);
}

/* ================ MODERN CARDS ================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--glass-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--light);
  font-weight: 600;
}

.card p {
  color: var(--gray-light);
  line-height: 1.6;
}

/* ================ MODERN SERVICES STYLES ================ */
.services-hero {
  padding: 12rem var(--space-lg) 6rem;
  text-align: center;
  background: var(--gradient-secondary);
  position: relative;
}

.services-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--light);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.services-hero .subheading {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--gray-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-details {
  padding: var(--space-2xl) var(--space-lg);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto var(--space-2xl);
}

.service-card {
  background: var(--glass-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--light);
  font-weight: 600;
  position: relative;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.service-desc {
  color: var(--gray-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
  font-size: 0.95rem;
}

.service-card ul {
  list-style: none;
  margin-top: var(--space-md);
}

.service-card li {
  padding: var(--space-xs) 0;
  color: var(--gray-light);
  position: relative;
  padding-left: var(--space-lg);
}

.service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.cta-section {
  text-align: center;
  padding: var(--space-xl);
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  margin-top: var(--space-2xl);
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--gray-light);
}

/* ================ MODERN PORTFOLIO STYLES ================ */
.portfolio-hero {
  padding: 12rem var(--space-lg) 6rem;
  text-align: center;
  background: var(--gradient-secondary);
}

.portfolio-grid {
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  gap: var(--space-xl);
}

.portfolio-item {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.2);
}

/* --- Refined GIF display for portfolio --- */
.portfolio-media {
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  padding: 1rem;
  overflow-x: auto;
}

.portfolio-media img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.portfolio-content {
  padding: var(--space-xl);
}

.client-logo {
  height: 60px;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.portfolio-services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.service-tag {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.testimonial {
  font-style: italic;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary);
  margin-top: var(--space-md);
  color: var(--gray-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ================ MODERN CLIENT SHOWCASE ================ */
.client-showcase {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background: rgba(15, 23, 42, 0.6);
  position: relative;
}

.client-showcase h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.showcase-subtitle {
  color: var(--gray-light);
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.client-logos img {
  height: 60px;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.7;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logos img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

/* ================ MODERN CONTACT STYLES ================ */
.contact-hero {
  padding: 12rem var(--space-lg) 6rem;
  text-align: center;
  background: var(--gradient-secondary);
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--light);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.contact-section {
  padding: var(--space-2xl) var(--space-lg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  padding: var(--space-xl);
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  color: var(--light);
  font-weight: 600;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method {
  padding: var(--space-lg);
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-method h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--light);
}

.contact-method a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method a:hover {
  color: var(--primary);
}

/* ================ MODERN FORM STYLES ================ */
form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

label {
  font-weight: 500;
  color: var(--light);
  font-size: 0.9rem;
  letter-spacing: 0.025em;
}

input,
textarea {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--light);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.required {
  color: var(--accent);
}

.hidden {
  display: none;
}

/* ================ MODERN FOOTER ================ */
footer {
  padding: var(--space-xl) var(--space-lg);
  background: rgba(15, 23, 42, 0.9);
  text-align: center;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand img {
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-brand img:hover {
  transform: scale(1.05);
}

.footer-copyright {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ================ RESPONSIVE DESIGN ================ */
@media (min-width: 768px) {
  .hero {
    padding: 12rem var(--space-lg) 6rem;
  }
  
  .hero-grid {
    flex-direction: row;
    text-align: left;
    gap: var(--space-2xl);
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-text p {
    text-align: left;
  }
  
  .two-column {
    flex-direction: row;
    align-items: center;
  }
  
  .two-column .text,
  .two-column .image {
    flex: 1;
  }
  
  .two-column:nth-child(even) .image {
    order: -1;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-item {
    grid-column: span 2;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    flex-direction: row;
  }
  
  .footer-brand {
    flex-direction: row;
  }
  
  .footer-copyright {
    text-align: right;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: row !important;
    gap: 0.1rem !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    width: 100vw !important;
    margin: 0 !important;
  }
  nav a {
    display: inline-block !important;
    padding: 0.1rem 0.2rem !important;
    font-size: 0.7rem !important;
    min-width: 45px !important;
    max-width: 22vw !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }
  
  .hero {
    padding: 10rem var(--space-md) 4rem;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
  }
  
  .service-card {
    padding: var(--space-lg);
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
  
  .contact-method {
    padding: var(--space-md);
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-copyright {
    text-align: center;
  }
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
    padding: var(--space-md) !important;
  }
  .portfolio-media {
    padding: 0.5rem !important;
    min-height: 0 !important;
    height: auto !important;
    max-width: 100vw;
    overflow-x: auto;
  }
  .portfolio-media img,
  .portfolio-media video {
    max-width: 100vw !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-md);
  }
  .cards {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
    padding: 0 !important;
  }
  .service-cards {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
  }
  .two-column {
    flex-direction: column !important;
    gap: var(--space-md);
    padding: 0 !important;
  }
  .hero-grid {
    flex-direction: column !important;
    gap: var(--space-md);
    padding: 0 !important;
  }
  .hero-text h1 {
    font-size: 2rem !important;
  }
  .hero-text p {
    font-size: 1rem !important;
  }
  .service-card h3 {
    font-size: 1.1rem !important;
  }
  .testimonial {
    padding: var(--space-md) !important;
    font-size: 0.95rem !important;
  }
  .footer-content {
    flex-direction: column !important;
    gap: var(--space-md) !important;
    align-items: flex-start !important;
  }
  .footer-brand img {
    height: 32px !important;
  }
  .client-logos {
    gap: var(--space-md) !important;
  }
  .client-logos img {
    height: 32px !important;
  }
  .contact-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-md) !important;
    padding: 0 !important;
  }
  .contact-info, .contact-form {
    width: 100% !important;
    padding: var(--space-md) !important;
    box-sizing: border-box !important;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 1rem !important;
    padding: var(--space-md) !important;
  }
  .contact-form button,
  .btn-submit {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: var(--space-md) !important;
  }
  .contact-method {
    padding: var(--space-md) !important;
    font-size: 1rem !important;
  }
  .contact-hero {
    padding: 8rem var(--space-md) 2rem !important;
  }
  .contact-hero h1 {
    font-size: 1.5rem !important;
  }
}
