/* --------------------------------------------------
   ROOT VARIABLES & GLOBAL BASE
-------------------------------------------------- */
:root{
  --bg:#000; 
  --primary:#4361ee; 
  --accent:#f9a826; 
  --forest:#1b4332; 
  --muted:#556; 
  --shadow:0 8px 24px rgba(0,0,0,0.08); 
  --radius:16px;
  --card-bg: #EFE6D8;
}

/* Trainer cards now match product card dimensions */
.trainer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  align-items: start;
  max-width: 900px;      /* keeps desktop layout clean */
  margin: 0 auto;        /* center the grid */
}



.trainer-card {
  background: #D9D9D9;
  padding: 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trainer-card:hover {
  transform: translateY(-6px);
}

.trainer-card img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1.2/0.8;
  object-fit: cover;
}

.trainer-card h3 {
  margin-top: 12px;
  font-size: 16px;
  color: #3952c8;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.trainer-card p {
  color: #000;
  font-size: 14px;
  margin: 6px 0 12px;
  flex: 1;
}

.trainer-btn {
  padding: 8px 12px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

#career .career-title {
  color: #D9D9D9;      /* jo colour chahiye */
  text-align: center; /* already centre, still safe */
  font-size: 28px;    /* optional */
  margin-bottom: 26px;
}


/* General reset + layout */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:'Inter',system-ui;
}


body{
  background:var(--bg);
  color:#000;
  overflow-x:hidden;
  line-height:1.6;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    margin: 0;
}


/* --------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------- */


/* Header Flex Layout */
header {
  display: flex;
  align-items: center;
  padding: 15px 6%;
  background: #284B63;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid #e9eefc;
  gap: 24px;
}

/* LEFT: Logo */
.header-left {
  display: flex;
  align-items: center;
}

/* CENTER: Nav */
.header-center {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 1;       /* allow nav to shrink if needed */
  overflow-x: auto;     /* scroll horizontally if too many links */
  scrollbar-width: none; /* hide scrollbar in Firefox */
}
.header-center::-webkit-scrollbar {
  display: none; /* hide scrollbar in Chrome/Safari */
}

/* Nav links */
.header-center a {
  color: #D9D9D9;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
  padding-bottom: 6px;
}

.header-center a:hover,
.header-center a.active {
  color: #D9D9D9;
}

.header-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #D9D9D9;
  transition: width 0.25s ease;
  border-radius: 3px;
}

.header-center a:hover::after,
.header-center a.active::after {
  width: 100%;
}


/* RIGHT: Auth button */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto; /* keeps button always at right */
}

/* Logo height */
.logo {
  height: 30px;
  width: auto;
  display: block;
  cursor: pointer;
}



/* Hero */
.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
  background:#D9D9D9;
  padding:36px;
  border-radius:14px;
}
.hero-left{flex:1;min-width:320px}
.hero h1{font-family:'Playfair Display';font-size:40px;color:#000;margin-bottom:10px}
.hero p{color:#000;max-width:640px;font-size:16px;margin-bottom:18px}
.btn {
  display: inline-block; /* 🔥 CRITICAL */
  padding: 9px 28px;
  border-radius: 40px;
  border: none;
  color: #000;
  background: #f9a826;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}


.hero-art{flex:0 0 320px;display:flex;align-items:center;justify-content:center}

.hero-art > img{
  width:100%;
  border-radius:12px;
  box-shadow:var(--shadow);
}


/* Subsection cards */
.sub-section{
  background:#d9d9d9;
  padding:22px;
  border-radius:12px;
  box-shadow:var(--shadow);
  margin-top:20px;
}
.sub-section h2{font-family:'Playfair Display';color:#000;margin-bottom:10px}
.sub-section p, .sub-section li{color:#000;font-size:15px}
.sub-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  align-items:start;
  margin-top:12px;
}


/* -----------------------------------------
   HERO ROTATING LV LOGO
----------------------------------------- */
.hero-art{
  flex:0 0 360px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
/* FIX: remove box behind LV logo */
.hero-art img{
  box-shadow:none !important;
  border-radius:0 !important;
  margin-top:0 !important;
  background:none !important;
}

/* Wrapper to stack SVG + image */
.rotating-wrapper{
  position:relative;
  width:300px;
  height:300px;
}

/* Center image */
.lv-image{
  position:absolute;
  top:52%;
  left:48%;

  /* 👇 manual visual correction */
  transform:translate(-50%, -50%) translate(8px, -10px);

  width:200px;
  height:auto;
  z-index:2;
}


/* SVG rotating text */
.rotating-text{
  width:300px;
  height:300px;
  animation: rotate 18s linear infinite;
  transform-origin:50% 50%;
}

/* Text style */
.rotating-text text{
  font-size:14px;
  font-weight:800;
  letter-spacing:3px;
  fill:#284B63;
  text-transform:uppercase;
}


text{
  font-size:14px;
  letter-spacing:3px;
  fill:#0F2356;
  text-transform:uppercase;
}

@keyframes rotate{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}



/* --------------------------------------------------
   GENERAL SECTIONS
-------------------------------------------------- */
section{
  display:none;
  padding:56px 6% 220px;
  gap:30px;
  flex-wrap:wrap;
  position:relative;
  max-width:1200px;
  margin:0 auto;
}
section.active{display:block}

.products{padding:40px 0}
h2.section-title{font-family:'Playfair Display';text-align:center;color:#D9D9D9;margin-bottom:26px;font-size:28px}
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}
.card{
  background:#fff;
  padding:14px;
  border-radius:14px;
  box-shadow:var(--shadow);
  transition:.25s;
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
}
.card:hover{transform:translateY(-6px)}
.card img{width:100%;border-radius:10px;aspect-ratio:1.2/0.8;object-fit:cover}
.card h3{margin-top:12px;font-size:16px;color:var(--primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card p{color:var(--muted);font-size:14px;margin:6px 0 12px;flex:1}
.price{font-weight:700;color:var(--forest);font-size:16px}
.btn-small{padding:8px 12px;background:var(--accent);color:#000;border:none;border-radius:8px;font-weight:700;cursor:pointer}

/* Payment modal */
#payment{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(4px);
  z-index:3000;
}
#payment-modal{background:#fff;padding:22px;border-radius:14px;max-width:520px;width:92%;box-shadow:0 10px 40px rgba(0,0,0,0.22);animation:popup .28s ease}
@keyframes popup{from{transform:translateY(8px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}

/* Contact form */
#contact-section{
  padding:40px 0;
  background:#D9D9D9;
  border-top:1px solid #dce1ff;
  border-radius:12px;
  margin-top:18px;
}
#contact-section > h2,
#contact-section > p{
  margin-left:110px;
}
#contact-section .contact-info{
  margin-left:110px;
}

#contact-section p{ text-align:left;color:#000;font-size:15px;margin-bottom:12px}
#contact-section form{background:#fff;padding:18px;border-radius:12px;box-shadow:var(--shadow);max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
#contact-section input,#contact-section textarea{border:1px solid #e6e9ff;border-radius:10px;padding:12px;font-size:15px;transition:.2s}
#contact-section input:focus,#contact-section textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(67,97,238,0.08);outline:none}
#contact-section button{width:220px;margin:0 auto;border-radius:40px; padding: 12px 20px;}

/* Add button (Yellow) */
.add-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.add-btn:hover {
    filter: brightness(0.92);
}

/* Qty selector inside program cards */
.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    padding: 0;
}


/* --------------------------------------------------
   FLOATING CART BUTTON
-------------------------------------------------- */
.cart-toggle-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: var(--primary);
    color: #fff;
    font-size: 26px;
    padding: 15px 18px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 9999;
    transition: 0.25s ease;
}

.cart-toggle-btn:hover {
    transform: scale(1.08);
}


/* --------------------------------------------------
   CART PANEL — SLIDE UP
-------------------------------------------------- */
#cart-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 260px;
    max-height: 350px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    padding: 15px;
    overflow-y: auto;
    display: none; /* initially hidden */
    z-index: 9998;
    border: 1px solid #e0e0e0;
}

#cart-panel.open {
    bottom: 0;
}

/* Keep cart button visible when opened */
#cart-panel.open ~ .cart-toggle-btn {
    bottom: calc(72% + 20px);
}


/* --------------------------------------------------
   CART CONTENT
-------------------------------------------------- */
#cart-panel h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    text-align: center;
    color: #333;
}
.cart-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-panel ul li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.cart-item strong {
    font-size: 15px;
}

/* Qty inside cart (light gray) */
.cart-item .qty-btn {
    width: 26px;
    height: 26px;
    background: #f3f4f6;
    color: #444;
    border: 1.5px solid #b5b5b5;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
}

.cart-total-box {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 2px solid #f0f0f0;
    font-size: 18px;
}

/* Checkout button */
#checkout-btn {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 12px;
}

#checkout-btn:hover {
    background: #005fcc;
}

/* Floating Cart Button */
.cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f9a826;
    border: none;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-btn svg {
    width: 24px;
    height: 24px;
}

#cart-items div {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}


/* --------------------------------------------------
   PAYMENT MODAL
-------------------------------------------------- */
#payment {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal {
    background: #fff;
    padding: 24px; 
    border-radius: 16px;
    width: 90%;
    max-width: 360px;
}


.cart-badge {
display: none;
    position: absolute;
    top: -6px;
    right: -6px;

    background: #ff3b30;          /* Bright modern red */
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;               /* Auto adjusts if number is 2-digit */

    border-radius: 50%;           
    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #fff;       /* Smooth outline */
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);

    transition: transform 0.2s ease, background 0.2s ease;
}

.cart-btn:hover .cart-badge {
    transform: scale(1.1);        /* Smooth hover animation */
    background: #e02922;          /* Darker red on hover */
}


/* Payment Buttons */
.pay-option {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid #d0d4e4;
  background: #f7f8ff;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  transition: 0.2s;
}

/* Forms */
.pay-form {
  margin-top: 10px;
  display: none;
  animation: fadeIn 0.25s ease;
}

.input-field {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 15px;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* V14 PAYMENT MODAL BUTTONS */
.pay-option {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3b5bfd, #e6a323);
  border: none;
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  margin: 8px 0;
  font-size: 16px;
  display: block;
}

.pay-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Payment Forms */
.pay-form {
  margin-top: 14px;
}

.input-field {
  width: 100%;
  padding: 12px;
  border: 1px solid #dce1ff;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 15px;
}

.pay-now-btn {
  width: 100%;
  padding: 10px 20px;
  border-radius: 40px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 20px rgba(67,97,238,0.12);
  transition: transform .20s ease, box-shadow .20s ease;
}
.pay-now-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(67,97,238,0.14);
}


.close-btn {
  padding: 6px 16px;          
  background: #f3f3f3;
  color: #000;
  border: 1px solid #c7c7c7;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin: 16px auto 0;         /* center + top margin */
  display: block;              /* so margin auto works */
  width: auto;                 /* small button */
}

.close-btn:hover {
  background: #e6e6e6;
}

/*Check Box Options (Contact Page)*/

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}


/* --------------------------------------------------
   READ MORE BUTTON (CAREER PAGE)
-------------------------------------------------- */
.read-more-btn {
  background: none;
  border: none;
  color: #3952c8;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  margin-top: auto !important;
  margin-bottom: 20px;
}

.extra-text {
  display: none;
}


/* =========================================
   CLEAN MOBILE NAV — SINGLE BREAKPOINT
========================================= */

/* Hide hamburger by default (desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

/* Hamburger bars */
.hamburger span {
  width: 26px;
  height: 3px;
  background: #D9D9D9;
  border-radius: 2px;
}

/* Mobile nav drawer (hidden by default) */
.mobile-nav {
  position: fixed;
  top: 64px; /* header height */
  right: -100%;
  width: 260px;
  height: calc(100vh - 64px);
  background: #284B63;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: right 0.3s ease;
  z-index: 999;
}

/* Mobile nav links */
.mobile-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

/* Open state */
.mobile-nav.open {
  right: 0;
}


/* =========================================
   MOBILE NAV — ACTIVE & HOVER UNDERLINE
========================================= */


/*Mobile nav links (anchor)*/
.mobile-nav a {
  display: block;            /* Anchor poori row le — easy tap on mobile */
  padding: 10px 0;           /* Vertical spacing between menu items */
}


/*Text wrapper inside anchor*/
.mobile-nav a span {
  position: relative;        /* Underline ko is span se anchor karne ke liye */
  display: inline-block;     /* 🔥 IMPORTANT:
                                Span sirf text ki width lega
                                → underline bhi sirf word ke neeche aayegi */
}


/*Underline (pseudo-element)*/
.mobile-nav a span::after {
  content: "";               /* Pseudo-element create karta hai */
  position: absolute;        /* Span ke relative position */
  left: 0;                   /* Text ke start se */
  bottom: -6px;              /* Text ke thoda neeche underline */

  width: 100%;               /* Span ki width = text ki width */
  height: 3px;               /* Underline thickness */
  background: #f9a826;       /* Brand yellow underline */
  border-radius: 3px;        /* Smooth rounded edges */

  transform: scaleX(0);      /* By default hidden */
  transform-origin: left;    /* Animation left se start hogi */
  transition: transform 0.25s ease; /* Smooth animation */
}


/*Hover state (mouse / touch highlight)*/
.mobile-nav a:hover span::after {
  transform: scaleX(1);      /* Underline visible ho jaati hai */
}


/*Active page underline (current page)*/
.mobile-nav a.active span::after {
  transform: scaleX(1);      /* Active page par underline hamesha visible */
}

/* -----------------------------------------
   MOBILE LOGIN / REGISTER BUTTON FIX
------------------------------------------ */

/* Full-width safe container */
.mobile-auth {
  width: 100%;
  margin-top: 24px;
  padding: 0 16px;          /* left-right breathing space */
  box-sizing: border-box;
}

/* Actual Login/Register button */
.mobile-auth .btn {
  display: block;           /* take full row */
  width: 100%;              /* 🔥 yellow background full width */
  text-align: center;
  padding: 12px 0;          /* balanced height */
  border-radius: 32px;
}


/* =========================================
   MOBILE RESPONSIVE — SINGLE BREAKPOINT
   Covers: Nav, Hero, Sections, Cards, Cart,
   Forms, Modals — FULL SITE
========================================= */
@media (max-width: 768px) {

  /* ---------- GLOBAL TYPE & BASE ---------- */
  body {
    font-size: 15px;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* ---------- HEADER / NAV ---------- */
  .header-center,
  .header-right {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  /* ---------- HERO ---------- */
  .hero{
    flex-direction: column;
    padding: 22px;
    gap: 24px;
    border-radius: 12px;
  }

  .hero-left{
    min-width: 100%;
    text-align: center;
  }

  .hero h1{
    font-size: 28px;
    line-height: 1.25;
  }

  .hero p{
    font-size: 15px;
  }

  .hero-left div{
    justify-content: center;
  }

  /* ---------- ROTATING LOGO ---------- */
  .hero-art{
    flex: none;
  }

  .rotating-wrapper{
    width: 220px;
    height: 220px;
  }

  .rotating-text{
    width: 220px;
    height: 220px;
  }

  .lv-image{
    width: 140px;
    transform: translate(-50%, -50%) translate(4px, -6px);
  }

  /* ---------- SECTIONS & SPACING ---------- */
  section{
    padding: 36px 5% 140px;
  }

  .sub-section{
    padding: 18px;
  }

  .sub-section h2{
    font-size: 22px;
    text-align: center;
  }

  .sub-section p,
  .sub-section li{
    font-size: 14px;
  }

  /* ---------- GRIDS & CARDS ---------- */
  .grid,
  .trainer-grid,
  .sub-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .trainer-card {
    padding: 16px;
  }

  .card img,
  .trainer-card img {
    border-radius: 12px;
  }

  /* ---------- BUTTONS ---------- */
  .btn,
  .btn-small,
  #checkout-btn,
  .pay-now-btn {
    width: 100%;
    text-align: center;
  }

  /* ---------- CART PANEL ---------- */
  #cart-panel {
    width: 100%;
    right: 0;
    bottom: 0;
    max-height: 70vh;
    border-radius: 16px 16px 0 0;
  }

  .cart-btn {
    right: 16px;
    bottom: 16px;
  }

  /* ---------- PAYMENT MODAL ---------- */
  #payment-modal {
    width: 92%;
    max-width: 360px;
  }

  /* ---------- CONTACT PAGE ---------- */
  #contact-section > h2,
  #contact-section > p,
  #contact-section .contact-info{
    margin-left: 0;
    text-align: left;
    padding-left: 16px;
  }

  #contact-section form {
    width: 94%;
  }

  #contact-section button {
    width: 100%;
  }
}

