/* ============================================
   SMAC Technology Labs - Modern Theme Overlay
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --smac-brand: #99896e;
  --smac-brand-light: #b8a88d;
  --smac-brand-dark: #7a6d57;
  --smac-blue: #007bff;
  --smac-blue-light: #609de6;
  --smac-dark: #18181c;
  --smac-text: #4a4a5a;
  --smac-text-light: #6c6c7e;
  --smac-bg-light: #f4f8fc;
  --smac-bg-white: #ffffff;
  --smac-gradient-1: linear-gradient(135deg, #99896e 0%, #007bff 100%);
  --smac-gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --smac-gradient-ai: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --smac-gradient-hero: linear-gradient(135deg, #0c1445 0%, #1a237e 30%, #283593 60%, #99896e 100%);
  --smac-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --smac-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --smac-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --smac-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.15);
  --smac-radius-sm: 8px;
  --smac-radius-md: 12px;
  --smac-radius-lg: 20px;
  --smac-radius-xl: 28px;
  --smac-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --smac-font: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Global Reset & Typography --- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--smac-font) !important;
  color: var(--smac-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--smac-dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

p {
  color: var(--smac-text);
  line-height: 1.8;
}

a {
  transition: var(--smac-transition);
}

/* --- Modern Header / Navbar --- */
#header,
.header,
nav.navbar {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--smac-transition);
  z-index: 9999;
}

#header.scroll-header,
.header.scroll-header {
  box-shadow: var(--smac-shadow-sm);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand img {
  transition: var(--smac-transition);
}

.nav-link {
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--smac-radius-sm);
  transition: var(--smac-transition) !important;
}

.nav-link:hover {
  background: rgba(153, 137, 110, 0.08);
  color: var(--smac-brand) !important;
}

.dropdown-menu {
  border: none !important;
  border-radius: var(--smac-radius-md) !important;
  box-shadow: var(--smac-shadow-lg) !important;
  padding: 0.75rem !important;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98) !important;
  animation: dropdownFade 0.2s ease;
}

.dropdown-item {
  border-radius: var(--smac-radius-sm) !important;
  padding: 0.5rem 1rem !important;
  font-weight: 500;
  transition: var(--smac-transition);
}

.dropdown-item:hover {
  background: rgba(153, 137, 110, 0.1) !important;
  color: var(--smac-brand) !important;
  transform: translateX(4px);
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Modern Hero Section --- */
.modern-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--smac-gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(153, 137, 110, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.modern-hero .container {
  position: relative;
  z-index: 2;
}

.modern-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.modern-hero h1 .brand-highlight {
  background: linear-gradient(135deg, #99896e, #d4c5a9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Floating grid animation for hero */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(153, 137, 110, 0.2);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 123, 255, 0.15);
  bottom: -5%;
  left: -5%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* --- Modern Buttons --- */
.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--smac-radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--smac-transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-modern-primary {
  background: var(--smac-brand);
  color: #fff;
  box-shadow: 0 4px 15px rgba(153, 137, 110, 0.3);
}

.btn-modern-primary:hover {
  background: var(--smac-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(153, 137, 110, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn-modern-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-modern-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.btn-modern-dark {
  background: var(--smac-dark);
  color: #fff;
}

.btn-modern-dark:hover {
  background: #2a2a30;
  transform: translateY(-2px);
  box-shadow: var(--smac-shadow-md);
  color: #fff;
  text-decoration: none;
}

.btn-modern-blue {
  background: var(--smac-blue);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-modern-blue:hover {
  background: #0069d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  color: #fff;
  text-decoration: none;
}

/* --- Modern Section Styling --- */
.modern-section {
  padding: 100px 0;
  position: relative;
}

.modern-section-dark {
  background: var(--smac-dark);
  color: #fff;
}

.modern-section-dark h2,
.modern-section-dark h3 {
  color: #fff;
}

.modern-section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.modern-section-light {
  background: var(--smac-bg-light);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--smac-brand);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--smac-brand);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--smac-text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Modern Cards --- */
.modern-card {
  background: var(--smac-bg-white);
  border-radius: var(--smac-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--smac-transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--smac-shadow-hover);
  border-color: transparent;
}

.modern-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--smac-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(153, 137, 110, 0.1), rgba(0, 123, 255, 0.1));
  color: var(--smac-brand);
}

.modern-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.modern-card p {
  font-size: 0.95rem;
  color: var(--smac-text-light);
  margin-bottom: 1.25rem;
}

.modern-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--smac-brand);
  text-decoration: none;
  transition: var(--smac-transition);
}

.modern-card .card-link:hover {
  gap: 0.8rem;
  color: var(--smac-brand-dark);
}

/* Glass card variant */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--smac-radius-lg);
  padding: 2rem;
  transition: var(--smac-transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* AI-themed card */
.ai-card {
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.95), rgba(48, 43, 99, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--smac-radius-lg);
  padding: 2rem;
  color: #fff;
  transition: var(--smac-transition);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.ai-card .card-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  color: #a78bfa;
}

.ai-card h4 {
  color: #fff;
}

.ai-card p {
  color: rgba(255, 255, 255, 0.7);
}

.ai-card .card-link {
  color: #a78bfa;
}

.ai-card .card-link:hover {
  color: #c4b5fd;
}

/* --- Modern Team Section --- */
.team-card {
  background: var(--smac-bg-white);
  border-radius: var(--smac-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--smac-transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--smac-shadow-hover);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--smac-transition);
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-body h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card-body .role {
  font-size: 0.85rem;
  color: var(--smac-brand);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card-body .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--smac-bg-light);
  color: var(--smac-text-light);
  margin: 0 0.25rem;
  transition: var(--smac-transition);
  text-decoration: none;
}

.team-card-body .social-links a:hover {
  background: var(--smac-brand);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Modern Products --- */
.product-card {
  background: var(--smac-bg-white);
  border-radius: var(--smac-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--smac-transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--smac-shadow-hover);
}

.product-card-img {
  height: 220px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--smac-transition);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* --- Modern Partners/Clients --- */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--smac-bg-white);
  border-radius: var(--smac-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--smac-transition);
  height: 120px;
}

.partner-logo:hover {
  box-shadow: var(--smac-shadow-md);
  transform: translateY(-4px);
}

.partner-logo img {
  max-height: 60px;
  max-width: 150px;
  opacity: 0.6;
  transition: var(--smac-transition);
  filter: grayscale(100%);
}

.partner-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Modern Contact Section --- */
.modern-contact {
  background: var(--smac-dark);
  color: #fff;
  padding: 100px 0;
}

.modern-contact .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--smac-radius-sm);
  color: #fff;
  padding: 0.875rem 1.25rem;
  font-size: 0.95rem;
  transition: var(--smac-transition);
}

.modern-contact .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--smac-brand);
  box-shadow: 0 0 0 3px rgba(153, 137, 110, 0.2);
  color: #fff;
  outline: none;
}

.modern-contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* --- Modern Footer --- */
.modern-footer {
  background: #0d0d10;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.modern-footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.modern-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--smac-transition);
  display: inline-block;
  padding: 0.2rem 0;
}

.modern-footer a:hover {
  color: var(--smac-brand-light);
  transform: translateX(4px);
}

.modern-footer .footer-brand {
  margin-bottom: 1.5rem;
}

.modern-footer .footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.modern-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.modern-footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  margin-right: 0.75rem;
  transition: var(--smac-transition);
  font-size: 1rem;
}

.modern-footer .social-icon:hover {
  background: var(--smac-brand);
  color: #fff;
  transform: translateY(-3px);
}

/* --- Stats/Numbers Section --- */
.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--smac-brand);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--smac-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.8s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- AI-themed Section Background --- */
.ai-section {
  background: var(--smac-gradient-ai);
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.ai-section .container {
  position: relative;
  z-index: 1;
}

.ai-section .section-label {
  color: #a78bfa;
}

.ai-section .section-label::before {
  background: #a78bfa;
}

/* Neural network dots animation */
.neural-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.neural-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(167, 139, 250, 0.3);
  border-radius: 50%;
  animation: neuralPulse 4s ease-in-out infinite;
}

@keyframes neuralPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(2); }
}

/* --- Service Page Hero (modern override) --- */
.modern-service-hero {
  background: var(--smac-gradient-hero);
  padding: 160px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.modern-service-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.modern-service-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.modern-service-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
}

.modern-service-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.modern-service-hero .breadcrumb .active {
  color: var(--smac-brand-light);
}

/* --- Feature Grid for Service Pages --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--smac-radius-md);
  transition: var(--smac-transition);
}

.feature-item:hover {
  background: var(--smac-bg-light);
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--smac-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(153, 137, 110, 0.1), rgba(0, 123, 255, 0.1));
  color: var(--smac-brand);
}

.feature-item h5 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--smac-gradient-1);
  border-radius: var(--smac-radius-xl);
  padding: 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .modern-hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .modern-section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .modern-hero h1 {
    font-size: 2rem;
  }

  .modern-hero p {
    font-size: 1rem;
  }

  .modern-card {
    padding: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
  }

  .cta-banner h3 {
    font-size: 1.5rem;
  }

  .btn-modern {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .modern-section {
    padding: 50px 0;
  }

  .team-card img {
    height: 220px;
  }
}

/* --- Utility Classes --- */
.text-brand { color: var(--smac-brand) !important; }
.text-gradient {
  background: var(--smac-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-brand { background-color: var(--smac-brand) !important; }
.bg-modern-light { background: var(--smac-bg-light) !important; }
.gap-2 { gap: 0.75rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.rounded-modern { border-radius: var(--smac-radius-lg) !important; }

/* --- Back to Top Modern --- */
.back-to-top {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--smac-brand) !important;
  box-shadow: var(--smac-shadow-md) !important;
  transition: var(--smac-transition) !important;
}

.back-to-top:hover {
  background: var(--smac-brand-dark) !important;
  transform: translateY(-3px) !important;
}
