/* ============================================================
   MeshUp Inc. — Main Stylesheet
   Brand Colors:
   --navy:       #1C2A3A  (Dark Navy — primary)
   --slate:      #5A6770  (Slate Gray — details)
   --light-gray: #F2F2F2  (Light Gray — backgrounds)
   --steel-blue: #3A5F7F  (Steel Blue — accents/buttons)
   --white:      #FFFFFF  (White — contrast)
   --chrome:     #C0C0C0  (Chrome Silver — accents)
   ============================================================ */

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

:root {
  --navy:       #1C2A3A;
  --navy-deep:  #111D28;
  --slate:      #5A6770;
  --light-gray: #F2F2F2;
  --steel-blue: #3A5F7F;
  --steel-blue-dark: #2d4d68;
  --white:      #FFFFFF;
  --chrome:     #C0C0C0;
  --text-dark:  #1a1a2e;
  --text-mid:   #3d3d3d;
  --text-light: #6b7280;
  --border:     #e2e8f0;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--steel-blue); border-radius: 4px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.hero-motto {
  font-family: 'Merriweather', serif;
  font-style: italic;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}

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

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

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

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

.btn-outline-light {
  background: transparent;
  color: var(--chrome);
  border-color: var(--chrome);
}

.btn-outline-light:hover {
  background: var(--chrome);
  color: var(--navy);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4 {
  color: var(--white);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.light .section-title,
.section-header.light .section-desc {
  color: var(--white);
}

.section-header.light .section-tag {
  color: var(--chrome);
  border-color: var(--chrome);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-blue);
  border: 1px solid var(--steel-blue);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--steel-blue), var(--chrome));
  margin: 0 auto 24px;
  border-radius: 2px;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-header.light .section-desc {
  color: rgba(255,255,255,0.75);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
  padding: 20px 0;
}

.navbar.scrolled {
  background: var(--navy-deep);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo .logo-img {
  height: 52px;
  width: auto;
  transition: height var(--transition);
}

.navbar.scrolled .logo-img {
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, var(--steel-blue-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 50px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-logo {
  width: 300px;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)) drop-shadow(0 0 50px rgba(180,200,255,0.2)) drop-shadow(0 0 20px rgba(200,220,255,0.1));
  animation: fadeInDown 0.8s ease both;
  /* Subtle slow rotation pulse */
  animation: fadeInDown 0.8s ease both, logoPulse 6s ease-in-out 1s infinite;
}

/* Canvas for particle animation */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(180,200,255,0.12)); }
  50%       { filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(180,200,255,0.28)); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-motto {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--chrome);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.65s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  transition: color var(--transition);
}

.hero-scroll a:hover {
  color: var(--white);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--light-gray);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--steel-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--steel-blue);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.about-badge i {
  font-size: 1.4rem;
}

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

.mv-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 4px solid transparent;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--steel-blue);
}

.mv-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mv-icon i {
  color: var(--chrome);
  font-size: 1.5rem;
}

.mv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.mv-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-color: var(--steel-blue);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-body {
  padding: 24px;
}

.product-icon {
  width: 44px;
  height: 44px;
  background: var(--steel-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.product-icon i {
  color: var(--white);
  font-size: 1.1rem;
}

.product-body h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.product-sub {
  font-size: 0.8rem;
  color: var(--chrome);
  font-style: italic;
  margin-bottom: 12px;
}

.product-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.product-specs li i {
  color: var(--steel-blue);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  background: var(--light-gray);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--steel-blue);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--steel-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  color: var(--white);
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
}

/* ===== PARTNERS ===== */
.partner-feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 48px;
  align-items: start;
}

.partner-logo-area {
  text-align: center;
}

.partner-badge-large {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--steel-blue), var(--chrome));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  gap: 6px;
}

.partner-badge-large i {
  font-size: 2.5rem;
  color: var(--white);
}

.partner-badge-large span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.partner-name-display h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.partner-location {
  color: var(--chrome);
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.partner-link {
  font-size: 0.8rem;
  padding: 10px 20px;
}

.partner-intro {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.partner-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.partner-service-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.partner-service-card:hover {
  background: rgba(58,95,127,0.3);
  border-color: var(--steel-blue);
}

.ps-icon {
  width: 44px;
  height: 44px;
  background: var(--steel-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-icon i {
  color: var(--white);
  font-size: 1.1rem;
}

.ps-body h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.ps-body p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
}

.partner-cta {
  background: rgba(58,95,127,0.2);
  border: 1px solid rgba(58,95,127,0.4);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

/* ===== PARTNERS ENRICHED ===== */
.partner-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  height: 420px;
}

.partner-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.partner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,40,0.88) 0%, rgba(28,42,58,0.65) 100%);
  display: flex;
  align-items: center;
  padding: 48px;
}

.partner-hero-content {
  max-width: 680px;
}

.partner-hero-content h3 {
  font-size: 2rem;
  color: var(--white);
  margin: 16px 0 10px;
  line-height: 1.2;
}

.partner-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.partner-hero-desc {
  font-size: 1rem !important;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: 24px !important;
  line-height: 1.7;
}

.partner-intro-block {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--steel-blue);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.partner-intro-block p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.8;
}

.section-sub-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.section-sub-header h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}

/* Detailed Service Cards (image + text alternating) */
.partner-services-detailed {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.psd-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.psd-card:hover {
  border-color: var(--steel-blue);
}

.psd-card.psd-reverse {
  direction: rtl;
}

.psd-card.psd-reverse > * {
  direction: ltr;
}

.psd-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.psd-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.psd-card:hover .psd-img-wrap img {
  transform: scale(1.04);
}

.psd-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: var(--steel-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.psd-img-badge i {
  color: var(--white);
  font-size: 1.2rem;
}

.psd-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.psd-body h4 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}

.psd-sub {
  color: var(--chrome);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.psd-body > p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.psd-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psd-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
}

.psd-specs li i {
  color: var(--steel-blue);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Products Gallery */
.partner-products-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.ppg-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.ppg-card:hover {
  transform: translateY(-4px);
  border-color: var(--steel-blue);
}

.ppg-img {
  height: 220px;
  overflow: hidden;
}

.ppg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ppg-card:hover .ppg-img img {
  transform: scale(1.06);
}

.ppg-body {
  padding: 24px;
}

.ppg-icon {
  width: 40px;
  height: 40px;
  background: var(--steel-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ppg-icon i {
  color: var(--white);
  font-size: 1rem;
}

.ppg-body h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.ppg-body p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Partner Team Section */
.partner-team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
}

.partner-team-img {
  min-height: 360px;
  overflow: hidden;
}

.partner-team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-team-text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.partner-team-text h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.partner-team-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== TEAM ===== */
.team {
  background: var(--white);
}

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

.team-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--steel-blue);
}

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

.team-avatar {
  margin-bottom: 20px;
}

.avatar-initials {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--steel-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.team-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: color var(--transition);
}

.team-contact a:hover {
  color: var(--steel-blue);
}

.team-contact a i {
  color: var(--steel-blue);
  width: 16px;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--chrome);
}

.why-card > i {
  font-size: 2.5rem;
  color: var(--chrome);
  margin-bottom: 20px;
  display: block;
}

.why-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}

.why-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.contact-info > p {
  color: var(--text-mid);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon i {
  color: var(--chrome);
  font-size: 1rem;
}

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

.ci-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 2px;
}

.ci-text span,
.ci-text a {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.ci-text a:hover {
  color: var(--steel-blue);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(58,95,127,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer-motto {
  color: var(--chrome);
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-products ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-products a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-products a:hover {
  color: var(--chrome);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
}

.footer-contact i {
  color: var(--chrome);
  margin-top: 3px;
  flex-shrink: 0;
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.footer-bottom a {
  color: var(--chrome);
}

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

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--steel-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--steel-blue-dark);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .partner-feature {
    grid-template-columns: 1fr;
  }

  .partner-logo-area {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
  }

  .partner-badge-large {
    margin: 0;
    flex-shrink: 0;
  }

  .partner-location {
    justify-content: flex-start;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

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

  .products-grid,
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .partner-services-grid {
    grid-template-columns: 1fr;
  }

  .partner-feature {
    padding: 32px 24px;
  }

  .partner-logo-area {
    flex-direction: column;
    text-align: center;
  }

  .partner-location {
    justify-content: center;
  }

  .partner-cta {
    flex-direction: column;
    text-align: center;
  }

  /* Partners enriched responsive */
  .partner-hero {
    height: 320px;
  }

  .partner-hero-overlay {
    padding: 28px;
  }

  .partner-hero-content h3 {
    font-size: 1.4rem;
  }

  .psd-card,
  .psd-card.psd-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .psd-img-wrap {
    min-height: 220px;
  }

  .psd-body {
    padding: 28px 24px;
  }

  .partner-products-gallery {
    grid-template-columns: 1fr;
  }

  .partner-team-section {
    grid-template-columns: 1fr;
  }

  .partner-team-img {
    min-height: 260px;
  }

  .partner-team-text {
    padding: 32px 28px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .contact-form-wrap {
    padding: 24px 20px;
  }
}
