/* ============================================================
   MEDIACOM GROUP — Custom Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Premium Color Palette */
  --navy: #0A1628;
  --navy-light: #141F35;
  --navy-medium: #1A2942;
  --charcoal: #0F1E2E;
  --gold: #B8860B;
  --gold-light: #DAA520;
  --gold-dark: #8B6914;
  --copper: #B87333;
  --sage: #7A8F6B;
  --steel: #4A7BA7;

  --cream: #FAF8F3;
  --ivory: #F5F1E8;
  --slate: #6B7280;
  --slate-light: #9CA3AF;
  --bg: #FAFAF8;
  --fg: #0F1E2E;
  --border: #E5DFD7;
  --card-bg: #FFFFFF;
  --muted: #F3EFE8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Premium Shadow System */
  --shadow-sm: 0 2px 8px -2px rgba(10, 22, 40, 0.04);
  --shadow-card: 0 8px 32px -6px rgba(10, 22, 40, 0.12);
  --shadow-elevated: 0 16px 48px -8px rgba(10, 22, 40, 0.18);
  --shadow-premium: 0 20px 60px -10px rgba(10, 22, 40, 0.25);
  --shadow-gold: 0 12px 40px -8px rgba(184, 134, 11, 0.35);

  --radius: 0.625rem;
  --radius-lg: 1rem;
  --transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.3s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Typography Utilities ── */
.heading-xl {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
}

.heading-lg {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.heading-md {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
}

.heading-sm {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  font-family: var(--font-display);
}

.body-lg {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
  letter-spacing: -0.005em;
}

.body-md {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  letter-spacing: -0.003em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
}

.text-gold {
  color: var(--gold) !important;
}

.text-cream {
  color: var(--cream) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.text-muted {
  color: var(--slate) !important;
}

/* ── Layout ── */
.section-padding {
  padding: 5.5rem 1.5rem;
}

.section-padding-lg {
  padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 5.5rem 3rem;
  }

  .section-padding-lg {
    padding: 8rem 3rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 5.5rem 5rem;
  }

  .section-padding-lg {
    padding: 8rem 5rem;
  }
}

@media (min-width: 1280px) {
  .section-padding {
    padding: 5.5rem 8rem;
  }

  .section-padding-lg {
    padding: 4rem 10rem;
  }
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
}

/* ── Color Backgrounds ── */
.bg-navy {
  background-color: var(--navy);
}

.bg-navy-light {
  background-color: var(--navy-light);
}

.bg-charcoal {
  background-color: var(--charcoal);
}

.bg-cream {
  background-color: var(--cream);
}

.bg-muted-bg {
  background-color: var(--muted);
}

/* ── Cards ── */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0) 0%, rgba(184, 134, 11, 0.02) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.glass-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(184, 134, 11, 0.2);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card-dark {
  background: linear-gradient(135deg, rgba(20, 31, 53, 0.8) 0%, rgba(26, 41, 66, 0.8) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.glass-card-dark:hover {
  border-color: rgba(184, 134, 11, 0.25);
  background: linear-gradient(135deg, rgba(20, 31, 53, 0.9) 0%, rgba(26, 41, 66, 0.9) 100%);
}

/* ── Dividers ── */
.gold-divider {
  width: 5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  margin: 0 auto;
  border-radius: 1.5px;
}

.gold-divider-left {
  width: 5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  border-radius: 1.5px;
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition-smooth);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-cream {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(250, 248, 243, 0.3);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-outline-cream:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 134, 11, 0.08);
}

/* ── NAVBAR ── */
.navbar-mc {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(20, 31, 53, 0.95) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.12);

  height: 88px;
  transition: background 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}

/* Home Navbar Transparent Initial State */
.navbar-transparent {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.72) 0%, rgba(20, 31, 53, 0.46) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(250, 248, 243, 0.08);

  box-shadow: 0 12px 36px -24px rgba(0, 0, 0, 0.65);
}

/* Home Navbar Scrolled State */
.navbar-transparent.scrolled {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(20, 31, 53, 0.95) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);

  box-shadow: var(--shadow-card);
}

.navbar-mc .container {
  max-width: 1320px;
  height: 100%;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand-logo:hover {
  transform: scale(1.04);
}

.nav-link-mc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(250, 248, 243, 0.85) !important;
  transition: color 0.3s ease;
  padding: 0.5rem 0 !important;
  position: relative;
}

.nav-link-mc::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-link-mc:hover::after,
.nav-link-mc.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-mc:hover,
.nav-link-mc.active {
  color: var(--gold) !important;
}

.btn-nav-premium {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.6rem !important;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(184, 134, 11, 0.4);
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
}

.btn-nav-premium::after {
  display: none !important;
}

.btn-nav-premium:hover {
  background: rgba(184, 134, 11, 0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

.navbar-mc .dropdown-menu {
  background: linear-gradient(135deg, #141F35 0%, #1A2942 100%);
  border: 1px solid rgba(184, 134, 11, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  min-width: 500px;
  padding: 1.75rem;
  margin-top: 1rem;
  backdrop-filter: blur(12px);
}

.dropdown-item-mc {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.dropdown-item-mc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.dropdown-item-mc:hover::before {
  opacity: 1;
}

.dropdown-item-mc:hover {
  background: rgba(184, 134, 11, 0.1);
}

.dropdown-item-mc .item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cream);
  transition: color var(--transition);
  position: relative;
  z-index: 1;
}

.dropdown-item-mc:hover .item-name {
  color: var(--gold);
}

.dropdown-item-mc .item-desc {
  font-size: 0.75rem;
  color: rgba(250, 248, 243, 0.5);
  position: relative;
  z-index: 1;
}

.btn-quote {
  padding: 0.7rem 1.75rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-lg);
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-top: 80px;
  overflow: hidden;
}

.page-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(20, 31, 53, 0.65) 100%);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Main hero */
.main-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 80px;
  overflow: hidden;
}

.main-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-hero img.home-projects-hero-img {
  object-position: 58% center;
}

.main-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.94) 0%, rgba(10, 22, 40, 0.82) 34%, rgba(10, 22, 40, 0.42) 68%, rgba(10, 22, 40, 0.68) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.28) 0%, rgba(10, 22, 40, 0.88) 100%);
}

.main-hero .hero-content {
  position: relative;
  z-index: 2;
}

.main-hero .heading-xl,
.main-hero .body-lg {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.32);
}

.main-hero .heading-xl .text-gold,
.main-hero .section-label {
  color: var(--gold-light) !important;
}

/* ── Stats Bar ── */
.stats-bar {
  background: linear-gradient(135deg, #0A1628 0%, #141F35 100%);
  border-top: 1px solid rgba(184, 134, 11, 0.1);
  border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.stat-item {
  padding: 3rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(184, 134, 11, 0.08);
  transition: background var(--transition), transform var(--transition);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(184, 134, 11, 0.05);
  transform: translateY(-2px);
}

.stat-icon {
  color: var(--gold);
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  transition: transform var(--transition);
}

.stat-item:hover .stat-icon {
  transform: scale(1.15) rotate(-10deg);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(250, 248, 243, 0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Vertical Cards ── */
.vertical-card {
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.vertical-card:hover::before {
  opacity: 1;
}

.vertical-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-6px);
  border-color: rgba(184, 134, 11, 0.25);
}

.vertical-card .card-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: transform var(--transition);
  font-size: 2.5rem !important;
}

.vertical-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.vertical-card h3 {
  transition: color var(--transition);
  margin-bottom: 1.25rem;
}

.vertical-card:hover h3 {
  color: var(--gold);
}

/* ── Testimonial Cards ── */
.testimonial-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(184, 134, 11, 0.1);
  font-family: var(--font-display);
}

.testimonial-card .star-filled {
  transition: transform var(--transition);
}

.testimonial-card:hover .star-filled {
  transform: scale(1.15) rotate(10deg);
}

/* ── Footer ── */
.site-footer {
  background: linear-gradient(135deg, #0A1628 0%, #141F35 100%);
  color: var(--cream);
  border-top: 1px solid rgba(184, 134, 11, 0.15);
}

.footer-top {
  padding: 5.5rem 1.5rem;
  border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.footer-bottom {
  padding: 2rem 1.5rem;
  background: rgba(10, 22, 40, 0.8);
  border-top: 1px solid rgba(184, 134, 11, 0.08);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-brand span {
  color: var(--gold);
}

.footer-social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 248, 243, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 248, 243, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--transition);
  background: rgba(184, 134, 11, 0.05);
}

.footer-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 134, 11, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.75rem;
  font-family: var(--font-body);
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(250, 248, 243, 0.65);
  transition: all var(--transition);
  display: block;
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 1rem;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 1.25rem;
}

.footer-link:hover::before {
  width: 0.5rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform var(--transition);
}

.footer-contact-item:hover .footer-contact-icon {
  transform: scale(1.2);
}

.footer-contact-text {
  font-size: 0.875rem;
  color: rgba(250, 248, 243, 0.65);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250, 248, 243, 0.4);
}

/* ── Homepage About ── */
.home-about {
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.98) 0%, rgba(245, 240, 225, 0.92) 100%),
    var(--bg);
}

.home-about-head {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.home-about-head .section-label {
  display: inline-flex;
  justify-content: flex-start;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.75rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.home-about-copy {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 1.75rem;
  padding: 3rem;
  box-shadow: 0 38px 90px rgba(10, 22, 40, 0.08);
}

.home-about-copy p {
  color: rgba(15, 30, 46, 0.92);
  line-height: 1.95;
  margin-bottom: 1.35rem;
}

.home-about-copy p:last-child {
  margin-bottom: 0;
}

.home-about-points {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0;
}

.home-about-points span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(184, 134, 11, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-about-points i {
  color: var(--gold);
  font-size: 1.1rem;
}

.home-about-visual {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  min-height: 520px;
  background: #0A1628;
  box-shadow: 0 42px 100px rgba(10, 22, 40, 0.14);
}

.home-about-visual-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.home-about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.14) 0%, rgba(10, 22, 40, 0.9) 100%);
}

.home-about-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  padding: 1rem 1.4rem;
  border-radius: 1.25rem;
  background: rgba(10, 22, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream);
  box-shadow: var(--shadow-card);
}

.home-about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.05;
}

.home-about-badge span {
  display: block;
  margin-top: 0.35rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── About CEO ── */
.ceo-quote {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.ceo-quote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gold);
}

/* ── Contact Form ── */
.contact-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
}

.contact-form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
  background: var(--card-bg);
  transform: translateY(-2px);
}

.contact-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.contact-info-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.15) 0%, rgba(184, 134, 11, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(184, 134, 11, 0.2);
  transition: all var(--transition);
}

.contact-info-icon-box i {
  color: var(--gold);
  font-size: 1.5rem;
}

/* ── Project Card ── */
.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition);
  border-radius: var(--radius-lg);
}

.project-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-8px);
}

.project-card .card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: linear-gradient(135deg, var(--muted) 0%, var(--border) 100%);
}

.project-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .card-img-wrap img {
  transform: scale(1.08) rotate(2deg);
}

.project-card .card-body-mc {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F1E8 100%);
}

.project-card .card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(184, 134, 11, 0.1);
  border-radius: 0.375rem;
}

.project-card .card-title-mc {
  transition: color var(--transition);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.project-card:hover .card-title-mc {
  color: var(--gold);
}

/* ── Leadership ── */
.leader-img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.leader-role-tag {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
}

/* ── Animations ── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-in.visible {
  opacity: 1;
}

/* delay helpers */
.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.delay-4 {
  transition-delay: 0.48s;
}

.delay-5 {
  transition-delay: 0.6s;
}

/* ── Misc Utilities ── */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
}

.aspect-4x3 {
  aspect-ratio: 4/3;
}

.aspect-16x10 {
  aspect-ratio: 16/10;
}

.star-filled {
  color: var(--gold);
}

.star-empty {
  color: var(--border);
}

/* Tech dark card border on hover */
.glass-card-dark {
  transition: border-color var(--transition);
}

.glass-card-dark:hover {
  border-color: rgba(196, 157, 77, 0.3);
}

/* Trade city items */
.tc-item {
  padding: 2rem;
}

.tc-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Fiber list */
.fiber-list {
  list-style: none;
  padding: 0;
}

.fiber-list li {
  font-size: 0.875rem;
  color: rgba(245, 240, 225, 0.6);
  padding: 0.2rem 0;
}

.fiber-list li::before {
  content: "• ";
  color: var(--gold);
}

/* Active nav underline */
.nav-link-mc.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  margin-top: 2px;
}

/* Back-to-top */
#back-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  border: none;
  cursor: pointer;
  font-size: 1.35rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition);
  font-weight: 600;
}

#back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

#back-to-top:active {
  transform: translateY(-2px);
}

#back-to-top.show {
  display: flex;
}

/* =========================================
   C8 CENTRAL LUXURY SECTION STYLES
========================================= */
.c8-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(196, 157, 77, 0.1);
  border: 1px solid rgba(196, 157, 77, 0.25);
  border-radius: 50px;
  color: rgba(245, 240, 225, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.c8-pill i {
  color: var(--gold);
  font-size: 1.1rem;
}

.c8-pill:hover {
  background: rgba(196, 157, 77, 0.2);
  border-color: rgba(196, 157, 77, 0.5);
  transform: translateY(-2px);
  color: var(--cream);
}

.c8-feature-card {
  background: linear-gradient(145deg, rgba(20, 25, 35, 0.7) 0%, rgba(10, 15, 20, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.c8-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.c8-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245, 240, 225, 0.75);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.c8-payment-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  transition: all 0.3s ease;
}

.c8-payment-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.c8-payment-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
}

.c8-payment-label {
  color: rgba(245, 240, 225, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

.c8-brochure-btn {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(196, 157, 77, 0.15) 0%, rgba(196, 157, 77, 0.05) 100%);
  border: 1px solid rgba(196, 157, 77, 0.3);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.c8-brochure-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: all 0.5s ease;
}

.c8-brochure-btn:hover {
  border-color: rgba(196, 157, 77, 0.6);
  background: linear-gradient(135deg, rgba(196, 157, 77, 0.2) 0%, rgba(196, 157, 77, 0.1) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(196, 157, 77, 0.15);
}

.c8-brochure-btn:hover::before {
  left: 100%;
}

.c8-brochure-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.5rem;
}

/* =========================================
   SINDHU PETROLEUM PAGE
========================================= */
.petroleum-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.72) 44%, rgba(10, 22, 40, 0.36) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.22) 0%, rgba(10, 22, 40, 0.86) 100%);
}

.petroleum-hero-copy {
  max-width: 46rem;
}

.petroleum-hero-copy .body-lg {
  color: rgba(245, 240, 225, 0.78);
}

.petroleum-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.petroleum-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(250, 248, 243, 0.18);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.46);
  color: rgba(250, 248, 243, 0.88);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.petroleum-hero-pills i,
.petroleum-strength-card i,
.petroleum-service-card i {
  color: var(--gold);
}

.petroleum-overview,
.petroleum-services {
  background: var(--bg);
}

.petroleum-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.petroleum-intro-copy {
  max-width: 36rem;
}

.petroleum-visual,
.petroleum-service-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 134, 11, 0.18);
  box-shadow: var(--shadow-elevated);
  background: var(--muted);
}

.petroleum-visual {
  aspect-ratio: 16 / 10;
}

.petroleum-visual img,
.petroleum-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.petroleum-visual-note {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(196, 157, 77, 0.2);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── PREMIIUM FAQ ACCORDION ── */
.accordion-mc {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-mc .accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.accordion-mc .accordion-item:hover {
  border-color: rgba(184, 134, 11, 0.3);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.accordion-mc .accordion-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 1.5rem 1.75rem;
  background: transparent;
  box-shadow: none !important;
  transition: all var(--transition);
}

.accordion-mc .accordion-button:not(.collapsed) {
  background: rgba(184, 134, 11, 0.03);
  color: var(--gold);
}

.accordion-mc .accordion-button::after {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A1628'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-mc .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B8860B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-mc .accordion-body {
  padding: 0 1.75rem 1.75rem 1.75rem;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: none;
}

/* ── INFINITE SCROLLING MARQUEE ── */
/* Full-bleed breakout: pulls the row out of .container-wide's 1280px cap
   and stretches it edge-to-edge, no matter how deep it's nested.
   body already has overflow-x:hidden (line ~65) so this can't cause
   a horizontal scrollbar. */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 45s linear infinite;
  padding: 1rem 0;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

[data-direction="right"] .marquee-track {
  animation-name: scroll-right;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-container { overflow-x: auto; }
}

.channel-card {
  width: 150px;
  height: 90px;
  border-radius: 0.6rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.05);
}

.channel-card:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 15px 30px rgba(184, 134, 11, 0.2);
  border-color: rgba(184, 134, 11, 0.3);
}

/* Real logo photo, cropped to fill the whole tile — used when the source
   image already has its own full-bleed brand background (wide logos). */
.channel-card__logo--cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Real logo photo, shown in full with no cropping — used for square/portrait
   logos so text or icon elements never get cut off. The card's own solid
   background (sampled from the logo's edge color) shows around it. */
.channel-card__logo--contain {
  max-width: 78%;
  max-height: 74%;
  object-fit: contain;
}

/* Icon + wordmark fallback — shown automatically only if a logo file is
   ever missing/renamed (onerror swap in the render function), so a card
   never breaks even if a filename changes later. */
.channel-card__fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.6rem;
}

.channel-card__fallback i {
  font-size: 1.4rem;
  opacity: 0.9;
}

.petroleum-visual-note span,
.petroleum-metrics span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.petroleum-visual-note strong,
.petroleum-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}



.petroleum-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.petroleum-metrics div {
  padding: 1.75rem;
  border-right: 1px solid var(--border);
}

.petroleum-metrics div:last-child {
  border-right: 0;
}

.petroleum-metrics strong {
  color: var(--navy);
}

.petroleum-strengths,
.petroleum-cta {
  background: linear-gradient(135deg, #0A1628 0%, #141F35 100%);
}

.petroleum-section-head {
  max-width: 48rem;
  margin-bottom: 3.5rem;
}

.petroleum-section-head .body-md {
  color: rgba(245, 240, 225, 0.66);
}

.petroleum-strength-grid,
.petroleum-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.petroleum-strength-card {
  min-height: 100%;
  padding: 2rem;
  border: 1px solid rgba(184, 134, 11, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(250, 248, 243, 0.035);
  box-shadow: var(--shadow-card);
}

.petroleum-strength-card i,
.petroleum-service-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: rgba(184, 134, 11, 0.12);
  font-size: 1.35rem;
}

.petroleum-strength-card h3,
.petroleum-service-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.petroleum-strength-card h3 {
  color: var(--cream);
}

.petroleum-strength-card p {
  margin: 0;
  color: rgba(245, 240, 225, 0.62);
  font-size: 0.95rem;
  line-height: 1.75;
}

.petroleum-service-image {
  aspect-ratio: 4 / 5;
}

.petroleum-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.petroleum-service-card {
  min-height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
}

.petroleum-service-card h3 {
  color: var(--navy);
}

.petroleum-service-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.7;
}

.petroleum-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(184, 134, 11, 0.18);
  border-bottom: 1px solid rgba(184, 134, 11, 0.18);
}

.petroleum-cta-inner .btn-gold {
  flex-shrink: 0;
}

.petroleum-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  flex-shrink: 0;
}

.agriculture-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 1rem;
}

.agriculture-photo-grid figure {
  min-height: 15rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--muted);
  box-shadow: var(--shadow-card);
}

.agriculture-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agriculture-photo-grid figure:first-child {
  grid-row: span 2;
}

@media (max-width: 991.98px) {

  .home-about-head,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-about-head {
    gap: 1rem;
    margin-bottom: 2.25rem;
  }

  .home-about-copy {
    max-width: none;
  }

  .petroleum-intro-grid,
  .petroleum-strength-grid {
    grid-template-columns: 1fr;
  }

  .petroleum-intro-copy {
    max-width: none;
  }

  .petroleum-service-image {
    aspect-ratio: 16 / 10;
  }

  .agriculture-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .agriculture-photo-grid figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 767.98px) {
  .home-about-visual img {
    aspect-ratio: 4 / 3;
  }

  .home-about-badge {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .petroleum-metrics,
  .petroleum-service-grid {
    grid-template-columns: 1fr;
  }

  .petroleum-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .petroleum-metrics div:last-child {
    border-bottom: 0;
  }

  .petroleum-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .petroleum-cta-actions {
    width: 100%;
  }

  .petroleum-visual-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .agriculture-photo-grid {
    grid-template-columns: 1fr;
  }

  .agriculture-photo-grid figure {
    min-height: 13rem;
  }
}