/* ==========================================================================
   FLOPY.IN — Modern Glassmorphism Design System
   Corporate IT Services & Engineering Platform
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color Palette */
  --bg-main: #060911;
  --bg-surface: #0b1120;
  --bg-surface-elevated: #111a2e;
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.35);
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Glassmorphic Tokens */
  --glass-bg: rgba(15, 23, 42, 0.65);
  --glass-bg-hover: rgba(30, 41, 59, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-focus: rgba(99, 102, 241, 0.5);
  --glass-blur: blur(16px);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --glass-glow: 0 0 30px -5px var(--primary-glow);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: radial-gradient(circle at 50% 0%, #171d36 0%, var(--bg-main) 65%);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 99999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: #38bdf8;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e2e8f0;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(6, 9, 17, 0.75);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.brand-logo:hover {
  text-decoration: none;
}
.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 10px rgba(0, 210, 255, 0.35));
  transition: transform var(--transition), filter var(--transition);
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 16px rgba(0, 210, 255, 0.6));
}
.brand-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  text-decoration: none;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), var(--glass-glow);
  transform: translateY(-4px);
}

/* Flash Messages */
.flash-alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}
.flash-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}
.flash-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Hero Section */
.hero-section {
  padding: 6rem 0 5rem;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.stat-box {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
}
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.1rem;
}

/* Services Grid */
.services-section {
  padding: 5rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.service-title {
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Case Studies / Portfolio */
.portfolio-section {
  padding: 5rem 0;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.portfolio-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.portfolio-category {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.portfolio-title {
  margin-bottom: 1rem;
}
.portfolio-summary {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.portfolio-metrics {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #a7f3d0;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent-emerald);
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  padding: 2rem;
  position: relative;
}
.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.testimonial-content {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.client-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}
.client-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-error {
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 7, 13, 0.95);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #fff;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Fluid Responsive Grid Utilities */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.responsive-card {
  padding: clamp(1.25rem, 4vw, 3rem);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: var(--transition);
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer & Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1090;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: rgba(11, 16, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 1.25rem;
}
.mobile-nav-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-nav-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

/* ==========================================================================
   Visual Media Enhancements & Image Banners
   ========================================================================== */

/* Hero Showcase Media */
.hero-showcase-wrap {
  margin: 3.5rem auto 3.5rem;
  max-width: 1040px;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.45) 0%, rgba(99, 102, 241, 0.25) 50%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
}
.hero-showcase-inner {
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  position: relative;
  background: #080c16;
}
.hero-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-showcase-wrap:hover .hero-showcase-img {
  transform: scale(1.02);
}

/* Card Media Banners (Case Studies & Blog) */
.card-media-banner {
  position: relative;
  width: calc(100% + 4.5rem);
  height: 200px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: #070a12;
  margin-top: -2.25rem;
  margin-left: -2.25rem;
  margin-right: -2.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .card-media-banner {
    width: calc(100% + 3rem);
    margin-top: -1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    height: 180px;
  }
}
.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.glass-card:hover .card-media-img {
  transform: scale(1.06);
}

/* Testimonial Avatar */
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  background: #070a12;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
  flex-shrink: 0;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Architecture Showcase Diagram */
.arch-diagram-wrap {
  margin: 3rem auto 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.2);
  background: #080c16;
}
.arch-diagram-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.arch-diagram-wrap:hover .arch-diagram-img {
  transform: scale(1.015);
}

/* Page Showcase Banner */
.page-showcase-banner {
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  background: #070a12;
}
.page-showcase-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .nav-menu {
    display: none !important;
  }
  .nav-actions {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-section {
    padding: 3rem 0 2.5rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.75rem);
  }
  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
    padding: 0;
  }
  .stat-box {
    padding: 1rem 0.85rem;
  }
  .stat-num {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .services-section, .portfolio-section, .testimonials-section, .faq-section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .services-grid, 
  .portfolio-grid, 
  .testimonials-grid, 
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .service-card, .portfolio-card, .testimonial-card {
    padding: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem;
  }
  .stat-box {
    padding: 0.85rem 0.65rem;
  }
  .stat-num {
    font-size: 1.4rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }
  .form-control {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    padding: 0.75rem 0.85rem;
    min-height: 48px;
  }
  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }
}

