/* ========================================
   DataHub USA - Main Stylesheet
   Migrated from WordPress Divi Theme
   ======================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary: #0A65FF;
  --primary-dark: #0c71c3;
  --primary-light: #2ea3f2;
  --dark: #000000;
  --dark-navy: #00000d;
  --dark-bg: #030044;
  --white: #ffffff;
  --gray-bg: #f5f5f5;
  --gray-light: #e0e0e0;
  --gray-text: #999999;
  --text-body: #cccccc;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --top-bar-height: 40px;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--dark-navy);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-light);
}

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

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

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  margin-bottom: 1em;
  color: var(--text-body);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--dark);
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  z-index: 1001;
  position: relative;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-link {
  color: var(--gray-text);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.top-bar-link:hover {
  color: var(--primary);
}

.top-bar-icon {
  font-size: 12px;
}

.top-bar-right {
  display: flex;
  gap: 12px;
}

.social-icon {
  color: var(--gray-text);
  font-size: 13px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: var(--font-heading);
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* --- Header / Navigation --- */
.site-header {
  background: rgba(0, 0, 13, 0.95);
  min-height: 90px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 101, 255, 0.15);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(0, 0, 13, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  min-height: 75px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 60px;
  max-height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
}

.logo-highlight {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--primary);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform var(--transition);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 13, 0.98);
  min-width: 240px;
  list-style: none;
  border: 1px solid rgba(10, 101, 255, 0.15);
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  color: var(--text-body);
  font-size: 13px;
  font-family: var(--font-body);
  padding: 10px 20px;
  display: block;
  transition: all var(--transition);
}

.dropdown-link:hover {
  color: var(--primary);
  background: rgba(10, 101, 255, 0.08);
  padding-left: 24px;
}

.dropdown-item.active .dropdown-link {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
}

.hamburger-line {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  display: block;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Banner --- */
.hero-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 13, 0.85) 0%, rgba(3, 0, 68, 0.7) 100%);
  z-index: 1;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  padding: 60px 0;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 600px;
}

/* --- Home Page Sections --- */
.home-section {
  padding: 80px 0;
  position: relative;
}

.home-section.dark-bg {
  background: var(--dark);
}

.home-section.navy-bg {
  background: var(--dark-navy);
}

.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-row.reversed {
  direction: rtl;
}

.section-row.reversed > * {
  direction: ltr;
}

.section-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.section-text p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.section-image img {
  border-radius: 8px;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0 auto;
  max-width: 80%;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  background: var(--dark);
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* --- Service Page Layout --- */
.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 13, 0.88) 0%, rgba(3, 0, 68, 0.75) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.page-hero-title {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
  font-size: 22px;
  color: var(--primary-light);
  font-weight: 500;
}

.page-content {
  padding: 60px 0;
}

.content-section {
  padding: 60px 0;
}

.content-section:nth-child(even) {
  background: rgba(10, 101, 255, 0.03);
}

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

.content-grid.reversed {
  direction: rtl;
}

.content-grid.reversed > * {
  direction: ltr;
}

.content-text h2, .content-text h3 {
  margin-bottom: 20px;
}

.content-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-body);
  font-size: 16px;
}

.content-text ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.content-image img {
  border-radius: 10px;
  width: 100%;
  box-shadow: var(--shadow);
}

/* --- Service Cards Grid --- */
.cards-section {
  padding: 80px 0;
}

.cards-section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.12);
  border-radius: 12px;
  padding: 35px 28px;
  transition: all var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(10, 101, 255, 0.15);
  background: rgba(10, 101, 255, 0.05);
}

.service-card-icon {
  font-size: 48px;
  margin-bottom: 18px;
  display: block;
}

.service-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

.service-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.service-card a:hover {
  color: var(--primary-light);
}

/* --- Logo Carousel --- */
.logo-carousel-section {
  background: var(--dark);
  padding: 50px 0;
  overflow: hidden;
}

.logo-carousel-title {
  text-align: center;
  margin-bottom: 30px;
}

.logo-carousel-title h3 {
  font-size: 36px;
}

.logo-carousel-track {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  gap: 60px;
  align-items: center;
  width: max-content;
}

.logo-carousel-track:hover {
  animation-play-state: paused;
}

.logo-carousel-item {
  flex-shrink: 0;
  height: 80px;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: all var(--transition);
}

.logo-carousel-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.logo-carousel-item img {
  max-height: 50px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Partners Grid --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 0;
}

.partner-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.12);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(10, 101, 255, 0.15);
}

.partner-card img {
  max-height: 80px;
  margin: 0 auto 15px;
  width: auto;
}

.partner-card h4 {
  font-size: 18px;
  color: var(--white);
}

/* --- Contact Page --- */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 25px;
  color: var(--primary-light);
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(10, 101, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-text h5 {
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-text p {
  color: var(--text-body);
  margin: 0;
  font-size: 15px;
}

.contact-info-text a {
  color: var(--primary);
}

/* --- Forms --- */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.12);
  border-radius: 12px;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--white);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 101, 255, 0.15);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

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

.form-status {
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
}

.form-status.error {
  display: block;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff4444;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(10, 101, 255, 0.12);
}

.blog-card-body {
  padding: 25px;
}

.blog-card-date {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card h4 a {
  color: var(--white);
}

.blog-card h4 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

.blog-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-top: 12px;
}

/* Blog Post */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-post-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(10, 101, 255, 0.15);
}

.blog-post-date {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-post-title {
  font-size: 38px;
  margin-bottom: 10px;
}

.blog-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.blog-post-content h2, .blog-post-content h3 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-post-content img {
  border-radius: 8px;
  margin: 30px 0;
}

/* --- GRC Sub-pages --- */
.grc-page {
  padding: 60px 0;
}

.grc-content {
  max-width: 900px;
  margin: 0 auto;
}

.grc-content h2 {
  color: var(--primary-light);
  margin-bottom: 20px;
}

.grc-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.grc-content ul {
  list-style: none;
  margin: 20px 0 30px;
}

.grc-content ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--text-body);
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grc-content ul li::before {
  content: '▸';
  color: var(--primary);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 18px;
}

.grc-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 40px 0;
}

.grc-nav-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.12);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.grc-nav-card:hover {
  border-color: var(--primary);
  background: rgba(10, 101, 255, 0.05);
  transform: translateY(-3px);
}

.grc-nav-card a {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

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

/* --- Under Construction --- */
.under-construction {
  text-align: center;
  padding: 100px 20px;
}

.under-construction img {
  max-width: 400px;
  margin: 30px auto;
}

.under-construction h2 {
  margin-bottom: 20px;
}

/* --- 404 Page --- */
.error-page {
  text-align: center;
  padding: 120px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-page h1 {
  font-size: 120px;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1;
}

.error-page h2 {
  margin-bottom: 20px;
}

.error-page p {
  margin-bottom: 30px;
  max-width: 500px;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 0;
  text-align: center;
}

.stat-item h3 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 14px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta-section .btn:hover {
  background: transparent;
  color: var(--white);
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  padding-top: 60px;
  border-top: 3px solid var(--primary);
}

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

.footer-logo .logo-text {
  font-size: 24px;
}

.footer-tagline {
  color: var(--primary);
  font-weight: 600;
  margin: 8px 0 15px;
  font-size: 14px;
}

.footer-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

.footer-contact-info {
  margin-top: 15px;
}

.footer-contact-info p {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-info a {
  color: var(--gray-text);
}

.footer-contact-info a:hover {
  color: var(--primary);
}

.footer-icon {
  font-size: 14px;
}

.footer-heading {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--gray-text);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0;
}

/* --- Home Section Responsive Typography & Layout --- */
.home-section {
  background-color: var(--dark);
  padding: 80px 0;
}

.home-section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--white);
}

.home-section-desc {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 30px;
}

.customers-section-title {
  font-size: clamp(26px, 4vw, 39px);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  margin-bottom: 40px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .grc-nav { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .partners-grid-full { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .container { max-width: 720px; padding: 0 20px; }
  .site-header { min-height: 75px; }
  .header-logo-img { height: 48px; max-height: 50px; }
  
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-row { grid-template-columns: 1fr; gap: 35px; text-align: center; }
  .section-row.reversed { direction: ltr; }
  .section-image { order: 1; }
  .section-text { order: 2; }
  .section-text .btn-group { justify-content: center; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid-full { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tech-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .lordicon-grid, .lordicon-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  
  .video-hero { min-height: 70vh; }
  .hero-content { padding: 80px 0 60px; }
  .hero-title { font-size: clamp(30px, 5vw, 44px); }
  .hero-subtitle { font-size: clamp(16px, 2.5vw, 20px); }
  
  .page-hero { padding: 60px 0; }
  .page-hero-title { font-size: clamp(28px, 4.5vw, 40px); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .top-bar { display: none; }
  
  .site-header {
    min-height: 65px;
    padding: 10px 0;
  }
  
  .header-logo-img {
    height: 40px;
    max-height: 44px;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1002;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: rgba(0, 0, 13, 0.98);
    flex-direction: column;
    padding: 80px 24px 30px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(10, 101, 255, 0.25);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 1001;
  }
  
  .main-nav.open { right: 0; }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .nav-link {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(10, 101, 255, 0.05);
    border: none;
    border-left: 2px solid var(--primary);
    box-shadow: none;
    padding: 6px 0 10px 16px;
    margin: 4px 0 12px;
    display: none;
    backdrop-filter: none;
    border-radius: 0 6px 6px 0;
  }
  
  .has-dropdown.mobile-open .dropdown-menu {
    display: block;
  }
  
  .dropdown-link {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: block;
  }
  
  .video-hero {
    min-height: 520px;
  }
  
  .hero-content {
    padding: 60px 0 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 25px;
  }
  
  .home-section {
    padding: 50px 0;
  }
  
  .section-row {
    gap: 25px;
  }
  
  .section-image img {
    max-width: 100%;
    height: auto;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn-group .btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 16px;
  }
  
  .partners-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .partner-logo-item {
    min-height: 100px;
    padding: 20px 12px;
  }
  
  .partner-logo-item img {
    max-height: 50px;
  }
  
  .tech-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .lordicon-grid, .lordicon-grid-2, .lordicon-grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .lordicon-card {
    padding: 24px 16px;
  }
  
  .logo-carousel-section {
    padding: 40px 0;
  }
  
  .logo-carousel-item {
    height: 70px;
    min-width: 130px;
    padding: 8px 16px;
  }
  
  .logo-carousel-item img {
    max-height: 40px;
    max-width: 110px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-col .footer-logo-img {
    margin: 0 auto 15px;
  }
  
  .footer-col .social-links {
    justify-content: center;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .cards-grid, .grc-nav, .stats-row, .blog-grid, .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 25px 18px;
  }
  
  /* Prevent iOS zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .home-section-title { font-size: 22px; }
  .home-section-desc { font-size: 15px; }
  .page-hero-title { font-size: 24px; }
  
  .partners-grid-full {
    grid-template-columns: 1fr;
  }
  
  .tech-badges-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.pt-4 { padding-top: 40px; }
.pb-4 { padding-bottom: 40px; }

/* Logo images */
.header-logo-img {
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 40px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

/* Full Partners Logo Grid */
.partners-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.partner-logo-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(10, 101, 255, 0.15);
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s ease;
}

.partner-logo-item:hover {
  border-color: var(--primary);
  background: rgba(10, 101, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(10, 101, 255, 0.2);
}

.partner-logo-item img {
  max-height: 70px;
  max-width: 85%;
  object-fit: contain;
  filter: brightness(1);
  transition: filter 0.3s ease;
}

/* Tech / Partner Mini Grid for Service Pages */
.tech-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.tech-badge-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.tech-badge-item img {
  max-height: 55px;
  max-width: 80%;
  object-fit: contain;
}

@media (max-width: 992px) {
  .partners-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }
  .tech-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Lordicon Interactive Cards */
.lordicon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

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

.lordicon-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.lordicon-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 101, 255, 0.15);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lordicon-card:hover {
  border-color: var(--primary);
  background: rgba(10, 101, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(10, 101, 255, 0.25);
}

.lordicon-card lord-icon {
  margin-bottom: 15px;
  display: inline-block;
}

.lordicon-card h4 {
  font-size: 20px;
  color: var(--white);
  margin-top: 10px;
}

.lordicon-card p {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 8px;
}

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

@media (max-width: 600px) {
  .lordicon-grid, .lordicon-grid-2, .lordicon-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Video Hero Section */
.video-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 13, 0.85) 0%, rgba(3, 0, 68, 0.7) 100%);
  z-index: 1;
}

.video-hero .container {
  position: relative;
  z-index: 2;
}
