html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ===== Header — same background as breadcrumb, dark text ===== */
#header-area.transparent-header {
  background-color: #f8f9fa;
}
/* Nav links */
#header-area .main-menu ul li > a {
  color: #1a1a1a !important;
}
#header-area .main-menu ul li:hover > a {
  color: #c11525 !important;
}
/* Sub-menu items */
#header-area .main-menu ul li .sub-menu li a {
  color: #1a1a1a !important;
}
#header-area .main-menu ul li .sub-menu li a:hover {
  color: #c11525 !important;
}
/* Hamburger button */
#header-area .header-menu button {
  color: #1a1a1a !important;
}
/* Language switcher button */
#header-area .language-switcher button {
  color: #1a1a1a !important;
}
/* Kuşgöz Portal button */
#header-area .theme-btn.style3 {
  color: #1a1a1a !important;
}
#header-area .theme-btn.style3:hover {
  color: #fff !important;
}

/* ===== Breadcrumb — white bg, red accent bottom, proper top clearance ===== */
.breadcrumb {
  background-image: none !important;
  background-color: #f8f9fa !important;
  overflow: visible !important;
  height: auto !important;
  padding-top: 140px !important;
  padding-bottom: 40px !important;
  border-bottom: 4px solid #c11525 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.07) !important;
}
/* 768px'de Bootstrap md container devreye giriyor, logo sütunu genişliyor ve header yüksekliği artıyor */
@media (min-width: 768px) and (max-width: 991px) {
  .breadcrumb { padding-top: 170px !important; }
}
.breadcrumb::before {
  display: none !important;
}
.breadcrumb-heading h1 {
  color: #1a1a1a !important;
}
.breadcrumb-heading__items li,
.breadcrumb-heading__items li a {
  color: #555 !important;
}
.breadcrumb-heading__items li:hover,
.breadcrumb-heading__items li a:hover {
  color: #1a1a1a !important;
}
.breadcrumb-heading__items li i {
  color: #c11525 !important;
}

/* ===== Image height constraints ===== */

/* About section thumbnails (Home + About pages) */
.about1__thumb img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: scale-down;
  display: block;
}

/* Hero image (Home page) */
.hero1-thumb-imges img {
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .hero1-thumb-imges img {
    max-height: 380px;
  }
}

/* ===== Why Us — vertical precision list ===== */
.whyus-list { display: flex; flex-direction: column; }
.whyus-item {
    display: flex; align-items: center; gap: 28px;
    padding: 28px 0 28px 16px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    border-left: 3px solid transparent;
    transition: border-color .25s, padding-left .25s, background .25s;
}
.whyus-item:last-child { border-bottom: none; }
.whyus-item:hover {
    border-left-color: #c11525;
    padding-left: 24px;
    background: rgba(193,21,37,.03);
}
.whyus-item__icon {
    flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
}
.whyus-item__icon img { width: 48px; height: 48px; object-fit: contain; }
.whyus-item__body { flex: 1; }
.whyus-item__title {
    font-family: Rajdhani, sans-serif;
    font-size: 1.15rem; font-weight: 700;
    text-transform: uppercase; margin-bottom: 4px; color: #1a1a1a;
    letter-spacing: .4px;
}
.whyus-item__desc { font-size: .9rem; color: #666; margin: 0; line-height: 1.6; }

/* ===== Certificate cards (shared: About / Sustainability / Certificates) ===== */
.cert-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 28px 28px; border-radius: 12px; background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.cert-card__thumb { margin-bottom: 20px; cursor: pointer; }
.cert-thumb-wrapper {
  width: 160px; height: 210px; overflow: hidden; border-radius: 6px;
  border: 1px solid #e0e0e0; box-shadow: 0 2px 10px rgba(0,0,0,.12);
  position: relative; pointer-events: none;
  background: #f5f5f5;
  display: flex; align-items: center; justify-content: center;
}
.cert-thumb-canvas {
  display: block;
  max-width: 100%;
}
@media (max-width: 767px) {
    .cert-thumb-wrapper { width: 260px; height: 347px; }
}
.cert-card__standard { font-size: 20px; font-weight: 700; color: #c11525; margin-bottom: 8px; letter-spacing: .5px; }
.cert-card__name { font-size: 14px; color: #555; margin-bottom: 12px; line-height: 1.5; }
.cert-card__lang { font-size: 13px; color: #888; margin-bottom: 24px; }
.cert-card__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: auto; }
.cert-btn {
  display: inline-flex; align-items: center; padding: 9px 18px;
  border-radius: 6px; font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: background .2s, color .2s;
}
.cert-btn--view { background: #c11525; color: #fff; }
.cert-btn--view:hover { background: #a0111e; color: #fff; }
.cert-modal-content { border: none; border-radius: 10px; overflow: hidden; }
.cert-modal-header { background: #c11525; color: #fff; border-bottom: none; padding: 14px 20px; }
.cert-modal-header .modal-title { font-size: 15px; font-weight: 600; color: #000; }
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px; margin-top: 24px;
}
@media (max-width: 768px) { .certificates-grid { grid-template-columns: 1fr; gap: 20px; } }
@media (min-width: 769px) and (max-width: 1024px) { .certificates-grid { grid-template-columns: repeat(2, 1fr); } }



/* ===== Hero Slider ===== */
.hero-slider-section { position: relative; }

.hero-swiper { height: 760px; }

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 760px;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.78) 45%, rgba(0,0,0,0.25) 100%);
    z-index: 0;
}

.hero-slide__content {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.hero-slide__tag {
    display: inline-block;
    background: #c11525;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 22px;
}

.hero-slide__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-slide__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 460px;
}

/* Navigation arrows */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(193,21,37,0.82);
    border-radius: 50%;
    color: #fff;
    transition: background .2s;
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 15px; font-weight: 700; }
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { background: #c11525; }

/* Pagination */
.hero-swiper .swiper-pagination { bottom: 28px; }
.hero-swiper .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.45);
    opacity: 1;
    transition: width .3s, background .3s;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: #c11525;
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .hero-swiper,
    .hero-slide { height: 530px; }
    .hero-slide__title { font-size: 2.1rem; }
    .hero-slide__overlay { background: rgba(0,0,0,0.68); }
    /* header position:absolute olduğu için içerik görsel merkezi yukarı kayıyor; padding ile telafi */
    .hero-slide .row.h-100 { padding-top: 80px; }
}

@media (max-width: 575px) {
    .hero-swiper,
    .hero-slide { height: 510px; }
    .hero-slide__title { font-size: 1.85rem; }
    .hero-slide__desc { font-size: .875rem; margin-bottom: 20px; }
    .hero-slide .row.h-100 { padding-top: 75px; }
    /* CTA butonu çok yer kaplıyor, küçük ekranda gizle */
    .hero-slide__content .theme-btn { display: none !important; }
    /* Swiper yön okları dar ekranda içerikle çakışıyor, gizle */
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next { display: none !important; }
}

/* ===== Nav tek satır — 1024-1399px ===== */
/* 1024px'den itibaren nav wrap edebiliyor; sağ sütun (lang+portal) da shrink edilince
   nav biraz daha büyük kalabilir ve tüm header tek satırda kalır */
@media (min-width: 1024px) and (max-width: 1399px) {
    #header-area .main-menu ul { white-space: nowrap; }
    #header-area .main-menu ul li { margin-right: 16px !important; }
    #header-area .main-menu ul li > a { font-size: 14px !important; letter-spacing: .04em; }
    /* Dil seçici — aynı oranda küçült */
    #header-area .language-switcher .dropdown-toggle { font-size: 12px !important; padding: 4px 8px !important; }
    /* Kuşgöz Portal butonu — aynı oranda küçült */
    #header-area .theme-btn.style3 { font-size: 12px !important; padding: 10px 16px !important; letter-spacing: .8px; }
}

/* ===== Feature cards — equal height ===== */
.feature1-hero .row { align-items: stretch; }
.feature1-hero .col-lg-4 { display: flex; }
.feature1-hero .feature1-card { width: 100%; }
/* ===== Contact page — info panel ===== */
.contact-panel {
    background: #fff;
    border-radius: 8px;
    padding: 0 1.75rem 2rem;
    height: 100%;
    position: relative;
}

.contact-panel__header { margin-bottom: 2rem; }

.contact-panel__title {
    font-family: Rajdhani, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.contact-panel__items { display: flex; flex-direction: column; }

.contact-panel__item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: padding-left .2s ease;
}
.contact-panel__item:first-child { padding-top: 0; }
.contact-panel__item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-panel__item:hover { padding-left: 4px; }

.contact-panel__icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    background: rgba(193,21,37,.08);
    border: 1px solid rgba(193,21,37,.18);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #c11525;
    font-size: 16px;
    transition: background .2s, border-color .2s, color .2s;
}
.contact-panel__item:hover .contact-panel__icon {
    background: #c11525;
    border-color: #c11525;
    color: #fff;
}

.contact-panel__body { flex: 1; min-width: 0; padding-top: 2px; }

.contact-panel__item-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 4px;
}

.contact-panel__item-value {
    display: block;
    font-size: .975rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.5;
    transition: color .2s;
    word-break: break-word;
}
.contact-panel__item-value:hover { color: #c11525; }

/* ===== Contact page — form heading ===== */
.contact-form__heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}
.contact-form__heading-icon {
    width: 38px; height: 38px;
    background: #c11525;
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}

/* ===== Contact page — map ===== */
.contact-map-section { padding: 0; }
.contact-map-section .container { padding-left: 12px; padding-right: 12px; }
.contact-map-section iframe { display: block; }

@media (max-width: 991.98px) {
    .contact-panel { margin-bottom: 1.5rem; }
}

/* ===== Footer — light background (matches header #f8f9fa) ===== */
.footer2 {
    background-color: #f8f9fa !important;
}
.footer2-wrapper-logoInfo__desc { color: #555 !important; opacity: 1 !important; }
.footer2-wrapper-link__title,
.footer2-wrapper-contact__title { color: #1a1a1a !important; }
.footer2-wrapper-link-list__item a,
.footer2-wrapper-contact-list__item a { color: #555 !important; opacity: 1 !important; }
.footer2-wrapper-link-list__item a:hover,
.footer2-wrapper-contact-list__item a:hover { color: #c11525 !important; }
.footer2-bottom { border-top-color: rgba(0,0,0,0.15) !important; }
.footer2-bottom p,
.footer2-bottom__links a { color: #1a1a1a !important; }
.footer2-bottom__links a:hover { color: #c11525 !important; }

/* Footer cert items on light bg */
.footer-cert-item {
    border-color: rgba(0,0,0,0.1) !important;
    background: rgba(0,0,0,0.03) !important;
}
.footer-cert-item:hover { background: rgba(193,21,37,0.08) !important; border-color: rgba(193,21,37,0.4) !important; }
.footer-cert-standard { color: #1a1a1a !important; }
.footer-cert-label { color: #888 !important; }

/* ===== Footer bottom bar ===== */
.footer-bottom-logo img {
    background: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    height: 38px;
    display: block;
}
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .footer-bottom-right { flex-direction: column; align-items: flex-start; gap: 4px; }
}