
:root {
  --navbar-bg: rgba(15, 23, 42, 0.95);
  --accent-blue: #4b8e0b;
  --accent-purple: #4b8e0b;
  --card-bg: #1e293b;
  --font-size: 6px;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  min-height: 100vh;
}


/* ==========================================================================
   Mobile Responsive Rules
   ========================================================================== */
@media screen and (max-width: 768px) {
  .top-utility-bar {
    display: none; /* Collapses utility ribbon on compact viewports to prioritize screen area */
  }
  .navbar {
    top: 0; /* Snaps main navigation back to browser top edge for simple finger interaction */
  }
  .hero-fixed-layout {
    margin-top: 70px; /* Restores standard native spacing offset */
  }
}



/* ==========================================================================
   2. Navbar Base Layout
   ========================================================================== */
.navbar {
  top: 0;
  left: 0;
  width: 100%;
  background-color: #054f1e;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: left;
  justify-content: space-between;
  position: relative;
}

.nav-menu-wrapper {
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	flex-grow: 1;
	margin-left: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  height: 70px;
  align-items: center;
}

.nav-links > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item {
  color: white;
  text-decoration: unde;
  padding: 0 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}
.active{
	color:orange;
	transition:1s;
}

.nav-item:hover {
  color: var(--accent-blue);
}
.hd-btn{
	background-color:#ab0707; 
	color: white; 
	border-radius: 13px; 
	padding:5px;
	pointer:active;
	transition: 2s;
	cursor: pointer
}
.hd-btn:hover{ 
	background-color: #ffffff;
	color: #d40a0a; 
	border: 1px solid #4a8e0a ;
	border-radius: 13px; 
	padding:5px;
	transition: 3s;
	cursor: pointer
}
.arrow {
  font-size: 0.35rem;
  transition: 0.3s ease;
  color: var(--text-muted);
}

/* Hidden inputs used for functionality */
.menu-checkbox {
  display: none;
}

.hamburger-label {
  display: none;
}

/* ==========================================================================
   3. Mega Dropdown & Nested Submenu Styles (Desktop)
   ========================================================================== */
.dropdown-trigger {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 20%;
  Right: auto;
  transform: translateX(-50%) translateY(15px);
  max-width: auto;
  background-color: #054f1e;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.9);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-trigger:hover .mega-dropdown {
  opacity: 0.8;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-trigger:hover .arrow {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.dropdown-inner {
  display:grid;
  grid-template-columns: 3fr 3fr 3fr 3fr 3fr 8fr 5fr;
  gap: 1.5rem;
  
}

.dropdown-col h3 {
  font-size: 0.75rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  color: orange;
  margin-bottom: 1rem;
  font-weight: 700;
}

.dropdown-col .img-panel {
  width:120px;
}

.dropdown-col ul {
  list-style: none;
  width: 100%;
}

.dropdown-col ul li {
  margin-bottom: 0.5rem;
  padding: 5px;
}

.dropdown-col ul li a, 
.nested-title {
  display: block;
  padding: 1.75rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.dropdown-col ul li a:hover {
  background-color: #ffffff;
}

.dropdown-col ul li strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
}

.dropdown-col ul li p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 3px;
  line-height: 1.4;
}

/* --- Nested Submenu Styling --- */
.has-nested {
  position: relative;
}

.nested-title {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: default;
}

.nested-submenu {
  margin-left: 0.05rem;
  padding-left: 0.75rem;
  margin-top: 0.05rem;
}

.nested-submenu li {
  margin-bottom: 0.05rem !important;
  padding:10px;
}

.nested-submenu li a {
  padding: 0px !important;
  color: #ffffff;
  font-size: 0.85rem !important;
  font-weight: 300;
}

.nested-submenu li a:hover {
  color: #054f1e !important;
}

/* --- Featured Column Panel --- */
.featured-panel {
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
}

.featured-card {
 /** background: linear-gradient(135deg, var(--card-bg), #1e1b4b);**/
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 8px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.featured-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.featured-btn {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Badges styling */
.badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.badge.hot { background-color: rgba(239, 68, 68, 0.2); color: #ef4444; }
.badge.new { background-color: rgba(34, 197, 94, 0.2); color: #22c55e; }

.cta-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   4. Responsive Breakpoints & Mobile Overlay Drawer
   ========================================================================== */
@media screen and (max-width: 968px) {
  
  /* Show Hamburger Trigger Buttons */
  .hamburger-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    cursor: pointer;
    z-index: 1002;
  }

  .hamburger-label span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Hamburger to 'X' Transform configuration */
  .menu-checkbox:checked ~ .hamburger-label span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-checkbox:checked ~ .hamburger-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-checkbox:checked ~ .hamburger-label span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* Structural transformation into Mobile Panel Menu Container */
  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: auto;
    height: auto;
    background-color:#054f1e;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 2rem 2rem 2rem;
    margin-left: 0;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 1001;
  }

  .menu-checkbox:checked ~ .nav-menu-wrapper {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .nav-links > li {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: space-between;
  }

  /* Mobile Dropdown adaptation */
  .mega-dropdown {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 1rem 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* Mobile Dropdown opening logic via CSS trigger class */
  .dropdown-trigger:hover .mega-dropdown {
    max-height: 1200px; /* Expands dynamically to contain content */
  }

  .dropdown-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-panel {
    border-left: none;
    padding-left: 0;
  }

  .nav-cta {
    width: 100%;
  }

  .cta-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.8rem;
  }
}

/* ==========================================================================
   5. Fixed Layout Hero with Middle Infinite Carousel
   ========================================================================== */
.hero-fixed-layout {
  margin-top: 70px; /* Offset for fixed top navbar */
  width: 100%;
  height: 600px;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.hero-grid-container {
  max-width: auto;
  height: 100%;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2rem;
  align-items: center;
}

/* --- Left Side: Permanent Static Text --- */
.hero-static-details {
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-title strong {
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.secondary-btn {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- Middle Side: Absolute Fading Image Carousel Panel --- */
.hero-middle-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-fade-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.fade-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  /* Smooth opacity cross-fade */
  animation: infiniteImageCrossfade 15s infinite ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

/* Abstract Tech Mockups using CSS gradients (Replace with real URLs if desired) */
.slide-1 {
  background-image: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.9)), url('https://unsplash.com');
  animation-delay: 0s;
}

.slide-2 {
  background-image: linear-gradient(135deg, rgba(88, 28, 135, 0.8), rgba(15, 23, 42, 0.9)), url('https://unsplash.com');
  animation-delay: 5s;
}

.slide-3 {
  background-image: linear-gradient(135deg, rgba(3, 78, 107, 0.8), rgba(15, 23, 42, 0.9)), url('https://unsplash.com');
  animation-delay: 10s;
}

.slide-overlay-tag {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Right Side: Permanent Static Sidebar --- */
.hero-static-sidebar {
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}

.widget-card {
  width: 100%;
  max-width: 340px;
  background-color: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.widget-header {
  background-color: #0b0f19;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }
.widget-title { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; margin-left: 6px; }
.widget-body { padding: 1.25rem; font-family: monospace; font-size: 0.8rem; }
.code-line { margin-bottom: 0.5rem; color: #e2e8f0; }
.code-line.comment { color: #64748b; }
.code-line.success { color: #34d399; }
.code-cmd { color: #38bdf8; }

/* ==========================================================================
   6. Pure CSS Keyframe Fade Engine (3 Slides Loop)
   ========================================================================== */
@keyframes infiniteImageCrossfade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  33.33% { opacity: 1; }
  38.33% { opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   7. Responsive Adaptations
   ========================================================================== */
@media screen and (max-width: 968px) {
  .hero-fixed-layout {
    height: auto;
    padding-bottom: 3rem;
  }
  .hero-grid-container {
    grid-template-columns: 1fr; /* Stack layout seamlessly on tablet/mobile */
    gap: 2.5rem;
    padding-top: 3rem;
  }
  .hero-static-details {
    text-align: center;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-middle-carousel {
    height: 300px;
    order: -1; /* Puts the automated visual at the very top on mobile devices */
  }
  .hero-static-sidebar {
    justify-content: center;
  }
}

/* ==========================================================================
   8. Custom 8-Column Block Grid System
   ========================================================================== */
.feature-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Framework utility mirrors */
.row {

}
/**
.col-lg-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 100%;
  max-width: 100%;
}

.custom-block-wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  font-size:20px;
}
**/
/* Card Boxes Design Metrics */
.feature-box{
  background-color: #fdfcfc;
  border-radius: 10px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.feature-box .btnb{
	width:100%;
	background-color:none;
	color:white;
	border-radius: 5px;
	padding: 5px;
}
.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.box-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: gray;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  padding-left:10px;
}

.feature-box p {
	font-size: 0.75rem;
	color: var(--text-muted);
	line-height: 1.3;
	padding:5px;
	text-align: left;
	padding-left:10px;
	background-color: none;
}

/* ==========================================================================
   9. Fluid Breakpoint Grid Downscaling
   ========================================================================== */
@media screen and (max-width: 1200px) {
  .custom-block-wrap {
    grid-template-columns: repeat(4, 1fr); /* 4 Columns on smaller laptop profiles */
  }
}

@media screen and (max-width: 768px) {
  .custom-block-wrap {
    grid-template-columns: repeat(2, 1fr); /* 2 Columns on typical mobile screens */
  }
}

@media screen and (max-width: 480px) {
  .custom-block-wrap {
    grid-template-columns: 1fr; /* Stacks completely vertical on tight screens */
  }
}


/* ==========================================================================
   14. Live Customer Milestone Section Styles
   ========================================================================== */
.milestone-countdown-section {
  max-width: 1200px;
  margin: 6rem auto 2rem auto;
  padding: 0 2rem;
}

.countdown-card-wrapper {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle accent radial spot light behind counter */
.countdown-card-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Left Side Content --- */
.countdown-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.countdown-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

/* Pulse badge styling */
.pulse-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0a2463;
  color: #22c55e;
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  cursor:pointer;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #22c55e;
  border-radius: 50%;
  animation: liveBadgePulse 1.8s infinite ease-in-out;
}

@keyframes liveBadgePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- Right Side Numeric Display --- */
.countdown-metric-box {
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.counter-display {
  font-size: 4rem;
  font-weight: 900;
  font-family: monospace;
  letter-spacing: -2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Live tracking loading pipeline bar */
.live-progress-track {
  width: 100%;
  height: 8px;
  background-color: #0f172a;
  border-radius: 4px;
  overflow: hidden;
}

.live-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   15. Milestone Media Queries
   ========================================================================== */
@media screen and (max-width: 968px) {
  .countdown-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
  .countdown-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .countdown-metric-box {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
}



/* ==========================================================================
   10. Standardised Footer Component
   ========================================================================== */
.site-footer {
  background-color: #0b0f19;
  border-top: 1px solid var(--border-color);
  width: 100%;
}
/**
.footer-container {
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}
**/
/* --- Brand & Newsletter Section --- */
.footer-brand-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--accent-blue);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 340px;
}
/**
.footer-newsletter label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-input-group {
  display: flex;
  max-width: 320px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-dark);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--accent-blue);
}

.newsletter-input-group input {
  background: transparent;
  border: none;
  padding: 0.6rem 0.75rem;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 100%;
  outline: none;
}

.newsletter-input-group button {
  background-color: var(--card-bg);
  border: none;
  color: var(--accent-blue);
  padding: 0 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.newsletter-input-group button:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}


.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-blue);
}

--- Bottom Legal Meta Bar --- 
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
  padding-top: 2rem;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright, .footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent-blue);
}
***/
/* ==========================================================================
   11. Responsive Footer Adaptation
   ========================================================================== */
@media screen and (max-width: 868px) {
  .footer-container {
    grid-template-columns: 1fr; /* Stacks column sections layout */
    gap: 3rem;
  }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-tagline {
    max-width: 100%;
  }
}

@media screen and (max-width: 580px) {
  .footer-links-grid {
    grid-template-columns: 1fr; /* Full single collapse on tiny windows */
    gap: 2rem;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/***** Page Up Button *****/

/* ==========================================================================
   11. Smooth Scroll Setup (Add this to the top of your CSS file if missing)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   12. Page Up (Scroll to Top) Button
   ========================================================================== */
.page-up-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.3);
  text-decoration: none;
  z-index: 999; /* Keeps it layered above all standard content and footer layers */
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* SVG Arrow Sizing */
.page-up-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Hover Mechanics & Micro-interactions */
.page-up-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.5);
}

/* Subtly nudge the arrow graphic upwards on hover to simulate upward direction */
.page-up-btn:hover svg {
  transform: translateY(-2px);
}

/* Active press micro-interaction */
.page-up-btn:active {
  transform: translateY(-2px) scale(0.95);
}

/* ==========================================================================
   13. Responsive Positioning Modification
   ========================================================================== */
@media screen and (max-width: 768px) {
  .page-up-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
  }
  .page-up-btn svg {
    width: 18px;
    height: 18px;
  }
}
