/* ============================================================
   SMART TRADERS — Global Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --color-bg: #FAF7F2;
  --color-surface: #FFFFFF;
  --color-primary: #2C2C2A;
  --color-accent: #8B6B4A;
  --color-accent-light: #C4A882;
  --color-muted: #888780;
  --color-border: rgba(44,44,42,0.12);
  --color-cta: #2C2C2A;
  --color-cta-text: #FAF7F2;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 4px rgba(44,44,42,0.08);
  --shadow-md: 0 4px 20px rgba(44,44,42,0.12);
  --shadow-lg: 0 12px 48px rgba(44,44,42,0.16);

  --nav-height: 72px;
  --nav-height-sm: 60px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p { line-height: 1.7; color: var(--color-primary); }
.text-muted { color: var(--color-muted); font-size: 0.9rem; }
.text-accent { color: var(--color-accent); }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  border-color: var(--color-cta);
}
.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-cta-text);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: #7a5c3c;
  border-color: #7a5c3c;
  box-shadow: var(--shadow-md);
}

/* ── Section Wrapper ───────────────────────────────────── */
.section {
  padding: var(--space-xl) 0;
}
.section-sm { padding: var(--space-lg) 0; }

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.section-header h2 { margin-bottom: var(--space-xs); }
.section-header p {
  color: var(--color-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* =========================
   TOPBAR
========================= */
/* Topbar */
.topbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: whitesmoke;
    padding: 10px 0;
	 font-size: 14px;
    border-bottom: 1px solid #ddd;
}

/* Navbar/Header */
#navbar{
    position: fixed;
    top: 50px; /* height of topbar */
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
}

/* Prevent content hiding behind fixed header */
body{
    padding-top: 130px;
}

.topbar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

/* Contact Info */
.contact-info{
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info i{
    display: flex;
    align-items: center;
    gap: 6px;
    color: black;
    font-style: normal;
}
.contact-info i::before{
    font-weight: 700 !important;
    font-size: 18px;
}

.contact-info a,
.contact-info span{
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

/* Social Icons */
.social-links{
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    transition: 0.3s;
}

.social-links a:hover{
    color: #8B6B4A;
}

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    height 0.3s,
    background 0.3s,
    box-shadow 0.3s,
    backdrop-filter 0.3s;
}

#navbar.transparent {
  background: transparent;
}

#navbar.scrolled {
  height: var(--nav-height);
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

/* Add space for fixed topbar + navbar */
body{
  padding-top: calc(var(--nav-height) + 42px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─────────────────────────────────────────────
   LOGO
───────────────────────────────────────────── */

.nav-logo{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Round Side Logo */
.logo-icon{
    width: 103px;
    height: 55px;
    flex-shrink: 0;
}

/* Text Logo */
.logo-text{
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Mobile Responsive */
@media(max-width:768px){

    .logo-icon{
        width: 40px;
        height: 40px;
    }

    .logo-text{
        height: 32px;
    }
}
/* ─────────────────────────────────────────────
   NAV LINKS
───────────────────────────────────────────── */

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

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 0.25rem 0;
  position: relative;
  text-decoration:none;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* ─────────────────────────────────────────────
   MEGA DROPDOWN
───────────────────────────────────────────── */
/* Dropdown Parent */
.has-dropdown{
  position:relative;
}

/* Dropdown Box */
.simple-dropdown{
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  min-width:220px;
  padding:10px 0;
  margin:0;
  list-style:none;
  border-radius:8px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:0.3s ease;
  z-index:999;
}

/* Show Dropdown */
.has-dropdown:hover .simple-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Dropdown Links */
.simple-dropdown li a{
  display:block;
  padding:10px 18px;
  color:#222;
  text-decoration:none;
  font-size:15px;
  transition:0.3s;
}

/* Hover */
.simple-dropdown li a:hover{
  background:#f5f5f5;
  color:#000;
}

.nav-cta {
  margin-left: var(--space-sm);
}

/* ── Hamburger ─────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
   position: relative;      /* ← ADD THIS */
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 100vw);
  height: 100vh;
  background: var(--color-surface);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-lg) var(--space-lg);
  transition: right 0.35s cubic-bezier(0.77,0,0.175,1);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { right: 0; height: fit-content; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover { color: var(--color-accent); padding-left: 0.5rem; }
.mobile-menu .mobile-sub { padding-left: 1rem; }
.mobile-menu .mobile-sub a { font-size: 0.875rem; color: var(--color-muted); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-overlay.open { opacity: 1; pointer-events: all; }

/* White nav text (for hero pages) */
/*.nav-white .nav-logo,
.nav-white .nav-links a { color: #fff; }
.nav-white .hamburger span { background: #fff; }*/

/* ── Hero ──────────────────────────────────────────────── */
.hero{
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

#hero-carousel,
.carousel-item{
    height: 70vh;
}

.carousel-item{
    position: relative;
}

/* Image */
.carousel-item img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay */
.carousel-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.72),
        rgba(0,0,0,0.45)
    );
    z-index: 2;
}

/* Container */
.hero .container{
    position: relative;
    z-index: 3;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Content */
.carousel-content{
    max-width: 850px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow{
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d2b48c;
    font-weight: 600;
	 text-align: center;
}

.carousel-content h1{
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
	 text-align: center;
    font-family: var(--font-serif);
}

.carousel-content h1 em{
    color: #d2b48c;
    font-style: italic;
}

.carousel-content p{
	font-size:17px;
	color: #d2b48c;
     max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
	border-radius:20px;
}

/* Controls */
.carousel-control-prev,
.carousel-control-next{
    width: 6%;
    z-index: 5;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: 55%;
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
}

/* Animation */
.carousel-item.active .carousel-content{
    animation: fadeHero 1s ease;
}

@keyframes fadeHero{

    from{
        opacity: 0;
        transform: translateY(40px);
    }

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

/* ── Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-md) 0;
}
.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}
.stat-item {
  text-align: center;
  min-width: 120px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* ── Category Cards ────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.cat-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--color-border);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cat-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cat-card-body {
  padding: var(--space-md);
}
.cat-card-body .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}
.cat-card-body h3 { margin-bottom: 0.5rem; }
.cat-card-body p { font-size: 0.875rem; color: var(--color-muted); margin-bottom: var(--space-sm); }
.cat-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.cat-link:hover { gap: 0.5rem; }

/* ── Why Us ────────────────────────────────────────────── */
.why-strip { background: var(--color-surface); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.why-tile {
  text-align: center;
  padding: var(--space-md);
}
.why-tile .icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}
.why-tile h4 { margin-bottom: 0.25rem; }
.why-tile p { font-size: 0.85rem; color: var(--color-muted); }

/* ── Marquee ───────────────────────────────────────────── */
.marquee-section { overflow: hidden; padding: var(--space-md) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.marquee-track {
  display: flex;
  gap: var(--space-xl);
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.marquee-logo {
  width: 120px;
  height: 40px;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Blog Cards ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card-body { padding: var(--space-md); }
.blog-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-bg);
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  border: 1px solid var(--color-border);
}
.blog-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-family: var(--font-serif);
}
.blog-card-body p { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.75rem; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--color-muted);
}
.blog-meta a {
  color: var(--color-accent);
  font-weight: 600;
  transition: opacity var(--transition);
}
.blog-meta a:hover { opacity: 0.8; }

/* ── Trust Bar ─────────────────────────────────────────── */
.trust-bar {
  background: var(--color-primary);
  padding: var(--space-md) 0;
  color: rgba(255,255,255,0.75);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  font-size: 0.85rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-item .icon { font-size: 1.1rem; }

/* ISO */
.trust-item:nth-child(1) .icon{
    background: rgba(13,110,253,0.15);
    color: #0d6efd;
}

/* GST */
.trust-item:nth-child(2) .icon{
    background: rgba(25,135,84,0.15);
    color: #198754;
}

/* Export */
.trust-item:nth-child(3) .icon{
    background: rgba(13,202,240,0.15);
    color: #0dcaf0;
}

/* MSME */
.trust-item:nth-child(4) .icon{
    background: rgba(255,193,7,0.15);
    color: #ffc107;
}

/* Excellence */
.trust-item:nth-child(5) .icon{
    background: rgba(220,53,69,0.15);
    color: #dc3545;
}

/* ── Product Grid ──────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-primary);
}
.filter-tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.filter-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 1;
}
.product-card.hidden { display: none; }
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.product-badge.moq { background: var(--color-primary); }

.product-card-body {
  padding: var(--space-md);
}
.product-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.product-card-body .spec {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}
.product-card-body .btn { width: 100%; justify-content: center; }

/* ── Page Hero Banner ──────────────────────────────────── */

/* ── Page Hero ───────────────────────── */

.page-hero{
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  color: #fff;
}

/* Background Image */
.page-hero .hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Dark Overlay */
.page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

/* Content */
.page-hero .container{
  position: relative;
  z-index: 2;
}

/* Heading */
.page-hero h1{
  color: #fff;
  margin-bottom: 15px;
}

/* Text */
.page-hero p{
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}




/* ── Gallery ───────────────────────────────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-sm);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-close { top: var(--space-md); right: var(--space-md); }
.lightbox-prev { left: var(--space-md); }
.lightbox-next { right: var(--space-md); }

/* ── Blog Page ─────────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin-bottom: var(--space-md);
}
.search-bar input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  transition: border-color var(--transition);
  outline: none;
}
.search-bar input:focus { border-color: var(--color-accent); }
.search-bar button {
  padding: 0.6rem 1rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}
.tag {
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-surface);
}
.tag:hover, .tag.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ── About Section ───────────────────────── */

.about-split{
    display: block;
    position: relative;
}

/* Small Corner Image */
.about-img{
    width: 320px;
    float: left;
    margin: 0 30px 20px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.about-img img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text Content */
.about-content h2{
    margin-bottom: 20px;
	color:red;
}

.about-content p{
    margin-bottom: 16px;
    text-align: justify;
    line-height: 1.9;
}

/* Timeline */
.timeline {
  display: flex;
  gap: 0;
  position: relative;
  margin: var(--space-lg) 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
}
.timeline-item {
  flex: 1;
  text-align: center;
  padding-top: var(--space-lg);
  position: relative;
}
.timeline-dot {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 auto var(--space-xs);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item h4 { font-size: 0.85rem; margin-bottom: 0.2rem; }
.timeline-item p { font-size: 0.75rem; color: var(--color-muted); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.team-card { text-align: center; }
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-sm);
  border: 3px solid var(--color-border);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 0.2rem; }
.team-card p { font-size: 0.8rem; color: var(--color-accent); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.value-tile {
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
}
.value-tile .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.value-tile h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.value-tile p { font-size: 0.85rem; color: var(--color-muted); }

/* ── Contact Page ──────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact-info h2 { margin-bottom: var(--space-md); }
.contact-detail {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}
.contact-detail .icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}
.contact-detail strong { display: block; margin-bottom: 0.2rem; }
.contact-detail p { font-size: 0.875rem; color: var(--color-muted); }

.map-embed {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color:black;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: var(--color-accent); color: black; border-color: var(--color-accent); transform: translateY(-2px); }

/* ── Forms ─────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-sm);
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-primary);
}
.form-group label .req { color: var(--color-accent); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139,107,74,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e05252;
}
.form-error { font-size: 0.78rem; color: #e05252; margin-top: 0.25rem; display: none; }
.form-error.visible { display: block; }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: auto;
  accent-color: var(--color-accent);
}

.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ── Enquiry Page ──────────────────────────────────────── */
.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}
.enquiry-sidebar h3 { margin-bottom: var(--space-sm); }
.enquiry-sidebar p { font-size: 0.875rem; color: var(--color-muted); margin-bottom: var(--space-md); }
.enquiry-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}
.enquiry-feature .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.enquiry-feature p { font-size: 0.82rem; color: var(--color-muted); margin-bottom: 0; }
.enquiry-feature strong { font-size: 0.875rem; display: block; margin-bottom: 0.1rem; }

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--color-primary);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Footer ─────────────────────────── */

.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-col {
  width: 100%;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-col ul li {
  margin-bottom: 0.4rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: white;
  text-decoration:none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent-light); }
.footer-col address { font-style: normal; font-size: 0.85rem; line-height: 1.7; color:white; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color:white;
}

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

.footer-bottom a { transition: color var(--transition); text-decoration:none; }
.footer-bottom a:hover { color:white; }
.made-in { color: rgba(255,255,255,0.4); }

/* ── Back to Top ───────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: var(--space-md);
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--color-accent); }

/* ── WhatsApp FAB ──────────────────────────────────────── */
#whatsapp-fab {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
#whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── Individual Blog Post ──────────────────────────────── */
.post-hero {
  height: 440px;
  position: relative;
  margin-bottom: var(--space-lg);
}
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.post-meta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
}
.post-body h2 { margin: var(--space-md) 0 var(--space-sm); font-size: 1.5rem; }
.post-body p { margin-bottom: var(--space-sm); }
.post-body ul { padding-left: var(--space-md); margin-bottom: var(--space-sm); }
.post-body li { margin-bottom: 0.4rem; }

/* ── Leather Types Grid ────────────────────────────────── */
.leather-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.leather-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.leather-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.leather-card img { width: 100%; height: 180px; object-fit: cover; }
.leather-card-body { padding: var(--space-sm); }
.leather-card-body h4 { margin-bottom: 0.25rem; }
.leather-card-body p { font-size: 0.8rem; color: var(--color-muted); }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: var(--color-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: var(--color-primary); }

/* ── Loading spinner ───────────────────────────────────── */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.spinner.visible { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }


.enquiry-btn{
    background:#8b6b4a;
    color:#fff;
    border:none;
    padding:10px 22px;
    border-radius:6px;
    font-weight:600;
    transition:0.3s;
}

.enquiry-btn:hover{
    background:#6f5438;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { gap: var(--space-lg); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .enquiry-layout { grid-template-columns: 1fr; }
  .leather-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: var(--space-lg); }
  .timeline::before { display: none; }
  .timeline-item { text-align: left; padding-top: 0; padding-left: 56px; }
  .timeline-dot { left: 0; transform: none; top: -2px; }
  .gallery-grid { columns: 2; }
  .leather-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: var(--space-md); }
  .stat-number { font-size: 1.5rem; }

  .blog-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .blog-card { min-width: 280px; scroll-snap-align: start; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Focus styles (accessibility) ─────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Page transition ───────────────────────────────────── */
body { animation: fadeIn 0.3s ease; }


/* ── Mobile Topbar: icons only, split layout ───────────── */
@media (max-width: 768px) {

  .topbar .container {
    justify-content: space-between;  /* push icons left, social right */
    gap: 0;
  }

  .contact-info {
    gap: 10px;
  }

 /* Hide detail text by default – only the icons stay visible */
  .contact-info .bi-envelope a,
  .contact-info .bi-geo-alt span,
  .contact-info .bi-phone span {
    display: none;
  }

  /* Show detail when the parent icon has the 'show-detail' class */
  .contact-info .bi-envelope.show-detail a,
  .contact-info .bi-geo-alt.show-detail span,
  .contact-info .bi-phone.show-detail span {
    display: inline;          /* or inline-block */
    font-size: 12px;         /* match topbar text size */
    margin-left: 6px;        /* little space after the icon */
    vertical-align: middle;
  }

  /* Make the envelope link itself visible but keep the icon */
  .contact-info .bi-envelope.show-detail a {
    font-size: 12px;
    text-decoration: none;
    color: #333;
  }

  /* Optional: adjust social icons spacing */
  .social-links {
    display: flex;
    gap: 10px;
  }

  /* Optional fine‑tuning */
  .topbar {
    font-size: 12px;
    padding: 10px 0;
  }
}