.container {
	flex-wrap: wrap;
}

.logo {
	flex: 1;
}

ul.buttons {
	margin-right: 1rem;
}

.header-language {
	a {
		font-size: 1rem;
		font-weight: 500;
	}

	span {
		width: auto !important;
		height: auto !important;
	}
}

.page-items .item {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	align-items: center;
	margin: 40px 0;
	font-size: 15px;
}

/* Sadece metin içeren item'lar için */
.page-items .item.full-text {
	grid-template-columns: 1fr;
}

.locations .location .info {
    gap: 10px;
    justify-content: space-between;
}
.locations .location .info li:nth-child(1) {
    width: 70%;
}
.locations .location .info li {
	display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
	.locations .location .info li:last-child {
		align-items: end;
	}
}

.locations .location .info li span {
	display: inline-block;
    i.icon {
    	float: left;
    	width: 14px;
    	margin-right: 6px;
    }
}


/* New Updated - Mym */
.header-top .container-fluid {
	display: flex;
	justify-content: space-between;
}
.header-top ul {
	display: flex;
	align-items: center;
}
.header-top ul li {
	margin-right: 1rem;
}
.header-top .container-fluid {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-top .logo {
	flex: none!important;
}
#menu .menu .drop-down:hover .sub-item {
    z-index: 1;
    top: calc(100%);
    display: block;
}
#menu .menu .drop-down:hover .sub-item .image { display:none; }



@media(max-width: 992px) {
	.slider-form { display:none; }
}

.home-slider .slider-form .form form {
    background: #ffffff;
    border-radius: 0 1.3rem 1.3rem 1.3rem;
        padding: 1rem;
}

.slider-form .online-form {
    padding: 0;
    border-radius: 0 1.3rem 1.3rem 1.3rem;
}


div.nav-tabs {
	border: 0;
}

.nav-tabs .nav-link {
    background: #74bb34;
    padding: 1rem 2rem;
    color: #fff;
    &:first-child {
    	border-radius: 1.3rem 1.3rem 0 0;
    	border: 0;
    }
    &:last-child {
    	/*border-radius: 0 1.3rem 0 0;*/
    }
}
.nav-tabs .nav-link.active {
	background: #74bb34;
	color: #fff;
	border:0;
	i {
		color: #000;
	}
}

.slider-form-area {
    width: 100%;
    margin-bottom: 3rem;
    height: auto;
}
@media (max-width: 992px) {
	.slider-form-area {
		height: auto;
	}
}

.home-slider .slider-form .form form .title { color: #212529; }

.tab-content>.active {
	width: 100%;
    background: #fff;
    border-radius: 1.3rem;
}

.home-slider .slider-form .form {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
}

.home-slider .online-form form {
    display: flex;
}


.home-products .products.slick-slider .product {
    height: 25rem;
}
.home-products .products.slick-slider .product .image {
	height: 100%;
	img {
    	width: auto;
        height: 100%;
        object-fit: cover;
	}
}

/* Hizmetler */


.services .service {
	.text {
		height: 330px;
	}
}
@media (max-width: 992px) {
	.services .service {
    	.text {
        	height: 14rem;
        }
    }
}

.services .service .image {
    height: 235px;
    max-height: 235px;
    img {
    	object-fit: cover;
    	height: 100%;
    }
}


@media (max-width: 992px) {
	.slider {
		width: 100%;
		.item {
			height: 250px;

			width: 100%;
		    position: relative; /* İçindeki öğeler için konumlandırma */
		    overflow: hidden; /* Taşmaları gizle */
		    background-color: #f0f0f0; /* Resim boşlukları veya yüklenene kadar gösterilecek renk */

		    background-repeat: no-repeat;
		    background-position: center center;
		    background-size: cover;

			img {
				object-fit: cover;
				height: 100%;
				display: none;
			}

			.content { /* Farazi bir .content sınıfı */
			    position: absolute;
			    top: 0;
			    left: 0;
			    width: 100%;
			    height: 100%;
			    display: flex;
			    justify-content: center;
			    align-items: center;
			    z-index: 1; /* Arka planın üzerinde görünmesi için */
			    color: white;
			    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
			}
		}
	}
}

/*Mobile action bar*/
/* Mobil Eylem Çubuğu Stil */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
    z-index: 1000;
}

.action-bar-container { 
	display: flex;
    justify-content: space-around; /* Öğeleri eşit aralıklarla dağıtır */
    align-items: center;
    padding: 10px 0;

    width: 100%;
    border-radius: 50px;
    background-color: #74ba35;
}

.action-item {
    display: flex;
    flex-direction: column; /* İkon ve metni alt alta hizalar */
    align-items: center; /* Dikeyde ortalar */
    justify-content: center; /* Yatayda ortalar */
    flex-grow: 1; /* Öğelerin eşit genişlikte yayılmasını sağlar */
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: #333; /* Varsayılan metin rengi */
    font-size: 0.8rem; /* Metin boyutu */
    font-weight: bold;
    padding: 5px 0; /* İç boşluk */
    position: relative; /* Sarı çizgi için */
}

/* Sarı dikey ayırıcı çizgiler */
.action-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%; /* Çizgiyi dikeyde ortala */
    bottom: 10%; /* Çizgiyi dikeyde ortala */
    width: 1px; /* Çizginin kalınlığı */
    background-color: #fff; 
    opacity: 0.7; /* Hafif saydamlık */
}

.action-icon {
    width: 20px; /* İkon boyutu */
    height: 20px; /* İkon boyutu */
    margin-bottom: 5px; /* İkon ile metin arasına boşluk */
    stroke: #fff; /* Çizgi rengi (SVG stroke) */
    fill: none; /* İç dolguyu kaldır (eğer ikon dolguya sahipse) */
    transition: transform 0.2s ease-in-out; /* Hafif bir animasyon */
}

.action-item:hover .action-icon {
    transform: scale(1.1); /* Fare üzerine gelindiğinde ikon büyür */
}

.action-item .action-text {
    color: #fff; /* Metin rengi */
    transition: color 0.2s ease-in-out;
    font-size: 0.7rem;
}

.action-item:hover .action-text {
    color: #fff; /* Fare üzerine gelindiğinde metin rengi değişir */
}

/* Sadece mobil cihazlar için göster (örneğin 992px ve altı) */
@media (max-width: 992px) {
    .mobile-action-bar {
        display: flex; /* Bu medya sorgusu aktif olduğunda görünür */
    }
}

/* Daha büyük ekranlarda kesinlikle gizle (isteğe bağlı, zaten display:none var) */
@media (min-width: 993px) {
    .mobile-action-bar {
        display: none !important;
    }
}

@media (max-width: 992px) {
	.page-items .item {
	    display: flex;
	    flex-direction: column;
	    padding: 1rem;
	}
}

@media (max-width: 768px) {
    .services {
        gap: 30px;
        grid-template-columns: repeat(1, 1fr)!important;
    }
    .home-banner .banner { 
    	padding: 50px 20px!important;
    }
}

/*Analşmalı sigorta firmaları css*/
.our-referances {
  display: grid;
  gap: 1rem; /* öğeler arası boşluk */
  padding: 1rem;

  /* Mobil: 1 sütun */
  grid-template-columns: repeat(2, 1fr);
}

/* Küçük tablet: 2 sütun */
@media (min-width: 576px) {
  .our-referances {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet: 3 sütun */
@media (min-width: 768px) {
  .our-referances {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Küçük masaüstü: 4 sütun */
@media (min-width: 992px) {
  .our-referances {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Büyük masaüstü: 5 sütun */
@media (min-width: 1200px) {
  .our-referances {
    grid-template-columns: repeat(5, 1fr);
  }
}

.referance-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.referance-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  &:hover {
  	transform: scale(1.05);
  }
}
