/* ================================
   RESET & BASE
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #06b6d4;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

ul {
  list-style: none;
}

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

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

/* ================================
   HEADER & NAVIGATION
   ================================ */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.logo-icon span {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s, background 0.3s;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: #eff6ff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--primary);
}

.header-cta {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: 0.3s;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 40%, var(--secondary) 100%);
  color: white;
  padding: 120px 5% 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px),
    repeating-linear-gradient(-45deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
  background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 300px 300px at 85% 15%, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 250px 250px at 10% 80%, rgba(255,255,255,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 150px 150px at 20% 20%, rgba(6,182,212,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 200px 200px at 75% 75%, rgba(6,182,212,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  flex: 1 1 400px;
  min-width: 0;
}

.hero-image {
  flex: 1 1 350px;
  max-width: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatBox {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatBoxReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-5deg); }
}

@keyframes floatBoxSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.hero-text h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  opacity: 0.9;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 15px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-value {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
}

.stat-label {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  opacity: 0.9;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: white;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.btn-whatsapp {
  background: #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.btn-email {
  background: #ea4335;
}

.btn-email:hover {
  background: #d33426;
}

/* ================================
   SECTIONS
   ================================ */
.section {
  padding: 80px 20px;
}

.section-light {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-title span {
  color: var(--primary);
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
  min-height: auto;
  padding: 60px 20px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  margin-bottom: 25px;
  opacity: 0.9;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-image {
  flex: 1 1 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-text {
  flex: 1 1 350px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ================================
   GRID LAYOUTS
   ================================ */
.grid-2col {
  grid-template-columns: repeat(2, 1fr) !important;
}

.grid-3col {
  grid-template-columns: repeat(3, 1fr) !important;
}

.grid-4col {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* ================================
   SERVICES GRID
   ================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

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

.service-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.icon-center {
  margin-left: auto;
  margin-right: auto;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ================================
   INDUSTRIES GRID
   ================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--bg-white);
  padding: 25px 15px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

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

.industry-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
}

.industry-card h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ================================
   PORTFOLIO
   ================================ */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.portfolio-overlay span {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
}

.testimonial-info h4 {
  font-size: 1rem;
  color: var(--text-dark);
}

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

/* ================================
   CONTACT PAGE
   ================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  text-align: center;
}

.contact-card .service-icon {
  margin: 0 auto 20px;
}

.contact-card-whatsapp .service-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-link-whatsapp {
  color: #25d366;
}

.contact-subtext {
  margin-top: 10px;
  color: var(--text-light);
}

.contact-address-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-heading {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-detail-group {
  margin-bottom: 20px;
}

.contact-detail-label {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-detail-text {
  color: var(--text-light);
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* ================================
   STATS CENTERED (about page)
   ================================ */
.stats-centered {
  max-width: 800px;
  margin: 0 auto;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  opacity: 0.8;
}

/* ================================
   PAGE HEADER (inner pages)
   ================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary), #1e40af 50%, var(--secondary));
  color: white;
  padding: 140px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255,255,255,0.03) 60px, rgba(255,255,255,0.03) 61px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255,255,255,0.03) 60px, rgba(255,255,255,0.03) 61px);
  background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 200px 200px at 90% 20%, rgba(255,255,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 180px 180px at 10% 80%, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* ================================
   FLOATING BOX DECORATIONS
   ================================ */
.floating-box {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
}

.floating-box-1 {
  width: 70px;
  height: 70px;
  top: 30%;
  left: 8%;
  animation: floatBox 7s ease-in-out infinite;
}

.floating-box-2 {
  width: 45px;
  height: 45px;
  top: 25%;
  right: 12%;
  animation: floatBoxReverse 5s ease-in-out infinite;
}

.floating-box-3 {
  width: 100px;
  height: 100px;
  bottom: 10%;
  right: 5%;
  animation: floatBoxSlow 9s ease-in-out infinite;
  border-color: rgba(255,255,255,0.06);
  border-radius: 16px;
}

.floating-box-4 {
  width: 35px;
  height: 35px;
  bottom: 20%;
  left: 15%;
  animation: floatBox 6s ease-in-out infinite 1s;
  background: rgba(255,255,255,0.04);
}

.floating-box-5 {
  width: 55px;
  height: 55px;
  top: 50%;
  right: 25%;
  animation: floatBoxReverse 8s ease-in-out infinite 0.5s;
  border-color: rgba(6,182,212,0.15);
}

/* ================================
   TOAST NOTIFICATION
   ================================ */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateX(150%);
  transition: transform 0.3s;
  z-index: 9999;
  max-width: 90vw;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: #10b981;
}

.toast.error {
  background: #ef4444;
}

/* ================================
   SCROLL ANIMATIONS
   ================================ */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.animate-stagger > .animate:nth-child(1) { transition-delay: 0.1s; }
.animate-stagger > .animate:nth-child(2) { transition-delay: 0.2s; }
.animate-stagger > .animate:nth-child(3) { transition-delay: 0.3s; }
.animate-stagger > .animate:nth-child(4) { transition-delay: 0.4s; }
.animate-stagger > .animate:nth-child(5) { transition-delay: 0.5s; }
.animate-stagger > .animate:nth-child(6) { transition-delay: 0.6s; }
.animate-stagger > .animate:nth-child(7) { transition-delay: 0.7s; }
.animate-stagger > .animate:nth-child(8) { transition-delay: 0.8s; }

.section-title.animate { transform: translateY(30px); }
.about-image.animate { transform: translateX(-40px); }
.about-text.animate { transform: translateX(40px); }
.portfolio-item.animate { transform: scale(0.9); }
.hero-text.animate { transform: translateX(-40px); }
.hero-image.animate { transform: translateX(40px); }

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}


/* ================================================================
   RESPONSIVE BREAKPOINTS
   All media queries grouped together for clarity
   ================================================================ */

/* ---------- max-width: 992px ---------- */
@media (max-width: 992px) {
  /* NAV */
  .header-phone {
    display: none;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-links a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  /* HERO - flexbox auto-wraps, just center when stacked */
  .hero {
    padding: 110px 5% 60px;
    min-height: auto;
  }
  .hero-text {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    margin: 0 auto;
  }

  /* ABOUT - stack */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* GRIDS */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-4col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .grid-3col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* CONTACT */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .contact-address-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-heading {
    font-size: 1.4rem;
  }

  /* FOOTER */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ---------- max-width: 768px ---------- */
@media (max-width: 768px) {
  /* NAV - hamburger menu */
  .mobile-menu-btn {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 15px;
    gap: 5px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    display: block;
    font-size: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .header-right {
    display: none;
  }
  .nav {
    padding: 12px 15px;
  }

  /* HERO */
  .hero {
    padding: 100px 20px 50px;
  }
  .hero-image {
    max-width: 380px;
  }

  /* SECTIONS */
  .section {
    padding: 50px 15px;
  }
  .section-title {
    margin-bottom: 30px;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }

  /* CTA */
  .cta-section {
    padding: 45px 15px;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .cta-section p {
    font-size: 0.95rem;
  }

  /* ABOUT */
  .about-text h3 {
    font-size: 1.4rem;
  }

  /* GRIDS */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .industry-card {
    padding: 20px 10px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .portfolio-filters {
    gap: 8px;
    margin-bottom: 25px;
  }
  .filter-btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  /* PAGE HEADER */
  .page-header {
    padding: 110px 15px 40px;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .page-header p {
    font-size: 0.95rem;
  }

  /* MAP */
  .map-container {
    min-height: 280px;
  }
  .map-container iframe {
    min-height: 280px;
  }
}

/* ---------- max-width: 576px ---------- */
@media (max-width: 576px) {
  /* GRIDS - single column */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .grid-4col,
  .grid-3col,
  .grid-2col {
    grid-template-columns: 1fr !important;
  }
  .service-card {
    padding: 25px 20px;
  }
  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .testimonial-card {
    padding: 20px;
  }

  /* FOOTER */
  .footer {
    padding: 40px 15px 20px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }
  .footer-brand h3 {
    font-size: 1.3rem;
  }
}

/* ---------- max-width: 480px ---------- */
@media (max-width: 480px) {
  /* LOGO */
  .logo-text p {
    display: none;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
  }
  .logo-text h1 {
    font-size: 1.1rem;
  }

  /* HERO */
  .hero {
    padding: 90px 15px 40px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  .hero-image {
    max-width: 100%;
  }

  /* SECTIONS */
  .section {
    padding: 40px 15px;
  }
  .section-title h2 {
    font-size: 1.5rem;
  }
  .section-title p {
    font-size: 0.9rem;
  }

  /* CTA */
  .cta-section {
    padding: 35px 15px;
  }
  .cta-section h2 {
    font-size: 1.3rem;
  }

  /* ABOUT */
  .about-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* CONTACT */
  .contact-buttons {
    flex-direction: column;
  }
  .contact-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* BUTTONS */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* PAGE HEADER */
  .page-header {
    padding: 95px 15px 35px;
  }
  .page-header h1 {
    font-size: 1.5rem;
  }
}

/* ---------- max-width: 380px ---------- */
@media (max-width: 380px) {
  .hero-text h1 {
    font-size: 1.3rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 12px 5px;
  }
  .stat-value {
    font-size: 1.1rem;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .animate {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floating-box {
    animation: none;
  }
}
