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

/* --- DESIGN SYSTEM SYSTEM TOKENS --- */
:root {
  /* Colors */
  --primary: #0D47A1;
  --primary-light: #1E88E5;
  --primary-dark: #0A2E66;
  --secondary: #1565C0;
  --secondary-light: #42A5F5;
  --accent: #FFB300;
  --accent-light: #FFCA28;
  --success: #2E7D32;
  --bg-main: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-dark-card: rgba(13, 71, 161, 0.03);
  --text-main: #1A202C;
  --text-muted: #4A5568;
  --text-light: #718096;
  --white: #ffffff;
  
  /* Material Design 3 & Glassmorphic Shadows */
  --md-shadow-1: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
  --md-shadow-2: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --md-shadow-3: 0 10px 15px -3px rgba(13, 71, 161, 0.1), 0 4px 6px -2px rgba(13, 71, 161, 0.05);
  --md-shadow-4: 0 20px 25px -5px rgba(13, 71, 161, 0.15), 0 10px 10px -5px rgba(13, 71, 161, 0.04);
  --glass-border: rgba(255, 255, 255, 0.6);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout Metrics */
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transition Constants */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --header-height: 100px;
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

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

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

button, input, textarea, select {
  font-family: inherit;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 9rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

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

/* --- SECTION HEADER --- */
.section-header {
  max-width: 750px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: rgba(13, 71, 161, 0.06);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(13, 71, 161, 0.1);
}

.section-title {
  font-size: 2.85rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 400;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(13, 71, 161, 0.45);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 1.5px solid rgba(13, 71, 161, 0.25);
}

.btn-secondary:hover {
  background-color: rgba(13, 71, 161, 0.05);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* --- MD3 GLASS CARD --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--md-shadow-3);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- NAVIGATION HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 71, 161, 0.05);
}

.header.scrolled {
  height: 85px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--md-shadow-2);
  border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 58px;
}

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

.nav-item a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-item a:hover {
  color: var(--primary);
}

.nav-item a:hover::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 6px 0;
  transition: var(--transition-fast);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu.active ~ .mobile-toggle .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .nav-menu.active ~ .mobile-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .nav-menu.active ~ .mobile-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 1rem);
  background-color: #051329;
  overflow: hidden;
  color: var(--white);
}

.canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(13, 71, 161, 0.25) 0%, rgba(5, 19, 41, 0.96) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 850px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.5rem;
  background: rgba(255, 179, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 179, 0, 0.35);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.75rem;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

/* Floating Stats in Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 3rem;
}

@media (max-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- SERVICES & OPERATIONS SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(13, 71, 161, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--md-shadow-4);
  border-color: rgba(13, 71, 161, 0.15);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(13, 71, 161, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: var(--white);
  transform: rotate(5deg) scale(1.05);
}

.service-illustration {
  margin: 1.5rem 0;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.service-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(13, 71, 161, 0.06);
  padding-top: 1.5rem;
}

@media (max-width: 576px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

.service-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.service-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* --- PROJECT SHOWCASE --- */
.showcase-filters {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(13, 71, 161, 0.15);
  background-color: var(--white);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 15px rgba(13, 71, 161, 0.2);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--md-shadow-3);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 19, 41, 0.15) 0%, rgba(5, 19, 41, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: var(--white);
  transition: var(--transition-normal);
}

.project-tag {
  align-self: flex-start;
  padding: 0.4rem 1rem;
  background-color: rgba(255, 179, 0, 1);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.project-title {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- WHY CHOOSE US & STATS GRID --- */
.why-choose-us-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(13, 71, 161, 0.04) 100%);
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.feature-blocks-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-block {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--md-shadow-1);
  transition: var(--transition-normal);
  border: 1px solid rgba(13, 71, 161, 0.02);
}

.feature-block:hover {
  transform: translateX(8px);
  box-shadow: var(--md-shadow-3);
  border-color: rgba(13, 71, 161, 0.1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-block h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Premium Dashboard stats replacing the reference-work.jpg image */
.dashboard-grid-decor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

.dashboard-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--md-shadow-3);
  border: 1px solid rgba(13, 71, 161, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: var(--transition-normal);
}

.dashboard-card:hover {
  transform: scale(1.03);
  box-shadow: var(--md-shadow-4);
  border-color: rgba(13, 71, 161, 0.15);
}

.dashboard-card-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.dashboard-card-val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.dashboard-card-lbl {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

/* --- TRUST & CREDIBILITY --- */
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 992px) {
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .credibility-grid {
    grid-template-columns: 1fr;
  }
}

.credibility-card {
  text-align: center;
  padding: 4rem 2.5rem;
  background: var(--white);
}

.credibility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--md-shadow-4);
}

.credibility-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  transition: var(--transition-normal);
}

.credibility-card:hover .credibility-icon {
  background: var(--primary);
  color: var(--white);
}

.credibility-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.credibility-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background-color: #051329;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section h2, .contact-section .section-title {
  color: var(--white);
}

.contact-section .section-tag {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.15);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 3.5rem 0;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
}

.contact-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-detail-content p, .contact-detail-content a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.contact-map-teaser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-map-teaser iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 2.25rem 1.75rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1.05rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 179, 0, 0.2);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

/* --- FOOTER --- */
.footer {
  background-color: #030d1d;
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo img {
  height: 64px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
}

/* --- SCROLL-DRIVEN REVEAL ANIMATIONS (IntersectionObserver Fallback) --- */
.reveal-element {
  opacity: 0 !important;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-element.revealed {
  opacity: 1 !important;
  transform: translateY(0);
}

/* --- MOBILE RESPONSIVE OVERRIDES (Fixing Padding & Text Overflows) --- */
@media (max-width: 992px) {
  .logo-img {
    height: 52px !important;
  }

  .logo-link {
    font-size: 1.25rem;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .logo-img {
    height: 44px !important;
  }
  
  .logo-link {
    font-size: 1.05rem;
    gap: 0.5rem;
  }
  
  .logo-link span {
    white-space: nowrap;
    letter-spacing: -0.03em;
  }

  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.2;
    word-break: break-word;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    padding-left: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    gap: 1rem;
    margin-bottom: 3.5rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }

  .services-grid, .project-grid, .grid-2col, .credibility-grid, .contact-grid {
    gap: 2rem !important;
  }
  
  .service-card {
    padding: 2.5rem 1.5rem !important;
  }
  
  .service-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dashboard-grid-decor {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .dashboard-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .project-card {
    height: 300px;
  }
  
  .project-overlay {
    padding: 1.75rem;
  }
  
  .project-title {
    font-size: 1.35rem;
  }

  .contact-form-card {
    padding: 2.5rem 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .logo-link span {
    font-size: 0.95rem;
  }
}
