/* Extracted landing page styles from login.php */

/* ---------- THEME COLORS ---------- */
    :root {
      --teal-900:#0b5953;
      --teal-800:#0d6f68;
      --teal-700:#0f766e;
      --teal-600:#118a80;
      --teal-500:#14b8a6;
      --teal-100:#d9f5f1;
      --ink-900:#0f172a;
      --glass-white: rgba(255,255,255,0.75);
      --glass-soft: rgba(255,255,255,0.55);
      --muted: #64748b;
    }

    html, body { height: 100%; }
    body {
      margin: 0;
      font-family: 'Inter', system-ui, Arial, Helvetica, sans-serif;
      color: var(--ink-900);
      background: linear-gradient(180deg, #f0fefa 0%, #ffffff 100%);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
      padding-top: 120px; /* topbar + brandbar height */
    }

    /* ---------- animated backdrop ---------- */
    .bg-wrap{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
      background:
        radial-gradient(circle at 10% 20%, rgba(20,184,166,0.06), transparent 8%),
        radial-gradient(circle at 85% 80%, rgba(6,95,70,0.04), transparent 10%); }
    .bg-wave { position:absolute; width:140%; height:120%; left:-20%; top:-20%;
      background: linear-gradient(90deg, rgba(20,184,166,0.18), rgba(6,95,70,0.12));
      filter: blur(44px); transform: rotate(-6deg); animation: waveMove 20s linear infinite; opacity:0.95; }
    .bg-wave.w2{ top:-40%; transform: rotate(-10deg) scale(0.9); animation-duration: 26s; opacity:0.6; }
    .bg-wave.w3{ top:40%; left:-10%; transform: rotate(8deg) scale(1.08); animation-duration: 34s; opacity:0.45; }
    @keyframes waveMove { 0%{ transform: translateX(-6%) rotate(-6deg);} 50%{ transform: translateX(6%) rotate(-6deg);} 100%{ transform: translateX(-6%) rotate(-6deg);} }

    .float-dot { position:absolute; width:8px; height:8px; border-radius:50%; background:rgba(20,184,166,0.9); filter: blur(0.6px); opacity:0.14; animation: floatUp 8s ease-in-out infinite; }
    .float-dot.d1{ left:8%; top:20%; animation-duration:9s; } .float-dot.d2{ left:40%; top:10%; animation-duration:12s; } .float-dot.d3{ left:75%; top:30%; animation-duration:10s; }
    @keyframes floatUp { 0%{transform:translateY(0)}50%{transform:translateY(-18px)}100%{transform:translateY(0)} }

    /* --- Digital App Bubbles --- */
    .app-bubble { 
        position: absolute; 
        border-radius: 50%; 
        background: radial-gradient(circle at 30% 30%, rgba(92, 225, 230, 0.4), rgba(11, 89, 83, 0.05));
        box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        animation: floatBubble 20s infinite ease-in-out; 
        opacity: 0.6;
        z-index: 9999; 
    }
    .app-bubble.b1 { width: 120px; height: 120px; left: 10%; bottom: -150px; animation-duration: 25s; animation-delay: 0s; }
    .app-bubble.b2 { width: 80px; height: 80px; left: 25%; bottom: -100px; animation-duration: 20s; animation-delay: 2s; }
    .app-bubble.b3 { width: 150px; height: 150px; left: 60%; bottom: -200px; animation-duration: 30s; animation-delay: 5s; }
    .app-bubble.b4 { width: 90px; height: 90px; left: 80%; bottom: -120px; animation-duration: 22s; animation-delay: 3s; }
    .app-bubble.b5 { width: 200px; height: 200px; left: 40%; bottom: -250px; animation-duration: 28s; animation-delay: 7s; }

    @keyframes floatBubble { 
        0% { transform: translateY(0) scale(1) translateX(0); opacity: 0; }
        10% { opacity: 0.6; }
        50% { transform: translateY(-60vh) scale(1.1) translateX(30px); }
        90% { opacity: 0.6; }
        100% { transform: translateY(-120vh) scale(1) translateX(-20px); opacity: 0; }
    }

/* ---------- TOPBAR (always visible) ---------- */
.topbar {
  background: #00ffff; /* Standard Cyan */
  color: #000;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

.topbar .social a {
  color: #fff;
  margin-left: 0.75rem;
  opacity: 0.92;
}

/* ---------- BRANDBAR (below topbar, fixed too) ---------- */
.brandbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eef2f2;
}

.brandbar .brand-title {
  font-weight: 800;
  color: var(--teal-800);
  letter-spacing: 0.3px;
  font-family: 'Poppins', sans-serif;
}

.brandbar .nav-link {
  color: var(--ink-900);
  font-weight: 600;
}

.brandbar .nav-link:hover {
  color: var(--teal-700);
  text-decoration: none;
}


    /* ---------- hero ---------- */
    .hero { padding:56px 0 36px; position:relative; z-index:10; }
    .left-pane { background: linear-gradient(180deg, rgba(20,184,166,0.04), rgba(6,95,70,0.02)); border-radius:16px; padding:32px; min-height:320px; box-shadow: 0 10px 34px rgba(6,95,70,0.03); border:1px solid rgba(15,23,42,0.02); }
    .hero h1 { font-family:'Poppins',sans-serif; color:var(--teal-800); font-size:2.2rem; line-height:1.02; margin-bottom:.6rem; }
    .hero p.lead { color:#334155; font-size:1rem; margin-bottom:1rem; }
    .left-illustration { margin-top:18px; border-radius:14px; overflow:hidden; background: linear-gradient(180deg,#f6fffb,#eafff6); border:1px dashed rgba(6,95,70,0.06); min-height:220px; display:flex; align-items:center; justify-content:center; }

    /* ---------- login box ---------- */
    .login-box {
      background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));
      border-radius:16px; padding:26px;
      box-shadow: 0 14px 40px rgba(6,95,70,0.06); border:1px solid rgba(20,184,166,0.08); backdrop-filter: blur(8px);
      transition: transform .3s, box-shadow .3s;
    }
    .login-box:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(6,95,70,0.08); }
    .login-box h4 { font-family:'Poppins',sans-serif; color:var(--teal-800); font-weight:700; }
    label.form-label{ font-weight:600; color:#334155; }
    .btn-teal { background: linear-gradient(90deg,var(--teal-600),var(--teal-700)); color:#fff; border:none; border-radius:12px; padding:10px 18px; font-weight:700; box-shadow: 0 6px 20px rgba(20,184,166,0.12); transition: transform .18s, box-shadow .18s; }
    .btn-teal:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(20,184,166,0.16); }
    .btn-guest{ background:var(--teal-500); color:#053; border:none; border-radius:12px; padding:10px 14px; font-weight:700; }
    .btn-guest:hover{ filter:brightness(.98); transform: translateY(-2px); }
    .btn-outline-soft{ background:transparent; border:1px solid rgba(15,23,42,0.06); color:var(--ink-900); border-radius:10px; }
    .btn-google { border-radius:10px; border:1px solid #e6eef0; background:#fff; color:#222; padding:9px; display:flex; align-items:center; justify-content:center; gap:8px; }

    /* ---------- features & cards ---------- */
    .section { padding:72px 0; position:relative; z-index:10; }
    
    /* Elegant Glowing Divider Line between sections */
    .section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(92, 225, 230, 0.8), rgba(11, 89, 83, 0.5), transparent);
        box-shadow: 0 0 8px rgba(92, 225, 230, 0.5);
    }

    .feature-card { background:#fff; border-radius:14px; box-shadow:0 8px 18px rgba(6,95,70,0.03); padding:20px; text-align:center; height:100%; border:1px solid rgba(15,23,42,0.03); transition: transform .28s, box-shadow .28s, background .28s; }
    .feature-card h6{ color:var(--teal-800); font-weight:700; margin-top:.5rem; }


    /* ---------- reveal animations ---------- */
    .reveal { opacity:0; transform: translateY(12px); transition: all .6s cubic-bezier(.2,.9,.2,1); }
    .reveal.visible { opacity:1; transform: none; }


/* 'Why Choose Us' floating / color hover */
.why-item { 
    transition: transform .28s, box-shadow .28s, background .28s; 
    transform-origin: center; 
}

.why-item:hover { 
    transform: translateY(-18px) scale(1.03); 
    box-shadow: 0 26px 60px rgba(20,184,166,0.12); 
    background: linear-gradient(180deg, rgba(20,184,166,0.06), rgba(6,95,70,0.02)); 
    border-radius: 16px; 
}

/* Default Icon State */
.why-item .icon { 
    font-size: 28px; 
    transition: all .28s ease; 
    color: var(--teal-700); 
    padding: 14px; 
    border-radius: 12px; 
    display: inline-block; /* Ensures background wraps correctly */
}

/* Hover Icon State: Icon keeps its color, background becomes teal-green */
.why-item:hover .icon { 
    transform: translateY(-6px) scale(1.08); 
    /* color: #fff;  <-- REMOVED THIS to keep icon same color */
    color: var(--teal-700); /* Keeps the icon teal-green */
    background: rgba(20, 184, 166, 0.15); /* Soft Teal-Green background */
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.12); 
}
    /* ---------- diet plans grid (3 per row max) ---------- */
    .plans-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:18px; margin-top:16px; }
    .plan-card { border-radius:14px; padding:18px; min-height:160px; display:flex; flex-direction:column; justify-content:space-between;
      background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.85)); border:1px solid rgba(6,95,70,0.04);
      box-shadow:0 10px 32px rgba(6,95,70,0.03); transition: transform .25s, box-shadow .25s; }
    .plan-card:hover { transform:translateY(-8px); box-shadow:0 20px 60px rgba(6,95,70,0.06); }
    .badge-plan { background: rgba(20,184,166,0.12); color:var(--teal-800); border-radius:10px; padding:6px 10px; font-weight:700; }

    /* ---------- CTA ---------- */
    .cta { border-radius:16px; padding:28px; color:#fff; background: linear-gradient(90deg,var(--teal-700),var(--teal-600)); box-shadow: 0 14px 40px rgba(6,95,70,0.12); display:flex; align-items:center; justify-content:space-between; gap:16px; }
    .cta-note { font-weight:600; background: rgba(255,255,255,0.06); padding:8px 12px; border-radius:10px; }

    /* ---------- gallery ---------- */
    .gallery img{ border-radius:12px; box-shadow:0 6px 18px rgba(6,95,70,0.04); }

    /* ---------- products section ---------- */
    .product-card { border-radius:12px; padding:18px; background: linear-gradient(180deg,#ffffff,#f8fffc); border:1px solid rgba(6,95,70,0.04); box-shadow:0 10px 26px rgba(6,95,70,0.03); transition: transform .25s; }
    .product-card:hover { transform:translateY(-6px); }

    /* ---------- final features after gallery ---------- */
    .post-features { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:18px; }
    .post-features .pill { background:linear-gradient(90deg,#ecfeff,#d9f5f1); padding:10px 14px; border-radius:999px; color:var(--teal-800); font-weight:700; box-shadow:0 6px 20px rgba(20,184,166,0.06); }



    /* ---------- holographic micro interaction ---------- */
    .holo { position:relative; overflow:hidden; }
    .holo::after { content:''; position:absolute; left:-40%; top:-40%; width:200%; height:200%; background:linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.04)); transform: translateX(-30%) rotate(12deg); transition: transform .6s ease; pointer-events:none; }
    .holo:hover::after { transform: translateX(0%) rotate(12deg); }

    /* small hover tilt for plan cards on desktop */
    @media(min-width:992px){
      .plan-card { perspective:800px; transform-style:preserve-3d; }
    }
    @media (max-width: 991px) {
      header .nav { display:none; }
      .hero h1{ font-size:1.6rem; }
      .left-illustration{ min-height:140px; }
    }


/* ---------- CONTENT FIX ---------- */
/* Add top padding so content doesn't hide behind bars */
body {
  padding-top: 120px; /* topbar (30px) + brandbar (70px approx) */
}


/* ---------- Product Ribbon Showcase ---------- */
.product-ribbon {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f5f9f9);
  padding: 40px 20px 60px;
  text-align: center;
  border-top: 1px solid #e2e2e2;
  overflow: hidden;
}

.ribbon-title {
  font-weight: 700;
  font-size: 24px;
  color: #0D6D63;
  margin-bottom: 25px;
  letter-spacing: 0.4px;
}

    .ribbon-item:hover img {
      transform: scale(1.05); /* smooth hover, not too aggressive */
    }

.ribbon-container {
  display: flex;
  overflow-x: hidden;
  gap: 18px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

/* Hide scrollbar completely */
.ribbon-container::-webkit-scrollbar {
  display: none;
}

/* Product tile */
.ribbon-item {
  flex: 0 0 auto;
  width: 240px; /* ⬆️ increased size */
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ribbon-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Product image */
.ribbon-img img {
  width: 100%;
  height: 180px;
  object-fit: contain; /* ✅ shows full image */
  background-color: #fff; /* clean backdrop for smaller images */
  padding: 6px; /* small breathing space */
  transition: transform 0.4s ease;
}
.ribbon-item:hover img {
  transform: scale(1.05); /* ✅ gentle hover, not zoomed too much */
}

.ribbon-item:hover img {
  transform: scale(1.08);
}

/* Overlay & text */
.ribbon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ribbon-item:hover .ribbon-overlay {
  opacity: 1;
}

.ribbon-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.ribbon-text p {
  font-size: 14px;
  color: #ffd;
  margin: 4px 0 8px;
}

/* Google button */
.btn-google {
  background-color: #fff;
  color: #0D6D63 !important;
  border-radius: 25px;
  font-weight: 600;
  padding: 6px 14px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.btn-google:hover {
  background-color: #0D6D63;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Navigation Arrows */
.ribbon-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 109, 99, 0.85);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.ribbon-nav:hover {
  background: #0D6D63;
  transform: translateY(-50%) scale(1.1);
}
.ribbon-nav.left { left: 10px; }
.ribbon-nav.right { right: 10px; }



/* Hide the Google button by default */
.ribbon-overlay .btn-google {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #444;
  border: 1px solid #ddd;
  font-weight: 500;
  border-radius: 4px;
}

/* When user hovers over the product, show the button */
.ribbon-item:hover .btn-google {
  opacity: 1;
  transform: translateY(0);
}

/* Style the Google icon */
.btn-google i {
  color: #4285F4; /* Google Blue */
  margin-right: 6px;
}

/* Hover effect for button itself */
.btn-google:hover {
  background-color: #f7f7f7;
  color: #000;
}

/* ✅ FIX: Clean Responsive Logic & No Right-Side Gap */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
  width: 100%;
}

@media (max-width: 991px) {
  .topbar, .brandbar {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .brandbar .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
    max-width: 100% !important;
  }

  #menuToggle {
    display: block !important;
    cursor: pointer;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent; /* Removes blue flash on mobile */
  }

  .brandbar .nav {
    display: none !important; 
  }

  .mobile-menu {
    display: none; 
    position: fixed;
    top: 90px; 
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1090;
    border-bottom: 2px solid #0d6d63;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    /* Smooth transition for a cleaner feel */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  #menuToggle { display: none !important; }
  .brandbar .nav { display: flex !important; }
  .mobile-menu { display: none !important; }
}

/* ===== BRAND + TOPBAR FIX FOR MOBILE ===== */
@media (max-width: 991px) {
  /* Topbar stays fixed at very top */
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* higher than rest */
    background: #0d6d63; /* your theme color */
    color: #fff;
    height: 28px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Brandbar visible just below topbar */
  .brandbar {
    position: fixed;
    top: 28px; /* directly below topbar */
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
  }

  /* Ensure rest of the content starts below both bars */
  body {
    padding-top: 105px !important; /* topbar (28px) + brandbar (~75px) */
    overflow-x: hidden;
  }

  /* Keep logo visible and proportionate */
  .brandbar img {
    width: 44px;
    height: 44px;
  }

  /* Adjust nav buttons for compact view */
  .brandbar .btn-outline-soft {
    padding: 6px 10px !important;
  }
}

.text-teal { color: #0D6D63; }

.btn-outline-soft {
  background: transparent;
  border: 1px solid rgba(13, 109, 99, 0.25);
  color: #0D6D63;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.btn-outline-soft:hover {
  background: #0D6D63;
  color: #fff;
}

/* Hover dropdown (desktop) */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
}
.mobile-menu.show { display: block; }
.mobile-submenu ul {
  display: none;
  background: #f8f9fa;
  padding: 0;
}
.mobile-submenu.active ul {
  display: block;
}
.mobile-submenu > a {
  display: block;
  padding: 10px;
  color: #0D6D63;
  text-decoration: none;
}
.mobile-submenu ul li a {
  display: block;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: #555;
}
@media (max-width: 767px) {
  body { padding-top: 105px !important; }
}

.hero-video {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 90vh; /* adjust: 100vh for full screen */
    height: auto;
    padding: 100px 0 40px 0; /* Add top padding to account for fixed header */
    overflow: hidden;
    margin-top: 0;
  }

  .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark overlay for contrast */
  }

  .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
  }

  .btn-teal {
    background-color: var(--teal-700);
    color: #fff;
    border-radius: 30px;
    transition: all 0.3s ease;
  }

  .btn-teal:hover {
    background-color: var(--teal-600);
  }

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 1.8rem;
    }
    .hero-content p {
      font-size: 1rem;
    }
    .hero-video {
      min-height: 85vh;
      height: auto;
      padding-bottom: 30px;
    }
  }

/* ====================== */
/* ✅ PREMIUM LOGIN MODAL DESIGN */
/* ====================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.login-modal {
  font-family: 'Inter', sans-serif;
  background: rgba(255, 255, 255, 0.85); /* Glassmorphism Base */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 420px; /* Spacious width */
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.4) inset !important;
}

/* 🟢 Google Premium Button */
.btn-google-premium {
  background-color: #ffffff;
  color: #334155 !important;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.btn-google-premium:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* 🔵 Primary Action Button */
.btn-primary-action {
  background: linear-gradient(135deg, #0d6d63 0%, #118a80 100%);
  color: #ffffff !important;
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px -5px rgba(13, 109, 99, 0.4);
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #0b5953 0%, #0d6f68 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(13, 109, 99, 0.5);
}

/* Floating Inputs */
.form-floating > .custom-input {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px;
  font-size: 0.95rem !important;
  transition: all 0.25s ease;
}

.form-floating > .custom-input:focus {
  background: #ffffff !important;
  border-color: #14b8a6 !important;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15) !important;
}

.form-floating > label {
  color: #64748b;
  font-weight: 500;
}

/* Custom Checkbox */
.custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  cursor: pointer;
}
.custom-checkbox:checked {
  background-color: #0d6d63;
  border-color: #0d6d63;
}

.forgot-link {
  font-size: 0.85rem;
  color: #0d6d63;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  z-index: 10;
}
.forgot-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(15, 23, 42, 0.4) !important;
}

/* Adjusting Logo */
.logo-wrapper .brand-logo {
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: #fff;
    padding: 2px;
}

.login-divider hr {
  border-color: #cbd5e1;
  opacity: 1;
}

.btn-close {
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-close:hover {
  transform: scale(1.1) rotate(90deg);
  background-color: #f1f5f9 !important;
}

.rotating-image-container {
  position: relative;
  display: inline-block;
}

.rotating-image {
  transition: opacity 0.5s ease;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.feature-card {
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.text-teal { color: #0d6d63; }

/* Light teal background for each card */
.feature-card {
  background-color: #e6f7f6; /* very light teal */
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-ribbon {
  position: relative;
  padding: 20px;
  background: #f8f9fa;
}

.ribbon-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;                /* enable scroll */
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: none;           /* hide scrollbar (Firefox) */
}
.ribbon-container::-webkit-scrollbar {
  display: none;                   /* hide scrollbar (Chrome/Safari) */
}
.ribbon-container.active {
  cursor: grabbing;
}

.ribbon-item {
  flex: 0 0 auto;
  width: 180px;
}

.ribbon-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0d6d63;
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  z-index: 10;
  transition: background 0.3s;
}
.ribbon-nav.left { left: 10px; }
.ribbon-nav.right { right: 10px; }
.ribbon-nav:hover { background: #0a544c; }

.ribbon-title-bar small {
  font-size: 0.85rem;
}

.vcard-box {
    display: inline-block;
    border-radius: 14px;
    padding: 4px;
    background: linear-gradient(135deg, #FFDE59, #5CE1E6);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .vcard-img {
    display: block;
    border-radius: 12px;
    max-width: 400px;
    transition: transform 0.35s ease;
  }

  /* Hover Zoom */
  .vcard-box:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  }

  .vcard-box:hover .vcard-img {
    transform: scale(1.05);
  }

  /* MOBILE FIX: show VCARD1 & VCARD2 one below another */
  @media (max-width: 767px) {
    .vcard-img {
      max-width: 90%; /* full width look */
    }
    .d-flex.justify-content-center {
      justify-content: center !important; /* center cards */
    }
  }

/* Debug fix for modal freeze */
.section {
  position: relative !important;
  z-index: auto !important;
  overflow: visible !important;
}

.reveal {
  position: static !important;
  overflow: visible !important;
}

.plans-grid {
  z-index: 1 !important;
  position: relative !important;
}

.modal-backdrop.show {
  opacity: 0.45 !important;
  z-index: 1040 !important;
}

.modal {
  z-index: 1050 !important;
}

body.modal-open {
  overflow: auto !important;
}

