
:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --card-bg: #ffffff;

    --text-main: #1d1d1f;
    --text-muted: #6e6e73;

    --accent: #000;
    --accent-hover: #000;

    --border-soft: #d2d2d7;
}


html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    margin: 0;
}

a {
    color: var(--accent);
}
a:hover {
    color: var(--accent-hover);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* generic apple-like card */
.card-apple {
    background: var(--bg-soft);
    border-radius: 18px;
    border: 1px solid var(--border-soft);
}

/* soft badge */
.badge-soft {
    background: var(--bg-soft);
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 3px 10px;
    font-size: 11px;
}

/* tabs */
.nav-tabs.apple-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    background: transparent;
}
.nav-tabs.apple-tabs .nav-link.active {
    color: var(--text-main);
    border-color: var(--accent);
}
.tab-pane.apple-pane {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-top: 0;
}

.btn-apple-primary {
    background: var(--accent);
    border-radius: 999px;
    border: none;
    color: #fff;
    padding: 8px 20px;
    font-weight: 500;
}
.btn-apple-primary:hover {
    background: var(--accent-hover);
}

/* navbar + hero helpers */
.navbar-brand img {
    height: 40px;
}
.mega-menu {
    left: 0;
    right: 0;
}

/* =======================================
   HERO SECTION
   ======================================= */

.hero-section {
    padding: 4.5rem 0 4.5rem;
    background: radial-gradient(circle at top left, #f5f5f7 0, #ffffff 55%, #edf3ff 100%);
}

.hero-section .display-5 {
    font-size: clamp(2.2rem, 3vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -.02em;
}
.hero-section .lead {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* আইকন সারি */
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =======================================
   SHARED SECTION STYLES
   ======================================= */

.section-title {
    font-size: 1.6rem;
    font-weight: 600;
}

.section-intro {
    color: var(--text-muted);
    font-size: .98rem;
}

/* =======================================
   HOME: PRODUCT CARDS
   ======================================= */

.product-card {
    border-radius: 14px;
    background-color: var(--card-bg);
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card img {
    object-fit: cover;
    max-height: 220px;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border-color: rgba(0,0,0,.12);
}


.home-category-section {
    padding: 3rem 0 3.2rem;
    background-color: #ffffff;
}
.home-category-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #657106;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-category-card img {
    height: 150px;
    object-fit: cover;
}
.home-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    border-color: rgba(0,0,0,.12);
}

/* per-category product strips */
.product-strip {
    padding: 2.5rem 0;
    background-color: var(--bg-soft);
}
.product-strip + .product-strip {
    border-top: 1px solid rgba(0,0,0,.04);
}
.product-strip:nth-of-type(even) {
    background-color: #ffffff;
}
.product-strip-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
}

/* =======================================
   ABOUT SECTION
   ======================================= */

.about-section {
    margin-top: 30px;
    background-color: white;
}

.about-section .section-title {
    font-size: 1.6rem;
    font-weight: 600;
}

.about-section .section-intro {
    color: #6e6e73;
    font-size: .98rem;
}

.about-stat {
    padding: .8rem .6rem;
}
.about-stat-value {
    font-size: 1.2rem;
    font-weight: 600;
}
.about-stat-label {
    font-size: .82rem;
    color: #6e6e73;
}

.about-media img {
    border-radius: 18px;
}

/* FEATURE ITEMS (no background bar) */
.about-feature-bar {
    margin-top: 1.75rem;
    padding: .25rem 0;
}

.about-feature-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #fff;
    font-size: .95rem;
    white-space: nowrap;
}

.about-feature-icon {
    font-size: 1.4rem;
    color: #ffffff;
    -webkit-text-stroke: 1px #00796b;
}

.about-feature-text {
    font-weight: 500;
}

@media (min-width: 575.98px) {
    .about-feature-bar {
        margin-top: 1.25rem;
    }
    .about-feature-item {
        justify-content: flex-start;
    }
  .why-section::after {
    background-color: white !important;
}
}

/* =======================================
   WHY CHOOSE SECTION
   ======================================= */

.why-section {
padding-top: 2px;
    background-color: #52b14a14;
    padding-bottom: 25px;
}

.why-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-list li {
    font-size: .97rem;
    color: var(--text-muted);
}

.why-image {
    max-height: 360px;
    object-fit: cover;
}

/* =======================================
   CERTIFICATES SECTION
   ======================================= */

.cert-section {
    padding: 3rem 0;
    background-color: var(--bg-soft);
}
h6{
    color:#fff;
}
.cert-card {
    border-radius: 16px;
    background-color: var(--card-bg);
    padding: 1.2rem .8rem 1.3rem;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.cert-icon img {
    max-height: 200px;
    object-fit: contain;
}
.cert-name {
    font-weight: 600;
    margin-bottom: .2rem;
}
.cert-text {
    font-size: .85rem;
    color: var(--text-muted);
}

/* =======================================
   BLOGS SECTION
   ======================================= */

.blog-section {
    padding: 3.5rem 0;
    background-color: #ffffff;
}
.blog-card {
    border-radius: 16px;
    background-color: var(--card-bg);
    border: 1px solid rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    border-color: rgba(0,0,0,.12);
}
.blog-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.blog-body {
    padding: 1rem 1rem 1.1rem;
}
.blog-title {
    font-size: 1rem;
    margin-bottom: .4rem;
}
.blog-excerpt {
    font-size: .9rem;
    color: var(--text-muted);
}

/* =======================================
   FOOTER HELPERS
   ======================================= */

.footer-link {
    font-size: .9rem;
}

/* =======================================
   FLOATING CONTACT WIDGET
   ======================================= */

.contact-widget {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
}
.contact-widget a,
.contact-widget button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* =======================================
   RESPONSIVE TWEAKS
   ======================================= */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0 3.5rem;
        text-align: center;
    }
    .hero-section .col-lg-6:last-child {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .cert-section,
    .blog-section {
        padding: 2.5rem 0;
    }

    .why-section .col-lg-6:first-child {
        text-align: center;
    }
    .why-section .why-list {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 575.98px) {
    .home-category-card img {
        height: 130px;
    }
    .product-card img {
        max-height: 180px;
    }
    .blog-thumb {
        height: 150px;
    }
.home-category-section::after,
.product-strip::after,
.about-section::after,
.why-section::after,
.cert-section::after,
.blog-section::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 30px;
  margin-inline: 16px;
  background:none !important;
  z-index: -1;
}
}


/* ====== GLOBAL SECTION WRAPPER BORDER GRADIENT ====== */

.home-category-section,
.product-strip,
.about-section,
.why-section,
.cert-section,
.blog-section {
  position: relative;
  padding: 48px 0;
  overflow: hidden;
}

.home-category-section::before,
.product-strip::before,
.about-section::before,
.why-section::before,
.cert-section::before,
.blog-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  margin-inline: 16px;
  opacity: .35;
  pointer-events: none;
  z-index: -2;
  animation: sectionBorderSpin 18s linear infinite;
}

.home-category-section > .container-xxl,
.product-strip > .container-xxl,
.about-section > .container-xxl,
.why-section > .container-xxl,
.cert-section > .container-xxl,
.blog-section > .container-xxl {
  position: relative;
  z-index: 1;
}

.home-category-section::after,
.product-strip::after,
.about-section::after,
.why-section::after,
.cert-section::after,
.blog-section::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 30px;
  margin-inline: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(148,163,184,.2),transparent 55%),
    #050816;
  z-index: -1;
}

@keyframes sectionBorderSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* ====== SECTION TITLE ACCENT BAR ====== */

.section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
}

.section-title::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ff9f0a,#dcff2d,#5e5ce6);
  box-shadow: 0 0 12px rgba(248,250,252,0.45);
  animation: titlePulse 2.8s ease-in-out infinite;
}

@keyframes titlePulse {
  0%,100% { transform: scaleX(1); opacity: .9; }
  50%     { transform: scaleX(1.35); opacity: 1; }
}


/* ====== HOME CATEGORY CARD ====== */

.home-category-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at 0 0, rgba(148,163,184,0.18), transparent 55%),
              #020617;
  box-shadow: 0 10px 24px rgba(15,23,42,0.65);
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  isolation: isolate;
}

.home-category-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    #ff9f0a,
    #dcff2d,
    #5e5ce6,
    #0cd1e8,
    #34c759,
    #ff9f0a
  );
  z-index: -1;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .18s ease;
}

.home-category-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(148,163,184,0.15), transparent 55%),
              #020617;
  z-index: -1;
}

.home-category-card img {
  border-radius: 16px 16px 0 0;
}

.home-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(15,23,42,0.9);
}

.home-category-card:hover::before {
  opacity: 1;
  animation: cardBorderSpin 6s linear infinite;
}

@keyframes cardBorderSpin {
  to { transform: scale(1.03) rotate(360deg); }
}


/* ====== PRODUCT CARD + VIEW DETAILS BUTTON ====== */

.product-card {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.35);
  background: #020617;
  box-shadow: 0 8px 20px rgba(15,23,42,0.7);
  transition: transform .16s ease, box-shadow .16s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(15,23,42,0.9);
}

/* btn inside .product-card (View details) */
.product-card .btn {
  border-radius: 999px;
  border: 1px solid transparent;
  background-image:
    linear-gradient(#020617,#020617),
    linear-gradient(120deg,#ff9f0a,#dcff2d,#5e5ce6,#0cd1e8);
  background-origin: border-box;
  background-clip: padding-box,border-box;
  color: #e5e7eb;
  font-size: 12px;
  padding-inline: 10px;
  transition: background-position .35s ease, color .2s ease, box-shadow .2s ease;
  background-size: 100% 100%, 250% 250%;
}

.product-card:hover .btn {
  background-size: 100% 100%, 350% 350%;
  background-position: center, 100% 0;
  color: #fff;
  box-shadow: 0 0 18px rgba(96,165,250,0.7);
}


/* ====== ABOUT FEATURE ITEMS ====== */

.about-feature-item {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.about-feature-item:hover {
  transform: translateY(-3px);
  border-color: #22c55e;
  box-shadow: 0 10px 22px rgba(15,23,42,0.9);
}


/* ====== CERT & BLOG CARDS ====== */

.cert-card,
.blog-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.4);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cert-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
}

.blog-thumb {
  border-radius: 18px 18px 0 0;
}

/* base state */
.anim-up,
.anim-left,
.anim-right {
  opacity: 0;
}

/* UP */
.anim-up.is-visible {
  opacity: 1;
  animation: backInUp 0.55s cubic-bezier(0.33, 1.02, 0.35, 0.99) forwards;
}

/* LEFT */
.anim-left.is-visible {
  opacity: 1;
  animation: bounceInLeft 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* RIGHT */
.anim-right.is-visible {
  opacity: 1;
  animation: bounceInRight 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* keyframes */
@keyframes backInUp {
  0%   { opacity: 0; transform: translate3d(0, 60px, 0) scale(0.96); }
  60%  { opacity: 1; transform: translate3d(0,-6px,0) scale(1.02); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes bounceInLeft {
  0%   { opacity: 0; transform: translate3d(-60px, 0, 0); }
  60%  { opacity: 1; transform: translate3d(8px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes bounceInRight {
  0%   { opacity: 0; transform: translate3d(60px, 0, 0); }
  60%  { opacity: 1; transform: translate3d(-8px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
