/* ==========================================================================
   Zee Group - Main Gateway Presentation
   Subdomain: mzeegroup.tsbrains.com
   Interactive 4 Companies Showcase with Official Logos & High-Impact Visuals
   ========================================================================== */

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

:root {
  --color-navy: #0B1F3A;
  --color-navy-deep: #071426;
  --color-maroon: #7A1F2B;
  --color-maroon-dark: #5C1520;
  --color-gold: #C5A059;
  --color-gold-light: #F0D59D;
  --color-white: #FFFFFF;
  --color-offwhite: #F8F9FA;
  --color-grey-light: #EEF1F4;
  --color-grey-border: #E2E6EC;
  --color-text-dark: #17202B;
  --color-text-muted: #555F6D;
  
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: Tahoma, 'Segoe UI', Geneva, Verdana, sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 12px rgba(7, 20, 38, 0.06);
  --shadow-md: 0 10px 30px rgba(7, 20, 38, 0.10);
  --shadow-lg: 0 20px 50px rgba(7, 20, 38, 0.18);
  --shadow-hover: 0 24px 60px rgba(11, 31, 58, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-offwhite);
  color: var(--color-text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Master Gateway Header */
.portal-topbar {
  background-color: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.65rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.topbar-links a:hover {
  color: #FFF;
}
.topbar-badge {
  color: var(--color-gold-light);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
}

.portal-nav {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.portal-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 0.5rem 0;
  text-align: center;
}
.portal-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.portal-main-logo {
  height: 60px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.portal-logo-link:hover .portal-main-logo {
  transform: scale(1.04);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-group-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-maroon) 100%);
  color: #FFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.25);
  flex-shrink: 0;
}
.brand-group-text {
  display: flex;
  flex-direction: column;
}
.brand-group-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.brand-group-subtitle {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-maroon);
  font-weight: 600;
}

/* Master Hero Banner */
.master-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy-deep);
  color: #FFF;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  text-align: center;
}
.master-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: brightness(0.85);
  transform: scale(1.02);
}
.master-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.94) 0%, rgba(11, 31, 58, 0.88) 55%, rgba(7, 20, 38, 0.98) 100%);
}
.master-hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
}
.gateway-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(240, 213, 157, 0.3);
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.gateway-pill span.dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-maroon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-maroon);
}
.master-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw + 0.8rem, 3.2rem);
  font-weight: 800;
  color: #FFF;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.master-hero h1 span.gold {
  color: var(--color-gold-light);
  text-shadow: 0 2px 14px rgba(240, 213, 157, 0.25);
}
.master-hero p.lead {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.15rem);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 2rem;
}

/* Master Hero Action Buttons */
.master-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-gold) 0%, #A67C2E 100%);
  color: #0B1F3A;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #F0D59D 0%, var(--color-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.45);
  color: #071426;
}
.btn-hero-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.btn-hero-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* 4 Company Animated Cards Grid */
.animated-gateway-section {
  position: relative;
  z-index: 15;
  margin-top: -3.5rem;
  padding-bottom: 5.5rem;
}
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

/* Single Company Card */
.gateway-card {
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-grey-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}
.gateway-card:hover,
.gateway-card:focus {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  text-decoration: none !important;
  color: inherit !important;
}

/* Top Background Image Banner of Card */
.gateway-card-banner {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-navy-deep);
}
.gateway-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.88);
}
.gateway-card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.gateway-card:hover .gateway-card-bg {
  transform: scale(1.08);
  filter: brightness(0.96);
}
.gateway-card-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.15) 0%, rgba(7, 20, 38, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}
.gateway-cr-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy-deep);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  letter-spacing: 0.02em;
}

/* Center Logo Container - Generous 135px Box with Crisp Framing */
.gateway-logo-wrap {
  position: relative;
  width: 135px;
  height: 135px;
  margin: -68px auto 1rem;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(7, 20, 38, 0.18);
  border: 4px solid #FFFFFF;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  overflow: hidden;
}
.gateway-card:hover .gateway-logo-wrap {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 20, 38, 0.26);
}
.gateway-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  padding: 4px;
}

/* Card Content Body */
.gateway-card-body {
  padding: 0.6rem 1.6rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.gateway-company-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gateway-tagline {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: block;
}
.gateway-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

/* Action Button Inside Card */
.gateway-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  color: #FFF;
  transition: var(--transition);
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  min-height: 46px;
}
.gateway-enter-btn svg {
  transition: transform 0.25s ease;
}
.gateway-card:hover .gateway-enter-btn svg {
  transform: translateX(5px);
}

/* Specific Distinct Theming for the 4 Individual Companies */
.company-entity-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

/* 1. MZB Workshop (Industrial Red & Steel) */
.card-mzb {
  border-top: 5px solid #D32F2F;
}
.card-mzb .company-entity-tag {
  background: rgba(211, 47, 47, 0.1);
  color: #D32F2F;
}
.card-mzb .gateway-tagline { color: #D32F2F; }
.card-mzb .gateway-enter-btn {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
}
.card-mzb:hover {
  border-color: #D32F2F;
  box-shadow: 0 24px 50px rgba(211, 47, 47, 0.18);
}
.card-mzb:hover .gateway-logo-wrap {
  border-color: #D32F2F;
}

/* 2. ZITC Trading (Deep Corporate Navy & Gold) */
.card-zitc {
  border-top: 5px solid #0B1F3A;
}
.card-zitc .company-entity-tag {
  background: rgba(11, 31, 58, 0.1);
  color: #0B1F3A;
}
.card-zitc .gateway-tagline { color: #0B1F3A; }
.card-zitc .gateway-enter-btn {
  background: linear-gradient(135deg, #0B1F3A 0%, #173763 100%);
}
.card-zitc:hover {
  border-color: #0B1F3A;
  box-shadow: 0 24px 50px rgba(11, 31, 58, 0.22);
}
.card-zitc:hover .gateway-logo-wrap {
  border-color: #0B1F3A;
}

/* 3. Top One Interior (Architectural Royal Gold & Bronze) */
.card-topone {
  border-top: 5px solid #C5A059;
}
.card-topone .company-entity-tag {
  background: rgba(197, 160, 89, 0.15);
  color: #997327;
}
.card-topone .gateway-tagline { color: #997327; }
.card-topone .gateway-enter-btn {
  background: linear-gradient(135deg, #C5A059 0%, #997327 100%);
}
.card-topone:hover {
  border-color: #C5A059;
  box-shadow: 0 24px 50px rgba(197, 160, 89, 0.22);
}
.card-topone:hover .gateway-logo-wrap {
  border-color: #C5A059;
}

/* 4. It's On Wheel (Vibrant Culinary Orange & Black) */
.card-itsonwheel {
  border-top: 5px solid #E65100;
}
.card-itsonwheel .company-entity-tag {
  background: rgba(230, 81, 0, 0.1);
  color: #E65100;
}
.card-itsonwheel .gateway-tagline { color: #E65100; }
.card-itsonwheel .gateway-enter-btn {
  background: linear-gradient(135deg, #E65100 0%, #BF360C 100%);
}
.card-itsonwheel:hover {
  border-color: #E65100;
  box-shadow: 0 24px 50px rgba(230, 81, 0, 0.20);
}
.card-itsonwheel:hover .gateway-logo-wrap {
  border-color: #E65100;
}

/* Client Trust Section on Gateway */
.gateway-trust-section {
  background-color: var(--color-white);
  padding: 5rem 0;
  border-top: 1px solid var(--color-grey-border);
  border-bottom: 1px solid var(--color-grey-border);
  text-align: center;
}
.gateway-trust-header {
  max-width: 820px;
  margin: 0 auto 3rem;
}
.gateway-trust-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-maroon);
  background: rgba(122, 31, 43, 0.08);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 0.9rem;
}
.gateway-trust-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw + 0.6rem, 2.1rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.gateway-trust-sub {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Client Brand Badges Showcase Grid - 6 Large Clear Cards */
.gateway-client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.client-logo-card {
  background: #FFFFFF;
  border: 1px solid var(--color-grey-border);
  border-radius: 16px;
  padding: 1.4rem 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(7, 20, 38, 0.05);
  transition: var(--transition);
  text-align: center;
}
.client-logo-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.14);
}
.client-logo-img-wrap {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.client-logo-img {
  max-height: 100px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.35s ease;
}
.client-logo-card:hover .client-logo-img {
  transform: scale(1.08);
}
.client-name-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.client-rel-badge {
  font-size: 0.72rem;
  color: var(--color-maroon);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Master Footer */
.master-footer {
  background-color: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--color-maroon);
  text-align: center;
}
.master-footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Media Queries
   Ensures Flawless Viewport Adaptation from 320px to 1400px+
   ========================================================================== */

@media (max-width: 1200px) {
  .gateway-client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 992px) {
  .portal-nav-hint {
    display: none;
  }
  .master-hero {
    min-height: auto;
    padding: 4.5rem 0 4.5rem;
  }
}

@media (max-width: 860px) {
  .gateway-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .gateway-card {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .animated-gateway-section {
    margin-top: -2.5rem;
    padding-bottom: 4.5rem;
  }
  .gateway-client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.2rem;
  }
  .portal-topbar .container {
    justify-content: center;
    text-align: center;
  }
  .topbar-links {
    justify-content: center;
    gap: 1rem;
  }
  .topbar-badge {
    display: block;
    width: 100%;
    text-align: center;
  }
  .portal-nav-inner {
    height: 72px;
    justify-content: center;
  }
  .portal-main-logo {
    height: 48px;
    max-width: 210px;
  }
  .master-hero {
    padding: 3.5rem 0 3.5rem;
  }
  .master-hero h1 {
    font-size: 1.85rem;
  }
  .master-hero p.lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .master-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 60px;
  }
  .btn-hero-primary,
  .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
  }
  .gateway-card-banner {
    height: 180px;
  }
  .gateway-logo-wrap {
    width: 120px;
    height: 120px;
    margin: -60px auto 0.8rem;
    border-radius: 18px;
  }
  .gateway-company-title {
    min-height: auto;
    font-size: 1.1rem;
  }
  .gateway-client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .client-logo-card {
    padding: 1.1rem 0.75rem;
    min-height: auto;
  }
  .client-logo-img-wrap {
    height: 90px;
    margin-bottom: 0.65rem;
  }
  .client-logo-img {
    max-height: 80px;
    max-width: 120px;
  }
  .client-name-label {
    font-size: 0.82rem;
  }
  .client-rel-badge {
    font-size: 0.68rem;
  }
}

@media (max-width: 400px) {
  .gateway-client-grid {
    grid-template-columns: 1fr;
  }
}
