/* ============================================
   FRESHBOX TECHNOLOGIES - PROFESSIONAL STYLING
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1a2e5c;
  --accent: #0ea5e9;
  --background: #ffffff;
  --surface: #f8fafc;
  --surface-dark: #1a202c;
  --text-primary: #1a202c;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #334155;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --gradient-dark: linear-gradient(135deg, #1a202c 0%, #334155 100%);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

main { padding-top: 120px; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
  main { padding-top: 80px; }
}

@media (max-width: 576px) {
  main { padding-top: 70px; }
  .container { padding: 0 var(--spacing-md); }
}

/* Responsive Typography & Spacing */
h1 { 
  font-size: clamp(1.75rem, 8vw, 3.5rem);
  line-height: 1.2;
}

h2 { 
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  line-height: 1.3;
}

h3 { 
  font-size: clamp(1rem, 4vw, 1.5rem);
}

p { 
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: var(--spacing-md); 
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(26, 32, 44, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
  box-shadow: none;
  width: 100%;
  overflow: visible;
}

nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  width: 100%;
  overflow: visible;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
  min-width: 50px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.nav-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  flex-shrink: 0;
  display: inline-block;
}

.hero-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  max-width: 100%;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--spacing-md);
  max-width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
  margin: 0;
}

.nav-links a {
  color: #e0e7ff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  text-decoration: none;
  border: none;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: white;
  background: rgba(59, 130, 246, 0.2);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: calc(100% - 24px);
}

.nav-links a.active {
  color: white;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
  text-decoration: none;
}

.cta-btn {
  background: var(--gradient-primary);
  color: white !important;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.menu-toggle:hover {
  transform: rotate(90deg) scale(1.1);
  color: var(--primary-light);
}

/* Hamburger animation */
.menu-toggle i {
  transition: all 0.3s ease;
  display: block;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 0.75rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary::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 ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .btn-primary, .btn-secondary, .btn {
    padding: 0.75rem 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    min-height: 48px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-dark);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 32, 44, 0.5);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  animation: fadeInLeft 0.8s ease 0.2s forwards;
  opacity: 0;
}

.gradient {
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  animation: fadeInLeft 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  animation: fadeInLeft 0.8s ease 0.4s forwards;
  opacity: 0;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.floating-card {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Professional tech animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shine {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card { 
  text-align: center;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: var(--spacing-sm);
  animation: scaleIn 0.6s ease forwards;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInDown 0.6s ease forwards;
}

.badge, .section-label {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: scaleIn 0.5s ease forwards;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  animation: fadeInDown 0.6s ease 0.2s forwards;
  opacity: 0;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-dark {
  background: var(--surface-dark);
  border-color: var(--border-dark);
  color: white;
}

.card-dark:hover { border-color: var(--primary); }

/* Grids */
.services-grid,
.industries-grid,
.about-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card,
.industry-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.service-card:nth-child(1),
.industry-item:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2),
.industry-item:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3),
.industry-item:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4),
.industry-item:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5),
.industry-item:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6),
.industry-item:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover,
.industry-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.service-icon,
.industry-icon,
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.service-title,
.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.service-desc,
.feature-desc {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card:hover .service-link { gap: var(--spacing-sm); }

.industry-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--spacing-md);
}

/* About Section */
.about {
  padding: var(--spacing-2xl) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
  margin-bottom: var(--spacing-2xl);
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-cards {
  display: grid;
  gap: var(--spacing-lg);
}

.about-cards .card {
  text-align: center;
  padding: var(--spacing-lg);
}

.about-cards .card h3 {
  margin: var(--spacing-md) 0 var(--spacing-sm);
}

.core-values {
  background: var(--surface);
  padding: var(--spacing-2xl);
  border-radius: 1rem;
}

.core-values h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.value {
  background: white;
  padding: var(--spacing-md);
  border-radius: 0.75rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

/* Forms */
.form-group { margin-bottom: var(--spacing-md); }
.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--text-primary);
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--background);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

@media (max-width: 576px) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.6rem 0.75rem;
    font-size: 16px;
  }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.contact-form {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.info-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 1rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.info-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  animation: pulse 2s ease-in-out infinite;
}

.info-card h3 { margin-bottom: var(--spacing-sm); }
.info-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Footer */
footer {
  background: var(--surface-dark);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  border-top: 1px solid var(--border-dark);
  margin-top: var(--spacing-2xl);
}

footer a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

footer a:hover { color: white; }

.footer-logo {
  max-width: 150px;
  margin-bottom: var(--spacing-md);
}

.footer-section h5 {
  color: white;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: var(--spacing-sm); }
.footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--primary); }

@media (max-width: 768px) {
  footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: var(--spacing-lg);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-section h5 {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }
}

/* Responsive - Tablet (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  main { padding-top: 100px; }
  .container { padding: 0 var(--spacing-md); }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
  .section-title { font-size: 2rem; }
  .hero { padding-top: 80px; }
  .hero-content { gap: var(--spacing-lg); padding: 0 var(--spacing-md); }
  .services-grid, .industries-grid, .about-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .about-content { 
    grid-template-columns: 1fr 1fr; 
    gap: var(--spacing-lg); 
  }
  .contact-content { 
    grid-template-columns: 1fr 1fr; 
    gap: var(--spacing-lg); 
  }
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    position: static !important;
    max-height: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: none !important;
    border: none !important;
    flex-direction: row !important;
    gap: var(--spacing-lg) !important;
  }
  
  .nav-links li {
    border: none !important;
    display: inline !important;
  }
  
  .nav-links a {
    display: inline-block !important;
    padding: 8px 12px !important;
    color: #e0e7ff !important;
    font-size: 0.95rem !important;
    width: auto !important;
    position: relative !important;
  }
  
  .nav-links a::after {
    display: block !important;
  }
  
  .menu-toggle {
    display: none !important;
  }
}

/* MOBILE ONLY - Override ALL desktop styles */
@media only screen and (max-width: 768px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }

  main { padding-top: 80px; }
  .nav-container { padding: 0 var(--spacing-md); }
  .nav-logo { height: 55px; }
  
  /* HIDE MENU BY DEFAULT */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0f1729;
    flex-direction: column;
    padding: 0;
    margin: 0;
    z-index: 999;
  }
  
  /* SHOW MENU WHEN ACTIVE */
  .nav-links.menu-open {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    list-style: none;
  }
  
  .nav-links a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links a:hover {
    background-color: #3b82f6;
  }
  
  /* SHOW HAMBURGER */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    margin-left: auto !important;
    z-index: 1002 !important;
  }
}

  /* Typography */
  h1 { font-size: clamp(1.5rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.3rem, 6vw, 2rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.5rem); }
  p { font-size: clamp(0.95rem, 2.5vw, 1.1rem); }
  
  /* Hero Section */
  .hero { 
    padding-top: 70px;
    min-height: 60vh;
    background-attachment: scroll !important;
    padding-bottom: var(--spacing-lg);
  }
  
  .hero-content { 
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
  }
  
  .hero-text h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-text p { 
    font-size: clamp(0.95rem, 3vw, 1rem);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-buttons { flex-direction: column; }
  .hero-image { display: none; }

  /* Buttons */
  .btn, .btn-primary, .btn-secondary { 
    padding: 0.75rem var(--spacing-md);
    font-size: clamp(0.9rem, 2vw, 1rem);
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: var(--spacing-sm);
  }

  /* Containers & Sections */
  .container { padding: 0 var(--spacing-md); }
  
  section { 
    padding: var(--spacing-lg) 0 !important;
  }

  /* Grids */
  .stats { 
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .stat-number { font-size: 2.5rem; }
  
  .services-grid,
  .industries-grid,
  .about-grid { 
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .service-card,
  .industry-item,
  .card {
    padding: var(--spacing-md);
  }

  .service-icon,
  .industry-icon,
  .feature-icon { 
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
  }

  /* Content Sections */
  .section-title { font-size: clamp(1.3rem, 6vw, 1.75rem); }
  
  .section-label, .badge { 
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    padding: 6px 12px;
  }

  .about-content { 
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .core-values { 
    padding: var(--spacing-lg);
  }

  .values-list { 
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .value {
    padding: var(--spacing-sm);
    font-size: clamp(0.9rem, 2vw, 1rem);
  }

  /* Contact Section */
  .contact-content { 
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .contact-form {
    padding: var(--spacing-lg);
  }

  .form-group {
    margin-bottom: var(--spacing-sm);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 16px;
  }

  .form-group label {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
  }

  /* Footer */
  footer {
    padding: var(--spacing-lg) 0;
  }

  .footer-section {
    margin-bottom: var(--spacing-lg);
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto var(--spacing-md);
    max-width: 120px;
  }
}

/* Responsive - Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.25rem;
    --spacing-xl: 1.5rem;
  }

  body { font-size: 14px; }
  
  /* Navigation */
  main { padding-top: 60px; }
  
  nav {
    padding: 0.5rem 0;
  }
  
  .nav-container { 
    padding: 0.5rem var(--spacing-sm);
  }
  
  .logo-text { 
    font-size: 1.25rem;
  }
  
  .nav-logo { height: 30px; }
  
  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 50px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }
  
  .nav-links li {
    width: 100%;
    height: auto;
    min-height: 50px;
    display: flex;
    align-items: center;
  }
  
  .nav-links.active { 
    max-height: calc(100vh - 50px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .nav-links a {
    display: flex !important;
    align-items: center !important;
    padding: 1rem var(--spacing-lg) !important;
    border-left: 3px solid transparent;
    width: 100%;
    height: 100%;
  }
  
  .nav-links a:hover {
    border-left-color: var(--primary-light);
    padding-left: calc(var(--spacing-lg) + 4px) !important;
  }
  
  .menu-toggle { 
    font-size: 1.2rem;
    padding: 0.5rem 0.5rem;
    z-index: 1000;
    margin-left: auto;
  }

  /* Typography */
  h1 { font-size: clamp(1.25rem, 7vw, 2rem); }
  h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); }
  h3 { font-size: clamp(0.95rem, 3.5vw, 1.25rem); }
  p { font-size: clamp(0.9rem, 2.5vw, 1rem); }
  
  /* Hero Section */
  .hero {
    padding-top: 60px;
    min-height: 50vh;
  }

  .hero-overlay { background: rgba(0, 0, 0, 0.55) !important; }
  
  /* Sections */
  section { 
    padding: var(--spacing-lg) 0 !important;
  }

  .container { 
    padding: 0 var(--spacing-sm); 
    max-width: 100%;
  }

  /* Buttons */
  .btn, .btn-primary, .btn-secondary {
    padding: 0.6rem var(--spacing-sm);
    font-size: 0.9rem;
  }

  /* Cards */
  .service-card,
  .industry-item,
  .card {
    padding: var(--spacing-sm);
  }

  .service-icon,
  .industry-icon,
  .feature-icon {
    font-size: 1.75rem;
  }

  /* Stats */
  .stat-card { padding: var(--spacing-sm); }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: clamp(0.8rem, 2vw, 0.95rem); }

  /* Forms */
  .form-group { margin-bottom: 0.75rem; }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.6rem 0.75rem;
    font-size: 16px;
  }

  /* Footer */
  footer {
    padding: var(--spacing-lg) 0 var(--spacing-sm);
  }

  .footer-section { text-align: center; }
  
  .footer-links li { margin-bottom: 0.5rem; }

  /* Values */
  .values-list { flex-direction: column; }
  .value { padding: 0.75rem var(--spacing-sm); }

  /* Floating cards */
  .floating-card {
    width: 120px;
    height: 120px;
    font-size: 2rem;
  }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
  h1 { font-size: clamp(1.1rem, 6vw, 1.5rem); }
  h2 { font-size: clamp(1rem, 4vw, 1.25rem); }
  h3 { font-size: clamp(0.9rem, 3vw, 1.1rem); }
  
  .hero { min-height: 45vh; }
  .container { padding: 0 0.75rem; }
  
  .floating-card {
    width: 100px;
    height: 100px;
    font-size: 1.5rem;
  }
}

/* Utility Responsive Classes */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.button-group {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .button-group a,
  .button-group button {
    width: 100%;
  }
}

/* Responsive Text & Padding Utilities */
.text-responsive {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.text-large {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.text-xlarge {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
}

.padding-responsive {
  padding: clamp(1rem, 3vw, 2rem);
}

.padding-top-responsive {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.padding-bottom-responsive {
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.margin-responsive {
  margin-bottom: clamp(1rem, 3vw, 2rem);
}
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: white; }
.mt { margin-top: var(--spacing-lg); }
.mb { margin-bottom: var(--spacing-lg); }
.py { padding: var(--spacing-lg) 0; }
.px { padding: 0 var(--spacing-lg); }
.mt-2 { margin-top: var(--spacing-2xl); }
.mb-2 { margin-bottom: var(--spacing-2xl); }
.py-2 { padding: var(--spacing-2xl) 0; }
.gap-1 { gap: var(--spacing-lg); }
.gap-2 { gap: var(--spacing-2xl); }
.opacity-75 { opacity: 0.75; }
.opacity-50 { opacity: 0.5; }
.hidden { display: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }

.gradient-text {
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bootstrap compat */
.row { display: grid; gap: 1.5rem; }
.col-lg-3 { grid-column: span 3; }
@media (max-width: 768px) { .row { grid-template-columns: 1fr; } .col-lg-3 { grid-column: span 1; } }
.py-5 { padding: 3rem 0; }
.mb-5 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.g-4 { gap: 1.5rem; }
.g-3 { gap: 1rem; }
.border-top { border-top: 1px solid var(--border); }
.bg-dark { background-color: var(--surface-dark); }
.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.d-md-block { display: none; }
.d-lg-none { display: none; }
@media (min-width: 768px) { .d-md-block { display: block; } }
@media (min-width: 1024px) { .d-lg-none { display: none; } }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.fw-semibold { font-weight: 600; }
.text-muted { color: var(--text-light); }
.small { font-size: 0.875rem; }
