/* ============================================
   RATTYDATA zkEVM - MAIN STYLESHEET
   ============================================ */

/* CSS VARIABLES */
:root { 
 --bg: linear-gradient(135deg, #030201 0%, #060402 15%, #0A0705 35%, #0F0B08 60%, #140F0B 80%, #19130E 100%);
  --panel: rgba(26, 15, 10, 0.95);
  --panel2: rgba(36, 22, 17, 0.9);
  --text: #FFF8DC;
  --muted: #F5E6C8;
  --accent: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
  --accent-solid: #FF6347;
  --border: rgba(255, 140, 0, 0.3);
  --warn: #FFD700;
  --success: #32CD32;
  --warm-glow: 0 0 15px rgba(255, 140, 0, 0.3);
}

/* BASE RESET */
* { 
  box-sizing: border-box; 
}

html {
  background: #000000 !important; /* Force solid black base */
  min-height: 100%;
  width: 100%;
}

html, body {
  margin: 0; 
  padding: 0; 
  background-color: #000000 !important; /* Force black fallback */
  background-image: linear-gradient(135deg, #030201 0%, #060402 15%, #0A0705 35%, #0F0B08 60%, #140F0B 80%, #19130E 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 700;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scroll */
  max-width: 100vw; /* Prevent content from being wider than viewport */
  width: 100%;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 99, 71, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 60% 30%, rgba(255, 215, 0, 0.01) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* WRAPPER */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* ============================================
   HEADER
   ============================================ */

.ratty-header {
  margin: 20px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--warm-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--border);
  filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.36)) 
          drop-shadow(0 0 50px rgba(255, 99, 71, 0.24))
          drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
  animation: headerPulse 4s ease-in-out infinite;
}

@keyframes headerPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}


.nav-category {
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: #dfd3bb;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.2s ease;
  padding-bottom: 24px; /* Bigger bridge to cover the gap */
}

.nav-items-row {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0; /* Remove margin, let padding handle spacing */
  padding-top: 10px; /* Space between category and links */
  gap: 18px;
  flex-wrap: nowrap;
  z-index: 50;
}



/* ============================================
   NAVIGATION (EXACT PRODUCTION STRUCTURE)
   ============================================ */


/* Default ILLUVIALS */
.nav-section:first-of-type .nav-items-row {
  display: flex;
}

.nav-section:first-of-type .nav-category {
  color: var(--warn);
}

/* Active state stays */
.nav-section.nav-active .nav-items-row {
  display: flex !important;
}

.nav-section.nav-active .nav-category {
  color: var(--warn) !important;
}

/* Hide default when another is active */
.nav-menu:has(.nav-section:not(:first-of-type).nav-active) .nav-section:first-of-type .nav-items-row {
  display: none;
}

.nav-menu:has(.nav-section:not(:first-of-type).nav-active) .nav-section:first-of-type .nav-category {
  color: #dfd3bb;
}


.nav-menu { 
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding: 14px 28px 26px 28px;
  background: var(--panel);
  border-radius: 12px;
  border: 2px solid var(--border);
  margin: 24px 0;
  position: relative;
  flex-wrap: wrap;
  box-shadow: var(--warm-glow);
  min-height: 60px;
}

.nav-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  border: 2px solid #000000;
  pointer-events: none;
  z-index: 100;
}

.nav-section {
  position: relative;
  display: inline-block;
}

.nav-category {
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: #dfd3bb;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.2s ease;
  padding-bottom: 18px;
}

.nav-section:hover .nav-category {
  color: var(--warn);
}

.nav-items-row {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  padding-top: 11px;
  gap: 18px;
  flex-wrap: nowrap;
  z-index: 50;
}

/* ILLUVIALS open by default */
.nav-section:first-of-type .nav-items-row {
  display: flex;
}

.nav-section:first-of-type .nav-category {
  color: var(--warn);
}

/* Hover behavior */
.nav-section:hover .nav-items-row {
  display: flex;
}

.nav-item { 
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #FF8C00;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding: 8px 12px;
  margin: -8px -12px;
}

.nav-item:hover { 
  color: #FF6347;
}

.nav-item.active { 
  color: var(--warn);
}

/* Wallet Controls in Nav */
.nav-wallet-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-right: 4px;
  align-self: center;
  position: relative;
  top: 5px;
}

.wallet-display {
  background: rgba(50, 205, 50, 0.2); 
  border: 2px solid #32CD32;
  border-radius: 12px; 
  padding: 8px 12px; 
  display: none; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
  font-size: 13px;
  color: #32CD32;
  font-family: 'DIN Alternate', sans-serif;
}

.disconnect-btn {
  background: transparent;
  border: 1px solid #ff4444;
  color: #ff4444;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 700;
}

.disconnect-btn:hover {
  background: #ff4444;
  color: white;
}

/* ============================================
   CONNECT PASSPORT BUTTON (BLUE WITH PULSE)
   ============================================ */

.connect-passport-btn {
  background: linear-gradient(135deg, #4FC3F7, #29B6F6);
  color: white;
  border: 2px solid rgba(173, 216, 230, 0.5);
  border-radius: 7px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
  font-family: 'DIN Alternate', sans-serif;
  white-space: nowrap;
  align-self: center;
  animation: connectPulse 2s ease-in-out infinite;
}

.connect-passport-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 195, 247, 0.6);
  background: linear-gradient(135deg, #29B6F6, #03A9F4);
  border-color: rgba(173, 216, 230, 1);
  animation: none;
}

@keyframes connectPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
    border-color: rgba(173, 216, 230, 0.5);
  }
  50% {
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.8);
    border-color: rgba(173, 216, 230, 1);
  }
}

/* HERO SECTION - BIG VIDEO EXTENDING UNDER TEXT */

.hero {
  display: flex;
  gap: 0;
  margin: 60px 0;
  padding: 0; /* Remove padding so video can touch edges */
  background: #000000; /* Pure black */
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: var(--warm-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden; /* Clip to rounded corners */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  border: 2px solid #2a1b0c;
  pointer-events: none;
  z-index: 100;
}

.hero-visual {
  width: 1200px; /* 700 + 300 extra */
  height: 100%; /* Full height of container */
  min-height: 700px; /* TALLER */
  position: relative;
    margin: -4px 0; /* top/bottom negative margin */
  flex-shrink: 0;
  margin-left: 0; /* Touch left edge */
  border-radius: 16px 0 0 16px; /* Match container corners on left */
  overflow: hidden;
    margin-left: -250px; /* Adjust the number to move video left */
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 270px; /* Width of gradient fade */
  height: 100%;
  background: linear-gradient(to left, 
    transparent 0%, 
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.8) 80%,
    #000000 100%
  );
  pointer-events: none;
  z-index: 5;
}

.hero-visual::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 270px; /* Width of gradient fade */
  height: 100%;
  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.8) 80%,
    #000000 100%
  );
  pointer-events: none;
  z-index: 5;
}

.hero-illuvial {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center; /* Shift center slightly right */
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 50px;
  padding-right: 5px; /* Add right padding so text never touches edge */
  margin-left: -320px; /* Less negative = moves right */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: right;
  max-width: 600px;
  width: 100%;
}

.hero-title {
  font-size: 64px;
      font-weight: 400;
  letter-spacing: 1px;
color: var(--warn);
  margin: 0 0 40px 0; /* More space below */
  padding-bottom: 35px; /* More padding below title */
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90%;
  height: 1px;
background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 30%, #e7e4df 60%); /* Gradual fade */
}


.hero-subtitle {
  font-size: 14px;
  color: #f7efe1;
  margin: 0 0 40px 0;
  line-height: 1.8; /* More vertical spacing */
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-details p {
  font-size: 9.5pt;
    text-transform: uppercase;
  color: #f7efe1;
  margin: 0 0 20px 0;
  line-height: 2.6;
  letter-spacing: 1px;
  font-weight: 400;
  text-shadow: 0 0 20px rgba(169, 169, 169, 0.3); /* Gray glow */
}

/* On smaller screens, stack normally */
@media (max-width: 1400px) {
  .hero-content {
    margin-left: -200px; /* Less aggressive overlap */
    padding-right: 50px; /* More breathing room */
  }
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    padding: 0 !important; /* Force remove all padding */
    gap: 0 !important; /* Force no gap */
    min-height: auto !important; /* No min height */
  }
  
  .hero-visual {
    width: 100%;
    min-height: auto !important; /* No min height - size to image */
    height: auto !important;
    margin: 0 !important; /* Force remove ALL margins */
    border-radius: 12px;
    margin-bottom: 0 !important; /* No bottom margin */
  }
  
  .hero-illuvial {
    object-position: center center;
    display: block;
  }
  
  .hero-content {
    margin: 0 !important; /* Force no margin at all */
    padding: 0 24px 24px 24px !important; /* NO top padding */
    text-align: left;
  }
  
  .hero-title {
    margin-top: 0 !important; /* Force no top margin */
    padding-top: 24px; /* Small padding above title */
  }
  
  .hero-details {
    text-align: left; /* Left justify */
  }
  
  .hero-details p {
    text-align: left;
  }
  
  .hero-title::after {
    right: auto;
    left: 0;
  }
}

/* ============================================
   DIVIDER
   ============================================ */

.divider {
  margin: 90px 0;
}

/* ============================================
   ILLUVILORDS SECTION
   ============================================ */

.illuvilords-section {
  margin: 60px 0;
  padding: 40px; /* Add padding inside container */
  background: #000000; /* Black like hero */
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: var(--warm-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
}

.illuvilords-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  border: 1px solid #2a1b0c;
  pointer-events: none;
  z-index: 100;
}

.section-title {
  font-size: 50px;
  color: var(--warn); /* Yellow like hero title */
  text-align: center;
  margin: -40px -40px 40px -40px; /* Negative margin to touch container edges */
  padding: 130px 40px 80px 40px; /* Moved text down slightly (was 170px) */
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); /* Yellow glow */
  position: relative;
  background-image: 
    url('/assets/illuvilordbanner.png'),
    linear-gradient(to bottom, transparent 0%, rgba(45, 22, 12, 0.92) 100%);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 16px 16px 0 0; /* Round top corners to match container */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /* Center it */
  transform: translateX(-50%);
  width: min(1000px, 90%); /* Responsive width to prevent overflow */
  max-width: 90%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, #FF8C00 60%, transparent 100%); /* Fade both sides */
}

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

/* ============================================
   ILLUVILORD CARD
   ============================================ */

.illuvilord-card {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 0; /* Remove padding so we can control sections */
  box-shadow: var(--warm-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.illuvilord-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--warm-glow), 0 8px 24px rgba(0, 0, 0, 0.5);
}


.card-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  padding: 9px 24px 24px 12px; /* Less top and left padding */
  flex: 1;
}

/* Left column - NFT Image */
.card-nft-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 3px solid #3d2817; /* Dark brown border */
  overflow: hidden;
  background: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
}

.card-nft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right column - Quick Details */
.card-quick-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-name {
  font-size: 20px;
  color: #FF8C00;
  margin: 0;
   margin-top: 6px;
  text-transform: uppercase;
}

.card-stat {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 140, 0, 0.2);
}

.card-stat:last-child {
  border-bottom: none;
}

.stat-label {
  color: var(--muted);
}

.stat-value {
  color: var(--text);
  font-weight: 700;
}


.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px 24px;
  background: rgba(0, 0, 0, 0.3);
  flex: 1;
  border-top: 1px solid var(--border);
}

.card-extra-details {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.extra-detail {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-view-collection {
  width: 100%;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 13px;
  font-family: 'DIN Alternate', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-view-collection:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 99, 71, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
  .card-top {
    grid-template-columns: 1fr;
      padding: 10px 14px 24px 14px !important;
  }
  
  .card-nft-image {
    max-width: 300px;
    margin: 0;
  }
}


.ratty-header {
  transform: scale(2.5);
  margin: 45px -10px 45px -10px;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Hamburger Menu Button (Mobile Only) */
.nav-hamburger {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(255, 140, 0, 0.15);
  border: 2px solid #FF8C00;
  border-radius: 10px;
  padding: 4px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 200;
}

.nav-hamburger:hover {
  background: rgba(255, 140, 0, 0.25);
}

.nav-hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 24px;
}

.nav-hamburger-icon span {
  width: 100%;
  height: 2px;
  background: #FF8C00;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-hamburger-text {
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #FF8C00;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

/* When open - just mute the colors */
.nav-hamburger.active {
  background: rgba(255, 140, 0, 0.05);
  border-color: rgba(255, 140, 0, 0.4);
}

.nav-hamburger.active .nav-hamburger-icon span {
  background: rgba(255, 140, 0, 0.5);
}

.nav-hamburger.active .nav-hamburger-text {
  color: rgba(255, 140, 0, 0.5);
}

@media (max-width: 1200px) {
  .illuvilords-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-menu {
    gap: 32px;padding: 56px 20px 20px 20px;
  }
  
  .wrap {
    padding: 0 40px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0 !important;
    padding: 0 !important; /* Force no padding */
    overflow: hidden; /* Clip any overflow */
    width: 100%;
    min-height: auto !important; /* No min height */
    height: auto !important;
  }

  .hero-visual {
    width: 100%;
    max-width: 450px;
    margin: 0 auto !important; /* Force remove all margins */
    min-height: auto !important; /* No min height - size to image */
    height: auto !important;
  }
  
  .hero-visual::after {
    width: 100px; /* Smaller gradient on mobile */
  }

  .hero-title {
    font-size: 28px;
    margin-top: 0 !important; /* Force no top margin to remove gap */
    padding-top: 24px; /* Small padding above title */
  }
  
  .hero-content {
    text-align: center;
    padding: 0 20px 20px 20px !important; /* NO top padding */
    margin: 0 !important; /* Force no margin */
    width: 100%;
    max-width: 100%;
  }
  
  .hero-details {
    text-align: left; /* Left justify */
    padding-left: 20px; /* Space for bullets on left */
  }
  
  .hero-details p {
    text-align: left;
  }
  
  .hero-details ul,
  .hero-details ol {
    padding-left: 20px; /* Ensure bullets visible on left */
    margin-left: 0;
  }
  
  .hero-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

.section-title {
  font-size: 28px;
  padding: 130px 20px 55px 20px !important;
    margin: -40px -40px 40px -40px; /* Touch container edges on all sides */
  }
  
  .section-title::after {
    width: 80%; /* Smaller underline on mobile */
  }
  
  /* Show hamburger button on mobile */
  .nav-hamburger {
    display: flex;
  }
  
  .nav-menu {
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 60px 10px 0px 40px; /* Extra top padding for hamburger */
    width: 100%;
    overflow: hidden;
    position: relative;
    min-height: 60px;
  }
  
  .nav-section {
    flex: 1 1 auto;
    min-width: 150px;
    display: none; /* Hidden by default */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  /* Show nav when menu is open */
  .nav-menu.nav-open .nav-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Stagger animation for nav items */
  .nav-menu.nav-open .nav-section:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.nav-open .nav-section:nth-child(2) { transition-delay: 0.2s; }
  .nav-menu.nav-open .nav-section:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.nav-open .nav-section:nth-child(4) { transition-delay: 0.4s; }
  
  /* Show all nav items on mobile - no hover needed */
  .nav-items-row {
    display: flex !important;
    position: static;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }
  
  .nav-category {
    padding-bottom: 0;
  }
  
  .nav-item {
    padding: 6px 0;
    margin: 0;
  }
  
  .nav-wallet-controls {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    top: 0;
    margin-top: 12px;
     margin-bottom: 24px;
    display: none; /* Hidden by default */
    opacity: 0;
    transition: all 0.3s ease 0.5s;
  }
  
  /* Show wallet controls when menu is open */
  .nav-menu.nav-open .nav-wallet-controls {
    display: flex;
    opacity: 1;
  }
  
  .wrap {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .illuvilords-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 0 !important;
    overflow: hidden;
  }

  .hero-title {
    font-size: 24px;
    margin-top: 0 !important; /* Force no top margin */
    padding-top: 20px; /* Small padding above title */
  }
  
  .hero-subtitle {
    font-size: 12px;
  }
  
  .hero-details {
    text-align: left; /* Left justify */
    padding-left: 20px; /* Space for bullets on left */
  }
  
  .hero-details p {
    font-size: 8.5pt;
    text-align: left;
  }
  
  .hero-details ul,
  .hero-details ol {
    padding-left: 20px; /* Ensure bullets visible on left */
    margin-left: 0;
  }
  
  .hero-content {
    padding: 0 16px 16px 16px !important; /* NO top padding */
    width: 100%;
    max-width: 100%;
  }
  
 .section-title {
  font-size: 24px;
  padding: 100px 16px 44px 16px !important;
    margin: -40px -40px 40px -40px; /* Touch container edges */
  }
  
  .nav-category {
    font-size: 14px;
  }
  
  .nav-item { 
    font-size: 13px; 
  }
  
  .wrap {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0 !important;
    overflow: hidden;
  }
  
  .hero-content {
    padding: 0 12px 12px 12px !important; /* NO top padding */
    width: 100%;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 20px;
    padding-bottom: 20px;
    padding-top: 16px; /* Small padding above title */
    margin-top: 0 !important; /* Force no top margin */
  }
  
  .hero-details {
    text-align: left; /* Left justify */
    padding-left: 16px; /* Space for bullets on left */
  }
  
  .hero-details p {
    text-align: left;
  }
  
  .hero-details ul,
  .hero-details ol {
    padding-left: 20px; /* Ensure bullets visible on left */
    margin-left: 0;
  }
  
.section-title {
  font-size: 20px;
  padding: 60px 12px 35px 12px !important;
    margin: -40px -40px 40px -40px; /* Touch container edges */
  }
  
  .wrap {
    padding: 0 16px;
  }
}