/* ========== Mobil genel – yatay taşmayı önle ========== */
@media (max-width: 991px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablet – tutarlı boşluklar */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  body {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
  img, iframe, video, embed, object {
    max-width: 100%;
    height: auto;
  }
  iframe {
    max-height: 100vh;
  }
}

/* Normal desktop :992px. */

@media (min-width: 992px) and (max-width: 1169px) {
  .slider-content {
    padding: 146px 0;
  }
}

/* Tablet desktop :768px. */

@media (min-width: 768px) and (max-width: 991px) {
  .main-menu ul.navbar-nav li {
    display: inline-block;
    padding: 0 8px;
  }
  .layer-1-1 h2 {
    font-size: 24px;
  }
  .layer-1-2 h1 {
    font-size: 31px;
    line-height: 38px;
    padding: 0px 30px;
  }
  .stick .main-menu ul.navbar-nav li a {
    padding: 24px 0px;
  }
  .tab-menu ul.nav li a {
    padding: 10px 16px;
  }
  .suscribe-input input {
    width: 60%;
  }
  .suscribe-input button {
    width: 40%;
  }
  .team-content.text-center>h4 {
    font-size: 20px;
  }
  .sus-btn {
    margin-left: 0;
  }
  .suscribe-text h3 {
    font-size: 16px;
    padding-right: 20px;
  }
  .single-awesome-portfolio {
    width: 33.33%;
  }
  .widget-product a img {
    display: block;
    float: none;
    width: 100%;
  }
  .widget-product .product-info {
    display: block;
    float: none;
    padding-left: 0;
    width: 100%;
    margin-top: 20px;
  }
  .map-column {
    margin-left: 0;
    padding-right: 40px;
  }
  .post-information .entry-meta {
    font-size: 13px;
    padding: 5px 0;
  }
  .post-information .entry-meta span a {
    padding: 4px 0;
  }
  .service-pic {
    margin-bottom: 30px;
    text-align: center;
  }
  .single-add-itms {
    width: 50%;
  }
  .left-sidebar-title>h4 {
    font-size: 18px;
  }
  .contact-form,
  .contact-form-card {
    margin-top: 0;
  }
  .contact-map-form-row .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
  }
  .contact-map-form-row .col-md-6:first-child {
    padding-right: 15px;
    margin-bottom: 20px;
  }
  .contact-map-form-row .col-md-6:last-child {
    padding-left: 15px;
  }
  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 320px;
  }
  .contact-form-card {
    padding: 28px 22px 32px;
    min-height: 0;
  }
  .contact-form-card .contact-form-title {
    font-size: 18px;
  }
  .contact-form-submit {
    width: 100%;
    max-width: 100%;
  }
  .contact-form-submit-wrap {
    text-align: center;
  }
  .search-option input {
    width: 67%;
  }
}

/* small mobile :320px. */

@media (max-width: 767px) {

  /* İstatistik kartları: mobilde yan yana 3 sütun, kompakt */
  .about-stats-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
  }

  .about-stat-card {
    padding: 20px 12px;
    border-radius: 10px;
  }

  .about-stat-card i {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .about-stat-card strong {
    font-size: 24px;
    margin-bottom: 4px;
  }

  .about-stat-card span {
    font-size: 12px;
  }

  .header-area {
    height: 60px !important;
    min-height: 60px;
    padding-top: env(safe-area-inset-top, 0);
    background: #000;
  }
  #sticker.header-area {
    padding-top: env(safe-area-inset-top, 0);
  }
  .navbar-header a.navbar-brand, .stick .navbar-header a.navbar-brand {
    display: inline-block;
    height: 60px !important;
    padding: 9px 0;
    max-width: 70%;
  }
  .navbar-brand .site-logo {
    max-height: 36px;
    width: auto;
    max-width: 100%;
  }
  .stick .navbar-brand .site-logo {
    max-height: 34px;
  }
  .navbar-default .navbar-toggle, .stick .navbar-default .navbar-toggle {
    padding: 15px 0;
  }
  /* Mobil menü: yandan (sağdan) açılır */
  .navbar-collapse.collapse,
  .bs-example-navbar-collapse-1.collapse {
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
  }
  .navbar-collapse,
  .bs-example-navbar-collapse-1 {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 60px 20px 24px;
    background-color: #252525;
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -4px 0 24px rgba(0,0,0,0.4);
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    overflow-y: auto;
    z-index: 9998;
  }
  .navbar-collapse.in,
  .bs-example-navbar-collapse-1.in {
    transform: translateX(0);
    visibility: visible;
  }
  .navbar-header {
    z-index: 9999;
    position: relative;
  }
  /* Mobil menü – tek sütun, hizalı ve düzenli */
  .navbar-collapse .nav.navbar-nav,
  .bs-example-navbar-collapse-1 .nav.navbar-nav,
  .nav.navbar-nav.navbar-right,
  .stick .nav.navbar-nav.navbar-right {
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
    background: transparent;
  }
  .main-menu ul.navbar-nav li,
  .stick .main-menu ul.navbar-nav li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-menu ul.navbar-nav li:last-of-type {
    border-bottom: none;
  }
  .main-menu ul.navbar-nav li a,
  .stick .main-menu ul.navbar-nav li a {
    padding: 16px 0;
    font-size: 15px;
    min-height: 48px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
  }
  .main-menu ul.navbar-nav li.nav-cta-wrap {
    padding: 20px 0 0;
    border-bottom: none;
  }
  .main-menu ul.navbar-nav li .nav-cta-btn {
    width: 100%;
    text-align: center;
    padding: 16px 20px !important;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .main-menu ul.navbar-nav li.active a::after,
  .stick .main-menu ul.navbar-nav li.active a::after {
    border: 0;
  }
  .logo {
    height: inherit;
    left: 0;
    padding: 0;
    position: absolute;
    top: -6px;
    z-index: 999999;
  }
  .logo a {
    padding: 0;
  }

  .slider-area {
    margin-top: 60px;
  }

  .slider-content h2 {
    font-size: 18px !important;
    line-height: 24px !important;
  }
  .slider-content h1 {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .layer-1-3 a.ready-btn {
    padding: 8px 15px;
  }
  .section-headline h2 {
    font-size: 30px;
  }
  .well-middle .single-well {
    margin-top: 30px;
  }
  .single-skill {
    margin-bottom: 40px;
  }
  .tab-menu {
    margin-top: 30px;
  }
  .tab-menu ul.nav li a {
    padding: 8px 6px;
  }
  .subs-feilds {
    width: 100%;
  }
  .suscribe-input input {
    width: 60%;
  }
  .suscribe-input button {
    font-size: 15px;
    padding: 14px 10px;
    width: 40%;
  }
  .section-headline h3 {
    font-size: 25px;
  }
  .well-text>h2 {
    font-size: 18px;
  }
  .well-text p {
    display: none;
  }
  .single-team-member {
    margin-bottom: 30px;
  }
  .service-right {
    width: 100%;
  }
  .service-images:hover .overly-text {
    display: none;
  }
  .portfolio-area {
    padding-top: 0px;
  }
  .project-menu li a {
    padding: 8px 12px;
    margin: 10px 4px;
  }
  .pri_table_list {
    margin-bottom: 30px;
  }
  .single-awesome-project, .portfolio-2 .single-awesome-project {
    width: 100%;
    float: none;
  }
  .single-blog {
    margin-bottom: 30px;
  }
  .sus-btn {
    margin-left: 0;
    margin-top: 30px;
  }
  .contact-form {
    margin-top: 30px;
  }
  .head-team h5 {
    font-size: 22px;
  }
  .footer-content {
    margin-bottom: 30px;
  }
  .header-bottom h1 {
    font-size: 30px;
    margin-bottom: 0;
  }
  .page-area .slider-content {
    padding: 100px 0;
  }
  .search-option input {
    width: 74%;
  }
  .header-bottom h2 {
    font-size: 20px;
    margin-bottom: 0;
  }
  li.threaded-comments {
    margin-left: 0;
  }
}

/* Large Mobile :480px. */

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .submitbtn {
    float: none;
    width: 99.8%;
  }
  .icons-bottom ul li a {
    height: 40px;
    line-height: 37px;
    width: 40px;
  }
  .blog-post-dlc ul li {
    padding-left: 20px;
    padding-right: 20px;
  }
  .awesome-portfolio-content .portfolio-2 {
    width: 50%;
  }
  .gallary-details .single-awesome-portfolio {
    width: 50%;
  }
  .tab-menu ul.nav li a {
    padding: 8px 20px;
  }
}

/* ========== Moon Sigorta – Mobil uyumluluk (767px ve altı) ========== */
@media (max-width: 767px) {
  .area-padding {
    padding: 44px 0 50px;
  }
  .area-padding-2 {
    padding: 44px 0 36px;
  }
  .section-headline h2 {
    font-size: 26px;
    margin-bottom: 36px;
  }
  .section-headline h2::after {
    bottom: -12px;
  }

  /* Hakkımızda */
  .about-area .row {
    margin-bottom: 24px;
  }
  .about-content-card {
    padding: 28px 20px 32px;
  }
  .about-content-card .about-cta-wrap {
    text-align: center;
  }
  .about-section-label {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .about-headline {
    font-size: 22px;
    line-height: 1.3;
  }
  .about-text {
    font-size: 14px;
    line-height: 1.6;
  }
  .about-cta-btn {
    display: inline-flex;
    padding: 14px 24px;
    font-size: 14px;
    min-height: 48px;
  }
  .about-img-wrap .img-responsive,
  .about-img-wrap img {
    max-width: 100%;
    height: auto;
  }

  /* Hizmetler */
  .services-head h2 {
    font-size: 26px;
    margin-bottom: 28px;
  }
  .services-cards-row .col-xs-12 {
    margin-bottom: 20px;
  }
  .service-card {
    padding: 24px 20px;
    min-height: auto;
  }
  .service-card-title {
    font-size: 18px;
  }
  .service-card-desc {
    font-size: 14px;
    line-height: 1.55;
  }

  /* FAQ */
  .faq-section-head h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .faq-content-row {
    flex-direction: column;
  }
  .faq-content-row .col-md-6 {
    width: 100%;
    margin-bottom: 24px;
  }
  .faq-accordion-card,
  .faq-tabs-card {
    padding: 20px 16px;
  }
  .faq-tab-menu .nav-tabs li a {
    font-size: 13px;
    padding: 10px 12px;
  }
  .faq-details h4.check-title a {
    font-size: 14px;
    padding: 12px 14px;
  }

  /* CTA Danışmanlık */
  .cta-consult-bg {
    padding: 40px 20px 48px;
  }
  .cta-consult-icon-wrap {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 18px;
  }
  .cta-consult-title {
    font-size: 20px;
    line-height: 1.3;
  }
  .cta-consult-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .cta-consult-btns {
    flex-direction: column;
    gap: 10px;
  }
  .cta-consult-btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    padding: 14px 20px;
  }

  /* İş Ortakları */
  .partners-head {
    margin-bottom: 28px;
  }
  .partners-title {
    font-size: 22px;
    line-height: 1.3;
  }
  .partners-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }
  .partners-features-row .col-xs-12 {
    margin-bottom: 20px;
  }
  .partners-feature-card {
    padding: 20px 18px;
  }
  .partners-feature-title {
    font-size: 16px;
  }
  .partners-feature-desc {
    font-size: 13px;
  }
  .partners-logos-outer {
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .partners-logos-wrap {
    padding: 16px 0 8px;
  }
  .partners-logos-wrap::before,
  .partners-logos-wrap::after {
    width: 24px;
  }
  .partners-area::before {
    width: 96%;
    height: 120px;
    top: -30px;
  }

  /* CTA Teklif */
  .cta-quote-area .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .cta-quote-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 28px 20px;
  }
  .cta-quote-title {
    font-size: 20px;
  }
  .cta-quote-desc {
    font-size: 14px;
  }
  .cta-quote-btn {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 14px;
  }

  /* İletişim – kayma/görünmezlik düzeltmesi */
  #contact,
  #contact .contact-inner {
    overflow: visible;
  }
  #contact .contact-overly {
    position: relative !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .contact-section-head {
    margin-bottom: 24px;
  }
  .contact-section-head h2 {
    font-size: 26px;
  }
  .contact-section-desc {
    font-size: 14px;
  }
  .contact-cards-row,
  .contact-cards-row .col-xs-12,
  .contact-cards-row .col-sm-6,
  #contact .contact-card {
    visibility: visible !important;
    opacity: 1 !important;
  }
  .contact-cards-row .col-xs-12 {
    margin-bottom: 16px;
  }
  .contact-card {
    padding: 22px 18px;
    min-height: auto;
  }
  .contact-card-title {
    font-size: 16px;
  }
  .contact-card-value {
    font-size: 14px;
  }
  .contact-card-address-text {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .contact-map-form-row {
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 8px;
  }
  .contact-map-form-row .col-sm-6,
  .contact-map-form-row .col-md-6,
  .contact-map-form-row .col-xs-12 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-bottom: 24px;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .contact-map-form-row .col-sm-6:last-child,
  .contact-map-form-row .col-md-6:last-child,
  .contact-map-form-row .col-xs-12:last-child {
    margin-bottom: 0;
  }
  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 280px;
  }
  .contact-form-card {
    padding: 24px 20px 28px;
    min-height: 0;
  }
  .contact-form-card .contact-form-title {
    font-size: 18px;
  }
  .contact-form-card .form-control {
    min-height: 48px;
  }
  .contact-form-submit {
    min-height: 48px;
  }
  #contact {
    scroll-margin-top: 72px;
  }

  /* Footer */
  .footer-modern .footer-area {
    padding: 36px 0 28px;
  }
  .footer-modern .footer-inner .row > [class*="col-"] {
    margin-bottom: 28px;
  }
  .footer-modern .footer-desc {
    max-width: 100%;
    font-size: 13px;
  }
  .footer-modern .footer-quick-links a,
  .footer-modern .footer-contacts-list li {
    font-size: 13px;
  }
  .footer-modern .footer-copy {
    font-size: 12px;
    text-align: center;
    margin-top: 16px;
  }

  /* Slider ek mobil */
  .slider-area,
  .slider-area .bend {
    overflow-x: hidden;
  }
  .slider-content {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .slider-content::before {
    width: calc(100% + 16px);
    max-width: calc(100vw - 16px);
    min-height: 200px;
  }
  .slider-btns {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hizmetlerimiz bölümü mobilde her zaman görünsün – WOW animasyonu bitmeden de görünür */
  #services,
  .services-area {
    display: block !important;
    visibility: visible !important;
    overflow: visible;
  }
  .services-area.area-padding {
    padding-top: 44px;
    padding-bottom: 50px;
  }
  #services {
    scroll-margin-top: 72px;
  }
  .services-cards-row,
  .services-cards-row .col-xs-12,
  .services-cards-row .col-sm-6,
  .services-cards-row .service-card,
  #services .service-card {
    visibility: visible !important;
    opacity: 1 !important;
  }
  .services-cards-row .col-xs-12 {
    margin-bottom: 20px;
  }

  /* Genel taşma önleme */
  .section-headline,
  .partners-head,
  .contact-section-head {
    padding-left: 0;
    padding-right: 0;
  }
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Tablet (768px–991px) ek düzenlemeler */
@media (min-width: 768px) and (max-width: 991px) {
  .area-padding {
    padding: 54px 0 60px;
  }
  .section-headline h2 {
    font-size: 32px;
    margin-bottom: 48px;
  }
  .about-headline {
    font-size: 26px;
  }
  .about-text {
    font-size: 15px;
  }
  .services-cards-row .col-sm-6 {
    margin-bottom: 24px;
  }
  .service-card {
    padding: 28px 24px;
  }
  .partners-title {
    font-size: 28px;
  }
  .partners-subtitle {
    font-size: 15px;
  }
  .partners-feature-card {
    padding: 24px 20px;
  }
  .cta-consult-bg {
    padding: 52px 28px 60px;
  }
  .cta-consult-title {
    font-size: 24px;
  }
  .cta-consult-desc {
    font-size: 16px;
  }
  .cta-consult-btn {
    min-height: 48px;
  }
  .cta-quote-inner {
    padding: 24px 28px;
    gap: 20px 28px;
  }
  .cta-quote-title {
    font-size: 21px;
  }
  .contact-section-head h2 {
    font-size: 30px;
  }
  .contact-form-card {
    padding: 30px 26px 34px;
  }
  .contact-form-card .contact-form-title {
    font-size: 19px;
  }
  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 360px;
  }
  .footer-modern .footer-area {
    padding: 40px 0 32px;
  }
}

/* Küçük mobil (480px ve altı) – ek sıkılaştırma */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .row {
    margin-left: -12px;
    margin-right: -12px;
  }
  .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
  }
  .area-padding {
    padding: 36px 0 42px;
  }
  .section-headline h2 {
    font-size: 22px;
    margin-bottom: 28px;
  }
  .about-headline {
    font-size: 20px;
  }
  .about-text {
    font-size: 14px;
  }
  .about-cta-btn {
    display: inline-flex;
    padding: 12px 20px;
    font-size: 13px;
  }
  .services-head h2 {
    font-size: 22px;
    margin-bottom: 22px;
  }
  .service-card {
    padding: 20px 16px;
  }
  .service-card-title {
    font-size: 17px;
  }
  .faq-section-head h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .cta-consult-bg {
    padding: 32px 16px 40px;
  }
  .cta-consult-title {
    font-size: 18px;
  }
  .cta-consult-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .cta-consult-btn {
    max-width: 100%;
    padding: 12px 18px;
    font-size: 13px;
  }
  .partners-title {
    font-size: 20px;
  }
  .partners-subtitle {
    font-size: 13px;
  }
  .partners-logos-outer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .partners-logos-slide {
    gap: 24px;
    padding: 0 16px;
  }
  .partners-logo-item {
    width: 100px;
    min-width: 100px;
    height: 72px;
  }
  .partners-logo-item img {
    max-height: 48px;
    height: 48px;
    max-width: 88px;
  }
  .partners-feature-card {
    padding: 18px 16px;
  }
  .cta-quote-inner {
    padding: 24px 16px;
  }
  .cta-quote-title {
    font-size: 18px;
  }
  .cta-quote-desc {
    font-size: 13px;
  }
  .contact-section-head h2 {
    font-size: 22px;
  }
  .contact-card {
    padding: 18px 16px;
  }
  .contact-form-card {
    padding: 20px 16px 24px;
  }
  .contact-form-card .contact-form-title {
    font-size: 17px;
  }
  .contact-map-wrap,
  .contact-map-wrap iframe {
    min-height: 260px;
  }
  .footer-modern .footer-area {
    padding: 32px 0 24px;
  }
  .footer-content {
    margin-bottom: 24px;
  }
  .footer-desc {
    font-size: 14px;
  }
  .slider-content {
    padding: 40px 12px 56px;
  }
  .slider-content::before {
    min-height: 180px;
  }
  .layer-1-2 h1, .layer-1-2 .title2 {
    font-size: 18px;
    line-height: 1.35;
  }
  .layer-1-3 a.ready-btn {
    min-width: 0;
    padding: 10px 14px;
    font-size: 12px;
  }
}
