/* ==========================================================================
   Meshine Technologies - Classic Original Design System & Stylesheet
   ========================================================================== */

/* 1. Global Reset & Base Typography */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.625em;
  color: #626f7b;
  font-size: 14px;
  font-weight: 300;
  background-color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Condensed", sans-serif;
  color: #263a4e;
  font-weight: 700;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 48px;
}

h2, .h2, .section-title h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #263a4e;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 15px;
}

h3, .h3 {
  font-size: 24px;
}

h4, .h4 {
  font-size: 20px;
}

@media (max-width: 991px) {
  h2, .h2, .section-title h2 {
    font-size: 32px;
  }
}

a {
  color: #57c4dc;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #cea06c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.section-gap { padding: 80px 0; }
.section-gap-top { padding-top: 80px; }

/* 2. Header & Navigation (Original Master Style with Subtle Glassmorphism) */
header.default-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(27, 38, 59, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

header.default-header.scrolled,
header.default-header.is-sticky {
  position: fixed;
  background: rgba(38, 58, 78, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.navbar {
  padding: 20px 16px;
  transition: padding 0.3s ease;
}

header.default-header.scrolled .navbar {
  padding: 12px 16px;
}

.navbar-brand img {
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
}

.navbar-nav li {
  margin: 0 5px;
}

.navbar-nav a {
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff !important;
  padding: 20px 14px;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #cea06c !important;
}

.navbar-nav .dropdown-menu {
  background: #ffffff;
  border-radius: 0;
  margin-top: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
}

.navbar-nav .dropdown-item {
  color: #263a4e !important;
  font-size: 13.5px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
  background: #f8fafc;
  color: #cea06c !important;
}

.navbar-toggler {
  border: 1px solid #ffffff !important;
}

.navbar-toggler span {
  color: #ffffff;
}

.navbar img {
  vertical-align: middle;
}

header[data-meshine-navigation] .navbar-nav .dropdown-menu:not(.show) {
  display: none;
}

header[data-meshine-navigation] .dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: none;
}

header[data-meshine-navigation] a:focus-visible,
header[data-meshine-navigation] .navbar .navbar-toggler:focus-visible {
  outline: 3px solid #57c4dc;
  outline-offset: 3px;
}

header[data-meshine-navigation] .navbar-toggler {
  min-width: 44px;
  min-height: 44px;
}

header[data-meshine-navigation] .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 44px;
}

header[data-meshine-navigation] .navbar-nav .dropdown-item:hover,
header[data-meshine-navigation] .navbar-nav .dropdown-item:focus {
  color: #166374 !important;
  background: #f8fafc;
}

@media (max-width: 991.98px) {
  header[data-meshine-navigation] .navbar-collapse.show {
    width: 100%;
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    padding: 16px;
    margin-top: 12px;
    background: #263a4e;
    border-radius: 4px;
  }

  header[data-meshine-navigation] .navbar-nav {
    align-items: stretch;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  header[data-meshine-navigation] .navbar-nav > li > a {
    display: block;
    padding: 12px 8px;
  }

  header[data-meshine-navigation] .navbar-nav .dropdown .dropdown-menu {
    position: static;
    margin: 0 0 8px;
    background: #ffffff;
  }

  header[data-meshine-navigation] .dropdown-item {
    white-space: normal;
  }
}

/* 3. Hero Banner Area (Original 100px Typography, Space Grotesk Eyebrow, 1-char Offset) */
.home-banner-area {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center !important;
  justify-content: flex-start;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../shared/img/drone_banner.webp') center center / cover no-repeat fixed !important;
  overflow: hidden;
  padding: 100px 0 60px 0;
}

.home-banner-area .overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 52, 0.58) !important;
  z-index: 1;
}

@media (max-width: 768px) {
  .home-banner-area {
    background-attachment: scroll !important;
    min-height: 95vh;
    padding: 90px 0 50px 0;
  }
}

.home-banner-area .template-name {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  position: absolute;
  top: 24%;
  left: -1%;
  font-size: 150px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
  pointer-events: none;
  z-index: 2;
  font-family: "Roboto Condensed", sans-serif;
}

@media (max-width: 991px) {
  .home-banner-area .template-name {
    display: none;
  }
}

.home-banner-area .container {
  position: relative;
  z-index: 3;
}

.home-banner-area .banner-content {
  position: relative;
  z-index: 3;
  text-align: left !important;
  color: #ffffff;
  max-width: 950px;
  margin-left: 45px !important;
  margin-top: -45px !important;
  padding: 0 !important;
}

.hero-eyebrow {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #4cd3e3;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.home-banner-area .banner-content h1.title {
  color: #ffffff !important;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 100px;
  line-height: 100px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.home-banner-area .banner-content p#typing-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff !important;
  min-height: 28px;
  margin-bottom: 30px;
  letter-spacing: normal;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@media (max-width: 991px) {
  .home-banner-area .banner-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    text-align: center !important;
  }
  .hero-eyebrow {
    font-size: 18px;
    letter-spacing: 3px;
  }
  .home-banner-area .banner-content h1.title {
    font-size: 48px;
    line-height: 54px;
  }
  .home-banner-area .banner-content p#typing-subtitle {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero-eyebrow {
    font-size: 15px;
  }
  .home-banner-area .banner-content h1.title {
    font-size: 36px;
    line-height: 42px;
  }
}

/* 4. Action Buttons (Original Master Styles & Fonts) */
.cta-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.primary-btn {
  display: inline-block;
  color: #ffffff !important;
  padding: 12px 35px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  outline: none !important;
  text-align: center;
  cursor: pointer;
  text-transform: capitalize;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 0px;
  transition: all 0.3s ease 0s;
}

.primary-btn:hover {
  background: #cea06c !important;
  border-color: #cea06c !important;
  color: #263a4e !important;
}

.primary-btn.success {
  color: #263a4e !important;
  background: #4cd3e3 !important;
  border: 1px solid #4cd3e3 !important;
}

.primary-btn.success:hover {
  color: #263a4e !important;
  border: 1px solid #cea06c !important;
  background: #cea06c !important;
}

/* Social Icons at Bottom-Left of Hero */
.head-bottom-meta {
  position: absolute;
  bottom: 40px;
  left: 50px;
  z-index: 3;
}

.head-bottom-meta .meta-left a {
  margin-right: 20px;
  color: #ffffff;
  font-size: 16px;
  opacity: 0.75;
  transition: all 0.3s ease 0s;
}

.head-bottom-meta .meta-left a:hover {
  color: #cea06c;
  opacity: 1;
}

@media (max-width: 991px) {
  .home-banner-area .cta-buttons {
    justify-content: center;
  }

  .head-bottom-meta {
    left: 20px;
    bottom: 20px;
  }
}

/* 5. Solutions Accordion Section */
.solutions-section {
  padding: 90px 0 70px 0;
  background: #0f172a;
  color: #ffffff;
  position: relative;
}

.solutions-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px auto;
}

.solutions-header .badge-tag {
  display: inline-block;
  padding: 0 !important;
  background: transparent !important;
  color: #57c4dc;
  border: none !important;
  border-radius: 0 !important;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.solutions-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 14px;
}

.solutions-subtitle {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.65;
}

.accordion-slider {
  display: flex;
  justify-content: center;
  width: 100%;
}

.slider {
  display: flex;
  width: 100%;
  max-width: 1180px;
  height: 520px;
  gap: 16px;
}

.panel {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: flex 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  transition: background 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.panel:hover,
.panel.is-active {
  flex: 4.5;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.panel:hover::after,
.panel.is-active::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.92) 85%);
}

.panel-content {
  position: relative;
  padding: 30px;
  z-index: 2;
  text-align: left;
  width: 100%;
}

.panel .panel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #57c4dc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.panel h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.panel p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  transition: opacity 0.5s ease 0.15s;
}

.panel:hover p,
.panel.is-active p {
  opacity: 1;
  max-height: 180px;
  margin-top: 12px;
}

.panel .panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #57c4dc;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease 0.25s;
}

.panel:hover .panel-link,
.panel.is-active .panel-link {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .slider {
    height: 440px;
  }
  .panel h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .slider {
    flex-direction: column;
    height: auto;
    gap: 14px;
  }
  .panel {
    height: 230px;
    flex: none !important;
  }
  .panel p {
    opacity: 1;
    max-height: none;
    margin-top: 8px;
    font-size: 13px;
  }
  .panel .panel-link {
    opacity: 1;
    transform: none;
  }
}

/* 6. Case Study Section (Problem -> Solution -> Result) */
.case-study-section {
  padding: 85px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.case-study-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.case-study-image {
  background-image: url('../shared/img/ai/guvenlik1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 380px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.case-study-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.case-study-badge {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.case-study-badge h4 {
  color: #57c4dc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  background: transparent !important;
  border: none !important;
}

.case-study-badge h3 {
  color: #ffffff;
  font-size: 24px;
}

.case-study-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.case-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.case-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #1a4a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.case-step.result .case-icon {
  background: rgba(87, 196, 220, 0.15);
  color: #57c4dc;
}

.case-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1f2d3d;
}

.case-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .case-study-card {
    grid-template-columns: 1fr;
  }
  .case-study-image {
    min-height: 240px;
  }
  .case-study-body {
    padding: 25px;
  }
}

/* 7. Why Meshine? (Trust & Core Pillars) */
.why-meshine {
  padding: 85px 0 60px 0;
  background: #ffffff;
}

.why-container {
  max-width: 1140px;
  margin: auto;
}

.why-title {
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 55px;
  color: #263a4e;
}

.why-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.why-item:nth-child(even) {
  direction: rtl;
}

.why-item:nth-child(even) .why-text {
  direction: ltr;
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1a4a7a 0%, #263a4e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.why-text h3 {
  margin-bottom: 10px;
  color: #1f2d3d;
  font-size: 22px;
}

.why-text p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .why-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .why-icon {
    margin: 0 auto;
  }
}

/* 8. Tech Stack Section */
.tech-stack {
  padding: 85px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.tech-wrapper {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.tech-left h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #263a4e;
}

.tech-left p {
  color: #64748b;
  line-height: 1.7;
  font-size: 16px;
}

.tech-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tech-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.tech-item h3 {
  color: #1a4a7a;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.tech-item p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .tech-wrapper {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .tech-left {
    padding: 0 20px;
    text-align: center;
  }
  .tech-list {
    grid-template-columns: 1fr;
  }
}

/* 9. R&D Timeline Process */
.rd-process {
  padding: 85px 0;
  background: #ffffff;
}

.rd-container {
  max-width: 1140px;
  margin: auto;
  text-align: center;
}

.rd-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #263a4e;
}

.rd-subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 60px;
}

.rd-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.rd-timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.rd-step {
  position: relative;
  flex: 1;
  z-index: 2;
}

.rd-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1a4a7a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-weight: 700;
  font-size: 18px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.rd-content {
  margin-top: 20px;
  padding: 0 10px;
}

.rd-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1f2d3d;
}

.rd-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .rd-timeline {
    flex-direction: column;
  }
  .rd-timeline::before {
    display: none;
  }
  .rd-step {
    margin-bottom: 35px;
  }
}

/* 10. Products Section */
.products-area {
  padding: 80px 0;
  background: #f8fafc;
}

.products-area .primary-btn {
  color: #263a4e !important;
  border-color: #263a4e;
}

.single-product {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  margin-bottom: 30px;
}

.single-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.single-product .thumb img {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
}

@media (max-width: 767px) {
  .products-area .single-product .thumb {
    padding: 0;
  }
}

.single-product .details h3,
.single-product .details h4 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #1f2d3d;
}

.single-product .thumb {
  display: block;
}

.single-product .details h3 a,
.single-product .details h4 a {
  color: inherit;
}

.single-product a:focus-visible,
.solutions-section .solution-title-link:focus-visible {
  outline: 3px solid #147284;
  outline-offset: 5px;
}

.solutions-section .solution-title-link {
  color: inherit;
}

.solutions-section .solution-title-link:hover,
.single-product .details h3 a:hover,
.single-product .details h4 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single-product .details p {
  color: #52657b;
  margin-bottom: 18px;
  font-weight: 500;
}

/* 11. Brands & Partners Grid (Clean & Standardized) */
.brands-area {
  padding: 65px 0 25px 0;
  background: #f8fafc;
}

.brands-area.ecosystem-area {
  padding: 10px 0 65px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.media-gallery-section {
  padding: 55px 0 75px 0;
  background: #ffffff;
}

.media-gallery-section img.single-gallery-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.media-gallery-section .media-header {
  margin-top: 0;
  margin-bottom: 25px;
}

.brand-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 15px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.brand-slider::-webkit-scrollbar {
  display: none;
}

.single-brand {
  flex: 0 0 auto;
  width: 170px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.single-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.single-brand img {
  max-height: 60px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.3s ease;
}

.single-brand:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.slider-btn {
  background: #1a4a7a;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: #57c4dc;
  color: #263a4e;
}

/* 12. Interactive Demo Modal Form (Namespaced - Zero Bootstrap Conflict) */
.meshine-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(5, 10, 52, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.meshine-modal-backdrop.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.meshine-modal-box {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 35px 30px !important;
  max-width: 520px !important;
  width: 90% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  transform: translateY(20px) scale(0.96) !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.meshine-modal-backdrop.is-open .meshine-modal-box {
  transform: translateY(0) scale(1) !important;
}

.meshine-modal-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  background: #f1f5f9 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
}

.meshine-modal-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.meshine-modal-box h3 {
  font-size: 24px !important;
  margin-bottom: 6px !important;
  color: #0f172a !important;
}

.meshine-modal-box p.modal-sub {
  font-size: 14px !important;
  color: #64748b !important;
  margin-bottom: 22px !important;
}

.modal-form-group {
  margin-bottom: 14px !important;
  text-align: left !important;
}

.modal-form-group label {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 5px !important;
}

.modal-input,
.modal-select,
.modal-textarea {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.modal-input:focus,
.modal-select:focus,
.modal-textarea:focus {
  border-color: #57c4dc !important;
  box-shadow: 0 0 0 3px rgba(87, 196, 220, 0.2) !important;
}

.modal-textarea {
  resize: vertical !important;
  min-height: 80px !important;
}

.modal-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 12px !important;
  color: #64748b !important;
  margin-top: 15px !important;
  margin-bottom: 20px !important;
}

.modal-checkbox input {
  margin-top: 3px !important;
}

.modal-submit-btn {
  width: 100% !important;
  padding: 13px !important;
  background: #4cd3e3 !important;
  color: #263a4e !important;
  font-family: "Roboto", sans-serif;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  border: none !important;
  border-radius: 0px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.modal-submit-btn:hover {
  background: #cea06c !important;
}

/* 13. Back to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  border: none;
  outline: none;
  background-color: #263a4e;
  color: #ffffff;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 18px;
  display: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #57c4dc;
  color: #263a4e;
  transform: translateY(-3px);
}
