:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --secondary: #00d4aa;
  --dark: #0a0e1a;
  --dark-card: #151a2e;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #1e2847;
  --gradient: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--light);
}

.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: var(--light);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(10, 14, 26, 0.7), rgba(10, 14, 26, 0.9)), 
              url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?q=80&w=2070') center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gray);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(0, 102, 255, 0.1);
}

.social-proof {
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.social-proof p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--dark) 0%, #0d1425 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-categories {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.category {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.category:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-icon {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
  background: rgba(0, 102, 255, 0.05);
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card-tagline {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--light);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-problem {
  background: rgba(255, 59, 48, 0.1);
  border-left: 3px solid #ff3b30;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.modal-problem strong {
  color: #ff3b30;
}

.modal-outcome {
  background: rgba(0, 212, 170, 0.1);
  border-left: 3px solid var(--secondary);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.modal-outcome strong {
  color: var(--secondary);
}

/* Contact Form */
.contact-section {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  margin-top: 4rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  color: var(--light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-select option {
  background-color: var(--dark-card);
  color: var(--light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 102, 255, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Case Studies */
.case-studies {
  padding: 6rem 2rem;
  background: var(--dark);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.case-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: white;
  padding: 0.5rem;
}

.case-label {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.case-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.case-problem,
.case-solution,
.case-result {
  margin-bottom: 1.5rem;
}

.case-problem h4,
.case-solution h4,
.case-result h4 {
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.case-result p {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.1rem;
}

.case-testimonial {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--primary);
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 0.5rem;
  font-style: italic;
  color: var(--gray);
}

.case-author {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--light);
  font-style: normal;
}

/* About */
.about {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0d1425 0%, var(--dark) 100%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-mission {
  font-size: 1.3rem;
  color: var(--light);
  margin-bottom: 2rem;
  font-weight: 600;
}

.about-text {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-page {
  padding: 6rem 2rem;
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.5rem;
  color: var(--primary);
  min-width: 40px;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--gray);
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  color: var(--gray);
  line-height: 1.8;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gray);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  font-size: 1.5rem;
  color: var(--gray);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.form-status {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: none;
}

.form-status.success {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  display: block;
}

.form-status.error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid #ff3b30;
  color: #ff3b30;
  display: block;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0 10px 15px rgba(0,0,0,0.3);
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  left: 40px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--primary);
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  font-size: 24px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Accessibility Focus State */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Selection color matches theme */
::selection {
  background: var(--primary);
  color: white;
}

/* Validation styles */
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #ef4444 !important;
  background-color: #fef2f2;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
  font-weight: 500;
}

.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-status.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
  display: block;
}

.form-status.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
  display: block;
}

.form-status.info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #3b82f6;
  display: block;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--light);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.mobile-menu-close:hover {
  color: var(--primary);
}

/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */

/* Mobile: Small screens (up to 640px) */
@media (max-width: 640px) {
  /* Reduce overall padding to prevent squeeze */
  .services,
  .case-studies,
  .about,
  .contact-page {
    padding: 3rem 1rem;
  }

  /* Section headers - better breathing room */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Hero adjustments */
  .hero {
    padding: 100px 1.25rem 3rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Buttons - more comfortable sizing */
  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }

  /* Service categories - reduce padding */
  .category {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .category-icon {
    font-size: 2rem;
  }

  .category-title {
    font-size: 1.4rem;
  }

  /* Service cards - single column with better spacing */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card-icon {
    font-size: 1.75rem;
  }

  .service-card-title {
    font-size: 1.05rem;
  }

  .service-card-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Case studies - single column */
  .case-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-card {
    padding: 1.5rem;
  }

  .case-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .case-logo {
    width: 70px;
    height: 70px;
  }

  /* Forms - better readability */
  .contact-section {
    padding: 2rem 1.25rem;
    border-radius: 1rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.875rem;
    font-size: 1rem;
    border-radius: 0.5rem;
  }

  .form-label {
    font-size: 0.875rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  /* Modal adjustments */
  .modal {
    padding: 1rem;
  }

  .modal-content {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-icon {
    font-size: 2.5rem;
  }

  /* About section */
  .about-mission {
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .about-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-values {
    gap: 1.5rem;
  }

  .value-card {
    padding: 1.5rem;
  }

  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-item {
    gap: 0.875rem;
  }

  .contact-item h3 {
    font-size: 1rem;
  }

  /* Footer improvements */
  .footer {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
  }

  .footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Navigation header */
  .nav-container {
    padding: 0 1.25rem;
    height: 70px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  /* Mobile menu */
  .mobile-menu-close {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-card);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
    gap: 1.5rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .hamburger {
    display: block;
  }

  /* Floating buttons */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }

  #scrollTopBtn {
    width: 44px;
    height: 44px;
    bottom: 20px;
    left: 20px;
    font-size: 20px;
    padding: 8px;
  }
}

/* Tablet: Medium screens (641px to 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .services,
  .case-studies,
  .about,
  .contact-page {
    padding: 4rem 1.5rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding: 110px 1.5rem 3.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 360px;
    height: 100vh;
    background: var(--dark-card);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu-close {
    display: block;
  }

  .contact-section {
    padding: 2.5rem 2rem;
  }

  .category {
    padding: 1.75rem;
  }
}

/* Larger mobile landscape / small tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .services,
  .case-studies,
  .about,
  .contact-page {
    padding: 5rem 2rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}