@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');

:root {
  --brand-yellow: #ffcc00;
  --bg-default: #f6f7f8;
  --text: #0f1720;
  --muted: #6b7280;

  --tint-green: #e8f5ee;
  --tint-blue: #e8f0f9;
  --tint-cream: #fdf7e8;
  --tint-lavender: #f5f0fa;
  --tint-gray: #f3f4f6;

  --card-white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.9,.3,1);
}

/* reset */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .6s ease;
}

/* Panels container */
.panels-container {
  display: flex;
  gap: 30px; /* increased gap for better spacing */
  align-items: center;
  justify-content: flex-start;
  max-width: var(--container);
  width: 100%;
  position: relative;
}

/* Base styling for all small panels */
.small-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px) saturate(140%);
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(14, 20, 26, 0.06);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease;
  white-space: nowrap;
  position: relative;
}

/* Hover effect */
.small-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(14, 20, 26, 0.15);
}


.small-panel:nth-child(1){
  left: 20px;
}
.small-panel:nth-child(2){
  left:120px;
}
.small-panel:nth-child(3){
  left:220px;
}

.small-panel:nth-child(4){
  left: 320px;
}
.small-panel:nth-child(5){
  left:400px;
}

.logo-panel {
  position: absolute;
  top: 150px;
  left: 0;
  transform: translateX(50px); /* keep initial horizontal offset */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: auto;
  max-width: 500px;
  color: var(--brand-yellow);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 3.8rem;
  cursor: default;
  z-index: 1200;
  pointer-events: none;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

 
/* Style links inside panels */
.small-panel a {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 6px 12px;
  display: block;
  font-weight: 700;
}

/* Special style for Subscribe button panel */
.cta-panel {
  background: var(--brand-yellow);
  color: #081018;
}
.cta-panel a {
  color: #081018;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 18px;
  z-index: 1200;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px) saturate(140%);
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(14, 20, 26, 0.06);
}

/* Logo font updated to Quicksand */
.logo {
  font-family: "Quicksand", sans-serif;
  font-weight: 800;
  color: var(--brand-yellow);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

/* Nav styling */
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}
.nav a:hover {
  background: rgba(14, 20, 26, 0.04);
}
.cta {
  background: var(--brand-yellow);
  color: #081018;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
}

/* Hide horizontal panels on mobile */
@media (max-width: 768px) {
  .panels-container {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-menu {
    display: none;
  }
}

/* Additional responsive styles omitted for brevity */

/* Keep the rest of your CSS as is */


/* Hide horizontal panels on mobile */
@media (max-width: 768px) {
  .panels-container {
    display: none;
  }
  
  /* Ensure hamburger button is visible on mobile */
  .hamburger {
    display: block; /* or flex, depending on your layout */
  }

  /* Show the mobile menu by default or toggle it via JS */
  .mobile-menu {
    display: none; /* initially hidden */
  }
}

/* ===== Mobile Menu ===== */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
}



.mobile-menu > {
  display: none; /* hidden by default */
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
  text-decoration: none;
  color: #333;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 40px;
}


/* CTA button inside mobile menu */
.mobile-menu .cta {
  background: var(--brand-yellow);
  color: #081018;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.1);
}




@media (min-width: 769px) {
  .desktop-nav { display: flex; gap: 16px; }
  .mobile-menu { display: none !important; }
  .hamburger { display: none; }
}
@media (max-width: 768px) {
  .mobile-menu .small-panel {
    position: static !important;
    left: auto !important;
    margin-left: 0 !important;
    width: 100%;
    border-radius: 50px;
    box-shadow: none;
    margin-bottom: 8px;
  }
}


/* Hero */
.hero{
  padding:84px 0 48px;
  display:grid;
  grid-template-columns: 1fr 520px;
  gap:40px;
  align-items:center;
  border-radius:22px;
}
.hero-left h1{
  margin:0 0 14px;
  font-family:"Manrope",sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height:1.02;
  color:var(--text);
}
.kicker{display:inline-block;color:var(--muted);font-weight:600;margin-bottom:12px}
.lead{color:var(--muted);max-width:56ch;margin-bottom:20px;font-size:1.05rem}

/* Buttons */
.actions{display:flex;gap:12px;align-items:center}
.btn{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:700;cursor:pointer}
.btn-ghost{background:transparent;border:1px solid rgba(14,20,26,0.06);color:var(--text)}
.btn-primary{background:linear-gradient(90deg,var(--brand-yellow),#ffd84d);color:#081018;box-shadow:0 10px 30px rgba(255,204,0,0.07)}

/* floating card */
.floating-card{
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(14,20,26,0.06);
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
  padding:18px
}

/* Panels / Features - floating effect */
.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(14, 20, 26, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Default hover effect for panels (last 4 and any non-interactive) */
.panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 20, 26, 0.12);
}

/* Pill styling */
.panel .pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 20, 26, 0.04);
  font-weight: 700;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Services grid - floating effect */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:18px
}
.service-card{
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding:20px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(14,20,26,0.08);
  transition:transform .22s var(--ease), box-shadow .22s var(--ease);
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 30px rgba(14,20,26,0.12);
}

/* CTA Banner */
.cta-banner{
  margin:48px 0;
  padding:26px;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(76,175,80,0.12), rgba(74,144,226,0.12));
  display:flex;
  align-items:center;
  justify-content:space-between
}
.cta-banner h2{margin:0;font-family:"Manrope"}

/* Forms - floating effect */
.form-card{
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding:24px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(14,20,26,0.08);
  max-width:720px;
  margin:0 auto
}
.input, textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(14,20,26,0.06);
  margin-bottom:12px;
  font-size:1rem
}

/* Footer */
footer{
  margin-top:60px;
  padding:28px 20px;
  text-align:center;
  color:var(--muted)
}

/* Section tints */
.section { min-height:100vh; display:flex; align-items:center; padding:84px 20px; transition: background-color .6s ease; }
.section--hero { background: linear-gradient(180deg, var(--tint-green), rgba(255,255,255,0.0)); }
.section--about { background: linear-gradient(180deg, var(--tint-blue), rgba(255,255,255,0.0)); }
.section--services { background: linear-gradient(180deg, var(--tint-cream), rgba(255,255,255,0.0)); }
.section--subscribe { background: linear-gradient(180deg, var(--tint-lavender), rgba(255,255,255,0.0)); }
.section--contact { background: linear-gradient(180deg, var(--tint-gray), rgba(255,255,255,0.0)); }

/* Responsive */
@media (max-width:1024px){
  .hero{grid-template-columns:1fr}
  .floating-card{display:none}
  .nav{display:none}
  .hamburger{display:block}
}
@media (max-width:720px){
  .hero-left h1{font-size:1.8rem}
  .panels{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .cta-banner{flex-direction:column;align-items:flex-start;gap:12px}
}
