/* ── Satoshi Font Face Loading ── */
@font-face {
  font-family: "Satoshi";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/TTX2Z3BF3P6Y5BQT3IV2VNOK6FL22KUT/7QYRJOI3JIMYHGY6CH7SOIFRQLZOLNJ6/KFIAZD4RUMEZIYV6FQ3T3GP5PDBDB6JY.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/P2LQKHE6KA6ZP4AAGN72KDWMHH6ZH3TA/ZC32TK2P7FPS5GFTL46EU6KQJA24ZYDB/7AHDUZ4A7LFLVFUIFSARGIWCRQJHISQP.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/LAFFD4SDUCDVQEXFPDC7C53EQ4ZELWQI/PXCT3G6LO6ICM5I3NTYENYPWJAECAWDD/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Root CSS Variables ── */
:root {
  --bg: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  
  --primary: #e20001;
  --primary-rgb: 226, 0, 1;
  --secondary: #fbbf24;
  --secondary-rgb: 251, 191, 36;
  
  --card-dark-bg: #0b0a10;
  --card-dark-border: rgba(251, 191, 36, 0.25);
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                      transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                      filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                      opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                      box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Global Resets & Styles ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

/* Typography elements */
h1, h2, h3, h4, .font-heading {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ── Fluid Typography Scale ── */
.h1-fluid {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.1;
  font-weight: 900;
}
.h2-fluid {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.25;
  font-weight: 900;
}

.section-header p,
.glb-skills-header p,
.glb-reviews-title-wrap p,
.glb-home-blogs-header p,
.glb-why-us-header p,
.glb-team-header p {
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  color: #4b5563 !important;
  margin: 12px auto 0 !important;
  max-width: 650px !important;
  line-height: 1.6 !important;
}

.body-fluid {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

/* ── Global Badges & Buttons ── */
.badge-pill-red {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
}

.badge-pill-gold {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--secondary-rgb), 0.1);
  border: 1px solid rgba(var(--secondary-rgb), 0.3);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid var(--primary);
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(226, 0, 1, 0.15);
}

.btn-primary:hover {
  background: #a30000;
  color: #ffffff;
  border-color: #a30000;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

/* ── Section Containers Layout ── */
section {
  position: relative;
  z-index: 5;
  background: transparent;
}

.section-padding {
  padding: clamp(3rem, 8vw, 6rem) 5%;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ── Navigation Header (Stays with First Slide / Hero) ── */
header.glb-site-header {
  position: absolute !important;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 40px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s ease;
}

.glb-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 76px;
  padding: 0 24px;
  box-sizing: border-box;
}

.glb-logo-container {
  display: flex;
  align-items: center;
}

.glb-logo-link {
  display: flex;
  align-items: center;
  outline: none;
}

.glb-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: left center;
}

nav.glb-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.glb-nav-menu a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
}

nav.glb-nav-menu a:hover,
nav.glb-nav-menu a.glb-nav-active {
  color: var(--primary);
}

@media (min-width: 768px) {
  .glb-menu-toggle {
    display: none !important;
  }
}

/* Header Actions & Call Button */
.glb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glb-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e20001 !important;
  border: 1px solid #e20001 !important;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.glb-call-btn:hover {
  background: #a30000 !important;
  color: #ffffff !important;
  border-color: #a30000 !important;
  box-shadow: 0 4px 15px rgba(226, 0, 1, 0.25);
}
.glb-call-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.glb-call-icon {
  stroke-width: 2.5px;
}

/* Mobile Menu Toggle Hamburger */
.glb-menu-toggle {
  display: flex; /* visible on all screens */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10001;
  outline: none;
}
.glb-menu-bar {
  width: 22px;
  height: 2px;
  background-color: #111827;
  display: block;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Mobile Drawer Overlay styles */
.glb-mobile-drawer {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: 10000;
  visibility: hidden;
  transition: visibility 0.4s ease;
}
.glb-mobile-drawer.active {
  visibility: visible;
}
.glb-drawer-overlay {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glb-mobile-drawer.active .glb-drawer-overlay {
  opacity: 1;
}
.glb-drawer-content {
  position: absolute;
  top: 0; bottom: 0; right: -300px;
  width: 280px;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  box-sizing: border-box;
}
.glb-mobile-drawer.active .glb-drawer-content {
  right: 0;
}
.glb-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.glb-drawer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.glb-drawer-close {
  font-size: 32px;
  font-weight: 300;
  background: transparent;
  border: none;
  color: #111827;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
  outline: none;
}
.glb-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.glb-drawer-link {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: color 0.2s ease;
}
.glb-drawer-link:hover {
  color: var(--primary);
}
.glb-drawer-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.glb-drawer-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 13px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(226, 0, 1, 0.15);
  transition: background 0.25s ease;
}
.glb-drawer-call-btn:hover {
  background: #a30000;
}

/* ── Hero Section ── */
#hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-typewriter-wrap {
  min-height: 24px;
  line-height: 24px;
  will-change: opacity, transform;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.hero-title-text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.hero-title-text span {
  color: var(--primary);
}

/* ── About Section ── */
#about-me {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tag-item {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.about-tool-tag {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 24px;
}

@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.about-stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.about-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Projects Section (Recent Works) ── */
#projects {
  border-top: 1px solid rgba(0,0,0,0.04);
}

.projects-carousel-container {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  padding: 24px 10px;
  scrollbar-width: none;
}
.projects-carousel-container::-webkit-scrollbar {
  display: none;
}

/* Base Card Style (Expandable on Desktop hover) */
.project-card {
  flex: 1 1 210px;
  min-width: 180px;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--card-dark-bg);
  border: 1px solid var(--card-dark-border);
  position: relative;
  cursor: pointer;
  transition: var(--transition-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

/* Desktop Hover Expansion Effects */
@media (hover: hover) and (pointer: fine) {
  .projects-carousel-container:hover .project-card:not(:hover) {
    flex: 0.65 1 130px;
    opacity: 0.45;
    filter: brightness(0.5) grayscale(40%);
  }
  .project-card:hover {
    flex: 2.8 1 380px;
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.1);
    z-index: 10;
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 20px 45px rgba(251, 191, 36, 0.35);
  }
  .project-card:hover img {
    transform: scale(1.05);
  }
}

/* Mobile Stacking for Grid (No horizontal overflow/scroll bugs) */
@media (max-width: 767px) {
  .projects-carousel-container {
    flex-direction: column;
    padding: 16px 0;
    gap: 20px;
  }
  .project-card {
    width: 100%;
    height: 280px;
    flex: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
}

/* ── Process Section ── */
#process {
  border-top: 1px solid rgba(0,0,0,0.04);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.process-steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process-step-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.process-step-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.process-img-wrap {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.process-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Services Section ── */
#services {
  border-top: 1px solid rgba(0,0,0,0.04);
}

.services-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .services-grid-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.services-cards-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 480px) {
  .services-cards-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-card-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.01);
  transition: var(--transition-smooth);
}

.service-card-item:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.04);
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.service-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Capabilites Scroll Bar Track */
.services-marquee-strip {
  width: 100%;
  overflow: hidden;
  margin-top: 50px;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.01);
}

.services-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  align-items: center;
  animation: servicesMarqueeScroll 25s linear infinite;
}

@keyframes servicesMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.services-marquee-item {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #111111;
  background: #FFFDF0;
  border: 1px solid rgba(226, 160, 0, 0.2);
  border-radius: 30px;
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

/* ── FAQ Section ── */
#faq {
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.05); /* Separator line below FAQ */
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq-accordion-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-row {
  border: 1px solid rgba(226, 0, 1, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  transition: var(--transition-smooth);
}

.faq-row:hover {
  border-color: rgba(226, 0, 1, 0.25);
}

.faq-row.active {
  border-color: rgba(226, 0, 1, 0.35);
  box-shadow: 0 10px 24px rgba(226, 0, 1, 0.04);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  outline: none;
}

.faq-question-text {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 800;
  color: #e20001;
  transition: color 0.25s;
}

.faq-row:hover .faq-question-text {
  color: #b30000;
}

.faq-icon-indicator {
  font-size: 18px;
  color: #e20001;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-weight: 700;
}

.faq-row.active .faq-icon-indicator {
  transform: rotate(45deg);
  color: #b30000;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 24px 24px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer Section ── */
footer.glb-footer {
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 60px 5%;
  text-align: center;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-link-profile {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  transition: opacity 0.2s;
}

.footer-link-profile:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Custom Button Popups and Slide Hover Effects ── */
.btn-primary, .btn-secondary, .faq-question-btn, .glb-skills-tab {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
}
.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 20px rgba(226, 0, 1, 0.18) !important;
}
.btn-secondary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04) !important;
}

/* Slide Glint Effect for buttons */
.btn-primary::after, .btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover::after, .btn-secondary:hover::after {
  left: 100%;
}

/* ── Tailwind Helper Utility Mappings (For Dynamic Sections like Instagram Bento) ── */
#glm-instagram-feed-section {
  background: #ffffff !important;
  color: #111827 !important;
  border-top: 1px solid rgba(226, 0, 1, 0.1);
  padding: 80px 5% !important;
}
#glm-instagram-feed-section header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}
#glm-instagram-feed-section h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827 !important;
}
#glm-instagram-feed-section p {
  color: #4b5563 !important;
}
#glm-instagram-feed-section span, #glm-instagram-feed-section b {
  color: #4b5563 !important;
}
#glm-instagram-feed-section .flex { display: flex; }
#glm-instagram-feed-section .flex-col { flex-direction: column; }
#glm-instagram-feed-section .items-center { align-items: center; }
#glm-instagram-feed-section .justify-between { justify-content: space-between; }
#glm-instagram-feed-section .justify-center { justify-content: center; }
#glm-instagram-feed-section .justify-end { justify-content: flex-end; }
#glm-instagram-feed-section .absolute { position: absolute; }
#glm-instagram-feed-section .relative { position: relative; }
#glm-instagram-feed-section .w-full { width: 100%; }
#glm-instagram-feed-section .h-full { height: 100%; }
#glm-instagram-feed-section .w-32 { width: 120px; }
#glm-instagram-feed-section .h-32 { height: 120px; }
#glm-instagram-feed-section .w-20 { width: 80px; }
#glm-instagram-feed-section .h-20 { height: 80px; }
#glm-instagram-feed-section .w-10 { width: 40px; }
#glm-instagram-feed-section .h-10 { height: 40px; }
#glm-instagram-feed-section .w-8 { width: 32px; }
#glm-instagram-feed-section .h-8 { height: 32px; }
#glm-instagram-feed-section .w-6 { width: 24px; }
#glm-instagram-feed-section .h-6 { height: 24px; }
#glm-instagram-feed-section .w-5 { width: 20px; }
#glm-instagram-feed-section .h-5 { height: 20px; }
#glm-instagram-feed-section .w-4 { width: 16px; }
#glm-instagram-feed-section .h-4 { height: 16px; }
#glm-instagram-feed-section .gap-8 { gap: 2rem; }
#glm-instagram-feed-section .gap-6 { gap: 1.5rem; }
#glm-instagram-feed-section .gap-4 { gap: 1rem; }
#glm-instagram-feed-section .gap-3 { gap: 0.75rem; }
#glm-instagram-feed-section .gap-2 { gap: 0.5rem; }
#glm-instagram-feed-section .mb-16 { margin-bottom: 4rem; }
#glm-instagram-feed-section .mb-6 { margin-bottom: 1.5rem; }
#glm-instagram-feed-section .mb-4 { margin-bottom: 1rem; }
#glm-instagram-feed-section .mb-2 { margin-bottom: 0.5rem; }
#glm-instagram-feed-section .mt-20 { margin-top: 5rem; }
#glm-instagram-feed-section .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
#glm-instagram-feed-section .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
#glm-instagram-feed-section .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
#glm-instagram-feed-section .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
#glm-instagram-feed-section .px-8 { padding-left: 2rem; padding-right: 2rem; }
#glm-instagram-feed-section .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
#glm-instagram-feed-section .rounded-2xl { border-radius: 1rem; }
#glm-instagram-feed-section .rounded-full { border-radius: 9999px; }
#glm-instagram-feed-section .object-cover { object-fit: cover; }
#glm-instagram-feed-section .object-contain { object-fit: contain; }
#glm-instagram-feed-section .overflow-hidden { overflow: hidden; }
#glm-instagram-feed-section .pointer-events-none { pointer-events: none; }
#glm-instagram-feed-section .text-white { color: #ffffff; }
#glm-instagram-feed-section .text-zinc-500 { color: #71717a; }
#glm-instagram-feed-section .text-gray-400 { color: #9ca3af; }
#glm-instagram-feed-section .text-sm { font-size: 0.875rem; }
#glm-instagram-feed-section .text-xs { font-size: 0.75rem; }
#glm-instagram-feed-section .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
#glm-instagram-feed-section .font-bold { font-weight: 700; }
#glm-instagram-feed-section .font-medium { font-weight: 500; }
#glm-instagram-feed-section .max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
#glm-instagram-feed-section .hidden { display: none; }
#glm-instagram-feed-section .transition-opacity { transition: opacity 0.3s ease; }
#glm-instagram-feed-section .transition-colors { transition: color 0.3s ease; }
#glm-instagram-feed-section .transition-transform { transition: transform 0.3s ease; }
#glm-instagram-feed-section .shrink-0 { flex-shrink: 0; }
#glm-instagram-feed-section .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
#glm-instagram-feed-section .bg-black { background-color: #000000; }
#glm-instagram-feed-section .bg-zinc-900 { background-color: #18181b; }
#glm-instagram-feed-section .bg-white { background-color: #ffffff; }
#glm-instagram-feed-section .text-black { color: #000000; }

#glm-instagram-feed-section img {
  max-width: 100%;
}
#glm-instagram-feed-section .story-ring {
  background: var(--primary) !important;
  border-radius: 20px;
}
#glm-instagram-feed-section .story-inner {
  border-radius: 17px;
  background: #ffffff;
}

#glm-instagram-feed-section .bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 935px;
  margin: 0 auto;
}
#glm-instagram-feed-section .bento-grid > div {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
@media (max-width: 767px) {
  #glm-instagram-feed-section header {
    flex-direction: column !important;
    text-align: center;
    gap: 1.5rem !important;
  }
  #glm-instagram-feed-section .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  #glm-instagram-feed-section .bento-item-large { grid-column: span 1; grid-row: span 1; }
  #glm-instagram-feed-section .bento-item-tall { grid-row: span 1; }
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL BASE STATES (GSAP will animate these in)
   ═══════════════════════════════════════════════════════════════ */
.reveal-up { opacity: 0; transform: translateY(50px); }
.reveal-left { opacity: 0; transform: translateX(-55px); }
.reveal-right { opacity: 0; transform: translateX(55px); }
.reveal-scale { opacity: 0; transform: scale(0.88); }
.text-reveal-clip { overflow: hidden; display: inline-block; }

/* Stat Cards — lifted rounded style */
.about-stat-card {
  padding: 20px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.about-stat-card:hover {
  border-color: rgba(226,0,1,0.2);
  box-shadow: 0 8px 20px rgba(226,0,1,0.05);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE-FIRST COMPREHENSIVE OVERHAUL (≤767px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Global Section Spacing & Containment */
  .section-padding {
    padding: 56px 5% !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box;
  }
  .section-header { margin-bottom: 36px !important; text-align: center; }


  html body .glb-floating-btn-book,
  html body #glbBookACallFloating,
  html body #glbTriggerBook {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 96px !important;
    right: 16px !important;
    left: auto !important;
    width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(226, 0, 1, 0.3) !important;
    z-index: 9999 !important;
  }
  html body .glb-floating-btn,
  html body #glbTrigger,
  html body #glbAboutUsFloating,
  html body #glbTriggerAbout {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 16px !important;
    left: auto !important;
    width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
  }

  /* Header Mobile Bar */
  header.glb-site-header {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    padding: 0 !important;
    border-radius: 24px !important;
  }
  .glb-header-container {
    height: 66px !important;
    padding: 0 16px !important;
  }
  .glb-logo-img {
    height: 46px !important;
    width: auto !important;
    transform: scale(1.2) !important;
    transform-origin: left center !important;
  }
  .glb-call-btn {
    padding: 10px 16px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }
  .glb-call-number {
    display: none !important;
  }
  .glb-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  .glb-menu-bar {
    width: 22px !important;
    height: 2px !important;
    background-color: #111827 !important;
    display: block !important;
    border-radius: 1px !important;
  }
  nav.glb-nav-menu {
    display: none !important;
  }

  /* Mobile Drawer — Sleek Phone Sheet Card */
  .glb-drawer-content {
    width: 88vw !important;
    max-width: 360px !important;
    border-top-left-radius: 28px !important;
    border-bottom-left-radius: 28px !important;
    padding: 28px 24px !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25) !important;
  }
  .glb-drawer-link {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    padding: 12px 0 !important;
  }

  /* Hero Mobile Layout — Zoomed & Punchy */
  #hero {
    padding-top: 104px !important;
    padding-bottom: 48px !important;
    min-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box;
    text-align: center;
  }
  .hero-inner { gap: 20px; max-width: 100%; }
  .hero-title-text { font-size: clamp(2.2rem, 9.2vw, 3rem) !important; letter-spacing: -0.6px; line-height: 1.12; font-weight: 900 !important; }
  .hero-title-text br { display: none; }
  .hero-cta-row { flex-direction: column !important; align-items: center !important; gap: 14px; width: 100%; }
  
  /* Primary & Secondary Buttons — Prominent 52px Height, Bold Text */
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
    padding: 15px 24px !important;
    min-height: 52px !important;
    font-size: clamp(0.98rem, 4.2vw, 1.1rem) !important;
    font-weight: 800;
    border-radius: 35px !important;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 20px rgba(226, 0, 1, 0.22);
    touch-action: manipulation;
  }
  .btn-primary:active, .btn-secondary:active {
    transform: scale(0.96) !important;
    opacity: 0.92;
  }
  .btn-secondary {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }
  .hero-metrics-row { flex-wrap: wrap; justify-content: center; gap: 12px !important; margin-top: 8px; }
  .hero-metric-item { flex-direction: column; align-items: center; text-align: center; min-width: 80px; }

  /* About Section Cards */
  .about-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .about-content-col { gap: 18px; }
  .about-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .about-stat-card {
    padding: 18px 14px;
    border-radius: 18px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(226, 0, 1, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  }
  .about-stat-num { font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 900; }
  .about-visual-col { width: 100%; border-radius: 20px; overflow: hidden; }
  .about-tags-row { justify-content: center; }

  /* Design Services Section — Strict Mobile Left-Aligned & Contained UI */
  #services {
    width: 100% !important;
    max-width: 100% !important;
    padding: 48px 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  #services .section-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  #services .services-grid-wrap {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  #services .about-content-col {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }
  #services h2,
  #services p,
  #services .badge-pill-red {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
  }
  #services .process-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  #services .process-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  #services .services-cards-col {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  #services .service-card-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 14px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 0, 1, 0.12) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    text-align: left !important;
  }
  #services .service-card-title {
    font-size: clamp(1.05rem, 4.2vw, 1.2rem) !important;
    font-weight: 800 !important;
    text-align: left !important;
    display: block !important;
  }
  #services .service-card-desc {
    font-size: clamp(0.85rem, 3.6vw, 0.94rem) !important;
    color: #374151 !important;
    text-align: left !important;
    margin-top: 4px !important;
  }
  #services .about-content-col > div[style*="display: flex"] {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 8px !important;
    align-items: flex-start !important;
  }
  #services .btn-primary,
  #services .btn-secondary {
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 !important;
    text-align: center !important;
    min-height: 48px !important;
    padding: 12px 20px !important;
  }

  /* Sliding Capability Badges — Encapsulated Stylish Boxes */
  .services-marquee-strip { margin-top: 32px !important; padding: 14px 0 !important; }
  .services-marquee-item {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #e20001 !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 0, 1, 0.25) !important;
    border-radius: 24px !important;
    padding: 10px 18px !important;
    box-shadow: 0 4px 14px rgba(226, 0, 1, 0.08) !important;
  }

  /* Why Choose Us & Meet Team Sections — Phone Light Theme Formatting */
  .glb-additional-details { color: #111827 !important; }
  .glb-why-us-section, .glb-team-section { padding: 56px 5% !important; }
  .glb-why-us-header h2, .glb-team-header h2 { font-size: clamp(1.75rem, 7.5vw, 2.3rem) !important; color: #111827 !important; -webkit-text-fill-color: #111827 !important; }
  .glb-why-us-header p, .glb-team-header p { color: #4b5563 !important; font-size: clamp(0.92rem, 3.8vw, 1rem) !important; }
  
  .glb-comparison-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .glb-comparison-card.others {
    background: #f9fafb !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
  }
  .glb-comparison-card.others .glb-comp-title { color: #111827 !important; font-weight: 800 !important; }
  .glb-comparison-card.others .glb-comp-item { color: #4b5563 !important; }
  
  .glb-comparison-card.glm {
    background: #FFFDF0 !important;
    border: 1px solid rgba(226, 0, 1, 0.3) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 6px 20px rgba(226, 0, 1, 0.06) !important;
  }
  .glb-comparison-card.glm .glb-comp-title {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #e20001 !important;
    font-weight: 900 !important;
  }
  .glb-comparison-card.glm .glb-comp-item { color: #111827 !important; }

  .glb-team-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .glb-team-card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 0, 1, 0.12) !important;
    border-radius: 20px !important;
    padding: 22px 18px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
  }
  .glb-team-name { color: #111827 !important; font-weight: 800 !important; }
  .glb-team-role { color: #e20001 !important; font-weight: 700 !important; }
  .glb-team-bio { color: #4b5563 !important; }

  /* Process Steps Card Bounded Styling */
  .process-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .process-steps-wrap { gap: 16px; }
  .process-step-row {
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  }
  .process-step-num { width: 42px; height: 42px; font-size: 15px; font-weight: 800; flex-shrink: 0; }
  .process-step-title { font-size: clamp(1.05rem, 4.2vw, 1.2rem); font-weight: 800; }
  .process-img-wrap { border-radius: 18px; }

  /* FAQ Accordion Smooth Interaction */
  .faq-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .faq-image-col { display: none; }
  .faq-accordion-col { gap: 12px; }
  .faq-row {
    border-radius: 16px;
    border: 1px solid rgba(226, 0, 1, 0.18);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .faq-row:active {
    background: rgba(226, 0, 1, 0.04);
    transform: scale(0.99);
  }
  .faq-question-btn {
    padding: 18px 20px;
    min-height: 52px;
    touch-action: manipulation;
  }
  .faq-question-text { font-size: clamp(1.05rem, 4.2vw, 1.2rem) !important; font-weight: 800; color: #e20001; }
  .faq-answer-panel { transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
  .faq-answer-content { padding: 0 20px 20px; font-size: clamp(0.9rem, 3.8vw, 0.98rem); color: #374151; }

  /* Instagram Bento Grid on mobile */
  #glm-instagram-feed-section { padding: 48px 4% !important; }
  #glm-instagram-feed-section header {
    flex-direction: column !important; text-align: center !important;
    gap: 10px !important; margin-bottom: 20px !important;
  }
  #glm-instagram-feed-section h1 { font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important; text-align: center; font-weight: 900; }
  #glm-instagram-feed-section .bento-grid {
    grid-template-columns: repeat(3, 1fr) !important; gap: 4px !important;
  }

  /* Skills & Capabilities Mobile Grid */
  #glb-skills-section { padding: 48px 5% !important; }
  .glb-skills-tabs-nav { flex-wrap: wrap !important; gap: 8px !important; justify-content: center; }
  .glb-skills-tab { font-size: clamp(0.8rem, 3.2vw, 0.9rem) !important; padding: 10px 16px !important; min-height: 42px; font-weight: 700; border-radius: 20px; }
  .glb-skills-grid { grid-template-columns: 1fr !important; gap: 16px !important; display: grid !important; }
  .glb-skill-card {
    padding: 22px 20px !important;
    border-radius: 20px !important;
    background: #FFFDF0 !important;
    border: 1px solid rgba(226, 160, 0, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Location / Map */
  .glb-location-section { padding: 48px 5% !important; }
  .glb-location-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .glb-map-container-box { min-height: 280px !important; border-radius: 16px !important; }
  .glb-map-iframe-element { min-height: 280px !important; }
  .glb-contact-card { flex-direction: column !important; align-items: flex-start !important; gap: 10px; padding: 16px 16px; }
  .glb-contact-card-action { width: 100%; justify-content: center; text-align: center; }

  /* Reviews */
  #glb-reviews-section { padding: 48px 5% !important; }
  .glb-reviews-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Blog */
  .glb-home-blogs-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* Footer Mobile Layout */
  .glb-footer-container { grid-template-columns: 1fr !important; gap: 28px; text-align: center; }
  .glb-footer-socials { justify-content: center; }
  .glb-footer-links { align-items: center; }
  .glb-footer-contact-item { justify-content: center; text-align: center; }
  .glb-footer-heading { text-align: center; }
  footer.glb-footer, .glb-footer { padding: 44px 5% 32px !important; }

  /* Fluid Typography Clamps — Bold & Readable */
  .h2-fluid { font-size: clamp(1.65rem, 7vw, 2.2rem) !important; font-weight: 900 !important; }
  .h1-fluid { font-size: clamp(2.1rem, 9vw, 2.8rem) !important; font-weight: 900 !important; }
  .body-fluid { font-size: clamp(0.92rem, 3.8vw, 1.02rem) !important; color: #374151; }
  p { font-size: clamp(0.92rem, 3.8vw, 1rem); line-height: 1.6; color: #374151; }
}

/* ═══════════════════════════════════════════════════════════════
   TABLET (768px–1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-grid, .faq-grid, .process-grid, .services-grid-wrap {
    grid-template-columns: 1fr !important; gap: 36px !important;
  }

  .glb-skills-grid { grid-template-columns: repeat(3,1fr) !important; }
  .glb-location-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}


/* ═══════════════════════════════════════════════════════════════
   RAFAEL-INSPIRED PREMIUM ANIMATION LAYER
   ═══════════════════════════════════════════════════════════════ */

/* ── Word-by-word text reveal (heading overflow clip) ── */
.glm-word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}
.glm-word-inner {
  display: inline-block;
}

/* ── Stat counter cards — premium number display ── */
.about-stat-card {
  position: relative;
  overflow: hidden;
}
.about-stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-stat-card.counted::before {
  width: 100%;
}
.about-stat-num {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}

/* ── FAQ rows: always visible, never opacity 0 ── */
.faq-row {
  opacity: 1 !important;
  transform: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-row.animating {
  /* Only during GSAP animation allow transform */
  opacity: 0.4;
}

/* ── Skill cards — Stacking layout on desktop & hover effects ── */
.glb-skill-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
}
.glb-skill-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
}

@media (min-width: 901px) {
  .glb-skills-section.stack-active .glb-skills-inner {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
  }
  .glb-skills-section.stack-active .glb-skills-grid {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
  }
  .glb-skills-section.stack-active .glb-skill-card {
    background: #FFFDF0;
    border: 1px solid rgba(226, 160, 0, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  }
}

/* ── Section heading — underline sweep on scroll-in ── */
.glm-heading-sweep {
  position: relative;
  display: inline-block;
}
.glm-heading-sweep::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.glm-heading-sweep.in-view::after {
  width: 100%;
}

/* ── Scroll progress indicator line (top of page) ── */
#glm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  background: var(--primary);
  z-index: 99999;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 8px rgba(226,0,1,0.5);
  pointer-events: none;
}

/* ── Hero section animated gradient badge ── */
.badge-pill-red {
  position: relative;
  overflow: hidden;
}
.badge-pill-red::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: badgeSheen 3s ease infinite 1.5s;
}
@keyframes badgeSheen {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}

/* ── Horizontal text marquee on hero (like Rafael KUROSAWA) ── */
.glm-marquee-text-row {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.01);
}
.glm-marquee-text-track {
  display: inline-flex;
  gap: 16px;
  animation: glmTextMarquee 25s linear infinite;
  align-items: center;
}
.glm-marquee-text-track .marquee-capsule {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #111111;
  background: #FFFDF0;
  border: 1px solid rgba(226, 160, 0, 0.2);
  border-radius: 30px;
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
  white-space: nowrap;
}
@keyframes glmTextMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Reduced motion override for animation layer ── */
@media (prefers-reduced-motion: reduce) {
  .glm-word-inner { transform: none !important; opacity: 1 !important; }
  .glm-marquee-text-track { animation: none; }
  .badge-pill-red::after { animation: none; }
  #glm-scroll-progress { display: none; }
}

/* Hide Elfsight Logo/Branding Link Watermark */
a[href*="elfsight.com"], 
[class*="BrandingContainer"],
[class*="LogoContainer"],
[class*="Logo__Container"],
[class*="BadgeContainer"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
}

/* Custom Instagram Reels Carousel Styles */
#reel-carousel {
  user-select: none;
  touch-action: pan-y;
}
.reel-card:hover {
  box-shadow: 0 30px 65px rgba(226, 0, 1, 0.28) !important;
}

/* ── Hardware Acceleration (GPU) Performance Optimizations ── */
#about-me, #services, #faq, #projects, #glm-instagram-feed-section {
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  perspective: 1000px;
}

#about-me .badge-pill-red, #about-me h2, #about-me p, #about-me .about-tag-item, #about-me .about-tool-tag, #about-me .about-stat-card, #about-logo-3d-card,
#services .badge-pill-red, #services h2, #services p, #services .service-card-item, #services .process-img-wrap,
#faq .badge-pill-red, #faq h2, #faq p, #faq .faq-row,
#projects h2, .glm-marquee-wrap,
.glm-insta-integrated-header, #reel-carousel, .glm-insta-story-ring {
  will-change: transform, opacity;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}




/* Force solid red badges to have white text on desktop and mobile */
.glb-why-us-badge,
.glb-team-badge,
.badge-pill-red,
.glb-home-blogs-badge,
.glb-location-badge {
  background: #e20001 !important;
  background-color: #e20001 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.glb-why-us-badge *,
.glb-team-badge *,
.badge-pill-red * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Force headings to black */
.glb-why-us-header h2,
.glb-team-header h2,
.glb-skills-section h2 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

/* Force all footer social icon SVGs (Insta, LinkedIn, YouTube, WhatsApp) to white */
html body .glb-footer-socials a svg,
html body .glb-footer-socials a svg *,
html body .glb-footer-socials a path,
html body .glb-footer-socials a circle,
html body .glb-footer-socials a rect,
html body .glb-footer-socials a line,
html body .glb-footer-socials a polygon {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: #ffffff !important;
  --21h8s6: #ffffff !important;
}

/* Hide any floating overlay badge on the map */
.glb-map-floating-badge {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}




/* ── Primary Red Buttons System (Clean Syntax) ── */
html body .btn-primary,
html body a[href*="project"]:not(.glb-nav-link):not(.glb-drawer-link),
html body .glb-map-direct-btn,
html body .glb-home-blogs-btn {
  background: #e20001 !important;
  background-color: #e20001 !important;
  border: 1px solid #e20001 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(226, 0, 1, 0.25) !important;
}

html body .btn-primary *,
html body a[href*="project"] *,
html body .glb-map-direct-btn *,
html body .glb-home-blogs-btn * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body .btn-primary:hover,
html body a[href*="project"]:hover,
html body .glb-map-direct-btn:hover,
html body .glb-home-blogs-btn:hover {
  background: #a30000 !important;
  background-color: #a30000 !important;
  border-color: #a30000 !important;
  color: #ffffff !important;
}

/* ── Clean Footer Social Icons ── */
html body .glb-footer-socials a {
  background: #e20001 !important;
  background-color: #e20001 !important;
  border: 1px solid #e20001 !important;
  color: #ffffff !important;
}
html body .glb-footer-socials a svg {
  color: #ffffff !important;
}
html body .glb-footer-socials a svg path,
html body .glb-footer-socials a svg rect,
html body .glb-footer-socials a svg circle,
html body .glb-footer-socials a svg line {
  stroke: #ffffff !important;
  fill: none !important;
}
html body .glb-footer-socials a svg polygon {
  fill: #ffffff !important;
  stroke: none !important;
}

/* ── Clean Read Article Link (No Red Box, Red Text Only) ── */
html body .glb-home-blog-read,
.glb-home-blog-read {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  color: #e20001 !important;
  -webkit-text-fill-color: #e20001 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
html body .glb-home-blog-read *,
.glb-home-blog-read * {
  color: #e20001 !important;
  -webkit-text-fill-color: #e20001 !important;
}
html body .glb-home-blog-card:hover .glb-home-blog-read,
.glb-home-blog-card:hover .glb-home-blog-read {
  color: #a30000 !important;
  -webkit-text-fill-color: #a30000 !important;
}


/* Exact requested fixes for comparison items & contact buttons */
.glb-comparison-card.glm .glb-comp-item,
.glb-comparison-card.others .glb-comp-item {
  color: #4b5563 !important;
}

@media (min-width: 769px) {
  .glb-contact-card-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 126px !important;
    min-width: 126px !important;
    height: 38px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }
}

.glb-contact-card-action svg,
.glb-contact-card-action svg * {
  stroke: #ffffff !important;
  color: #ffffff !important;
}




/* WhatsApp crisp icon & rich green background for floating/CTA WhatsApp buttons */
html body .glb-footer-socials a svg.glb-footer-wa-svg,
html body .glb-footer-socials a svg.glb-footer-wa-svg path {
  fill: #ffffff !important;
  stroke: none !important;
}

html body .glb-floating-btn,
html body #glbTrigger,
html body a[href*="wa.me"]:not(.glb-footer-socials a) {
  background: #1da851 !important;
  background-color: #1da851 !important;
  border-color: #1da851 !important;
  color: #ffffff !important;
}
html body .glb-floating-btn:hover,
html body #glbTrigger:hover,
html body a[href*="wa.me"]:not(.glb-footer-socials a):hover {
  background: #178c43 !important;
  background-color: #178c43 !important;
  border-color: #178c43 !important;
}

/* Contact item font & color uniformity (non-bold, same #4b5563 as address) */
html body .glb-footer-contact-item,
html body .glb-footer-contact-item a,
html body .glb-footer-contact-link {
  color: #4b5563 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}
html body .glb-footer-contact-item a:hover {
  color: #e20001 !important;
}


/* ── Hardware-Accelerated 60FPS Scroll Optimization ── */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Eliminate repaint stutter on animated cards and sections */
.glb-skill-card,
.glb-home-blog-card,
.glb-review-card-premium,
.glb-comparison-card,
.glb-contact-card,
.glb-map-container-box {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Disable expensive background filters during scroll */
.glb-scrolling * {
  pointer-events: none !important;
}

.glb-home-blogs-header h2,
.glb-home-blogs-header h2 .glm-word-inner {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  opacity: 1 !important;
}

/* ── Universal Section Heading Typography Standard (Exact Same Font & Boldness) ── */
.glb-section-heading,
.h2-fluid,
#about-me h2,
#services h2,
#faq h2,
.glb-skills-header h2,
.glb-why-us-header h2,
.glb-team-header h2,
.glb-reviews-title-wrap h2,
.glb-home-blogs-header h2,
.glb-location-header h2,
#projects h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 900 !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

@media (max-width: 768px) {
  .glb-section-heading,
  .h2-fluid,
  #about-me h2,
  #services h2,
  #faq h2,
  .glb-skills-header h2,
  .glb-why-us-header h2,
  .glb-team-header h2,
  .glb-reviews-title-wrap h2,
  .glb-home-blogs-header h2,
  .glb-location-header h2,
  #projects h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.3rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }
}
