/* 
  Nexora Digi - Modern Digital Marketing Agency Stylesheet
  Primary Palette: Navy (#071C36), Accent Orange (#FF6A1A), Light Background (#F8FAFC), White (#FFFFFF)
  Fonts: Poppins (Headings), Inter (Body)
*/

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

:root {
  --primary-navy: #071C36;
  --navy-dark: #041021;
  --accent-orange: #FF6A1A;
  --accent-orange-hover: #E0550B;
  --accent-orange-light: rgba(255, 106, 26, 0.1);
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 6px -1px rgba(7, 28, 54, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(7, 28, 54, 0.08), 0 8px 10px -6px rgba(7, 28, 54, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(7, 28, 54, 0.12);
  --shadow-orange: 0 10px 25px rgba(255, 106, 26, 0.25);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

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

.highlight-orange {
  color: var(--accent-orange);
}

/* Header & Sticky Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary-navy);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  background-color: #041021;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  border-bottom-color: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-brand {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.logo-brand:hover .brand-logo-img {
  transform: scale(1.04);
  opacity: 0.9;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--bg-white);
  line-height: 1;
}

.logo-main span {
  color: var(--accent-orange);
}

.logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #94A3B8;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--bg-white);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--accent-orange);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta-mobile {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 106, 26, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-navy);
  background-color: var(--primary-navy);
  color: var(--bg-white);
  transform: translateY(-2px);
}

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

.btn-navy:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background-color: var(--bg-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  background-color: var(--bg-light);
  overflow: hidden;
}

/* Large light blue-gray curved blob bottom-right */
.hero-section::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 600px;
  height: 500px;
  background: linear-gradient(135deg, #DDE8F5 0%, #EBF1F9 60%, transparent 100%);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  z-index: 0;
  pointer-events: none;
}

/* Orange accent circle top-right */
.hero-section::after {
  content: '';
  position: absolute;
  top: 80px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 14px solid rgba(255, 106, 26, 0.18);
  z-index: 0;
  pointer-events: none;
}

/* Orange circle bottom-left */
.hero-section .hero-decor-circle {
  position: absolute;
  bottom: 20px;
  left: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 18px solid rgba(255, 106, 26, 0.12);
  z-index: 0;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.hero-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.15;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-description {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Dashboard Mockup Widget */
.hero-dashboard-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  transition: var(--transition-normal);
}

.hero-dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(7, 28, 54, 0.18);
}

.dash-header {
  background-color: var(--primary-navy);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bg-white);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.dash-brand span {
  color: var(--accent-orange);
}

.dash-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 340px;
}

.dash-sidebar {
  background-color: #041021;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #94A3B8;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dash-menu-item.active, .dash-menu-item:hover {
  background-color: rgba(255, 106, 26, 0.15);
  color: var(--accent-orange);
}

.dash-content {
  padding: 24px;
  background-color: #F8FAFC;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-box {
  background: var(--bg-white);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-val {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-navy);
  margin: 4px 0;
}

.metric-growth {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-grid-charts {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}

.chart-card {
  background: var(--bg-white);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.chart-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

/* Section Header */
.section-header {
  max-width: 650px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
}

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

.service-card {
  background: var(--bg-white);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 106, 26, 0.3);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  transform: scale(1.1) rotate(4deg);
  box-shadow: var(--shadow-orange);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Statistics Banner Section */
.stats-section {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: #94A3B8;
  font-weight: 500;
}

/* Why Choose Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.checklist {
  margin: 28px 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.image-frame:hover img {
  transform: scale(1.05);
}

/* Inner Page Hero Banners */
.page-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0D2D56 100%);
  color: var(--bg-white);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #94A3B8;
}

.breadcrumbs a {
  color: var(--bg-white);
}

.breadcrumbs a:hover {
  color: var(--accent-orange);
}

/* About Page Styles */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
}

/* Testimonials Grid & Carousel */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

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

.rating-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-orange);
}

.client-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-navy);
}

.client-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* Slider Controls */
.slider-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0 40px 0;
}

.slider-wrapper {
  display: flex;
  transition: transform var(--transition-slow);
}

.slide-item {
  min-width: 100%;
  padding: 0 15px;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--accent-orange);
  width: 28px;
  border-radius: 10px;
}

/* Contact Page Layout */
.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-info-card {
  background: var(--primary-navy);
  color: var(--bg-white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  width: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: rgba(255, 106, 26, 0.15);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-title {
  font-size: 14px;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 4px;
}

.info-detail {
  font-size: 16px;
  font-weight: 600;
  color: var(--bg-white);
}

.map-placeholder {
  width: 100%;
  height: 180px;
  background-color: #0B294F;
  border-radius: var(--radius-md);
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #94A3B8;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-orange);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-success-toast {
  display: none;
  padding: 16px 20px;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
}

/* Call to Action Section Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0A2B52 100%);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-orange-light) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer */
.footer {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-main {
  color: var(--bg-white);
}

.footer-desc {
  margin: 18px 0 24px 0;
  font-size: 14px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--accent-orange);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid, .why-us-grid, .about-story-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 42px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .section-padding {
    padding: 50px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    background-color: var(--primary-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .nav-cta-mobile {
    display: flex;
    width: 100%;
    margin-top: 10px;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 40px;
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(22px, 6.5vw, 30px);
    line-height: 1.25;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* Hide line breaks on mobile so text wraps fluidly */
  .hero-title br {
    display: none;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  /* Hide hero dashboard mockup card completely on mobile */
  .hero-right {
    display: none;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .services-grid, .testimonials-grid, .stats-grid, .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    justify-content: flex-start;
    padding-left: 10px;
  }

  .cta-banner {
    padding: 32px 18px;
    border-radius: var(--radius-md);
  }

  .cta-banner h2 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-card, .contact-form-card {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 160px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-item {
    padding-left: 0;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }
}
