@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #292766; /* Deep Indigo / Navy */
  --secondary: #eb7923; /* Zyphoramed Logo Orange */
  --text-dark: #121521;
  --text-light: #5f657a;
  --bg-dark: #1e2235;
  --bg-light: #f7f9fb;
  --bg-white: #ffffff;
  --border-color: #e5e5e5;
  --transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
  --shadow: 0 5px 25px rgba(0,0,0,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
  color: var(--text-light);
  line-height: 1.8;
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow', sans-serif;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.py-100 { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark-section { background: var(--bg-dark); color: #fff; }
.bg-dark-section h2 { color: #fff; }

/* Section Titles Fablio Style */
.section-head {
  margin-bottom: 50px;
  position: relative;
}
.section-head.text-center .sub-title { justify-content: center; }

.sub-title {
  color: var(--secondary);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sub-title::before, .sub-title.center::after {
  content: "";
  height: 2px;
  width: 30px;
  background: var(--secondary);
  display: inline-block;
}

.section-title {
  font-size: 42px;
  margin-bottom: 15px;
  line-height: 1.2;
}
.section-desc {
  max-width: 700px;
  font-size: 16px;
}

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

/* Fablio Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0; /* Boxy */
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 2px solid transparent;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background: var(--secondary);
  color: var(--text-dark);
}
.btn-primary:hover { color: #fff; }

.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn-outline::after { background: #fff; }
.btn-outline:hover, .btn-outline:hover i { color: var(--primary) !important; }

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary::after { background: var(--primary); }
.btn-outline-primary:hover { color: #fff !important; }

.btn-sm {
  padding: 12px 28px;
  font-size: 13px;
}


/* Top Bar */
.topbar {
  background: var(--bg-dark);
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  gap: 25px;
}
.topbar-info i {
  color: var(--secondary);
  margin-right: 8px;
}
.topbar-social a {
  color: #fff;
  margin-left: 15px;
  transition: var(--transition);
}
.topbar-social a:hover { color: var(--secondary); }

/* Transparent Sticky Navbar */
.site-header {
  position: absolute;
  top: 41px; /* Below topbar */
  left: 0; width: 100%;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.site-header.fixed-header {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.95); /* More solid for readability */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: slideDown 0.4s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header.fixed-header .nav-link { color: var(--primary); }
.site-header.fixed-header .nav-link.active { color: var(--secondary); } /* Priority active state */
.site-header.fixed-header .logo { color: var(--primary); }

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px; /* Slimmer on scroll */
  transition: var(--transition);
}

.site-header.fixed-header .navbar .container { height: 75px; }

.logo {
  font-family: 'Barlow', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { height: 55px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding: 30px 0;
}
.nav-link:hover, .nav-link.active { color: var(--secondary); }

.hamburger, .nav-close { display: none; }

/* Hero Slider Fablio */
.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(30, 34, 53, 0.7), rgba(30, 34, 53, 0.7)), url('../images/herobanner.jpg') center/cover;
}
.hero-content {
  max-width: 850px;
  animation: fadeUp 1s ease;
}
.hero h1 {
  font-size: 70px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -2px;
}
.hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
}

/* About Fablio Style */
.about-section { display: flex; gap: 50px; align-items: stretch; }
.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.about-badge {
  position: absolute;
  bottom: -30px; right: -30px;
  background: var(--secondary);
  padding: 40px;
  text-align: center;
  font-family: 'Barlow', sans-serif;
  color: var(--primary);
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-badge h2 { font-size: 60px; margin: 0; color: inherit; line-height: 1; }
.about-badge span { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }

.about-content { flex: 1; }
.list-fablio li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.list-fablio li i {
  position: absolute;
  left: 0; top: 4px;
  color: var(--secondary);
  font-size: 20px;
}

/* New About Section Extensions */
.mission-highlight {
  background: var(--bg-light);
  border-left: 5px solid var(--secondary);
  padding: 30px;
  margin: 30px 0;
  position: relative;
  border-radius: 4px;
}
.mission-highlight i {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 40px;
  color: rgba(41, 39, 102, 0.05); /* Very subtle primary */
}
.mission-highlight p {
  color: var(--primary);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  font-style: italic;
  margin: 0;
  text-align: justify;
}

.about-content .section-desc {
  text-align: justify;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 20px;
  transition: var(--transition);
  border-radius: 6px;
}
.feat-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.feat-icon {
  color: var(--secondary);
  font-size: 24px;
  margin-bottom: 10px;
}
.feat-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--primary);
}
.feat-card p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .about-features-grid { grid-template-columns: 1fr; }
}

/* Services/Products Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  border-radius: 6px;
}
.service-img { position: relative; overflow: hidden; height: 260px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-img::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}
.service-card:hover .service-img::after { opacity: 0.4; }

.service-content {
  padding: 35px;
  position: relative;
  background: #fff;
  transition: var(--transition);
  z-index: 1;
}
.service-card:hover {
  background: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-color: var(--primary);
}
.service-card:hover .service-content {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
}
.service-content h3 {
  font-size: 24px; margin-bottom: 15px; transition: var(--transition);
}
.service-card:hover .service-content h3 { color: #fff; }

.read-more {
  display: inline-flex;
  align-items: center;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 15px;
  transition: var(--transition);
}
.read-more i { margin-left: 8px; transition: var(--transition); }
.service-card:hover .read-more { color: #fff; }
.service-card:hover .read-more i { transform: translateX(5px); }

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.why-card {
  padding: 40px 30px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 25px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--secondary);
  color: var(--primary);
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary);
}
.why-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Clients Section */
.clients-section {
  background: var(--bg-light);
  padding: 90px 0;
}
.clients-section .section-head {
  margin-bottom: 35px;
}
.clients-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 22px 0;
}
.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), rgba(247, 249, 251, 0));
}
.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), rgba(247, 249, 251, 0));
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 26px 34px;
  width: max-content;
  animation: clients-marquee var(--clients-duration, 35s) linear infinite;
  will-change: transform;
}
.clients-slider:hover .clients-track {
  animation-play-state: paused;
}
.clients-track svg {
  position: relative;
  z-index: 2;
  width: 120px;
  max-height: 50px;
  height: auto;
  display: block;
  color: rgba(41, 39, 102, 0.55);
  transition: var(--transition);
  flex: 0 0 auto;
}
.clients-track svg:hover {
  color: var(--primary);
  transform: translateY(-3px);
}
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(var(--clients-shift, -50%)); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}
@media (max-width: 768px) {
  .clients-section { padding: 70px 0; }
  .clients-slider { padding: 18px 0; }
  .clients-track { gap: 18px 22px; }
  .clients-track svg { width: 100px; max-height: 44px; }
}

/* Testimonials Section */
.testimonial-section {
  padding: 90px 0;
  background: var(--bg-light);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.testimonial-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  z-index: 1;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.testimonial-quote-icon {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 140px;
  color: var(--primary);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}
.testimonial-stars {
  color: #ffb400; /* Gold */
  font-size: 16px;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 30px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.testimonial-info h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 2px;
}
.testimonial-info span {
  font-size: 14px;
  color: var(--text-light);
}

@media (max-width: 991px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-section { padding: 70px 0; }
  .testimonial-card { padding: 30px 25px; }
}

/* Product Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0 auto 40px;
  overflow-x: auto;
  padding: 10px 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 768px) {
  .filter-bar {
    justify-content: flex-start;
    padding-left: 20px; /* Bleed for better touch */
    padding-right: 20px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
}
.filter-btn {
  padding: 12px 25px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(41, 39, 102, 0.2);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: var(--secondary);
}

.product-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}
.product-card:hover .product-img img {
  transform: scale(1.1);
}



.product-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}
.product-content p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  margin-bottom: 25px;
}
.product-features li {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-features li i {
  color: var(--secondary);
  font-size: 16px;
}

.product-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.btn-enquire {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  transition: var(--transition);
}
.btn-enquire i {
  transition: transform 0.3s ease;
}
.btn-enquire:hover {
  color: var(--secondary);
}
.btn-enquire:hover i {
  transform: translateX(8px);
}

/* Counters Parallax */
.counter-section {
  background: linear-gradient(rgba(41, 39, 102, 0.9), rgba(41, 39, 102, 0.9)), url('../images/herobanner.jpg') center/cover fixed;
  padding: 100px 0;
  color: #fff;
  text-align: center;
}
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.counter-box h2 { font-size: 50px; color: var(--secondary); margin-bottom: 5px; }
.counter-box h4 { font-family: 'Open Sans', sans-serif; font-size: 18px; font-weight: 600; color: #fff; }

/* Pre-Footer CTA */
.cta-pre-footer {
  background: linear-gradient(120deg, var(--primary) 0%, #34308a 50%, #2a276f 100%);
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}
.cta-pre-footer::before,
.cta-pre-footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-pre-footer::before {
  width: 320px;
  height: 320px;
  top: -140px;
  left: -90px;
  background: rgba(255, 255, 255, 0.06);
}
.cta-pre-footer::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -130px;
  background: rgba(235, 121, 35, 0.2);
}
.cta-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 34px 38px;
}
.cta-wrap h2 {
  margin: 0;
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cta-pre-footer .btn-outline {
  border-color: var(--secondary) !important;
  color: #fff !important;
  background: rgba(235, 121, 35, 0.9);
  min-width: 190px;
}
.cta-pre-footer .btn-outline::after {
  background: #fff;
}
.cta-pre-footer .btn-outline:hover {
  color: var(--primary) !important;
}

/* Fablio Footer */
.footer {
  position: relative;
  background: linear-gradient(140deg, #0f1322 0%, #10172b 60%, #0b1020 100%);
  color: #b8bfd3;
  padding-top: 85px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(235, 121, 35, 0.14) 0, transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(41, 39, 102, 0.35) 0, transparent 40%);
  pointer-events: none;
}
.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding-bottom: 55px;
}
.footer-widget {
  padding: 8px 6px;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 20px;
}
.footer-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.widget-title {
  color: #fff;
  font-size: 19px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0.2px;
}
.widget-title::after {
  content: '';
  position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--secondary);
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: #c6cce0;
  position: relative;
}
.footer-links li a:hover { color: var(--secondary); padding-left: 7px; }
.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  color: #d0d6e7;
}
.footer-contact i {
  color: var(--secondary);
  font-size: 17px;
  margin-top: 5px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 20, 0.55);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #a8b0c7;
}

/* Philosophy Quote Block */
.philosophy-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}
.philosophy-block h2 {
  font-size: 40px;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
}
.philosophy-block p {
  font-size: 18px;
  color: var(--text-light);
}

/* About page "WELL DESIGNED" section */
.philosophy-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}
.philosophy-section .section-head {
  margin-bottom: 28px;
}
.philosophy-section .section-title {
  max-width: 900px;
  margin: 0 auto;
}
.philosophy-section .philosophy-block {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 40px;
  background: #fff;
  border: 1px solid rgba(41, 39, 102, 0.1);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(22, 28, 45, 0.08);
  position: relative;
}
.philosophy-section .philosophy-block::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(235, 121, 35, 0.25);
}
.philosophy-section .philosophy-block p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #4f586e;
  text-align: justify;
}
.philosophy-section .philosophy-block p + p {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .philosophy-section .philosophy-block {
    padding: 30px 22px;
  }
  .philosophy-section .philosophy-block::before {
    font-size: 56px;
    top: 8px;
    left: 14px;
  }
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-member {
  background: var(--bg-light);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.team-member:hover { box-shadow: var(--shadow); }
.team-img { position: relative; overflow: hidden; height: 350px;}
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; background: #ddd; }
.team-member:hover .team-img img { transform: scale(1.05); }
.team-social {
  position: absolute; bottom: -50px; left: 0; width: 100%;
  background: rgba(235,121,35,0.9); /* Zyphoramed Orange */
  padding: 15px 0;
  display: flex; justify-content: center; gap: 15px;
  transition: var(--transition);
}
.team-member:hover .team-social { bottom: 0; }
.team-social a { color: #fff; }
.team-info { padding: 25px 20px; background: #fff; }
.team-info h3 { margin-bottom: 5px; font-size: 22px; color: var(--text-dark); transition: var(--transition);}
.team-member:hover .team-info h3 { color: var(--secondary); }
.team-info span { color: var(--text-light); font-weight: 600; font-size: 14px; text-transform: uppercase;}

/* Capabilities Split Layout */
.capabilities-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.capabilities-list { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.cap-item { 
  background: #fff; 
  border: 1px solid var(--border-color); 
  padding: 0; /* Changed to allow header padding */
  display: flex; 
  flex-direction: column; /* Stack header and mobile content */
  transition: var(--transition); 
  cursor: pointer;
  overflow: hidden;
}
.cap-header {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.cap-item:hover, .cap-item.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }

/* Mobile Accordion Content */
.cap-mobile-content {
  display: none; /* Hidden by default */
  padding: 20px 30px;
  background: #fff;
  color: var(--text-light);
}
.cap-mobile-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.cap-mobile-content p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .capabilities-split { grid-template-columns: 1fr; }
  .capabilities-split .service-card { display: none !important; } /* Hide global showcase */
  .cap-item.active .cap-mobile-content { display: block; } /* Show content under selected item */
  .cap-item.active .cap-header i { transform: rotate(90deg); }
}

@media (min-width: 992px) {
  .cap-mobile-content { display: none !important; } /* Ensure it never shows on desktop */
}

.capabilities-split .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.capabilities-split .service-img {
  flex: 1 1 auto;
}

/* Animations */
/* Scroll reveal animation (used by sections with .reveal) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Inner Page Header */
.page-header {
  background: linear-gradient(rgba(30, 34, 53, 0.8), rgba(30, 34, 53, 0.8)), url('../images/herobanner.jpg') center/cover;
  padding: 220px 0 120px 0;
  text-align: center;
  color: #fff;
}
.page-header h1 { font-size: 50px; color: #fff; margin-bottom: 10px; }

.about-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb { font-weight: 600; color: var(--secondary); }
.breadcrumb a { color: #fff; margin-right: 10px; }
.breadcrumb i { font-size: 12px; margin-right: 10px; }

/* Contact Form Fablio */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info-box { 
  background: var(--bg-light); 
  padding: 50px 40px; 
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-info-item i {
  color: var(--secondary);
  font-size: 26px;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}
.contact-info-item-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary);
}
.contact-info-item-content p {
  font-size: 15px;
  margin: 0;
  color: var(--text-light);
}
.contact-info-item-content a:hover {
  color: var(--secondary);
}

.contact-form { padding: 40px; background: #fff; box-shadow: var(--shadow); border-radius: 12px; }
.form-control { width: 100%; border: 1px solid var(--border-color); padding: 15px; font-size: 15px; background: var(--bg-light); margin-bottom: 20px; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--secondary); }

/* Mobile Menu */
@media (max-width: 991px) {
  .hero h1 { font-size: 40px; }
  .topbar { display: none; }
  .site-header { background: #fff; top: 0; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
  .navbar .container { height: auto; flex-wrap: wrap; }
  .logo { color: var(--primary); }
  /* Mobile Menu Redesign (Drawer Style) */
  .hamburger, .nav-close { display: block; }
  .hamburger { color: var(--primary); font-size: 24px; cursor: pointer; }
  .nav-close { 
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 28px;
    color: #ffffff;
    z-index: 10001; 
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -320px; /* Hidden by default */
    width: 300px;
    height: 100vh;
    background: var(--primary); /* Shaded Primary Navy Background */
    display: flex !important; /* Always flex but invisible when hidden */
    flex-direction: column;
    padding: 80px 30px 40px;
    z-index: 9999;
    box-shadow: none; /* Removed shadow for sharp edge */
    transition: var(--transition);
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Added subtle edge definition */
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 28px;
    color: #ffffff; /* White close button */
    cursor: pointer;
    transition: var(--transition);
  }
  
  .nav-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
  }
  
  .nav-link {
    color: #ffffff; /* White text for links */
    padding: 18px 0; /* Increased for better touch target */
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle dark-theme border */
    width: 100%;
    opacity: 1;
    display: block;
    min-height: 56px; /* Ensuring minimum touch target height */
  }

  .nav-link:last-child { border-bottom: none; }
  
  .nav-link:hover,
  .nav-link.active { 
    color: var(--secondary); 
  }

  .nav-links .btn-primary {
    margin-top: 20px;
    width: 100%;
    color: #fff;
    border-color: var(--secondary);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  .about-section { 
    flex-direction: column; 
    text-align: center; 
  }
  .about-content { padding-right: 0 !important; }
  .about-content .section-head { text-align: center; }
  .about-content .section-head .sub-title { 
    margin-left: auto; 
    margin-right: auto; 
    justify-content: center; 
  }
  .about-content .list-fablio { text-align: left; display: inline-block; }
  .about-btns { justify-content: center; margin-top: 30px; }
  .about-image { margin-top: 50px; }
  .service-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .cta-wrap {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 35px 24px;
    min-height: 180px;
  }
  .cta-wrap h2 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Team Mobile Slider */
  .team-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 15px 30px;
    margin: 0 -15px; /* Bleed to edges */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
  }
  
  .team-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  
  .team-member {
    flex: 0 0 280px; /* Fixed width for slider items */
    scroll-snap-align: center;
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .team-member {
    flex: 0 0 85%; /* Slightly wider on very small screens */
  }
}

/* Trust Badges Section */
.trust-badges {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow);
}

.trust-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.trust-item i {
  font-size: 35px;
  color: var(--secondary);
}

.trust-info h3 {
  font-size: 24px;
  margin: 0;
  color: var(--primary);
  line-height: 1;
}

.trust-info p {
  font-size: 14px;
  margin: 5px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .trust-badges { margin-top: 0; }
  .trust-flex { justify-content: center; gap: 40px; }
}

/* Product Details Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(30,34,53,0.85);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 40px 15px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  max-width: 900px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  animation: modalScale 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}

@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  right: 20px; top: 20px;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { color: var(--secondary); transform: rotate(90deg); }

.modal-body { display: flex; flex-wrap: wrap; }

.modal-top-info { flex: 1; min-width: 400px; padding: 40px; }
.modal-sidebar { flex: 1; min-width: 300px; background: var(--bg-light); padding: 40px; border-left: 1px solid var(--border-color); }

.modal-top-info h2 { font-size: 32px; color: var(--primary); margin-bottom: 25px; border-bottom: 2px solid var(--secondary); display: inline-block; padding-bottom: 5px; }

.detail-item { margin-bottom: 25px; }
.detail-item h4 { font-size: 14px; text-transform: uppercase; color: var(--secondary); letter-spacing: 1px; margin-bottom: 8px; }
.detail-item p { font-size: 16px; color: var(--text-dark); line-height: 1.6; margin: 0; }

.modal-form h3 { font-size: 22px; color: var(--primary); margin-bottom: 20px; }
.modal-form .form-control { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 6px; }

@media (max-width: 768px) {
  .modal-top-info, .modal-sidebar { min-width: 100%; }
  .modal-sidebar { border-left: none; border-top: 1px solid var(--border-color); }
  .modal { padding: 20px 10px; }
}
