/* Global Styles for Web Hosting Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #BA8B02; /* base (your color) */
  --primary-600: #A87D02; /* slightly darker */
  --primary-700: #8F6B02; /* darker */
  --primary-900: #5A4601; /* very dark for high-contrast elements */
  --primary-950: #000000; /* very dark for high-contrast elements */

  /* Secondary Colors */
--secondary-50:  #F0FDF4;  /* very light mint */
--secondary-100: #DCFCE7;  /* soft pastel green */
--secondary-500: #22C55E;  /* vibrant emerald green */
--secondary-600: #16A34A;  /* deeper green for hover */
--secondary-700: #15803D;  /* dark green for accents */


  /* Accent Colors */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --accent-700: #c2410c;

  /* Success, Warning, Error */
  --success-50: #f0fdf4;
  --success-500: #10b981;
  --success-600: #059669;
  --warning-500: #f59e0b;
  --error-50: #fef2f2;
  --error-500: #ef4444;
  --error-600: #dc2626;

  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-1000: #565656;

  /* Spacing System (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Mobile-specific spacing */
  --mobile-space-section: 3rem;
  --mobile-space-component: 2rem;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --line-height-body: 1.5;
  --line-height-heading: 1.2;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px 10px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
/* html */
fadeout-header, fadeout-header {
  display: contents;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-body);
  color: var(--gray-900);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


html, body {
  height: 100%;
  overflow-x: hidden; /* prevents accidental horizontal scroll leaks */
}

/* UNIVERSAL BODY ELEMENTS */
/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

/* body */
.mCard {
  /* background: rgb(173, 173, 173); */
  /* box-shadow: var(--shadow-md); */
  /* padding: var(--space-2); */
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
  height: 340px;
  width: 180px;
}

.sCard {
  /* background: rgb(173, 173, 173); */
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  /* margin-bottom: 10px; */
  transition: all 0.3s ease-in-out;
  width: 100%;
  max-width: 100%;
  height: auto; 
}

.sResults {
  /* background: rgb(173, 173, 173); */
  /* box-shadow: var(--shadow-md); */
  /* padding: var(--space-2); */
  /* border-radius: var(--radius-md); */
  /* margin-bottom: 10px; */
  /* transition: all 0.3s ease-in-out; */
  height: 740px;
  width: 270px;
}

.sQuery {}

.mCard:hover, .sCard:hover {
  transform: translateY(-3px);
  /* box-shadow: var(--shadow-xl); */
}


/* wrap positions arrows over the scroller */
.scroller-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

/* horizontal scroll container */
.scroller {
  overflow-x: auto;
  overflow-y: hidden;
  /* cursor: grabbing; */
  -webkit-overflow-scrolling: touch; /* iOS momentum */
  scroll-behavior: smooth;
  /* room for arrows don't cover first/last cards */
  /* padding: 0.25rem 3rem 1rem; */
  /* margin: 0 50px; */
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

/* make sure each card stays card-sized in the row */
.scroller .media-card.mCard {
  flex: 0 0 auto;              /* don't shrink, don't wrap */
  scroll-snap-align: start;    /* snapping */
}

/* set a consistent card width if your cards vary */
.scroller .media-card.mCard {
  width: 150px; /* adjust to design */
}

/* Optional: nice scrollbar */
/* .scroller::-webkit-scrollbar {
  display: none;
  height: 10px;
} */

.scroller::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
}
.scroller::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.4);
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
  opacity: 0.95;
}

.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  /* transform: scale(1.05); */
}

/* left/right placement */
.scroll-btn.left  { left: 0px; }
.scroll-btn.right { right: 0px; }

/* show arrows only when hovering row (desktop) */
@media (hover: hover) {
  .scroll-btn { opacity: 0; }
  .scroller-wrap:hover .scroll-btn { opacity: 0.95; }
}

/* Disabled state */
.scroll-btn.is-disabled {
  opacity: 0.25 !important;
  pointer-events: none;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
}


.btn2, .ann {
  width: 128px;
  height: 35px;
  font-size: 22px;
  text-align: center;
  line-height: 10px;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  background: linear-gradient(-45deg, #FFA63D, #FF3D77, #338AFF, #3CF0C5);
  background-size: 600%;
  cursor: pointer;
  white-space: nowrap;
  animation: anime 16s linear infinite;
}

.btn2 {
  position: absolute;
  margin-top: -70px;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.8;
}

@keyframes anime {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.btn-primary {
  background-color: var(--primary-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-600);
  border: 2px solid var(--primary-600);
}

.btn-secondary:hover {
  background-color: var(--primary-50);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent-600);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.75rem;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-600);
}

.text-secondary {
  color: var(--secondary-600);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-500 {
  color: var(--gray-500);
}

.bg-primary {
  background-color: var(--primary-600);
}

.bg-gray-50 {
  background-color: var(--gray-50);
}

.bg-gray-900 {
  background-color: var(--gray-900);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-4);
}


/* Base appearance */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.25rem;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  z-index: 9999;
}

/* Visible state */
.scroll-top--show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

/* Hover/active focus states */
.scroll-top:hover { background: #222; }
.scroll-top:active { transform: translateY(1px); }
.scroll-top:focus { outline: 2px solid #4CAF50; outline-offset: 2px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
  }
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Toast notification variables */
:root {
  --warning-50: #fffbeb;
  --warning-200: #fde68a;
  --warning-600: #d97706;
  --warning-800: #92400e;
}

/* UNIVERSAL BODY PARTS */
/* ============================
========= HEADER HTML =========
============================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* height: 125.8px; */
  background: transparent;
  /* border-bottom: 1px solid var(--gray-200); */
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.header.hidden {
  transform: translateY(-100%);
}

.nav {
  background: #102949;
  padding: var(--space-1) 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  height: 60px;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-logo {
  height: 80px;
  width: auto;
  margin-right: var(--space-3);
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.nav-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-50);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-50);
  font-weight: 500;
  font-size: large;
  transition: color 0.2s ease;
  position: relative;
  padding: var(--space-2) 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-600);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-600);
  border-radius: 50%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-action-icons {
  height: 22px;
  width: auto;
  margin-right: var(--space-3);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.admin-link {
  color: var(--secondary-600) !important;
  font-weight: 600;
}

.nav-action-link {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-action-link:hover {
  color: var(--primary-600);
  background-color: var(--primary-50);
}

.nav-action-primary-link {
  text-decoration: none;
  color: var(--primary-600);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  border: 1px solid var(--primary-200);
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-action-primary-link:hover {
  color: white;
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1002;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #4b5563;
  transition: all 0.3s ease;
  margin: 2px 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  display: block;
  position: fixed; inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 100px var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  height: 100%;
  background: #ffffff;
}

.mobile-menu-content a {
  padding: var(--space-4) 0;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s ease;
}

.mobile-menu-content a:hover,
.mobile-menu-content a.active {
  color: var(--primary-600);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--gray-300);
  margin: var(--space-4) 0;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.mobile-btn {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
  text-align: center;
  border-bottom: none !important;
}

.mobile-btn.nav-action-link {
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.mobile-btn.nav-action-link:hover {
  background-color: var(--primary-50);
  border-color: var(--primary-200);
}

.mobile-btn.nav-action-primary-link {
  background-color: var(--primary-50);
  border: 1px solid var(--primary-200);
}

.mobile-btn.nav-action-primary-link:hover {
  background-color: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
}


/* ===== Footer ===== */
.footer {
  color: white;
  padding: var(--space-8) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.footer .container {
  padding-inline: clamp(20px, 4vw, 48px);
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-6);
}

.footer-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-brand-link:hover {
  opacity: 0.8;
}

.brand-logo {
  height: 95px;
  width: auto;
  margin-right: var(--space-3);
}

.footer-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-description {
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: 0;
}

.footer-social-links {
  display: flex;
  gap: var(--space-4);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  color: var(--gray-400);
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: var(--primary-600);
  color: white;
  transform: translateY(-2px);
}

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-1);
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-8);
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  color: var(--gray-400);
}

.footer-bottom-content p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-400);
}


/* *********************************************************************** */
/* ===== Responsive Design ===== */
/* Tablet Styles */
@media (max-width: 1024px) {
   .container {
    padding: 0 var(--space-6);
  }

  .nav-links {
    gap: var(--space-6);
  }
  .nav-actions {
    gap: var(--space-4);
  }
}

@media (max-width: 901px) {
  .footer-section h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 848px) {
  .nav {
    padding: var(--space-3) 0;
  }
  .nav-links,
  .nav-actions {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-stack {
    flex-direction: column !important;
  }
  .mobile-center {
    text-align: center !important;
  }
  /* .mobile-full-width {
    width: 100% !important;
  } */
  .mobile-hidden {
    display: none !important;
  }
  .mobile-block {
    display: block !important;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }
}


@media (max-width: 793px) {
  .footer-section h4 {
    font-size: 1rem;
  }
  .footer-section h4 {
    font-size: 1.1rem;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .brand-logo {
    height: 100px;
  }
  .footer-brand-text {
    font-size: 1.25rem;
  }
}


/* Mobile Styles */
/* Mobile-specific utilities */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.875rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
  }
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: 0.875rem;
  }

  .card {
    padding: var(--space-6);
  }

  .sCard {
    /* width: 700px; */
  }

  .cart-link {
    display: none;
  }
  /* Cart specific mobile styles */
  .cart-content {
    grid-template-columns: 1fr !important;
  }
  .cart-item {
    grid-template-columns: 1fr !important;
  }
  .brand-logo {
    height: 100px;
  }
  .nav-brand-text {
    font-size: 1.25rem;
  }

}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: 0.75rem;
  }
  .btn-lg {
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
  }
  
  .card {
    padding: var(--space-4);
  }
  .mCard {
    /* padding: var(--space-4); */
  }
  .sCard {
    /* width: 350px; */
  }

  .brand-logo {
    height: 100px;
    margin-right: var(--space-2);
  }
  .footer-brand-link .brand-logo {
    height: 100px;
    margin-right: var(--space-2);
  }
  .nav-brand-text {
    font-size: 1.125rem;
  }
  .mobile-menu-content {
    padding: 80px var(--space-4) var(--space-4);
    gap: var(--space-4);
  }
  .mobile-menu-content a {
    padding: var(--space-3) 0;
    font-size: 1rem;
  }
  .mobile-btn {
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
  }
  .footer {
  color: white;
  padding: var(--space-8) 0 var(--space-8);
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
  }
  .footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-2);
  }
  #copy { order: 2; text-align: center; }
  .footer-bottom-links { order: 1; text-align: center; }
}