@import url('cairo-fonts.css');
body{
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  background-color: #f7f9fc;
  color: #0a1f44;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@supports (text-size-adjust: 100%) {
  body {
    text-size-adjust: 100%;
  }
}

.animated-text .letter {
  opacity: 0;
  display: inline-block;
  transition: opacity 0.6s ease;
}

.animated-text .letter.visible {
  opacity: 1;
}

/* Arabic + RTL base when html has dir="rtl" */
html[dir="rtl"] body{
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .navbar-nav {
  flex-direction: row-reverse;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 1.5rem;
  align-items: center;
}

html[dir="rtl"] .navbar-nav .nav-link {
  text-align: right;
}

th {
  text-align: -webkit-match-parent;
  text-align: match-parent;
}

.navbar {
  padding: 1rem 0;
  background-color: #ffffff;
}

body.home-page .navbar {
  background-color: transparent !important;
  box-shadow: none !important;
  z-index: 1030;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 100%);
}

body.home-page .navbar .nav-link,
body.home-page .navbar .menu_link {
  color: #ffffff !important;
}

body.home-page .navbar .nav-link:hover,
body.home-page .navbar .menu_link:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

body.home-page .navbar .nav-link.active-nav {
  color: var(--primary-color) !important;
}

body.home-page .navbar .navbar-toggler {
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

body.about-page .navbar {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 100%);
  box-shadow: none !important;
  position: static;
}

body.about-page .navbar .nav-link,
body.about-page .navbar .menu_link {
  color: #ffffff !important;
}

body.about-page .navbar .nav-link:hover,
body.about-page .navbar .menu_link:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

body.about-page .navbar .navbar-toggler {
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

body.products-groups-page .navbar {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 100%);
  box-shadow: none !important;
  position: static;
}

body.products-groups-page .navbar .nav-link,
body.products-groups-page .navbar .menu_link {
  color: #ffffff !important;
}

body.products-groups-page .navbar .nav-link:hover,
body.products-groups-page .navbar .menu_link:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

body.products-groups-page .navbar .nav-link.active-nav {
  color: var(--primary-color) !important;
}

body.products-groups-page .navbar .navbar-toggler {
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  body.about-page .navbar .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 1rem;
  }

  body.about-page .navbar .nav-link,
  body.about-page .navbar .menu_link {
    color: #ffffff !important;
  }

  body.products-groups-page .navbar .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 1rem;
  }

  body.products-groups-page .navbar .nav-link,
  body.products-groups-page .navbar .menu_link {
    color: #ffffff !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .logo {
    height: 64px;
  }

  html[dir="rtl"] .navbar-nav {
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .logo {
    height: 56px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }

  html[dir="rtl"] .navbar-nav {
    gap: 0.75rem;
  }
}

body.home-page .hero-slider-wrapper {
  margin-top: -96px;
}

@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  body.home-page .navbar {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

@media (max-width: 991.98px) {
  body.home-page .hero-slider-wrapper {
    margin-top: -72px;
  }

  body.home-page .navbar .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 1rem;
  }

  body.home-page .navbar .nav-link,
  body.home-page .navbar .menu_link {
    color: #ffffff !important;
  }
}

.navbar-main-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.navbar-main-wrapper .navbar-brand {
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .navbar-main-wrapper .navbar-collapse {
    display: flex !important;
    justify-content: flex-start;
  }
}

.navbar .nav-link {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #08447c !important;
  transition: color 0.3s ease;
}

.navbar .nav-link.active {
  color: #1876d1 !important;
}

.navbar .nav-link.active-nav {
  color: #d62828 !important;
}

.navbar .nav-link.active-nav:hover {
  color: #d62828 !important;
}

.menu_link {
  color: #08447c !important;
}

.menu_link:hover {
  color: #1876d1 !important;
  text-decoration: none;
}

.fa-rotate-90,
.fa-rotate-180,
.fa-rotate-270,
.fa-flip-horizontal,
.fa-flip-vertical,
.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical {
  filter: none;
}

.swiper-css-mode > .swiper-wrapper {
  -ms-overflow-style: none;
}

.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.footer_color .menu_link {
  color: #ffffff !important;
}

.footer_color .menu_link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  color: #08447c;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Ensure Swiper follows RTL */
html[dir="rtl"] .swiper{
  direction: rtl;
}

.harita iframe{
  width: 100%;
  height: 100%;
}
.logo{
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(8, 68, 124, 0.45)) drop-shadow(0 4px 12px rgba(24, 118, 209, 0.35));
  transform: perspective(800px) rotateX(6deg) rotateY(-8deg) scale(1.06);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.navbar-brand:hover .logo{
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1.12);
  filter: drop-shadow(0 16px 32px rgba(8, 68, 124, 0.55)) drop-shadow(0 6px 14px rgba(24, 118, 209, 0.45));
}

@media (max-width: 575.98px) {
  .logo {
    height: 72px;
    transform: perspective(700px) rotateX(5deg) rotateY(-6deg) scale(1.04);
  }
}

.hero_logo{
  aspect-ratio: 16/10;
  width: 100% !important; /* prevent horizontal overflow on iOS */
  max-width: 100% !important;
  display:block;
  margin-inline:auto;
}

.slider_img{
  aspect-ratio: 16/11;
  object-fit: cover;
}
.slider_ana{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/5;
  position: absolute;
  top: 0px;
  z-index: -1;
}
.capture{
  display: flex;
  height: 450px;
  align-items: center;
}
.over_slide::before{
 position: absolute;
  z-index: -1;
  background-color: gray;
  top: 0px;
  content: "";
  opacity: 0.55;
  width: 100%;
  height: 100%;
  display: inline-block;
}

.icon_hizmet{
  width: 50px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.icon_sosyal{
  width: 25px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

:root {
  --primary-color: #fdb900;
}

.form-check-input {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.bg_sari {
  background-color: var(--primary-color);
}
.c-sari {
  color: var(--primary-color);
}

.carausel_detay {
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
}

.bg_mavi {
  background-color: #0e2b5c;
}
.c_mavi {
  color: #0e2b5c;
}

.footer_color {
  background: linear-gradient(135deg, #07172b 0%, #0e3a63 100%) !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.footer_color::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  pointer-events: none;
}

.footer_color * {
  position: relative; /* keep content above overlay */
}

.a_icon {
  width: 35px;
  height: 35px;
  line-height: 35px;
}

.menu_link {
  color: #08447c !important;
}

.menu_link:hover {
  color: #1876d1 !important;
  text-decoration: none;
}

.slider_div {
  z-index: 5000;
  top: 50%;
  transform: translateY(-50%);
}
.swiper {
  width: 100%;
}

.swiper-scrollbar {
  touch-action: none;
}


.swiper-button-prev {
  color: white;
}

.swiper-button-next {
  color: white;
}

.experience-section {
  background: #f7f9fc;
}

.experience-section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  background: rgba(24, 118, 209, 0.08);
  color: #0e2b5c;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  border: 1px solid rgba(24, 118, 209, 0.12);
}

.experience-section__title {
  font-size: clamp(1.8rem, 2.3vw, 2.6rem);
  line-height: 1.4;
}

.experience-section__subtitle {
  max-width: 720px;
  margin: 1rem auto 0;
  color: #4f6282;
  line-height: 1.9;
  font-size: 1.05rem;
}

.experience-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 45px -25px rgba(8, 68, 124, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(8, 68, 124, 0.08);
  display: flex;
  flex-direction: column;
}

.experience-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 60px -35px rgba(8, 68, 124, 0.4);
}

.experience-card__image-wrapper {
  position: relative;
  overflow: hidden;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.experience-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.experience-card:hover .experience-card__image {
  transform: scale(1.08);
}

@media (max-width: 767.98px) {
  .experience-card__image-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 1.25rem;
  }
}

.experience-card__body {
  padding: 1.75rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.experience-card__title {
  font-size: 1.35rem;
  color: #0e2b5c;
  font-weight: 700;
}

.experience-card__text {
  margin: 0;
  color: #4f6282;
  font-size: 1rem;
  line-height: 1.9;
}

@media (max-width: 767.98px) {
  .experience-section__title {
    font-size: 1.8rem;
  }

  .experience-card__body {
    padding: 1.5rem;
  }

  .experience-card__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .experience-section__title {
    font-size: 1.6rem;
  }

  .experience-section__subtitle {
    font-size: 0.95rem;
  }

  .experience-card__image-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }

  .experience-card__body {
    padding: 1.25rem;
  }

  .experience-card__title {
    font-size: 1.1rem;
  }

  .experience-card__text {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 600px) {
  /* Do not constrain all Swipers globally; hero slider gets its own height below */
  .swiper { height: auto; }
  .capture{
    display: none;
  }
}

@media (max-width: 768px) {
  /* Allow non-hero swipers to grow with content */
  .swiper { height: auto; }

  .capture h1 {
    font-size: 2rem;
  }

  .capture h2 {
    font-size: 1.5rem;
  }

  .hakkimizda .swiper-slide .d-flex {
    padding: 3rem 2rem;
  }

  .icon_hizmet {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .swiper { height: auto; }

  .capture h1 {
    font-size: 1.8rem;
  }

  .capture h2 {
    font-size: 1.3rem;
  }

  .hakkimizda .swiper-slide .d-flex {
    padding: 2rem 1.5rem;
  }

  .icon_hizmet {
    width: 35px;
    height: 35px;
  }

  .blog .swiper-slide .d-flex {
    gap: 1rem;
  }

  .blog .swiper-slide h1 {
    font-size: 1.5rem;
  }
}

/* Hero slider: responsive height to avoid cropping on phones */
.hero-slider-wrapper .swiper.ana { height: clamp(320px, 52vh, 560px); }
@media (max-width: 768px) {
  .hero-slider-wrapper .swiper.ana { height: clamp(260px, 50vh, 500px); }
}
@media (max-width: 576px) {
  .hero-slider-wrapper .swiper.ana { height: clamp(220px, 48vh, 460px); }
}
/* Ensure slides fill the defined height */
.hero-slider-wrapper .swiper.ana .swiper-slide { height: 100%; }

/* Let content sliders size naturally */
.hakkimizda.swiper, .blog.swiper { height: auto; }

body.products-groups-page {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 55%, #f4f7fb 100%);
  color: #0a1f44;
}

.products-hero {
  position: relative;
  padding: 120px 0 100px;
  background: url('../images/back1.png') center/cover no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  overflow: hidden;
}

.products-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -160px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
}

.products-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.products-hero .container {
  position: relative;
  z-index: 2;
}

.products-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 0.95rem;
  letter-spacing: 0.4px;
}

.products-hero__breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.products-hero__breadcrumb span {
  color: rgba(255,255,255,0.75);
}

.products-hero__title {
  font-size: 52px;
  font-weight: 800;
  margin-top: 34px;
  margin-bottom: 20px;
}

.products-hero__subtitle {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.products-collection {
  margin-top: -60px;
  padding-bottom: 120px;
  position: relative;
}

.products-collection__header {
  max-width: 680px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.products-collection__badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24,118,209,0.1) 0%, rgba(8,68,124,0.08) 100%);
  color: #0e2b5c;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(24,118,209,0.15);
  transition: all 0.3s ease;
}

.products-collection__badge i {
  font-size: 0.9em;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.products-collection__title {
  font-size: 38px;
  font-weight: 800;
  color: #0a1f44;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.products-collection__description {
  font-size: 17px;
  color: #4f6282;
  line-height: 1.95;
  margin: 0;
  font-weight: 400;
}

.products-directory {
  padding: 60px 0 80px;
}

.products-directory__layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
}

.products-directory__sidebar-card {
  background: #ffffff;
  border: 1px solid #eceff4;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px rgba(8, 68, 124, 0.08);
}

.products-directory__sidebar-title {
  font-size: 20px;
  font-weight: 800;
  color: #f47c20;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.products-directory__search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f8fb;
  border: 1px solid #e0e6ef;
  border-radius: 999px;
  padding: 12px 18px;
}

.products-directory__search-field i {
  color: #d47a1c;
  font-size: 18px;
}

.products-directory__search-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #0a1f44;
  outline: none;
}

.products-directory__reset {
  border: none;
  background: none;
  color: #a0aec0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.products-directory__reset:hover {
  color: #f47c20;
}

.products-directory__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.products-directory__list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f8;
}

.products-directory__list-item:last-child {
  border-bottom: none;
}

.products-directory__list-link {
  color: #0a1f44;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.products-directory__list-link:hover {
  color: #f47c20;
}

.products-directory__list-count {
  color: #a0aec0;
  font-size: 13px;
  font-weight: 600;
}

.products-directory__empty {
  margin: 0;
  color: #7c8aa4;
  font-size: 14px;
}

.products-directory__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.products-directory__heading {
  font-size: 32px;
  font-weight: 800;
  color: #f47c20;
  margin: 0;
}

.products-directory__results {
  font-size: 15px;
  color: #7c8aa4;
  margin: 0;
}

.products-directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.products-directory__card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e4e7eb;
  box-shadow: 0 18px 40px rgba(9, 42, 81, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.products-directory__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.products-directory__image-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #eef2f8;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.products-directory__image-wrapper img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.products-directory__image-wrapper i {
  font-size: 48px;
  color: #d1d9e6;
}

.products-directory__card-body {
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.products-directory__card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a1f44;
  text-align: center;
  margin: 0;
}

.products-directory__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f47c20;
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.products-directory__cta i {
  transition: transform 0.3s ease;
}

.products-directory__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(9, 42, 81, 0.12);
}

.products-directory__card:hover .products-directory__cta {
  gap: 12px;
  color: #d96712;
}

.products-directory__card:hover .products-directory__cta i {
  transform: translateX(-4px);
}

.products-directory__empty-state {
  background: #ffffff;
  border: 1px dashed #d1d9e6;
  border-radius: 18px;
  padding: 48px 20px;
  text-align: center;
  color: #7c8aa4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.products-directory__empty-state i {
  font-size: 48px;
  color: #d1d9e6;
}

.products-directory__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199.98px) {
  .products-directory__layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 991.98px) {
  .products-directory {
    padding: 40px 0 60px;
  }

  .products-directory__layout {
    grid-template-columns: 1fr;
  }

  .products-directory__content {
    order: -1;
  }

  .products-directory__sidebar-card {
    margin-bottom: 20px;
  }

  .products-directory__image-wrapper {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .products-directory__heading {
    font-size: 28px;
  }

  .products-directory__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .products-directory__image-wrapper {
    min-height: 160px;
    padding: 20px;
  }

  .products-directory__card-body {
    padding: 18px 16px;
  }

  .products-directory__card-title {
    font-size: 16px;
  }

  .products-directory__cta {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .products-directory__heading {
    font-size: 26px;
  }

  .products-directory__grid {
    gap: 18px;
  }

  .products-directory__image-wrapper {
    padding: 24px;
    min-height: 160px;
  }
}

@media (max-width: 1024px) {
  .products-hero {
    padding: 100px 0 80px;
  }

  .products-hero__title {
    font-size: 40px;
  }

  .products-collection {
    margin-top: -40px;
    padding-bottom: 80px;
  }

  .products-collection__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }

  .products-collection__title {
    font-size: 32px;
  }

  .product-tile {
    padding: 28px 24px;
    border-radius: 18px;
  }

  .product-tile__media {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .product-tile__title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 90px 0 70px;
  }

  .products-hero__title {
    font-size: 36px;
  }

  .products-hero__subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .products-collection {
    margin-top: -30px;
    padding-bottom: 60px;
  }

  .products-collection__header {
    margin-bottom: 40px;
  }

  .products-collection__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }

  .products-collection__title {
    font-size: 28px;
  }

  .products-collection__description {
    font-size: 15px;
  }

  .product-tile {
    padding: 24px 20px;
  }

  .product-tile__meta {
    gap: 12px;
    margin-bottom: 20px;
  }

  .product-empty {
    padding: 48px 24px;
  }
}

@media (max-width: 576px) {
  .products-hero {
    padding: 80px 0 60px;
  }

  .products-hero__breadcrumb {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .products-hero__title {
    font-size: 28px;
    margin-top: 24px;
  }

  .products-hero__subtitle {
    font-size: 14px;
  }

  .products-collection {
    padding-bottom: 40px;
  }

  .products-collection__header {
    margin-bottom: 32px;
  }

  .products-collection__title {
    font-size: 24px;
  }

  .products-collection__description {
    font-size: 14px;
  }

  .products-collection__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-tile {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .product-tile__media {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .product-tile__title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .product-tile__excerpt {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .product-tile__meta {
    font-size: 12px;
    margin-bottom: 16px;
    gap: 10px;
  }

  .product-tile__cta {
    font-size: 13px;
  }

  .products-empty {
    padding: 40px 20px;
  }

  .products-empty i {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .products-empty h3 {
    font-size: 20px;
  }

  .products-empty p {
    font-size: 14px;
  }
}

.hakkimizda {
  width: 100%;
  height: auto;
}

.swiper-slide {
  cursor: pointer;
}

.hizmet_eft:hover {
  border-color: #fdb900 !important;
  transition-duration: 350ms;
}

.hizmet_eft:hover span {
  color: #fdb900;
  transition-duration: 350ms;
}

.columcunt {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

.blog {
  height: auto;
}

.bg_hizmet {
  background-color: #f9f9f9;
}

.blog .swiper-slide {
  cursor: context-menu;
}

body.products-group-page {
  background: #f5f7fb;
}

.group-hero {
  position: relative;
  padding: 140px 0 80px;
  background: url("../images/shop.jpg") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

body.products-group-page .navbar {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 100%);
  box-shadow: none !important;
  position: static;
}

body.products-group-page .navbar .nav-link,
body.products-group-page .navbar .menu_link {
  color: #ffffff !important;
}

body.products-group-page .navbar .nav-link:hover,
body.products-group-page .navbar .menu_link:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

body.products-group-page .navbar .navbar-toggler {
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  body.products-group-page .navbar .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 1rem;
  }

  body.products-group-page .navbar .nav-link,
  body.products-group-page .navbar .menu_link {
    color: #ffffff !important;
  }
}

.group-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -40px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.group-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-image {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.2);
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 42px;
  color: #fff;
}

.hero-icon-img {
  max-width: 56px;
}

.group-hero__title {
  font-weight: 800;
  font-size: 34px;
}

.group-hero__badge {
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 14px;
}

.group-summary {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 24px;
}

.group-count {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-count__label {
  font-size: 16px;
}

.group-count__helper {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.group-back-link {
  border-radius: 14px;
  padding: 10px 24px;
}

.filter-section {
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.filter-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(8, 68, 124, 0.08);
}

.filter-heading {
  font-weight: 700;
}

.category-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-pill {
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  background: #eef3fb;
  color: #0a1f44;
  font-weight: 600;
  transition: all 0.25s ease;
}

.category-pill.active {
  background: linear-gradient(135deg, #ec4c54, #0a1f44);
  color: #fff;
  box-shadow: 0 14px 24px rgba(8, 68, 124, 0.2);
}

.products-grid {
  margin-top: 40px;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(8, 68, 124, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 44px rgba(8, 68, 124, 0.12);
}

.product-visual {
  width: 100%;
  height: 150px;
  background: #f3f6fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-visual i {
  font-size: 36px;
  color: #cbd5f5;
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-category {
  font-size: 13px;
  font-weight: 700;
  color: #1876d1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  color: #0a1f44;
  margin-top: 8px;
}

.product-description {
  color: #5b6c8f;
  margin-top: 12px;
  line-height: 1.8;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #0e2bc5;
}

.product-price--muted {
  color: #5b6c8f;
}

.product-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(8, 68, 124, 0.08);
  color: #08447c;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-actions a:hover {
  background: linear-gradient(135deg, #08447c, #1876d1);
  color: #fff;
}

.product-card[data-visible="false"] {
  display: none !important;
}

.no-products {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(8, 68, 124, 0.07);
}

.no-products i {
  font-size: 56px;
  color: #1876d1;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .group-hero {
    padding: 120px 0 60px;
  }

  .hero-card {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .group-summary {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .group-hero {
    padding: 100px 0 50px;
  }

  .group-hero__title {
    font-size: 28px;
  }

  .hero-card {
    padding: 24px;
    gap: 20px;
  }

  .hero-image,
  .hero-icon {
    width: 90px;
    height: 90px;
  }

  .group-summary {
    font-size: 16px;
  }

  .group-count__label {
    font-size: 14px;
  }

  .group-count__helper {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .hero-card {
    border-radius: 18px;
    padding: 20px;
    gap: 16px;
  }

  .hero-image,
  .hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }

  .group-hero__title {
    font-size: 24px;
  }

  .group-hero__badge {
    font-size: 14px;
    padding: 6px 12px;
  }

  .filter-card {
    border-radius: 16px;
  }

  .category-pill {
    padding: 8px 16px;
    font-size: 14px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-visual {
    height: 120px;
  }

  .product-body {
    padding: 20px;
  }

  .product-name {
    font-size: 18px;
  }

  .product-description {
    font-size: 14px;
  }

  .product-price {
    font-size: 16px;
  }

  .product-actions a {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, #0a1f44 0%, #1e3a8a 50%, #3b82f6 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/ground.PNG') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero .display-4 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-hero .lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-hero .btn-light {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #0a1f44;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-hero .btn-light:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.about-hero img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.about-hero img:hover {
  transform: scale(1.05);
}
/* About Modal Styles */
.about-content {
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  line-height: 1.8;
  color: #333;
}

.about-content h2 {
  color: #0a1f44;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 0.5rem;
}

.about-content h3 {
  color: #1e3a8a;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.about-content strong {
  color: #0a1f44;
  font-weight: 600;
}

/* RTL Modal Support */
html[dir="rtl"] .modal-header .btn-close {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .modal-header .close {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .modal-footer {
  justify-content: flex-start !important;
}

html[dir="rtl"] .modal-footer .btn {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
  .about-hero {
    padding: 60px 0;
  }
  
  .about-hero .display-4 {
    font-size: 2.5rem;
  }
  
  .about-hero .lead {
    font-size: 1.1rem;
  }
  
  .about-hero .row {
    text-align: center;
  }
  
  .about-hero .col-lg-6:first-child {
    margin-bottom: 2rem;
  }
}

/* ---------------------------------------------- */
/* iPhone / mobile horizontal scroll containment  */
/* ---------------------------------------------- */
html, body {
  max-width: 100%;
  overflow-x: hidden; /* last resort containment; avoids sideways scroll */
}

/* Ensure slider wrapper doesn't leak absolute children */
.hero-slider-wrapper,
.hero-slider-wrapper .container-fluid {
  overflow: hidden;
}

/* Disable fixed backgrounds on mobile to avoid iOS repaint & jitter */
@media (max-width: 991.98px) {
  .products-hero,
  .group-hero {
    background-attachment: scroll;
  }
}

/* Safeguard Swiper slides: prevent accidental overflows from transforms */
.swiper,
.swiper-wrapper,
.swiper-slide {
  max-width: 100%;
}

/* If any slide content tries to exceed width via padding + negative margins */
.swiper-slide > * {
  box-sizing: border-box;
}

