/* ============================================
   Vhilv Technology - Main Stylesheet
   NOTES:
   - Mobile menu: removed fixed height, added max-height + scroll so all items show.
   - Projects: Added grouped Project Card (project-card-group) with 4 inner flipping mini-cards.
   - First project parent card now uses .project-card-group.no-flip (outer does not flip).
   - Mini cards flip individually (class .mini-card).
   ============================================ */

:root {
  --gradient-green-bg: linear-gradient(159deg, #8dbf33 0%, #158b21 93.77%);
  --gradient-green-text: linear-gradient(90deg, #8dbf33 0%, #00a300 100%);
  --gradient-green-text-alt: linear-gradient(90deg, #8dbf33 0%, #00a300 100%);
  --color-text-primary: #ffffff;
  --color-text-secondary: #000000;
  --color-bg-primary: #000000;
  --color-bg-overlay: rgba(86, 86, 86, 0.2);
  --neon: #79c52c;

  /* Brand colors for social icons */
  --brand-facebook: #1877F2;
  --brand-twitter: #1DA1F2;
  --brand-instagram: #E4405F;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
}
body.menu-open { overflow: hidden; }

.site-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.62);
  transition: filter 0.6s ease;
}
/* Applied by JS at 00:04 when hero-alt.mp4 is playing */
.site-bg-video.is-alt-blur {
  filter: brightness(0.62) blur(3px);
}

.page-content { position: relative; z-index: 1; }

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

.section-title-wrapper { display: flex; justify-content: center; margin-bottom: 40px; }
.section-title-container { display: inline-block; background-color: rgba(0, 0, 0, 0.24); padding: 9px 23px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.14); }
.section-title {
  background: var(--gradient-green-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-fill-color: transparent;
  font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 18px; text-align: center;
}

.btn {
  display: inline-block; padding: 9px 23px; border-radius: 18px;
  font-family: 'Michroma', sans-serif; font-size: 11px; font-weight: 400; text-align: center;
  cursor: pointer; transition: all 0.3s ease;
}
.btn-primary { background: var(--gradient-green-bg); color: var(--color-text-secondary); }
.btn-secondary { color: var(--color-text-primary); background-color: transparent; border: 1px solid rgba(255,255,255,0.25); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(141, 191, 51, 0.4); }

.text-gradient {
  background: var(--gradient-green-text-alt);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-fill-color: transparent;
}

@media (max-width: 768px) {
  section { padding-top: 48px; padding-bottom: 48px; }
  .section-title-wrapper { margin-bottom: 24px; }
}

/* Header */
.header-section {
  padding-top: 12px;
  padding-bottom: 12px;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.site-header.container { max-width: 1100px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-header .logo,
.site-header .login-btn { display: none !important; }

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}
.mobile-menu-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(121,197,44,0.4));
}

/* Desktop Nav */
.main-nav {
  background: linear-gradient(180deg, rgba(74, 74, 74, 0.46) 0%, rgba(0, 0, 0, 0.46) 100%);
  border: 1px solid #4f4f4f; border-radius: 21px; padding: 4px;
  margin-left: 0;
}
.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 30px; padding: 0 30px;
}
.nav-links a {
  font-family: 'Michroma', sans-serif; font-size: 11px; color: var(--color-text-primary);
  padding: 9px 15px; border-radius: 17px; transition: all 0.3s ease;
}
.nav-links a.active, .nav-links a:hover {
  background: linear-gradient(137deg, rgba(151, 194, 53, 0.93) 0%, rgba(6, 135, 34, 0.93) 96.75%);
  color: var(--color-text-secondary);
}

/* Mobile menu (Updated for full visibility & scroll safety) */
#mobile-menu {
  position: fixed;
  z-index: 70;
  width: 116px;
  top: 0;
  right: 0;
}
#mobile-menu[hidden] { display: none; }

#mobile-menu .menu-container {
  width: 300px;
  max-height: calc(100vh - 32px);
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  outline: 1px solid #4f4f4f;
  background: transparent;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}

#mobile-menu .menu-background {
  width: 300px;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 74, 74, 0.46) 0%, rgba(0, 0, 0, 0.46) 100%);
  pointer-events: none;
}

#mobile-menu .menu-header { display: none; }

#mobile-menu .menu-items {
  position: relative;
  padding: 13px 0 18px 16px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 19px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 194, 53, 0.6) rgba(0,0,0,0.2);
}
#mobile-menu .menu-items::-webkit-scrollbar {
  width: 6px;
}
#mobile-menu .menu-items::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
}
#mobile-menu .menu-items::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #97C235, #068722);
  border-radius: 10px;
}

#mobile-menu .menu-item {
  width: 112px;
  display: block;
  text-align: center;
  font-size: 11px;
  font-family: "Michroma", sans-serif;
  color: white;
  cursor: pointer;
  transition: color 0.25s ease, background .25s ease, transform .15s ease, box-shadow .25s ease;
  border-radius: 17px;
  padding: 8px 0;
  user-select: none;
}
#mobile-menu .menu-item.active,
#mobile-menu .menu-item:focus-visible {
  background: linear-gradient(137deg, rgba(151, 194, 53, 0.93) 0%, rgba(6, 135, 34, 0.93) 96.75%);
  color: #000;
  box-shadow: 0 4px 12px rgba(141,191,51,0.35);
  outline: none;
}
#mobile-menu .menu-item:hover { color: #97c235; }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}

/* Hero */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(520px, 72vh, 680px);
  padding-top: 200px;
  padding-bottom: 56px;
  text-align: center;
  position: relative;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  margin-top: 0;
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.hero-content-wrapper.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}

.hero-logo {
  position: relative;
  width: 248px; height: 248px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 44px;
  top: clamp(-200px, -20vw, -40px);
  cursor: pointer;
}
.hero-logo:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
  border-radius: 16px;
}
.hero-logo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  animation: heroFloatBg 4.8s ease-in-out infinite;
}
.hero-logo-icon {
  position: relative;
  z-index: 1;
  width: 72%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
  animation: heroFloatIcon 4.8s ease-in-out infinite;
  animation-delay: 0.2s;
}

@keyframes heroFloatBg {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes heroFloatIcon {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@media (max-width: 992px) {
  .hero-section { min-height: clamp(480px, 68vh, 620px); padding-top: 88px; padding-bottom: 48px; }
}
@media (max-width: 768px) {
  .hero-logo { width: 200px; height: 200px; top: clamp(-60px, -6vw, -24px); }
  .hero-section { min-height: clamp(420px, 64vh, 520px); padding-top: 80px; padding-bottom: 44px; }
  .hero-logo-icon { width: 72%; max-height: 72%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-bg, .hero-logo-icon { animation: none !important; }
}

.hero-text-box {
  position: relative;
  top: clamp(-100px, -12vw, -72px);
  background: linear-gradient(180deg, rgba(74, 74, 74, 0.18) 0%, rgba(0, 0, 0, 0.18) 100%);
  border-radius: 121px;
  padding: 12px 90px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-text-box h1 {
  font-family: 'Michroma', sans-serif;
  font-size: 30px; line-height: 1.4; color: var(--color-text-primary);
}
.hero-buttons { display: flex; gap: 10px; }

@media (max-width: 992px) {
  .hero-logo { margin-bottom: 36px; }
}
@media (max-width: 768px) {
  .hero-text-box {
    top: clamp(0px, 6vw, 32px); /* Moves it further down compared to before */
    padding: 18px 20px;
  }
  .hero-text-box h1 { font-size: 24px; }
  .hero-buttons { flex-direction: column; }
}

/* About */
.about-section { text-align: center; }
.about-heading {
  font-family: 'Michroma', sans-serif;
  font-size: 22px; font-weight: 400; margin-bottom: 24px;
}
.about-content {
  background: linear-gradient(180deg, rgba(74, 74, 74, 0.18) 0%, rgba(0, 0, 0, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 45px;
  padding: 28px 32px;
  max-width: 1002px; margin: 0 auto;
}
.about-content p {
  font-family: 'Michroma', sans-serif;
  font-size: 18px; line-height: 1.5; letter-spacing: 0.6px;
}
@media (max-width: 768px) {
  .about-heading { font-size: 20px; }
  .about-content p { font-size: 16px; }
  .about-content { padding: 22px; }
}

/* Shared card basics */
.card-bg-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-bg-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-icon-wrapper { width: 74px; height: 74px; }
.card-icon { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 6px rgba(121,197,44,0.5)); }
.card-title {
  font-family: 'Michroma', sans-serif; font-size: 18px; color: #00a300; margin-bottom: 10px;
}
.card-description { font-family: 'Poppins', sans-serif; font-size: 14px; line-height: 1.5; color: var(--color-text-primary); }

.corner { position: absolute; width: 22px; height: 22px; pointer-events: none; border-color: var(--neon); filter: drop-shadow(0 0 6px rgba(121,197,44,0.7)); }
.corner-tl { top: 10px; left: 10px; border-left: 2px solid var(--neon); border-top: 2px solid var(--neon); border-radius: 6px 0 0 0; }
.corner-tr { top: 10px; right: 10px; border-right: 2px solid var(--neon); border-top: 2px solid var(--neon); border-radius: 0 6px 0 0; }
.corner-bl { bottom: 10px; left: 10px; border-left: 2px solid var(--neon); border-bottom: 2px solid var(--neon); border-radius: 0 0 0 6px; }
.corner-br { bottom: 10px; right: 10px; border-right: 2px solid var(--neon); border-bottom: 2px solid var(--neon); border-radius: 0 0 6px 0; }

/* Services */
.services-section { border: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }

.service-card {
  position: relative;
  border-radius: 16px;
  aspect-ratio: 323 / 474;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.35);
  background: transparent;
  overflow: hidden;
  perspective: 1200px;
}
.service-card .card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .card-inner { transform: rotateY(180deg); }
}
.service-card.is-flipped .card-inner { transform: rotateY(180deg); }

.service-card .card-face {
  position: absolute; inset: 0;
  border-radius: inherit; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service-card .card-front { background: #000; }
.service-card .card-front::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.25));
  z-index: 2;
}
.service-card .card-front-title {
  position: absolute;
  left: 50%;
  bottom: 128px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: 'Michroma', sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #00a300;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.65);
  padding: 4px 8px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .service-card .card-front-title {
    font-size: 16px;
    bottom: 88px;
  }
}
.service-card .card-back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.86));
  padding: 20px;
  text-align: center;
}
.service-card .card-back .card-back-content { max-width: 90%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.service-card .card-overlay { display: none !important; }
.services-section .service-card .corner { display: none !important; }
.services-section .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  border-radius: inherit;
  filter: drop-shadow(0 0 8px rgba(121,197,44,0.9));
  background:
    linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 64px 3px no-repeat,
    linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 3px 64px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 64px 3px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 3px 64px no-repeat;
}
@media (max-width: 1200px) {
  .services-section .service-card::before {
    background:
      linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 54px 2.5px no-repeat,
      linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 2.5px 54px no-repeat,
      linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 54px 2.5px no-repeat,
      linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 2.5px 54px no-repeat;
  }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-section .service-card::before {
    background:
      linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 46px 2px no-repeat,
      linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 2px 46px no-repeat,
      linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 46px 2px no-repeat,
      linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 2px 46px no-repeat;
  }
}

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.project-card {
  position: relative;
  border-radius: 16px;
  aspect-ratio: 323 / 474;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.35);
  background: transparent;
  overflow: hidden;
  perspective: 1200px;
}
.project-card .card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover .card-inner { transform: rotateY(180deg); }
}
.project-card.is-flipped .card-inner { transform: rotateY(180deg); }

.project-card .card-face {
  position: absolute; inset: 0;
  border-radius: inherit; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; align-items: center; justify-content: center;
}
.project-card .card-front { background: #000; }
.project-card .card-front::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.25));
  z-index: 2;
}
.project-card .card-back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.86));
  padding: 20px;
  text-align: center;
}
.project-card .card-back .card-back-content { max-width: 90%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.projects-section .project-card .corner { display: none !important; }
.project-card .card-overlay { display: none !important; }
.projects-section .project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  border-radius: inherit;
  filter: drop-shadow(0 0 8px rgba(121,197,44,0.9));
  background:
    linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 64px 3px no-repeat,
    linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 3px 64px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 64px 3px no-repeat,
    linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 3px 64px no-repeat;
}
@media (max-width: 992px) {
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .projects-section .project-card::before {
    background:
      linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 46px 2px no-repeat,
      linear-gradient(var(--neon), var(--neon)) left 8px top 8px / 2px 46px no-repeat,
      linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 46px 2px no-repeat,
      linear-gradient(var(--neon), var(--neon)) right 8px bottom 8px / 2px 46px no-repeat;
  }
}

/* Achievements */
.achievements-section { border: 0; }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(253px, 253px));
  gap: 28px;
  justify-content: center;
}
.achievement-card {
  width: 253px;
  height: 217px;
  padding: 10px 0;
  border-radius: 36px;
  background: rgba(86, 86, 86, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: background .28s ease, border-color .28s ease, backdrop-filter .28s ease, -webkit-backdrop-filter .28s ease, box-shadow .28s ease, transform .18s ease;
  color: #fff;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.achievement-card:hover,
.achievement-card:focus-visible,
.achievement-card.is-active {
  background: rgba(86, 86, 86, 0.02);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(0px) saturate(140%) brightness(115%);
  -webkit-backdrop-filter: blur(0px) saturate(140%) brightness(115%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
  outline: none;
}
.achievement-card:active { transform: translateY(0); }
.achievement-icon {
  width: clamp(52px, 6.5vw, 70px);
  height: clamp(52px, 6.5vw, 70px);
  object-fit: contain;
}
.achievement-text {
  color: #FFF;
  text-align: center;
  font-family: 'Michroma', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 145%;
  letter-spacing: 0.75px;
  display: inline-block;
}
.achievement-text br { display: block; content: ""; margin: 20px 0; }
@media (max-width: 576px) {
  .achievements-grid { grid-template-columns: 1fr; }
  .achievement-card { width: 100%; max-width: 340px; margin: 0 auto; }
}

/* Team */
.team-section .team-cards {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 22px;
  padding: 10px;
}
.team-section .card {
  position: relative;
  width: 300px;
  height: 400px;
  margin: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px solid transparent;
  background-clip: padding-box;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 15px 35px rgba(0,0,0,.2), 0px 10px 10px rgba(46, 54, 68, 0.03);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.team-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.team-section .card .content {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  opacity: 0.55;
  transition: 0.5s ease;
  text-align: center;
  padding: 0 10px 110px;
  height: 100%;
  box-sizing: border-box;
}
.team-section .card .img {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid rgba(0,0,0,.25);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
  margin-top: 22px;
}
.team-section .card .img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-section .card .cardContent { margin-top: auto; }
.team-section .card .cardContent h3 {
  font-family: 'Michroma', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 46px;
  color: #FFFFFF;
  text-transform: none;
  letter-spacing: 0;
  margin: 12px 0 0;
  max-width: 90%;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.team-section .card .cardContent h3 span {
  display: block;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0.4px;
  opacity: 0.9;
  margin-top: 6px;
  white-space: normal;
}
.team-section .card .cardContent h3.team-name-long { white-space: normal; overflow: visible; text-overflow: clip; }
.team-section .card .cardContent h3.team-name-long .name-line { display: block; }

@media (min-width: 992px) {
  .team-section .card .cardContent h3.team-name-long {
    font-size: 30px;
    line-height: 42px;
  }
}
@media (min-width: 769px) and (max-width: 991px) {
  .team-section .card .cardContent h3.team-name-long {
    font-size: 28px;
    line-height: 40px;
  }
}

.team-section .card .sci {
  position: absolute;
  bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-section .card .sci li {
  margin: 0 10px;
  transform: translateY(40px);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
  transition-delay: calc(0.1s * var(--i));
}
.team-section .card .sci a {
  font-size: 22px;
  color: #fff;
  display: inline-flex;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.team-section .card .sci a:hover { transform: translateY(-3px); }
.team-section .card .sci li:nth-child(1) a:hover,
.team-section .card .sci li:nth-child(1) a:active,
.team-section .card .sci li:nth-child(1) a:focus-visible { background: var(--brand-facebook); color:#fff; }
.team-section .card .sci li:nth-child(2) a:hover,
.team-section .card .sci li:nth-child(2) a:active,
.team-section .card .sci li:nth-child(2) a:focus-visible {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 8%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color:#fff;
}

.team-section .card .sci li:nth-child(3) a:hover,
.team-section .card .sci li:nth-child(3) a:active,
.team-section .card .sci li:nth-child(3) a:focus-visible {
  background: #000; /* X brand black */
  color: #fff;
}

.team-section .card .sci li:nth-child(3) a:hover,
.team-section .card .sci li:nth-child(3) a:active,
.team-section .card .sci li:nth-child(3) a:focus-visible { background: var(--brand-twitter); color:#fff; }
.team-section .card:hover .content { opacity: 1; transform: translateY(-20px); }
.team-section .card:hover .sci li { transform: translateY(0); opacity: 1; }

@media (max-width: 768px) {
  .team-section .card .cardContent h3 { font-size: 26px; line-height: 38px; }
}
@media (max-width: 380px) {
  .team-section .card .cardContent h3 { font-size: 22px; line-height: 32px; max-width: 94%; }
}
@media (max-width: 992px) {
  .team-section .team-cards { gap: 18px; }
  .team-section .card { width: 100%; max-width: 340px; }
}

/* Career Section */
.career-section { text-align: center; }
.career-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(74,74,74,0.18) 0%, rgba(0,0,0,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 45px;
  padding: 36px 42px;
}
.career-intro {
  font-family: 'Michroma', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 28px;
}
.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.career-item {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 22px 18px 26px;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.career-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.5);
}
.career-item h3 {
  font-family: 'Michroma', sans-serif;
  font-size: 16px;
  margin: 0 0 10px;
  color: #00a300;
}
.career-item p {
  font-size: 14px;
  margin: 0 0 14px;
}
.career-item .apply-btn {
  display: inline-block;
  background: var(--gradient-green-bg);
  color: #000;
  font-size: 12px;
  font-family: 'Michroma', sans-serif;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.career-item .apply-btn:hover {
  box-shadow: 0 4px 12px rgba(141,191,51,0.4);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .career-wrapper { padding: 26px 26px; }
  .career-intro { font-size: 18px; }
}

/* Footer */
.footer-section { padding-top: 60px; padding-bottom: 40px; }
.footer-logo-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 32px; }
.footer-logo-img { width: 90px; height: 90px; object-fit: contain; }
.footer-logo-text { font-family: 'Michroma', sans-serif; font-size: 30px; font-weight: 400; }
.footer-logo-text .text-gradient { font-family: 'Michroma', sans-serif; background: var(--gradient-green-text-alt); -webkit-background-clip: text; background-clip: text; }

.footer-main-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  background: transparent; padding: 18px; border-radius: 16px; margin-bottom: 28px;
  border: 1px solid #00a300;
}
.footer-links-area {
  display: flex; gap: 32px; justify-content: center; align-items: center;
  text-align: center; width: 100%;
}
.footer-col { flex: 1; min-width: 220px; }
.footer-col-title {
  font-family: 'Michroma', sans-serif; font-size: 15px; font-weight: 400;
  background: var(--gradient-green-text-alt);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-fill-color: transparent; margin-bottom: 16px;
}
.social-col .social-icons {
  display: flex; flex-direction: row; gap: 16px; justify-content: center; align-items: center;
}
.social-icons a { display: block; width: 32px; height: 32px; border-radius: 50%; }
.social-icons img { width: 100%; height: 100%; object-fit: contain; transition: filter .25s ease; }
.footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.footer-links a { font-size: 14px; }

.footer-contact-area {
  background: transparent; border: 1px solid #00a300;
  border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 18px;
}
.contact-item { display: flex; gap: 14px; align-items: baseline; }
.contact-item .contact-label {
  font-family: 'Michroma', sans-serif; font-size: 14px;
  background: var(--gradient-green-text-alt);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-fill-color: transparent; flex-basis: 80px; flex-shrink: 0;
}
.contact-item p, .contact-item a { font-size: 14px; }

.footer-subscribe-section {
  background: transparent; border: 1px solid #00a300;
  border-radius: 16px; padding: 22px; display: flex; gap: 24px; align-items: center; margin-bottom: 36px;
}
.subscribe-text { flex: 1; }
.subscribe-text p { font-size: 15px; line-height: 1.5; }
.subscribe-divider { width: 1px; background-color: #fff; align-self: stretch; opacity: 0.35; }
.subscribe-form-wrapper { flex: 1; width: 100%; }

.subscribe-form {
  position: relative;
  border: 1px solid #fff;
  border-radius: 31px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  overflow: hidden;
  box-sizing: border-box;
}
.subscribe-form input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}
.subscribe-form button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-green-bg);
  border: 1px solid #00a300;
  border-radius: 31px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 0 18px;
  min-width: 112px;
  min-height: 42px;
  line-height: 42px;
  cursor: pointer;
  margin: 0;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
@media (max-width: 380px) {
  .subscribe-form button { min-width: 104px; padding: 0 14px; font-size: 15px; }
}
@media (max-width: 340px) {
  .subscribe-form button { min-width: 96px; font-size: 14px; }
}

.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 16px; }
.footer-line { flex-grow: 1; height: 1px; background: #1aff00; opacity: 0.35; }
.legal-links { display: flex; gap: 24px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; }
.legal-links a {
  background: linear-gradient(90deg, #8eab1e 0%, #18760d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-fill-color: transparent;
}

.footer-section .social-col .social-icons a {
  transition: background-color .25s ease, transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.footer-section .social-col .social-icons a:hover,
.footer-section .social-col .social-icons a:active,
.footer-section .social-col .social-icons a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.footer-section .social-col .social-icons a:hover img,
.footer-section .social-col .social-icons a:active img,
.footer-section .social-col .social-icons a:focus-visible img {
  filter: brightness(0) invert(1);
}
.footer-section .social-col .social-icons a:nth-child(1):hover,
.footer-section .social-col .social-icons a:nth-child(1):active,
.footer-section .social-col .social-icons a:nth-child(1):focus-visible { background: var(--brand-facebook); }
.footer-section .social-col .social-icons a:nth-child(2):hover,
.footer-section .social-col .social-icons a:nth-child(2):active,
.footer-section .social-col .social-icons a:nth-child(2):focus-visible { background: var(--brand-twitter); }
.footer-section .social-col .social-icons a:nth-child(3):hover,
.footer-section .social-col .social-icons a:nth-child(3):active,
.footer-section .social-col .social-icons a:nth-child(3):focus-visible {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 8%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@media (max-width: 1024px) {
  .footer-main-content, .footer-subscribe-section { grid-template-columns: 1fr; flex-direction: column; }
  .footer-links-area { flex-direction: column; }
  .subscribe-divider { display: none; }
}
@media (max-width: 768px) {
  .legal-links { font-size: 16px; gap: 18px; }
  .footer-bottom { flex-direction: column; }
  .footer-line { width: 100%; }
}

/* Copyright bar */
.copyright-section {
  background: rgba(0,0,0,0.85);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 12px 22px;
  text-align: center;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.copyright-section span {
  background: var(--gradient-green-text-alt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Overrides / animations */
.hero-logo-bg,
.hero-logo-icon {
  animation: heroFloat 4.8s ease-in-out infinite !important;
}
.hero-logo-icon { animation-delay: 0s !important; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-bg, .hero-logo-icon { animation: none !important; }
}
@media (min-width: 769px) and (max-width: 992px) {
  .hero-text-box { top: clamp(-120px, -13vw, -80px) !important; }
}
@media (min-width: 993px) {
  .hero-text-box { top: clamp(-140px, -12vw, -90px) !important; }
}
@media (min-width: 769px) {
  .hero-logo-icon { position: relative; top: -15px; }
}
@media (max-width: 768px) {
  .hero-logo-icon { position: relative; top: -6px; }
}
.hero-logo-bg,
.hero-logo-icon { animation-duration: 1.2s !important; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .mobile-menu-toggle { display: none; }
  .projects-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* Capsule nav styling */
.header-section .main-nav {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(68, 73, 79, 0.72) 0%, rgba(18, 20, 24, 0.72) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 10px 26px rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.header-section .nav-links { gap: 8px; padding: 0 0px; }
.header-section .nav-links a {
  position: relative;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Michroma', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .15s ease;
}
.header-section .nav-links a:hover:not(.active),
.header-section .nav-links a:focus-visible:not(.active) {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.35);
  outline: none;
}
.header-section .nav-links a.active {
  color: #0b0b0b;
  background: linear-gradient(137deg, #97C235 0%, #068722 100%);
  border: 1px solid rgba(0,0,0,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -10px 22px rgba(0,0,0,0.35),
    0 4px 12px rgba(141, 191, 51, 0.35);
}
.header-section .nav-links a:hover { transform: translateY(-1px); }
@media (min-width: 900px) {
  .header-section .main-nav { display: inline-flex; }
}
@media (max-width: 1024px) {
  .header-section .main-nav { display: none; }
}

/* =========================================================
   New Group Project Card + Mini Cards
   ========================================================= */
.project-card-group {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  aspect-ratio: 323 / 474;
  overflow: hidden;
}
.project-card-group .group-title {
  font-family: 'Michroma', sans-serif;
  font-size: 14px;
  text-align: center;
  margin: 0 0 8px;
  background: var(--gradient-green-text-alt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.project-card-group .group-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  place-items: stretch;
}
.mini-card {
  position: relative;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  perspective: 1000px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mini-card:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}
.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}
.mini-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
.mini-card.is-flipped .mini-inner { transform: rotateY(180deg); }

.mini-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
}
.mini-front {
  background: #000;
}
.mini-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.5));
}
.mini-front-title {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-family: 'Michroma', sans-serif;
  letter-spacing: 0.4px;
  background: rgba(0,0,0,0.45);
  padding: 3px 8px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #00a300;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini-back {
  background: linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.92));
  transform: rotateY(180deg);
  padding: 6px 8px;
  text-align: center;
}
.mini-back-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-back-content h4 {
  margin: 0;
  font-size: 12px;
  font-family: 'Michroma', sans-serif;
  color: #00a300;
}
.mini-back-content p {
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
}
.project-card-group .group-note {
  margin-top: 10px;
  font-size: 10px;
  text-align: center;
  opacity: 0.65;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .project-card-group { aspect-ratio: auto; min-height: 420px; }
  .project-card-group .group-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (hover: hover) and (pointer: fine) {
  .mini-card:hover .mini-inner { transform: rotateY(180deg); }
}
.project-card-group.no-flip .card-inner { transform: none !important; }
.project-card-group.no-flip .card-inner * { pointer-events: auto; }

/* ================================
   VHILV Animation Integration
   ================================ */

/* Custom font (ensure the file exists at assets/fonts/Leafy-Regular.ttf) */
@font-face {
  font-family: 'Leafy';
  src: url('../fonts/Leafy-Regular.ttf') format('truetype');
  font-display: swap;
}

.vhilv-sequence {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  z-index: 4; /* above hero content (hidden during alt video anyway) */
  transition: opacity .6s ease;
}

.vhilv-sequence.is-visible {
  opacity: 1;
  pointer-events: none;
}

.vhilv-word {
  font-family: 'Leafy', 'Michroma', sans-serif;
  perspective: 1000px;
  line-height: 1;
  display: flex;
  gap: 4px;
}

.vhilv-word span {
  cursor: default;
  display: inline-block;
  font-size: clamp(60px, 13vw, 140px);
  user-select: none;
  line-height: .8;
  background: linear-gradient(45deg, #8dbf33, #00a300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.55), 0 0 12px rgba(0,163,0,0.35);
  opacity: 0.04; /* subtle until animated */
  transition: opacity .3s ease;
}

.vhilv-word span.active {
  opacity: 1;
}

/* Letter animations */
.vhilv-word span:nth-child(1).active { animation: vh-balance 1.5s ease-out; transform-origin: bottom left; }
@keyframes vh-balance { 0%,100%{transform:rotate(0);}30%,60%{transform:rotate(-45deg);} }

.vhilv-word span:nth-child(2).active { animation: vh-shrinkjump 1s ease-in-out; transform-origin: bottom center; }
@keyframes vh-shrinkjump {
  10%,35%{transform:scale(2,.2) translate(0,0);}
  45%,50%{transform:scale(1) translate(0,-150px);}
  80%{transform:scale(1) translate(0,0);}
}

.vhilv-word span:nth-child(3).active { animation: vh-falling 2s ease-out; transform-origin: bottom center; }
@keyframes vh-falling {
  12%{transform:rotateX(240deg);}
  24%{transform:rotateX(150deg);}
  36%{transform:rotateX(200deg);}
  48%{transform:rotateX(175deg);}
  60%,85%{transform:rotateX(180deg);}
  100%{transform:rotateX(0);}
}

.vhilv-word span:nth-child(4).active { animation: vh-rotate 1s ease-out; }
@keyframes vh-rotate { 20%,80%{transform:rotateY(180deg);}100%{transform:rotateY(360deg);} }

.vhilv-word span:nth-child(5).active { animation: vh-toplong 1.5s linear; }
@keyframes vh-toplong {
  10%,40%{transform:translateY(-48vh) scaleY(1);}
  90%{transform:translateY(-48vh) scaleY(4);}
}

/* TECHNOLOGY typing effect */
.vhilv-tech {
  font-family: 'Orbitron', 'Michroma', sans-serif;
  font-size: clamp(28px, 5vw, 56px);
  color: #ffffff;
  border-right: 3px solid white;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  opacity: 0;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(0,163,0,0.45), 0 0 18px rgba(0,163,0,0.25);
  /* Ensure width:auto after animation uses content width, not full row */
  display: inline-block; /* Added to prevent last letter clipping after animation */
}

.vhilv-tech.start {
  animation: vh-typing 2s steps(10, end) forwards, vh-blink 0.7s step-end infinite;
  opacity: 1;
}

@keyframes vh-typing {
  from { width: 0; }
  to { width: 10ch; } /* TECHNOLOGY = 10 letters */
}

@keyframes vh-blink {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

@media (prefers-reduced-motion: reduce) {
  .vhilv-word span,
  .vhilv-word span.active,
  .vhilv-tech.start {
    animation: none !important;
    transform: none !important;
    opacity: 1;
  }
  .vhilv-tech {
    width: auto !important;
    border: none !important;
  }
}

/* Footer contact alignment fix: make labels a fixed column and values align uniformly */
.footer-contact-area .contact-item {
  display: grid;
  grid-template-columns: 140px 1fr; /* label width | value */
  align-items: start;               /* top align multi-line like address */
  column-gap: 12px;
}

.footer-contact-area .contact-item .contact-label {
  /* remove flex constraints since we use grid */
  flex-basis: auto;
  flex-shrink: 0;
  text-align: left;
  white-space: nowrap; /* prevent label wrap */
  margin-top: 2px;     /* small visual balance */
}

.footer-contact-area .contact-item p,
.footer-contact-area .contact-item a {
  margin: 0;           /* ensure consistent start */
  display: block;
  line-height: 1.5;
  word-break: break-word; /* safe for long emails if any */
}

/* Slightly reduce label width on small screens */
@media (max-width: 480px) {
  .footer-contact-area .contact-item {
    grid-template-columns: 120px 1fr;
  }
}