

/* ============================================================================
                                
                                  Header and Navigation 

     =========================================================================*/
   /* site header- sticky navigation bar at the top of the page*/
  .site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 50;
    height: 90px;
  }
    
.menu-toggle{
  display: none;
}
  
   .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  background: linear-gradient(to right, #ffffff, #ffffff);
}

  /*Logo -site branding*/
  .logo {
    font-weight: 100%;
    color: #111;
    text-decoration: none;
    font-size: 18px
  }
  /*Logo span-accent color for part of logo*/
  .logo span {
    color: var(--accent);
    margin-left: 6px;
  }
  /*Main Navigation-Navigation Menu container*/ 
  .main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 24px;
    
  }
  /*Navigation Links-Individual Navigation items*/
  .nav-link {
    color: #111;
    text-decoration: none
  }
  .logo-img {
  height:250px;
  width: auto;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
}
.btn.orange {
  background: linear-gradient(45deg, #ff7a18, #ffb347);
  border: none;
  padding: 12px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
}

.btn.orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
/* ================= LAYOUT ================= */
.checkout-container {
    max-width: 1500px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 20px;
}

/* ================= LEFT SIDE ================= */
.checkout-left {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* COURSE ITEM */
.checkout-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.checkout-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.item-info {
    flex: 1;
}

.item-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.item-desc {
    font-size: 17px;
    color: #666;
}

.item-price {
    font-weight: 900;
    color: #ff6b00;
}

/* ================= RIGHT SIDE ================= */
.checkout-right {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* ================= BUTTON ================= */
.checkout-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b00, #ff8c42);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,107,0,0.3);
}

/* ================= TRUST ================= */
.secure-box {
    margin-top: 15px;
    font-size: 13px;
    color: #555;
    text-align: center;
}

/* ================= STATUS ================= */
.status-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}
/* LEFT WRAPPER */
.course-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* IMAGE */
.checkout-item img {
    width: 120px;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
}

/* TEXT AREA */
.item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* TITLE */
.item-title {
    font-size: 20px;
    font-weight: 600;
}

/* BUTTON */
.back-btn {
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    background: #f3f4f6;
    cursor: pointer;
    width: fit-content;
    transition: 0.3s;
}

.back-btn:hover {
    background: #ff6b00;
    color: #fff;
}
/* ================= CART ================= */

.cart-container {
    position: relative;
    color: #349b3c;
}

.cart-container i {
    font-size: 20px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}
/********Responsive for navbar****************/
/* =========================
   TABLET FIX
========================= */

@media (max-width:1024px){

.site-header .container{
  max-width:100%;
  padding:0 20px;
}

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

.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
}

/* navbar text */

.nav-link{
  font-size:17px;
}

/* login button fix */

.btn.orange{
  padding:8px 16px;
  font-size:16px;
  white-space:nowrap;
}

/* cart icon spacing */

.cart-container{
  margin-left:5px;
  font-size:20px;
}


}
/* =========================
   MOBILE VIEW (0px - 600px)
   ========================= */

@media (max-width: 600px) {

  .container{
    width:90%;
    margin:auto;
  }

  /* Header */
  .header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
  }
  

  .menu-toggle{
    display:block;
    font-size:22px;
    background:none;
    border:none;
  }

  /* Navigation hidden by default */
  .main-nav{
    display:none;
    flex-direction:column;
    background:white;
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    padding:20px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
  }

  .main-nav a{
    padding:10px 0;
  }

  .main-nav.active{
    display:flex;
  }
}
 /* ===============================
   FOOTER STYLING
   =============================== */

.site-footer {
  background: linear-gradient(180deg, #0b0f1a 0%, #1a1f35 100%);
  color: #fff;
  padding: 50px 20px 30px;
  margin-top: 180px;
  position: relative;
}

/* Accent border line on top of footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.8;
}

/* Footer heading style */
.site-footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 16px 0;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

/* Underline effect for footer headings */
.site-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Paragraph text in footer */
.site-footer p {
  margin: 8px 0;
  line-height: 1.6;
  opacity: 0.85;
  color: #d1d5db;
}

/* Remove default list styles */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Footer link items hover animation */
.site-footer li {
  margin: 10px 0;
  transition: all 0.3s ease;
}

.site-footer li:hover {
  transform: translateX(5px);
}

/* Footer links */
.site-footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Footer link hover effect */
.site-footer a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Footer layout container */
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 30px;
}

/* Social media icons container */
.socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.95rem;
}

/* Social icon styles */
.socials a {
  color: #d1d5db;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 6px;
}

/* Social icon hover effect */
.socials a:hover {
  color: var(--accent);
  background: rgba(255, 107, 26, 0.1);
  transform: translateY(-2px);
}

/* Copyright section */
.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  color: #9ca3af;
  font-size: 0.9rem;
  text-align: center;
}



  /* ===============================
   FOOTER RESPONSIVE ADJUSTMENTS
   =============================== */

/* Adjust footer layout for tablets and larger screens */
@media (min-width: 768px) {
  .site-footer {
    padding: 60px 30px 40px;
   
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-grid > div {
    flex: 1;
    max-width: 350px;
  }
}
/* ===============================
   GLOBAL FIX
=================================*/
* {
  box-sizing: border-box;
}

.container {
  width: 90%;
  margin: auto;

}

/* ===============================
   NAVBAR
=================================*/
.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* ===============================
   MAIN LAYOUT (DESKTOP)
=================================*/
.checkout-container {
  display: flex;
  gap: 40px;
  padding: 40px;
  margin-top: 90px;;
}

/* LEFT */
.checkout-left {
  flex: 2;
}

/* RIGHT */
.checkout-right {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  height: fit-content;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===============================
   ITEM DESIGN
=================================*/
.checkout-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.checkout-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.item-info {
  flex: 1;
}

.item-title {
  font-size: 18px;
  font-weight: 600;
}

.item-desc {
  font-size: 14px;
  color: #777;
  margin-top: 5px;
}

.item-price {
  font-size: 18px;
  font-weight: bold;
}

/* BUTTON */
.back-btn {
  margin-top: 10px;
  padding: 6px 12px;
  border: none;
  background: #ff7a00;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* ===============================
   SUMMARY
=================================*/
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.summary-total {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

.checkout-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: #ff7a00;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.secure-box {
  margin-top: 15px;
  font-size: 13px;
  color: #666;
  text-align: center;
}

/* ===============================
   TABLET VIEW
=================================*/
@media (max-width: 992px) {
.container {
  width: 90%;
  margin: auto;
 
  margin-bottom: 950px;;

}
  .checkout-container {
    flex-direction: column;
    padding: 20px;
  }

  .checkout-right {
    width: 100%;
  }

  /* NAVBAR */
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 90px;
    right: 0;
    width: 320px;
    background: white;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .main-nav.active {
    display: flex;
  }
  
}

/* ===============================
   MOBILE VIEW
=================================*/
@media (max-width: 600px) {

  .logo-img {
    width: 170px;
   
  }

  /* STACK ITEMS */
  .checkout-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-item img {
    width: 100%;
    height: 160px;
  }

  .item-price {
    width: 100%;
    text-align: right;
    margin-top: 10px;
  }

  .back-btn {
    width: 100%;
    text-align: center;
  }

  /* SUMMARY FULL WIDTH */
  .checkout-right {
    padding: 20px;
  }

  .checkout-btn {
    width: 100%;
  }
}
/* ================= NAV CONTAINER ================= */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= NAV LINKS ================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* NAV ITEMS */
.nav-link {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

/* Hover underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary-orange);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.nav-link:hover::after {
  width: 100%;
}

/* ACTIVE LINK */
.nav-link.active {
  color: var(--primary-orange);
}

.nav-link.active::after {
  width: 100%;
}

/* ================= LOGIN BUTTON ================= */
.btn.orange {
  background: var(--primary-orange);
  color: var(--white);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn.orange:hover {
  background: var(--primary-orange-dark);
  transform: translateY(-1px);
}

/* ================= CART ================= */
.cart-container i {
  font-size: 18px;
  color: var(--navy);
  transition: 0.3s;
}

.cart-container i:hover {
  color: var(--primary-orange);
}

/* Badge */
.cart-badge {
  font-size: 11px;
  font-weight: 600;
  background: red;
  color: var(--white);
  padding: 2px 6px;
  border-radius: 50%;
}

/* UNDERLINE (hidden by default) */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2.5px;
  background: var(--primary-orange);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* HOVER EFFECT */
.nav-link:hover {
  color: var(--navy); /* keep text navy */
}

.nav-link:hover::after {
  width: 100%;
}
/* ===== GLOBAL BACKGROUND FIX ===== */
body {
  background: #f9f4ee !important;
}
/* Checkout Page Footer Styling */
.site-footer {
  background: linear-gradient(180deg, #0b0f1a 0%, #1a1f35 100%);
  color: #ffffff;
  padding: 50px 0 20px 0;
  margin-top: 60px;
  border-top: 2px solid rgba(255, 140, 0, 0.2); /* Subtle orange top border */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 30px;
}

/* Brand & Security Stamp */
.footer-logo-img {
  height: 225px;
  margin-bottom: 15px;
}

.footer-security-text {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 15px;
  max-width: 350px;
}

.footer-security-text i {
  color: #22c55e; /* Green for safety */
  margin-right: 5px;
}

.trust-badges {
  display: flex;
  gap: 20px;
  font-size: 1.4rem;
  color: #64748b;
  align-items: center;
}

/* Titles */
.site-footer h3 {
  color: #ff8c00;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Link Styling */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #0f2b53;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

/* Support Text */
.footer-contact p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: #ff8c00;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
}

.security-stamp {
  color: #22c55e;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-security-text, .trust-badges, .footer-contact p, .footer-bottom-flex {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom-flex {
    flex-direction: column;
    gap: 10px;
  }
}
/* ============================================================
   profile-dropdown.css
   Profile icon + dropdown styles — navy & orange only.
   Link this in every page that uses the header.
============================================================ */

/* ── tokens ─────────────────────────────────────────────── */
:root {
  --pd-navy:        #0d1b3e;
  --pd-navy-mid:    #1a2d5a;
  --pd-orange:      #f47b20;
  --pd-orange-dark: #d4631a;
  --pd-orange-pale: #fff3e8;
}

/* ── profile icon button ────────────────────────────────── */
.profile-wrap {
  position: relative;
  display: inline-block;
}

.profile-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pd-orange);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-btn:hover,
.profile-btn.open {
  border-color: var(--pd-orange);
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.35);
}

/* ── dropdown panel ─────────────────────────────────────── */
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(9, 19, 40, 0.28);
  overflow: hidden;
  z-index: 9999;
  animation: pdDropIn 0.18s ease;
}

.profile-dropdown.visible {
  display: block;
}

@keyframes pdDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── header strip (navy bg with avatar + name/email) ─────── */
.pd-header {
  background: var(--pd-navy);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pd-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
}

.pd-info {
  min-width: 0;
}

.pd-name {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-email {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.73rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── section label ──────────────────────────────────────── */
.pd-section-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa3b2;
  padding: 0.6rem 1rem 0.2rem;
}

/* ── list item (fav / saved) ────────────────────────────── */
.pd-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--pd-navy);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.pd-item:hover {
  background: var(--pd-orange-pale);
  color: var(--pd-orange-dark);
}

.pd-item svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.pd-item:hover svg {
  opacity: 1;
}

/* ── purchase history row ───────────────────────────────── */
.pd-purchase-row {
  border-left: 3px solid var(--pd-orange);
  margin: 0.2rem 1rem;
  padding: 0.3rem 0.55rem;
  background: var(--pd-orange-pale);
  border-radius: 0 6px 6px 0;
  font-size: 0.76rem;
  color: var(--pd-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-purchase-row span {
  font-weight: 600;
  color: var(--pd-orange-dark);
}

/* ── empty state ────────────────────────────────────────── */
.pd-empty {
  font-size: 0.76rem;
  color: #b0b8c9;
  padding: 0.25rem 1rem 0.5rem;
  font-style: italic;
}

/* ── divider ────────────────────────────────────────────── */
.pd-divider {
  height: 1px;
  background: #f0f2f5;
  margin: 0.35rem 0;
}

/* ── logout button ──────────────────────────────────────── */
.pd-logout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #c0392b;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
}

.pd-logout:hover {
  background: #fff0f0;
}


/* MOBILE VIEW */
@media (max-width: 768px) {

  .header-inner {
    position: relative;
  }

  /* HAMBURGER BUTTON */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    z-index: 1002;
  }

  .menu-toggle i {
    font-size: 24px;
    color: #000;
  }

  /* MOBILE NAV MENU */
  .main-nav {

    position: absolute;

    top: 70px;
    left: 0;

    max-width: 100%;

    background: #fff;

    padding: 32px 24px;

    display: none;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 22px;

    border-radius: 0 0 16px 16px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    z-index: 1001;
  }

  /* SHOW MENU */
  .main-nav.active {
    display: flex;
  }

  /* NAV LINKS */
  .main-nav .nav-link {
    width: 100%;

    text-align: center;

    font-size: 22px;
    font-weight: 400;

    color: #111;
  }

  /* LOGIN BUTTON */
  .main-nav .btn {
    width: 100%;
    text-align: center;
  }

  /* CART */
  .cart-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* PROFILE */
  .profile-wrap {
    position: relative;

    width: fit-content;

    margin: 0 auto;
  }

  .profile-btn {
    margin: 0 auto;
  }

  /* DROPDOWN */
  .profile-dropdown {

    display: none;

    position: absolute;

    top: 48px;

    left: 50%;

    transform: translateX(-50%);

    width: 320px;
    max-width: 90vw;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    z-index: 9999;
  }

  .profile-dropdown.show {
    display: block;
  }
  /* CART */
.cart-container {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-container a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;

  top: -8px;
  right: -10px;

  min-width: 18px;
  height: 18px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 600;

  background: red;
  color: #fff;
}
}
@media (max-width: 768px) {

  .main-nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    

    background: #fff;

    padding: 90px 24px 40px;

    display: none;

    flex-direction: column;
    align-items: center;

    gap: 28px;

    /* overflow-y: auto; */

    z-index: 1001;
  }

  .main-nav.active {
    display: flex;
  }

}
/* ===============================
   FOOTER STYLING (WHITE TO GREEN)
   =============================== */

.site-footer {
  /* Blends from an elegant off-white down into your sage green */
  background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 40%, var(--complient-sage-green, #114d27) 100%);
  
  padding: 80px 0 30px;
  margin-top: 80px;
    border-top: 3px solid #e7e2df;
  position: relative;
  
 
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* Responsive drop for mobile screen layouts */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   TEXT COLOR CONTRAST REFINEMENTS
   Because the top half is white, text needs to be dark at 
   the top and stand out cleanly across the whole block.
   =================================================== */

/* Headings (Now dark charcoal so they stand out on the white top half) */
.site-footer h3 {
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff6b1a;
}

/* Main Brand Text paragraph */
.footer-brand p {
  color: #334155; 
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 350px;
}

/* Navigation Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #334155; 
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ff6b1a;
  padding-left: 5px;
}

/* Contact Info Area */
.footer-contact p {
  color: #334155; 
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: #ff6b1a;
  width: 20px;
}

/* SOCIAL ICONS (Dark borders/icons so they look clean on the bright background) */
.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(30, 41, 59, 0.08); /* Muted semi-transparent dark ring */
  color: #1e293b !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #ff6b1a;
  transform: translateY(-5px);
  color: #fff !important;
}

/* Bottom Copyright Strip */
.copy {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 25px;
  text-align: center;
  color: #e2e8f0; /* Crisp white-slate text to pop perfectly off the green base */
  font-size: 0.9rem;
}



/* Responsive drop for mobile screen layouts */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}



/* Headings */
.site-footer h3 {
  color: #0b0b45; 
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff6b1a;
}

/* Main Brand Text paragraph */
.footer-brand p {
  color: #0b0b45; 
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 350px;
}

/* Navigation Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #0b0b45; 
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ff6b1a;
  padding-left: 5px;
}

/* Contact Info Area */
.footer-contact p {
  color: #0b0b45; 
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: #ff6b1a;
  width: 20px;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(11, 11, 69, 0.08); 
  color: #0b0b45 !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #ff6b1a;
  transform: translateY(-5px);
  color: #fff !important;
}


.copy {
  border-top: 1px solid rgba(11, 11, 69, 0.1);
  padding-top: 25px;
  text-align: center;
  color: #e2e8f0; 
  font-size: 0.9rem;
}
/* ==========================================================================
   GET STARTED NAVBAR BUTTON - EXTRA WIDE EDITION
   ========================================================================== */
.nav-btn-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  
  /* --- MAXIMUM WIDTH LAYOUT CHANGES --- */
  min-width: 150px !important;              /* Significantly wider baseline footprint */
  height: 52px !important;                 /* Proportional height boost for larger width */
  padding: 0 76px 0 36px !important;       /* Generous horizontal inner spacing */
  box-sizing: border-box !important;
  border-left: 4px;
  
  /* Styling & Colors */
  background-color: #ffffff !important;    
  color: #1a253c !important;               /* Deep Navy Blue text */
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;              /* Slightly larger text to match size */
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 2px solid #f97316 !important;     /* Clean orange border */
  border-radius: 8px !important;           
  
  /* Vector Arrow Setup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 28px) center !important; 
  
  /* --- EXTRA WIDE ARROW GRAPHIC DIMENSIONS --- */
  background-size: 36px 20px !important;    /* Expanded scale for a longer, more prominent arrow */
  
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

/* Dynamic Interactive States */
.nav-btn-get-started:hover {
  background-color: #fff7ed !important;    
  background-position: calc(100% - 22px) center !important; /* Smooth tracking micro-movement */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}
#authBtn[style*="display: none"],
#authBtn[style*="display:none"] {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ==========================================================================
   GET STARTED NAVBAR BUTTON - EXTRA WIDE EDITION
   ========================================================================== */
.nav-btn-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  /* --- MAXIMUM WIDTH LAYOUT CHANGES --- */
  min-width: 150px !important;
  /* Significantly wider baseline footprint */
  height: 52px !important;
  /* Proportional height boost for larger width */
  padding: 0 76px 0 36px !important;
  /* Generous horizontal inner spacing */
  box-sizing: border-box !important;
  border-left: 2px;

  /* Styling & Colors */
  background-color: #ffffff !important;
  color: #1a253c !important;
  /* Deep Navy Blue text */
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 22px !important;
  /* Slightly larger text to match size */
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 1px solid #f97316 !important;
  /* Clean orange border */
  border-radius: 8px !important;

  /* Vector Arrow Setup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 28px) center !important;

  /* --- EXTRA WIDE ARROW GRAPHIC DIMENSIONS --- */
  background-size: 36px 24px !important;
  /* Expanded scale for a longer, more prominent arrow */

  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

/* Dynamic Interactive States */
.nav-btn-get-started:hover {
  background-color: #fff7ed !important;
  background-position: calc(100% - 22px) center !important;
  /* Smooth tracking micro-movement */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}
/* ─────────────────────────────────────────────────
   MYWEAVERLABS NAVBAR – Simplified Riipen Aesthetic
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1500px;
  margin: 0 auto;
}

.logo-img { 
  height:200px; 
  width: auto; 
  display: block; 
}

/* Pure CSS Hamburger Button (No FontAwesome dependency) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1a2b56;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger to X Transformation */
.menu-toggle.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ── Top-level nav ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { 
  position: relative; 
}

/* All top-level links and toggle buttons */
.nav-link,
.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #1a2b56;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .16s, background .16s;
  letter-spacing: .01em;
  outline: none;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: #f58220;
}

/* Riipen-style Active Indicator Underline */
.nav-item.open > .nav-link {
  position: relative;
}
.nav-item.open > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -14px; /* Pins nicely underneath the bottom of header layout */
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #f58220;
  z-index: 1000;
}

/* Chevron arrow indicator */
.nav-chevron {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.open > .nav-link .nav-chevron { 
  transform: rotate(180deg); 
}

/* ─────────────────────────────────────────────
   MEGA / FULL-WIDTH DROPDOWNS (Unified)
───────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e8eaf0;
  border-bottom: 1px solid #e8eaf0;
  box-shadow: 0 8px 32px rgba(26,43,86,.10);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s cubic-bezier(.4,0,.2,1);
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Inner block - scales with maximum header containment metrics */
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 2rem 36px;
  display: flex;
  gap: 64px;
}

.mega-col {
  min-width: 160px;
}

/* Header Text categorization context tags */
.mega-col-heading {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .09em;

  color: #a0abc0;
  margin: 0 0 14px;
  padding: 0;
}

/* Interactive routes within dropdown cards */
.mega-link {
  display: block;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #1a2b56;
  text-decoration: none;
  padding: 6px 0;
  transition: color .15s;
  line-height: 1.4;
}
.mega-link:hover { 
  color: #f58220; 
}

/* Dummy/In-progress styling rule sets */
.mega-link-soon {
  color: #b0bac8;
}
.mega-link-soon::after {
  content: ' — soon';
  font-size: 0.75rem;
  color: #c8d0dc;
}

/* ── Login / Action Interface Button ── */
.nav-btn-login {
  margin-left: 12px;
  padding: 8px 22px;
  background: transparent;
  color: #1a2b56;
  border: 1.5px solid #1a2b56;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-btn-login:hover {
  background: #1a2b56;
  color: #ffffff;
}

/* ── Backdrop Layout ── */
#megaBackdrop {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(10,20,50,.15);
  z-index: 997;
}
#megaBackdrop.active { 
  display: block; 
}

/* ─────────────────────────────
   MOBILE RESPONSIVE OVERRIDES
───────────────────────────────*/
@media (max-width: 900px) {
  .menu-toggle { 
    display: flex; 
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0; 
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 8px 24px rgba(26,43,86,.1);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { 
    display: flex; 
  }

  .nav-item { width: 100%; }
  .nav-link { width: 100%; border-radius: 7px; justify-content: space-between; padding: 12px 14px; }
  .nav-item.open > .nav-link::after { display: none; }

  .mega-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    background: #fafafa;
    border-radius: 6px;
  }
  .nav-item.open .mega-menu { 
    display: block; 
    opacity: 1; 
  }

  .mega-inner {
    flex-direction: column;
    gap: 20px;
    padding: 16px;
  }
  
  .mega-col-heading { 
    margin-bottom: 8px; 
  }

  .nav-btn-login { 
    margin: 12px 0 4px; 
    justify-content: center; 
    width: 100%; 
  }
  
  #megaBackdrop { 
    display: none !important; 
  }
}
/* ─────────────────────────────────────────────────
   MYWEAVERLABS NAVBAR – Professional Card Layout
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1500px;
  margin: 0 auto;
}

.logo-img { 
  margin-top: 12px;
  height: 220px; 
  width: auto; 
  display: block; 
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #1a2b56;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Top Level Navigation links ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { 
  position: relative; 
}


.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: #f58220;
}

/* Underline Indicator */
.nav-item.open > .nav-link {
  position: relative;
}
.nav-item.open > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: #f58220;
  z-index: 1000;
}

.nav-chevron {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.open > .nav-link .nav-chevron { 
  transform: rotate(180deg); 
}

/* ─────────────────────────────────────────────
   PROFESSIONAL CARD-BASED MEGA DROPDOWNS
───────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
  box-shadow: 0 12px 40px rgba(26, 43, 86, 0.08);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 2rem;
}

.mega-col {
  width: 100%;
  max-width: 760px; /* Limits width so descriptions remain scannable */
  display: flex;
  flex-direction: column;
}

/* Layout Meta Tags (Small Context indicator text) */
.mega-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f58220;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-col-heading {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2b56;
  margin: 0 0 24px 0;
  padding: 0;
}

/* The Premium Card Item */
.mega-card {
  display: block;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-bottom: 12px;
  cursor: pointer;
}

.mega-card:last-child {
  margin-bottom: 0;
}

/* Hover States for Active Menu Cards */
.mega-card:not(.coming-soon):hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}

.mega-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2b56;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.mega-card:not(.coming-soon):hover .mega-card-title {
  color: #f58220;
}

.mega-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
}

/* Coming Soon & Inactive Card Configurations */
.coming-soon {
  cursor: default;
  opacity: 0.75;
}

.badge-soon {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ── Login / Actions Button ── */
.nav-btn-login {
  margin-left: 8px;
  padding: 8px 20px;
  background: transparent;
  color: #1a2b56;
  border: 1.5px solid #1a2b56;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-btn-login:hover {
  background: #1a2b56;
  color: #ffffff;
}

/* Backdrop Overlay */
#megaBackdrop {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(2px); /* Adds high-end glass texture to workspace background */
  z-index: 997;
}
#megaBackdrop.active { 
  display: block; 
}

/* ─────────────────────────────
   MOBILE RESPONSIVE OVERRIDES
───────────────────────────────*/
@media (max-width: 900px) {
  .menu-toggle { 
    display: flex; 
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0; 
    right: 0;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    box-shadow: 0 10px 25px rgba(26, 43, 86, 0.08);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { 
    display: flex; 
  }

  .nav-item { width: 100%; }
  .nav-link { width: 100%; border-radius: 7px; justify-content: space-between; padding: 12px 14px; }
  .nav-item.open > .nav-link::after { display: none; }

  .mega-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    background: #f8fafc;
    border-radius: 6px;
  }
  .nav-item.open .mega-menu { 
    display: block; 
    opacity: 1; 
  }

  .mega-inner {
    padding: 16px;
  }
  
  .mega-col-heading { 
    margin-bottom: 16px; 
    font-size: 1rem;
  }

  .mega-card {
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
  }

  .nav-btn-login { 
    margin: 12px 0 4px 0; 
    justify-content: center; 
    width: 100%; 
    padding: 12px;
  }
  
  #megaBackdrop { 
    display: none !important; 
  }
}
/* Add space to the left of the cart container on desktop viewports */
.cart-container {
  margin-left: 16px;  /* Adjust this value (e.g., 12px to 24px) to get your preferred spacing */
  margin-right: 20px;  /* Keeps a clean balanced gap before the Login button */
  display: inline-flex;
  align-items: center;
}

/* Optional styling to make sure the icon looks crisp and matches the menu link theme */
.cart-container a {
  color: #1a2b56;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.16s ease;
  padding: 8px;
}

.cart-container a:hover {
  color: #f58220;
}

/* Responsive Override: Adjust layout behavior inside the mobile slide-out drawer */
@media (max-width: 900px) {
  .cart-container {
    margin-left: 14px;  /* Aligns the icon beautifully with text margins on small screens */
    margin-top: 8px;   /* Prevents overlapping vertically on mobile stacks */
    margin-bottom: 8px;
  }
}
/* ============================================================
   PIXEL-PERFECT SHOPPING CART BADGE GEOMETRY
============================================================ */

/* 1. Reset the container wrap to tightly hug the anchor link content dimensions */
.cart-container {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 16px !important; /* Clean horizontal layout gap between Contact and Profile */
    vertical-align: middle !important;
}

/* 2. Turn the link wrapper itself into the absolute coordinate engine layout boundary */
.cart-container a {
    position: relative !important;
    display: inline-block !important; /* Gives it an explicit, predictable bounding box shape */
    line-height: 1 !important;
    padding: 4px !important; /* Inner click padding box */
    text-decoration: none !important;
}

/* 3. The icon itself */
.cart-container .fa-cart-shopping {
    font-size: 20px !important;
    color: #002147 !important; /* Your brand navy base tone */
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Target the absolute coordinate positions directly relative to the link boundary wrapper box */
#cartCount.cart-badge {
    position: absolute !important;
    
    /* Lock the alignment precisely to the top right corner vertex edge of the icon path */
    top: -8px !important;
    right: -4px !important;
    
    /* Visual Design Accents & Color Palette Rules */
    /* Premium brand accent orange highlight */
    color: #ffffff !important;
    
    /* Strict font scaling parameters to guarantee vertical center alignment inside the box */
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 16px !important; /* Must exactly match or be 2px less than height to center numbers */
    text-align: center !important;
    
    /* Geometry circle constraints */
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important; /* Forces a perfect mechanical circle shape profile */
    
    /* Layout positioning engine mechanics inside the badge container box node */

    align-items: center !important;
    justify-content: center !important;
    
    /* Polished presentation depth tweaks */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    z-index: 10 !important;
    pointer-events: none !important;
}
/* ============================================================
   PURE HOVER INTERACTION ENGINE (MOUSE ENTER / OUT)
============================================================ */

/* 1. HIDDEN STATE: Strict visibility blocks when mouse is outside */
.main-nav .nav-item .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Prevents ghost clicks when hidden */
    
    /* Smooth visual fade transition */
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* 2. ACTIVE STATE: Triggered cleanly when mouse enters the link or dropdown block */
.main-nav .nav-item:hover .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Re-enables clicking inside the dropdown */
}
/* 1. HIDDEN STATE: Strict visibility blocks when mouse is outside */
.main-nav .nav-item .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Prevents ghost clicks when hidden */
    
    /* Smooth visual fade transition */
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* 2. ACTIVE STATE: Triggered cleanly when mouse enters the link or dropdown block */
.main-nav .nav-item:hover .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Re-enables clicking inside the dropdown */
}
/* ============================================================
   REVERSED TYPOGRAPHY HIERARCHY (BIG TAGS, SMALLER SUBHEADS)
============================================================ */

/* 1. Main Accent Label — Swapped to be the dominant, biggest element */
.main-nav .mega-tag {
        font-family: Crimsonpro variablefont wght, sans-serif !important; /* Switched to bold display font */
    font-size: 22px !important;       /* Making it drastically bigger */
    font-weight: 800 !important;       /* Ultra bold structural thickness */
     /* Clean capitalization style */
    letter-spacing: -0.3px !important; /* Tight tracking for pro editorial aesthetic */
    color: #ff6b00 !important;         /* Vibrant brand orange pop */
    margin-bottom: 4px !important;
    display: block !important;
}

/* 2. Secondary Column Sub-Heading — Scaled down to sit under the tag */
.main-nav .mega-col-heading {
   font-family: Dmsans, sans-serif important; /* Switched to cleaner body font */
    font-size: 14px !important;       /* Small, elegant tag scale */
    font-weight: 800 !important;       /* Medium premium weight */
 
    letter-spacing: 1px !important;    /* Slightly spaced out readability */
         /* Muted high-contrast slate tone */
    margin: 0 0 24px 0 !important;     /* Creates breathing room before the cards */
}
@media screen and (max-width: 768px) {
  .logo-img {
    max-height: 190px;
    margin-top: 20px;
    margin-left: -5px;

  }
}
/* 1. Ensure the main container stacks and centers everything vertically */
#mainNav.main-nav.open.active {
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centers items horizontally */
    justify-content: center;   /* Centers items vertically if needed, or use flex-start with gaps */
    text-align: center;
    gap: 10px;                 /* Adds clean, even spacing between all elements */
    width: 100%;
    padding-top: 5px;
}

/* 2. Fix the navigation links so they don't stretch or push content to edges */
@media (max-width: 900px) {
    .nav-link {
        display: inline-flex;     /* Changes from block/flex width 100% */
        width: auto;              /* Lets the link shrink to its text size */
        justify-content: center;  /* Centers text inside the link if width is applied */
        align-items: center;
        padding: 10px 20px;       /* Gives them a nice, clickable touch target */
        text-align: center;
    }
}

/* 3. Ensure the cart and login elements inherit the centering */
.cart-container, 
#authBtn,
.btn.orange {
    margin: 0 auto;           /* Fail-safe backup for horizontal centering */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
/* 1. Tighten the parent container's layout */
#mainNav.main-nav.open.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* CHANGE THIS: Stops elements from stretching vertically to fill the screen */
    justify-content: flex-start; 
    
    /* Adjust this top padding to control exactly how close the links sit to the logo */
    padding-top: 40px; 
    
    /* Spacing between the individual items */
    gap: 15px; 
}

/* 2. Remove any accidental top margins on the first link wrapper */
.nav-item:first-of-type,
.nav-link:first-of-type {
    margin-top: 0;
}
/* ==========================================================================
    NAVIGATION STYLES
   ========================================================================== */

:root {
  --nav-font-family: 'DM Sans', sans-serif;
  --color-text-primary: #111928; 
  --color-text-muted: #4b5563;   /* Slate gray for menu descriptions */
  --color-accent: #047857;       /* Emerald Green accent line / active text */
  --header-bg: #ffffff;
  --dropdown-bg: #ffffff;
}

/* Base Header Setup */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--header-bg);
  border-bottom: 1px solid #f3f4f6;
  z-index: 1000;
  font-family: var(--nav-font-family);
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px; /* Matching the comfortable height of Riipen's navbar */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation Links Style */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: 100%;
}

.nav-item {
  display: inline-block;
  height: 100%;
}

/* Exact typography properties from screenshot */
.nav-link, 
.nav-item button.nav-link {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--nav-font-family);
  font-size: 14px;            /* Precise font scale */
  font-weight: 300;           /* Medium weight styling */
  color: var(--color-text-primary);
  text-transform: capitalize; 
  text-decoration: none;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}

/* Hover and Active Visual states */
.nav-link:hover,
.nav-item:hover button.nav-link,
.nav-link.active {
  color:  #f58220!important;
}

/* Bottom green accent bar matching Riipen's dropdown active state */
.nav-item:hover button.nav-link::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color:  #f58220;
  border-radius: 3px 3px 0 0;
}

/* ==========================================================================
   DROPDOWN / MEGA MENU STRUCTURE OVERRIDE
   ========================================================================== */

/* Full-width container positioned precisely below the navbar boundary */
.mega-menu {
  position: fixed;
  top: 80px; /* Must match .header-inner height exactly */
  left: 0;
  width: 100%;
  background-color: var(--dropdown-bg);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid #f3f4f6;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

/* Shows dropdown state using your existing JS trigger mechanisms */
.nav-item:hover .mega-menu,
.nav-item button[aria-expanded="true"] + .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Layout framework matching Screenshot (15).jpg */
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem 2rem; /* Clean asymmetric padding layout */
  display: flex;
  flex-direction: column;
}

/* Main Top Section Heading */
.mega-col-heading {
  font-family: var(--nav-font-family);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 1.5rem 0;
}

/* Subheading Content Stack Style */
.mega-tag {
  font-family: var(--nav-font-family);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  display: block;
}

/* List/Card layout for inner column references */
.mega-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

/* Links inside dropdown mapping to screenshot styling */
.mega-card {
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.mega-card-title {
  font-family: var(--nav-font-family);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.mega-card:hover .mega-card-title {
  color: var(--color-accent);
}

/* Hide descriptions to match cleaner text alignment in screenshot 2 */
.mega-card-desc, .badge-soon, .mega-tag {
  display: none !important; 
}
/* ==========================================================================
   DROPDOWN SPACING ADJUSTMENTS
   ========================================================================== */

/* Inner container padding - reduced top/bottom padding for a tighter fit */
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem 2rem; /* Reduced from 2.5rem and 4rem */
  display: flex;
  flex-direction: column;
}

/* Main Heading margin - reduced bottom gap */
.mega-col-heading {
  font-family: var(--nav-font-family);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 0.75rem 0; /* Cut in half from 1.5rem */
}

/* Subheading Content Stack Style */
.mega-tag {
  font-family: var(--nav-font-family);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  display: block;
}

/* Column Link Stack - controls the gap between individual links */
.mega-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem; /* Tightened gap between lines from 0.85rem */
}

/* Individual Link Container adjustments */
.mega-card {
  text-decoration: none;
  display: block;
  padding: 0.15rem 0; /* Small vertical padding target for easy clicking */
  transition: transform 0.2s ease;
}

.mega-card-title {
  font-family: var(--nav-font-family);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.2; /* Tighter text tracking */
  transition: color 0.15s ease;
}

.mega-card:hover .mega-card-title {
  color: var(--color-accent);
}

/* Keeps descriptions hidden to maintain clean layout */
.mega-card-desc, .badge-soon, .mega-tag {
  display: none !important; 
}
/* ==========================================================================
   MYWEAVERLABS - CHECKOUT PAGE TYPOGRAPHY UNIFICATION
   ========================================================================== */

/* 1. Base Elements Override
   Ensures the core font family applies seamlessly to layout structures and elements.
*/
html, 
body, 
h1, h2, h3, h4, h5, h6, 
p, span, a, button, input, label, textarea, div, li {
  font-family: 'DM Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2. Checkout & Order Summary Structural Selectors
   Locks in the typography for items, totals, breakdown rows, and transaction badges.
*/
.checkout-container,
.checkout-left,
.checkout-right,
.section-title,
#checkoutItems,
.summary-row,
.summary-row span,
.summary-total,
#checkoutTotal,
.checkout-btn,
.secure-box,
.status-message,
.checkout-item-title,
.checkout-item-price {
  font-family: 'DM Sans', sans-serif !important;
}

/* 3. Shared Framework Components (Header, Footer, and Navigation)
   Maintains system-wide consistency for overlapping layout sections.
*/
.mega-col-heading,
.mega-card-title,
.mega-card-desc,
.nav-link,
.nav-btn-get-started,
.footer-security-text,
.footer-links h3,
.footer-contact h3,
.security-stamp {
  font-family: 'DM Sans', sans-serif !important;
}
.nav-btn-get-started {
    /* Your existing CSS here */
    box-shadow: 0 4px 14px rgba(255, 165, 0, 0.3); 
    transition: box-shadow 0.3s ease; /* Smooth transition for hover effects */
}
/* --- Pro-Tier Course Checkout Cards Look --- */
.checkout-item {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #FF6B35; /* Orange side border matching your design style */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.checkout-item img.item-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #fff0eb;
    padding: 10px;
}

.item-details-layout {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* Content side column styling templates */
.item-category-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e28743;
    display: block;
    margin-bottom: 4px;
}

.checkout-item .item-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.item-instructor {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 10px;
}

.item-meta-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.meta-pill {
    font-size: 0.72rem;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.item-discount-tag {
    font-size: 0.75rem;
    color: #e65c00;
    font-weight: 600;
    margin-bottom: 8px;
}

.back-to-course-btn {
    background: #f58220;
    border: 1px solid #cbd5e1;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 5px;
    max-width: 165px;
    height: 40px;
   
}

.back-to-course-btn:hover {
    background: #f58220;
    border-color: #4f535a;
     background-color: #f58220;
}

/* Right layout: Action Controls and Pricing column */
.item-actions-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 120px;
   
}

.price-container {
    text-align: right;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
}

.original-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: -2px;
}

.remove-item-btn {
    background: #fff5f5;
    border: 1px solid #fee2e2;
    color: #ef4444;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-item-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Quick responsive tweak */
@media (max-width: 600px) {
    .item-details-layout {
        flex-direction: column;
        gap: 15px;
    }
    .item-actions-block {
        align-items: flex-start;
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
        border-top: 1px dashed #e2e8f0;
        padding-top: 12px;
    }
    .price-container {
        text-align: left;
    }
}
.checkout-title-group {
    display: flex;
    align-items: center;
    gap: 12px; /* Small gap between the button and text */
    margin-bottom: 1.5rem;
}

.checkout-title-group .section-title {
    margin-bottom: 0 !important; /* Prevents text alignment shifts */
}

.checkout-icon-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%; /* Smooth circle button */
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-icon-back-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateX(-2px); /* Slight interactive shift */
}
/* ==========================================================================
   MOBILE MENU OVERLAP & VISIBILITY FIX
   ========================================================================== */

@media screen and (max-width: 992px) {
  
  /* 1. Ensure the header container acts as a reliable baseline layer */
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Higher than any elements on the main page */
    background-color: #ffffff; /* Prevents text underneath from showing through */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  /* 2. Fix the sliding nav link layout panel */
  .main-nav {
    position: fixed; /* Takes the menu out of the page flow entirely */
    top: 70px;       /* Set this to match the exact height of your white header row */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px); /* Extends menu background down the full screen */
    
    /* THE CRITICAL VISUAL FIXES */
    background-color: #ffffff !important; /* Forces solid background color */
    z-index: 9998 !important;             /* Stands over your contact grid/cards */
    
    /* Clean vertical spacing layout for mobile items */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    overflow-y: auto; /* Allows smooth scrolling if mega menus are expanded */
    
    /* Animation transitions */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  /* 3. When the active class is added by JS, slide it into view */
  .main-nav.active {
    transform: translateX(0);
    display: flex !important;
  }
}@media screen and (max-width: 992px) {
  
  .main-nav {
    position: absolute; /* Changed from fixed to absolute to flow naturally with header sizing */
    top: 100%;          /* Perfectly aligns the top of the menu with the bottom of the header banner */
    left: 0;
    width: 100%;
    
    /* THE FIX: Remove full viewport height, let it fit its inner items nicely */
    height: auto !important; 
    max-height: 450px;       /* Sets an upper limit so it doesn't get ridiculously long */
    overflow-y: auto;        /* Adds a tiny scrollbar inside the menu if it exceeds max-height */

    /* Visual Polish */
    background-color: #ffffff !important;
    z-index: 9998 !important;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08); /* Gives separation over the contact section below */
    
    /* Layout structure */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    
    /* Animation settings */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Subtle slide down animation instead of a massive slide from the side */
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  /* When opened via hamburger toggle */
  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex !important;
  }
}

@media screen and (max-width: 992px) {
  
  /* 1. Center alignment inside the main mobile drop-down panel */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto !important;
    max-height: 80vh; /* Limits panel depth safely on short screens */
    overflow-y: auto;
    background-color: #ffffff !important;
    z-index: 9998 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    
    /* THE MOVEMENT: Flex blocks set to vertical layout and perfectly centered */
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centers items horizontally */
    justify-content: transform;
    padding: 30px 20px;
    gap: 20px;
    
    /* Animation states */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  /* 2. Container wrappers for each navigation item group */
  .main-nav .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers parent trigger text and button tags */
    text-align: center;
  }

  /* 3. Style top-level text triggers */
  .main-nav .nav-link {
    font-size: 14px;
    padding: 8px 16px;
    width: auto;

    text-align: center;
    justify-content: center;
    background: none;
    border: none;
    color: #1a2b56;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* 4. RESPONSIVE DROPDOWN PANEL (The Mega-Menu Fix for Mobile) */
  .main-nav .mega-menu {
    display: none; /* Hidden by default on mobile devices */
    width: 100%;
    max-width: 400px; /* Prevents text elements from stretching too wide on tablet sizes */
    background-color: #f8fafc; /* Subtle tint background contrast for expanded area */
    border-radius: 8px;
    margin-top: 8px;
    padding: 12px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
  }

  /* When JS toggles the wrapper open status, display the child cards */
  .main-nav .nav-item.open .mega-menu {
    display: block !important;
  }

  /* 5. Clean layout flow for inner cards inside the drop-down accordion */
  .main-nav .mega-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .main-nav .mega-col {
    width: 100%;
    text-align: center;
  }

  .main-nav .mega-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    background-color: rgba(26, 43, 86, 0.08);
    border-radius: 4px;
    margin-bottom: 6px;
  }

  .main-nav .mega-col-heading {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #1a2b56;
  }

  /* Interactive card updates */
  .main-nav .mega-card {
    display: block;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
  }

  .main-nav .mega-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2b56;
    margin-bottom: 4px;
  }

  .main-nav .mega-card-desc {
    font-size: 0.85rem;
    color: #556383;
    line-height: 1.4;
  }
}
@media screen and (max-width: 992px) {
  
  /* The main container covering mobile links */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto !important;
    max-height: 105vh; 
    overflow-y: auto; /* Adds a scrollbar INSIDE the menu if it gets too long */
    background-color: #ffffff !important;
    z-index: 99991 !important; /* Forces it over the page cards */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    display: flex;
    flex-direction: column;
    align-items: center;      
    padding: 24px 16px;
    gap: 16px;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* List container wrapper per menu item */
  .main-nav .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative !important; /* Resets any problematic layout bounds */
  }

  /* Main trigger links (Projects, Solutions, etc.) */
  .main-nav .nav-link {
    font-size: 1.15rem;
    padding: 10px 20px;
    width: 100%; /* Spans full width so the touch-target is wide */
    text-align: center;
    background: none !important;
    border: none !important;
    color: #1a2b56 !important;
    font-weight: 700;
    text-transform: capitalize;
    display: block;
  }

  /* ==========================================
     THE CRITICAL FIX: RESET THE MEGA MENU CONTAINER
     ========================================== */
  .main-nav .mega-menu {
    display: none; /* Hidden until toggled open */
    
    /* REMOVE DESKTOP FLOATING LAYOUT */
    position: static !important;  
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    
    /* Clean, safe background card layout block for submenus */
    background-color: #f8fafc !important; 
    border-radius: 8px;
    padding: 16px;
    margin-top: 4px;
    box-sizing: border-box;
  }

  /* Forces it to appear inline when the parent nav item has the .open class */
  .main-nav .nav-item.open .mega-menu {
    display: block !important;
  }

  /* Inner Structural Rows/Columns Reset */
  .main-nav .mega-inner,
  .main-nav .mega-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Styling for headings inside the dropdown card */
  .main-nav .mega-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #f58220; /* Brand Orange accent */
    margin-bottom: 4px;
    display: inline-block;
  }

  .main-nav .mega-col-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a2b56;
    margin-bottom: 12px;
    text-align: center;
  }

  /* Individual clickable cards inside the accordion panel */
  .main-nav .mega-card {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    text-decoration: none !important;
    text-align: center !important;
    box-sizing: border-box;
    margin-bottom: 8px;
  }
  
  .main-nav .mega-card:last-child {
    margin-bottom: 0;
  }

  .main-nav .mega-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2b56 !important;
    margin-bottom: 4px;
  }

  .main-nav .mega-card-desc {
    font-size: 0.85rem;
    color: #556383 !important;
    line-height: 1.4;
  }
}
@media screen and (max-width: 992px) {
  
  /* 1. REMOVE DESKTOP HIGHLIGHTERS / UNDERLINES */
  .main-nav .nav-link,
  .main-nav .nav-item {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  /* Remove any global CSS pseudo-element hover bars (like ::after strips) */
  .main-nav .nav-link::after,
  .main-nav .nav-link::before,
  .main-nav .nav-item::after {
    display: none !important;
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* 2. DECREASE TOP-LEVEL LINK FONT SIZE */
  .main-nav .nav-link {
    font-size: 1.05rem !important; /* Slightly smaller, clean baseline size */
    padding: 8px 16px !important;
    color: #1a2b56 !important;
    font-weight: 300 !important;
  }

  /* 3. DECREASE INSIDE DROPDOWN CONTENT SIZES */
  .main-nav .mega-col-heading {
    font-size: 0.9rem !important; /* Scaled down section header */
    margin-bottom: 8px;
  }

  .main-nav .mega-tag {
    font-size: 0.65rem !important; /* Compact tag labels */
    padding: 2px 6px !important;
  }

  .main-nav .mega-card {
    padding: 10px !important; /* Tighter spacing inside cards */
    margin-bottom: 6px;
  }

  .main-nav .mega-card-title {
    font-size: 0.85rem !important; /* Compact item headline */
    font-weight: 700;
  }

  .main-nav .mega-card-desc {
    font-size: 0.78rem !important; /* Smaller descriptive text */
    line-height: 1.35;
    color: #556383 !important;
  }
}
/* Inline actions container for checkout items */
.checkout-item-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Micro action button variant */
.checkout-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #001f3f; /* Professional Navy */
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.checkout-action-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* Interaction active classes matching core app themes */
.checkout-action-btn.fav-active {
  background-color: #fff5f5 !important;
  border-color: #feb2b2 !important;
  color: #e53e3e !important;
}

.checkout-action-btn.sfl-active {
  background-color: #fffaf0 !important;
  border-color: #fbd38d !important;
  color: #dd6b20 !important;
}
/*  AUTH OVERLAY */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 25, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* MODAL */
.auth-modal {
  display: flex;
  width: 700px;
  max-width: 90%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  animation: slideUp 0.4s ease;
}

/* LEFT PANEL */
.auth-left {
  flex: 1;
  background: linear-gradient(135deg, #ff6b00, #cc9042);
  color: white;
  padding: 30px;
}

/* RIGHT PANEL */
.auth-right {
  flex: 1;
  padding: 30px;
}

/* INPUT */
.auth-right input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
}

/* BUTTON */
.auth-right button {
  width: 100%;
  padding: 12px;
  background: #ff6b00;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

/* ERROR */
.error {
  color: red;
  font-size: 12px;
}

/* TERMS */
.terms {
  font-size: 14px;
}

/* ANIMATION */
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*  BLOCK PAGE */
body.auth-active {
  overflow: hidden;
}

.auth-active .container {
  filter: blur(6px);
  pointer-events: none;
}

/* CAPTCHA BOX */
.captcha-box {
  margin: 10px 0;
}

/* ROW */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CAPTCHA IMAGE */
#captchaImage {
  height: 45px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* REFRESH BUTTON */
.refresh-btn {
  padding: 6px 10px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 6px;
}

/* INPUT */
#captchaInput {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
}

/* NAME ROW */
.name-row {
  display: flex;
  gap: 10px;
}

.name-row input {
  width: 100%;
}

/* TERMS BOX */
.terms-box {
  background: #f8f9ff;
  border: 1px solid #e0e3ff;
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
}

.terms-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.terms-box ul {
  padding-left: 15px;
  font-size: 13px;
}

.terms-box li {
  margin-bottom: 4px;
}

.terms-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
}

.terms-inline input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.resend-btn {
  margin-top: 10px;
  background: transparent;
  color: #ff6b00;
  border: none;
  cursor: pointer;
}

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

/* ==========================================================================
   CHECKOUT PAGE — HAMBURGER MENU TOGGLE FIX (Samsung Galaxy S8+, 360px)
   ========================================================================== */

@media (max-width: 768px) {

  /* 1. Fix the header to a clean fixed height so nothing overflows */
  .site-header {
    height: 70px !important;
    overflow: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

  .header-inner {
    height: 70px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. Logo — shrink it so it doesn't push hamburger off screen */
  .logo-img {
    height: 125px !important;
    width: auto !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    display: block !important;
  }

  /* 3. THE CORE FIX: Force hamburger visible and correctly positioned */
  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;

    width: 28px !important;
    height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;

    background: none !important;
    border: none !important;
    cursor: pointer !important;

    position: relative !important;
    z-index: 10001 !important;
    flex-shrink: 0 !important;
  }

  /* 4. The three lines */
  .menu-toggle span {
    display: block !important;
    width: 28px !important;
    height: 2.5px !important;
    background-color: #1a2b56 !important;
    border-radius: 2px !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
  }

  /* 5. X transformation when open */
  .menu-toggle.open span:nth-child(1),
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg) !important;
  }

  .menu-toggle.open span:nth-child(2),
  .menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .menu-toggle.open span:nth-child(3),
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg) !important;
  }

  /* 6. Nav menu dropdown from header bottom */
  .main-nav {
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 70px) !important;
    background-color: #ffffff !important;
    z-index: 9998 !important;
    box-shadow: 0 8px 24px rgba(26, 43, 86, 0.12) !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px 16px !important;
    gap: 16px !important;
    overflow-y: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
    display: flex !important;
  }

  .main-nav.open,
  .main-nav.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* 7. Checkout container top spacing to clear the fixed header */
  .checkout-container {
    margin-top: 20px !important;
    padding: 12px !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 8. Footer mobile stack */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 0 16px !important;
  }

  .socials {
    justify-content: center !important;
  }

  .site-footer h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}
/* ==========================================================================
   AUTH MODAL — MOBILE RESPONSIVE FIX (Checkout Page)
   ========================================================================== */

@media (max-width: 768px) {

  /* Full screen overlay on mobile */
  .auth-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  /* Modal takes full width, auto height */
  .auth-modal {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    animation: slideUpMobile 0.35s ease !important;
  }

  /* HIDE the left orange panel completely on mobile */
  .auth-left {
    display: none !important;
  }

  /* RIGHT PANEL takes full width */
  .auth-right {
    width: 100% !important;
    flex: unset !important;
    padding: 28px 20px 36px !important;
    overflow-y: auto !important;
    max-height: 92vh !important;
    box-sizing: border-box !important;
  }

  /* Heading */
  .auth-right h3 {
    font-size: 1.3rem !important;
    margin-bottom: 16px !important;
    color: #1a2b56 !important;
  }

  /* Stack name inputs vertically */
  .name-row {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .name-row input {
    width: 100% !important;
  }

  /* All inputs full width */
  .auth-right input {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    margin: 6px 0 !important;
  }

  /* Buttons full width */
  .auth-right button:not(.back-step-btn):not(.link-btn) {
    width: 100% !important;
    padding: 13px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }

  /* Captcha row stays horizontal */
  .captcha-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  #captchaImage {
    height: 42px !important;
    flex-shrink: 0 !important;
  }

  /* Captcha input full width */
  #captchaInput {
    width: 100% !important;
    margin-top: 8px !important;
  }

  /* Terms box scroll if long */
  .terms-box {
    max-height: 110px !important;
    overflow-y: auto !important;
    font-size: 0.82rem !important;
  }

  /* Terms inline row */
  .terms-inline {
    font-size: 0.88rem !important;
    margin: 10px 0 !important;
  }

  /* Resend text */
  .resend-text {
    font-size: 0.85rem !important;
    text-align: center !important;
    margin-top: 12px !important;
  }

  /* OTP note text */
  .otp-note,
  #step2 > p:not(.error):not(.resend-text):not(.success-msg) {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    text-align: center !important;
  }

  /* Back button spacing */
  .back-step-btn {
    margin-bottom: 16px !important;
  }

  /* Error messages */
  .error {
    font-size: 0.8rem !important;
    text-align: center !important;
  }
}

/* Slide up animation for the bottom sheet feel */
@keyframes slideUpMobile {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Small phones (360px — Samsung Galaxy S8+) */
@media (max-width: 400px) {

  .auth-right {
    padding: 22px 16px 30px !important;
  }

  .auth-right h3 {
    font-size: 1.15rem !important;
  }

  .auth-right input {
    font-size: 0.88rem !important;
    padding: 10px 12px !important;
  }

  .auth-right button:not(.back-step-btn):not(.link-btn) {
    font-size: 0.92rem !important;
    padding: 12px !important;
  }

  .terms-box {
    font-size: 0.78rem !important;
  }
}
/* Terms inline row */
.terms-inline {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;      /* Space between checkbox and text */
  margin: 10px 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}

/* Remove default checkbox spacing */
.terms-inline input[type="checkbox"] {
  margin: 2px 0 0 0 !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* Remove default label margin */
.terms-inline label {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 !important;
  cursor: pointer;
}
/* ===============================
   SITE FOOTER 
   =============================== */

.site-footer {
  background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 40%, #114d27 100%);
  color: #fff;
  padding: 80px 0 30px;
  margin-top: 80px;
  border-top: 3px solid #e7e2df;
  position: relative;
  font-family: 'DM Sans', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* ── Section Headings ── */
.site-footer h3 {
  color: #0b0b45;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff6b1a;
}

/* ── Brand Paragraph ── */
.footer-brand p {
  color: #0b0b45;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 350px;
  font-family: 'DM Sans', sans-serif;
}

/* ── Navigation Links ── */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #0b0b45;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
}

.footer-links a:hover {
  color: #ff6b1a;
  padding-left: 5px;
}

/* ── Contact Section ── */
.footer-contact p {
  color: #0b0b45;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
}

.footer-contact i {
  color: #f58220;
  width: 20px;
}

/* ── Social Icons ── */
.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(11, 11, 69, 0.08);
  color: #0b0b45 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #ff6b1a;
  transform: translateY(-5px);
  color: #fff !important;
}

/* ── Copyright Bar ── */
.copy {
  border-top: 1px solid rgba(11, 11, 69, 0.1);
  padding-top: 25px;
  text-align: center;
  color: #e2e8f0;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  font-family: 'DM Sans', sans-serif;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
    text-align: center;
  }
  .footer-brand .socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 50px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-contact p {
    justify-content: center;
  }
  .site-footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .copy {
    margin-top: 30px;
    padding-top: 20px;
  }
}

.site-footer h3 {
    color: #0b0b45;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
/* ===============================
   FOOTER OVERRIDE FIX (must be last)
   =============================== */

.site-footer {
  background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 40%, #114d27 100%) !important;
  color: #fff !important;
  padding: 80px 0 30px !important;
  margin-top: 80px !important;
  border-top: 3px solid #e7e2df !important;
  position: relative !important;
  font-family: 'DM Sans', sans-serif !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr !important;
  gap: 30px !important;
  max-width: 1200px !important;
  margin: 0 auto 40px !important;
  padding: 0 20px !important;
}

/* ── Section Headings — force exact match ── */
.site-footer h3 {
  color: #0b0b45 !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  font-family: 'DM Sans', sans-serif !important;
  text-transform: none !important;      /* kills the uppercase from old rule */
  letter-spacing: normal !important;    /* kills old letter-spacing */
  margin-bottom: 25px !important;
  position: relative !important;
  padding-bottom: 10px !important;
}

.site-footer h3::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #ff6b1a !important;
}

/* ── Brand Paragraph ── */
.footer-brand p {
  color: #0b0b45 !important;
  line-height: 1.6 !important;
  font-size: 0.95rem !important;
  font-family: 'DM Sans', sans-serif !important;
  margin-bottom: 25px !important;
  max-width: 350px !important;
  opacity: 1 !important;               /* kills old 0.85 opacity */
}

/* ── Navigation Links — kills the navy color override ── */
.footer-links ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 12px !important;
  transform: none !important;          /* kills hover translateX on li */
}

.footer-links li:hover {
  transform: none !important;
}

.footer-links a,
.footer-links ul li a {
  color: #0b0b45 !important;           /* overrides the "color: navy" rule */
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important;
  display: inline !important;          /* kills "display: inline-block" from old rule */
  transition: color 0.3s, padding-left 0.3s !important;
}

.footer-links a:hover,
.footer-links ul li a:hover {
  color: #ff6b1a !important;
  padding-left: 5px !important;
  transform: none !important;
}

/* ── Contact Section ── */
.footer-contact p {
  color: #0b0b45 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 15px !important;
  font-size: 0.95rem !important;
  font-family: 'DM Sans', sans-serif !important;
  opacity: 1 !important;               /* kills old 0.85 opacity */
}

.footer-contact i {
  color: #f58220 !important;
  width: 20px !important;
}

/* ── Social Icons ── */
.socials {
  display: flex !important;
  gap: 15px !important;
  margin-top: 12px !important;
}

.socials a {
  width: 40px !important;
  height: 40px !important;
  background: rgba(11, 11, 69, 0.08) !important;
  color: #0b0b45 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  padding: 0 !important;               /* kills old padding: 5px 10px */
  border-radius: 50% !important;       /* kills old border-radius: 6px */
  font-size: 0.95rem !important;
}

.socials a:hover {
  background: #ff6b1a !important;
  transform: translateY(-5px) !important;
  color: #fff !important;
}

/* ── Copyright Bar ── */
.copy {
  border-top: 1px solid rgba(11, 11, 69, 0.1) !important;
  padding-top: 25px !important;
  margin-top: 0 !important;
  text-align: center !important;
  color: #e2e8f0 !important;
  font-size: 0.9rem !important;
  font-family: 'DM Sans', sans-serif !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.copy p {
  color: #e2e8f0 !important;
  opacity: 1 !important;
  margin: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
  }
  .footer-brand {
    grid-column: span 2 !important;
    text-align: center !important;
  }
  .footer-brand .socials {
    justify-content: center !important;
  }
  .footer-brand p {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 50px 0 20px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 30px !important;
  }
  .footer-brand {
    grid-column: span 1 !important;
  }
  .footer-contact p {
    justify-content: center !important;
  }
  .site-footer h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .copy {
    margin-top: 20px !important;
  }
}
.pd-dashboard-btn {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: .7rem 1rem;
    padding: .65rem .9rem;
    background: linear-gradient(135deg, var(--pd-orange) 0%, var(--pd-orange-dark) 100%);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 3px 10px rgba(244,123,32,.25);
}
.pd-dashboard-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(244,123,32,.35);
}
.pd-dashboard-btn svg {
    flex-shrink: 0;
    opacity: .95;
}
/* ==========================================================================
   FOOTER — FINAL MOBILE RESPONSIVENESS (put at end of stylesheet)
   ========================================================================== */
@media (max-width: 768px) {

  .site-footer {
    padding: 40px 0 20px !important;
    margin-top: 40px !important;
  }

  .site-footer .container {
    padding: 0 20px !important;
  }

  /* Stack everything into a single column */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 32px !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* Brand block */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand .logo-img {
    max-height: 90px;
    margin: 0 auto 16px;
  }

  .footer-brand p {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
  }

  .footer-brand .socials {
    justify-content: center;
  }

  /* Links columns */
  .footer-links {
    text-align: center;
  }

  .footer-links h3 {
    margin-bottom: 14px;
    font-size: 1.05rem;
  }

  .footer-links h3::after {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  /* Contact block */
  .footer-contact {
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
    font-size: 0.9rem;
  }

  /* Bottom copyright bar */
  .copy {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-brand p,
  .footer-contact p,
  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-links h3 {
    font-size: 1rem;
  }

  .site-footer {
    padding: 32px 0 16px !important;
  }
}
/* Multiline address — icon pins to top, text indents correctly */
.footer-contact p:has(span) {
  align-items: flex-start;
}

.footer-contact p span {
  line-height: 1.6;
}
/* ===============================================================
   CANDIDATE PROFILE MODAL — Navy / Orange / Beige
=============================================================== */

.profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 50, 96, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: profileFadeIn 0.25s ease-out;
}

@keyframes profileFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.profile-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(26, 50, 96, 0.35);
    animation: profileSlideUp 0.3s ease-out;
}

@keyframes profileSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-modal-accent {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #1a3260 0%, #FF8C00 100%);
}

.profile-modal-header {
    background: #1a3260;
    padding: 28px 32px 24px;
    text-align: center;
    color: #fff;
}

.profile-modal-icon {
    width: 56px;
    height: 56px;
    background: #FF8C00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
}

.profile-modal-header h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.profile-modal-header p {
    margin: 0;
    font-size: 0.88rem;
    color: #cbd5e1;
    font-weight: 400;
}

.profile-modal-body {
    padding: 26px 32px 30px;
    background: #f2ebe0;
}

.profile-field {
    margin-bottom: 16px;
    flex: 1;
}

.profile-field-row {
    display: flex;
    gap: 12px;
}

.profile-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a3260;
    margin-bottom: 6px;
}

.profile-field label i {
    color: #FF8C00;
    font-size: 0.8rem;
    width: 14px;
}

.profile-optional-tag {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.profile-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #e2d9d0;
    background: #ffffff;
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    color: #1a3260;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-field input::placeholder {
    color: #b0a89c;
}

.profile-field input:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.profile-error {
    min-height: 18px;
    color: #E53E3E;
    font-size: 0.82rem;
    font-weight: 500;
    margin: 4px 0 12px;
}

.profile-save-btn {
    width: 100%;
    background: #FF8C00;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.3);
}

.profile-save-btn:hover:not(:disabled) {
    background: #e67e00;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.profile-save-btn:disabled {
    background: #d1a366;
    cursor: not-allowed;
    box-shadow: none;
}

.profile-privacy-note {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.profile-privacy-note i {
    color: #1a3260;
    font-size: 0.72rem;
}

/* Mobile */
@media (max-width: 480px) {
    .profile-modal-header { padding: 22px 22px 20px; }
    .profile-modal-body   { padding: 22px; }
    .profile-field-row    { flex-direction: column; gap: 0; }
}
/* ===============================================================
   PHONE INPUT GROUP + COUNTRY DROPDOWNS
=============================================================== */

.phone-input-group {
    display: flex;
    gap: 8px;
}

.phone-input-group input[type="tel"] {
    flex: 1;
}

.country-code-select {
    position: relative;
    flex-shrink: 0;
}

.country-full-select {
    width: 100%;
}

.country-code-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1.5px solid #e2d9d0;
    background: #ffffff;
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    color: #1a3260;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.country-full-btn {
    width: 100%;
    justify-content: flex-start;
}

.country-full-btn span:last-of-type {
    margin-left: auto;
}

.country-code-btn:hover {
    border-color: #FF8C00;
}

.country-code-select.open .country-code-btn {
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.country-code-btn i {
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.2s;
}

.country-code-select.open .country-code-btn i {
    transform: rotate(180deg);
}

#selectedCountryName {
    color: #1a3260;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

#selectedCountryName.placeholder-text {
    color: #b0a89c;
    font-weight: 400;
}

.country-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 260px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(26, 50, 96, 0.22);
    border: 1px solid #e2d9d0;
    z-index: 10001;
    overflow: hidden;
}

.country-full-select .country-dropdown-panel {
    width: 100%;
}

.country-code-select.open .country-dropdown-panel {
    display: block;
    animation: dropdownFadeIn 0.15s ease-out;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.country-dropdown-search {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: none;
    border-bottom: 1.5px solid #f2ebe0;
    font-size: 0.88rem;
    font-family: 'DM Sans', sans-serif;
    color: #1a3260;
    outline: none;
    background: #fafaf8;
}

.country-dropdown-search::placeholder {
    color: #b0a89c;
}

.country-dropdown-list {
    max-height: 220px;
    overflow-y: auto;
}

.country-dropdown-list::-webkit-scrollbar {
    width: 6px;
}
.country-dropdown-list::-webkit-scrollbar-thumb {
    background: #e2d9d0;
    border-radius: 4px;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #1a3260;
    transition: background 0.12s;
}

.country-option:hover,
.country-option.highlighted {
    background: #FFF3EE;
}

.country-option .flag-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.country-option .country-option-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-option .country-option-dial {
    color: #94a3b8;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.country-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #b0a89c;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .phone-input-group { flex-direction: column; }
    .country-code-select:not(.country-full-select) { width: 100%; }
    .country-code-btn:not(.country-full-btn) { width: 100%; justify-content: space-between; }
    
}
@media (max-width: 768px) {
  .logo-img {
    height: 200px !important;
    margin-left: -65px !important;
  }
}