/*
Theme Name: Soumen Theme
Theme URI: https://radhe-soumen-sarkar.online/
Author: Soumen Sarkar
Author URI: https://radhe-soumen-sarkar.online/
Description: Custom WordPress Theme
Version: 1.0
*/



/* ── CSS VARIABLES ── */
:root {
  --navy: #07101f;
  --deep: #0c1628;
  --panel: #101d35;
  --card: #131f38;
  --border: #1c2f55;
  --cyan: #00e5ff;
  --teal: #00bcd4;
  --gold: #ffd700;
  --amber: #ffb300;
  --white: #eef4ff;
  --muted: #7a96c2;
  --accent: #6d28d9;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .3;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ── NAVBAR ── */
#mainNav {
  background: rgba(7, 16, 31, .82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, .1);
  padding: .9rem 0;
  transition: background .3s;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.brand-text span {
  color: var(--gold);
}

.navbar-nav .nav-link {
  color: var(--muted) !important;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: .4rem .9rem !important;
  transition: color .2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--cyan) !important;
}

.navbar-toggler {
  border-color: rgba(0, 229, 255, .3);
}

.navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg);
}

/* ── SECTION SHARED ── */
section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .8rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 34px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2.8rem;
}

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

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

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

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
  background: linear-gradient(145deg, #07101f 0%, #0c1628 55%, #0a172e 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 50%, rgba(0, 188, 212, .09) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 15% 15%, rgba(109, 40, 217, .12) 0%, transparent 60%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0, 229, 255, .08);
  border: 1px solid rgba(0, 229, 255, .22);
  border-radius: 100px;
  padding: .32rem .95rem;
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.4rem;
  animation: fadeUp .7s ease both;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(1.6);
  }
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  animation: fadeUp .8s .1s ease both;
}

.hero-role {
  font-family: 'Space Mono', monospace;
  font-size: .88rem;
  color: var(--muted);
  margin: 1.1rem 0 1.6rem;
  animation: fadeUp .8s .2s ease both;
}

.hero-role .hl {
  color: var(--amber);
}

.hero-desc {
  font-size: .97rem;
  line-height: 1.8;
  color: #9ab2d4;
  max-width: 500px;
  animation: fadeUp .8s .3s ease both;
}

.hero-btns {
  animation: fadeUp .8s .4s ease both;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: var(--navy);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: 1px;
  border: none;
  padding: .75rem 2rem;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(0, 229, 255, .38);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  display: inline-block;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(0, 229, 255, .55);
  color: var(--navy);
}

.btn-gold-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: 1px;
  padding: .75rem 2rem;
  border-radius: 8px;
  background: transparent;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Hero Photo */
.photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp .8s .3s ease both;
}

.photo-ring {
  position: relative;
  width: min(600px, 85vw);
  height: min(600px, 85vw);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--accent), var(--gold));
  padding: 3px;
  box-shadow: 0 0 60px rgba(0, 229, 255, .2), 0 0 120px rgba(0, 229, 255, .08);
  animation: spinRing 14s linear infinite;
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

.photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--deep);
  animation: spinRing 14s linear infinite reverse;
}

.photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.photo-badge {
  position: absolute;
  bottom: 18px;
  right: 10px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  padding: .4rem .9rem;
  font-family: 'Space Mono', monospace;
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 215, 0, .4);
  animation: spinRing 14s linear infinite reverse;
  white-space: nowrap;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

/* ── STATS BAR ── */
.stats-section {
  background: linear-gradient(135deg, rgba(0, 229, 255, .04), rgba(109, 40, 217, .04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.4rem 0;
}

.stat-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1rem;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 229, 255, .18), transparent 70%);
  opacity: 0;
  transition: .3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 14px 38px rgba(0, 229, 255, .14);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: .4rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--cyan);
  line-height: 1;
}

.stat-num sup {
  color: var(--gold);
  font-size: 1.2rem;
}

.stat-lbl {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: .4rem;
}

/* ── SKILLS ── */
#skills {
  background: var(--deep);
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--accent));
}

.skill-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 38px rgba(0, 229, 255, .12);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: .7rem;
}

.skill-name {
  font-family: 'Space Mono', monospace;
  font-size: .88rem;
  color: var(--white);
  margin-bottom: .8rem;
}

.skill-pct {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--cyan);
  float: right;
  margin-bottom: .25rem;
}

.skill-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  clear: both;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  border-radius: 2px;
  width: 0;
  transition: width 1.6s cubic-bezier(.16, 1, .3, 1);
}

/* ── SERVICES ── */
#services {
  background: var(--navy);
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 215, 0, .08);
}

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  color: rgba(0, 229, 255, .08);
  position: absolute;
  top: .8rem;
  right: 1.2rem;
  line-height: 1;
  transition: color .3s;
}

.service-card:hover .service-num {
  color: rgba(255, 215, 0, .18);
}

.service-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: .6rem;
}

.service-desc {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── PROJECTS ── */
#projects {
  background: var(--deep);
}

.divider-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2rem 0 1.8rem;
}

.divider-label {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.project-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, .28);
  box-shadow: 0 16px 40px rgba(0, 229, 255, .1);
}

.project-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s ease;
}

.project-card:hover .project-img-wrap img {
  transform: translateY(-18%);
}

.project-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .68rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}

.project-body {
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.project-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: .7rem;
  margin-top: .8rem;
}

.tech-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tech-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .67rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}

.project-card:hover .tech-badge {
  border-color: rgba(0, 229, 255, .4);
  color: var(--cyan);
}

.project-link {
  font-size: .72rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .25s;
}

.project-card:hover .project-link {
  opacity: 1;
  transform: translateX(0);
}

/* ── TEAM ── */
#team {
  background: var(--navy);
}

.team-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: all .35s;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--cyan), transparent 60%, var(--accent));
  opacity: 0;
  transition: .4s;
  pointer-events: none;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

.team-card:hover::after {
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 55px rgba(0, 229, 255, .14);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 22px rgba(0, 229, 255, .35);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: .4s;
}

.team-card:hover .team-avatar img {
  transform: scale(1.1);
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: .3rem;
}

.team-role {
  font-size: .75rem;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.skill-tag {
  display: inline-block;
  background: rgba(0, 229, 255, .08);
  border: 1px solid rgba(0, 229, 255, .18);
  border-radius: 4px;
  font-size: .67rem;
  padding: .18rem .5rem;
  color: var(--cyan);
  margin: 2px;
}

/* ── CONTACT ── */
#contact {
  background: var(--deep);
}

.contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 229, 255, .08);
  border: 1px solid rgba(0, 229, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.c-label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.c-val {
  font-size: .92rem;
  color: var(--white);
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .85rem 1.1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .93rem;
  outline: none;
  width: 100%;
  transition: border-color .2s;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--cyan);
}

.contact-form-wrap textarea {
  min-height: 125px;
}

.contact-form-wrap label {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: .4rem;
}

.btn-submit {
  width: 100%;
  padding: .9rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: var(--navy);
  font-weight: 700;
  font-size: .93rem;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all .2s;
  box-shadow: 0 0 20px rgba(0, 229, 255, .28);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 255, .48);
}


.wpcf7-response-output {
 display: none !important;
}

/* Success message */
.wpcf7-mail-sent-ok {
   display: none !important;
}

/* Error message */
.wpcf7-validation-errors,
.wpcf7-aborted {
  display: none !important;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand .nav-avatar {
  border-color: var(--gold);
}

.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand .dot {
  color: var(--gold);
}

.footer-copy {
  font-size: .78rem;
  color: var(--muted);
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}

.social-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--cyan);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: .88rem;
  box-shadow: 0 8px 28px rgba(0, 229, 255, .2);
  transform: translateY(100px);
  opacity: 0;
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  z-index: 9998;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 991.98px) {
  .hero-desc {
    max-width: 100%;
  }

  .photo-wrap {
    margin-top: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .photo-ring {
    width: min(280px, 75vw);
    height: min(280px, 75vw);
  }

  .photo-badge {
    font-size: .58rem;
    right: 2px;
    bottom: 10px;
  }

  section {
    padding: 4rem 0;
  }
}

/* ===== SWIPER WRAPPER ===== */
.swiper {
  padding: 0px 0;
}

/* ===== SLIDES ===== */
.swiper-slide {
  width: 260px;
  transform: scale(0.85);
  /* opacity: 0.5;
  transition: transform 0.4s ease, opacity 0.4s ease; */
  transform: scale(1);
  opacity: 1;
  will-change: transform, opacity;
  /* fix: smoother GPU animation */
}

/* Active slide — full size */
.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

/* fix: neighbours slightly visible, not fully faded */
.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(1);
  opacity: 1;
}

/* ===== PHONE FRAME ===== */
.phone {
  border-radius: 28px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  cursor: pointer;
  /* fix: missing pointer cursor */
}

/* ===== SCREEN ===== */
.screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  position: relative;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* fix: removes bottom gap under img */
  transition: transform 0.4s ease;
  /* fix: only animate transform, not all */
}

/* Hover zoom */
.phone:hover img {
  transform: scale(1.05);
}

/* ===== BADGE ===== */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff !important;
  /* fix: Bootstrap overrides badge color */
  font-size: 11px !important;
  /* fix: Bootstrap .badge sets its own font-size */
  padding: 4px 10px !important;
  /* fix: Bootstrap padding override */
  border-radius: 20px;
  z-index: 2;
  line-height: 1.4;
  /* fix: text vertically cramped without this */
}

/* ===== TITLE ===== */
.title {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #444;
  /* fix: slightly softer than #333, still readable */
  font-weight: 500;
  letter-spacing: 0.2px;
  /* fix: slight spacing improves small text readability */
}

/* ===== NAVIGATION ARROWS ===== */
.swiper-button-next,
.swiper-button-prev {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  color: #111;
  top: 50%;
  /* fix: explicit centering */
  transform: translateY(-50%);
  /* fix: perfect vertical center */

  /* fix: icon not centered inside button without these */
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  /* fix: prevents icon shifting vertically */
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .swiper-slide {
    width: 200px;
  }

  /* fix: arrows too close to edge on small screens */
  .swiper-button-next {
    right: 4px;
  }

  .swiper-button-prev {
    left: 4px;
  }
}