@media (max-width: 1399px) {
	.swiper-slide h1 {
	    font-size: 42px!important;
	    line-height: 5rem;
	}
	.slider .main-slider .swiper-slide .container p {
	    margin-bottom: 30px;
	}
	.slider .main-slider .swiper-slide .container p {
	    font-size: 18px;
	}
}
@media (max-width: 1199px) {
	.navbar .logo a img {
	    height: 80px;
	    margin-left: 25px;
	}
	.navbar .site-menu ul li a {
	    font-size: 14px;
	}
	.navbar .logo {
	    margin-right: auto;
	    padding: 7px 0;
	}
	.navbar {
		padding: 0!important;
	  	 top: 0!important;
	    height: 98px!important;
	}
	.side-widget .logo {
	    margin-bottom: 0px;
	}
	.side-widget .site-menu {
	    margin-bottom: 5px;
	    margin-top: 2px;
	}
}
@media (max-width: 1023px) {
	.swiper-slide h1 {
	    font-size: 29px!important;
	    line-height: 4rem;
	}
	.slider .main-slider .swiper-slide .container p {
	    font-size: 15px;
	}
	.slider .main-slider .swiper-slide .container a {
	    height: 54px;
	    line-height: 54px;
	    font-size: 15px;
	}
	.slider .main-slider .swiper-slide {
	    padding: 0px 7%;
	    padding-top: 75px;
	    background: white;
	}
}
@media (max-width: 991px) {}
@media (max-width: 800px) {}
@media (max-width: 767px) {}
@media (max-width: 600px) {
	.swiper-slide h1 {
	    font-size: 20px!important;
	    line-height: 1.2;
	}
	.slider .main-slider .swiper-slide .container p {
	    font-size: 14px;
	    margin-bottom: 10px;
	}
	.slider .main-slider .swiper-slide .container a {
	    height: 44px;
	    width: 150px;
	    padding: 0;
	    text-align: center;
	    line-height: 40px;
	    font-size: 14px;
	}
}
@media (max-width: 480px) {
	.slider{
	    height: 360px!important;
	}
	.slider .main-slider {
	    height: 360px;
	}
	.slider .main-slider .swiper-slide {
	    padding: 0px 7%;
	    padding-top: 45px;
	    background: white;
	}
}
@media (max-width: 360px) {
	.slider{
	    min-height: 300px!important;
	}
	.slider .main-slider {
	    height: 300px;
	}
	.slider .main-slider .swiper-slide {
	    padding: 0px 3%;
	    padding-top: 55px;
	    background: white;
	}
	.swiper-slide h1 {
	    font-size: 15px!important;
	    line-height: 1.4;
	    padding-bottom: 10px;
	}
	.slider .main-slider .swiper-slide .container p {
		display: none;
	    font-size: 13px;
	    margin-bottom: 10px;
	}
	.slider .main-slider .swiper-slide .container a {
	    height: 36px;
	    width: 120px;
	    padding: 0;
	    text-align: center;
	    line-height: 33px;
	    font-size: 13px;
	}
	.navbar .logo a img {
	    height: 70px;
	    margin-left: 0;
	}
	.navbar {
	    height: 85px!important;
	}
	.side-widget .site-menu ul li a {
	    font-size: 15px;
	}
	.side-widget {
	    max-width: 70vw;
	    padding: 12px 11px;
	}
	.side-widget .site-menu ul li {
	    margin: 0px 0;
	}
	.side-widget small {
	    font-size: 13px;
	    margin-top: 8px;
	}
	.imagerotate{
		margin: 20px 0px 0px 30px;
	}
	.galeri__gorsel--3 {
    left: 20%;
    margin-top: 15rem ;
    border-radius: 0.3rem;
	}

	.abouttext h3{
		font-size: 2rem;
	}

	.abouttext p{
		font-size: 1.9rem;
	}

	.fa-chevron-right{
		margin-top: 15px;
	}

	.button-prev1 {
		left: 1px;
		top: 50%;
	}
	
	.button-next1{
		right: 1px;
		top: 50%;
	}

	.price-list {
		padding: 0 15px;
		margin-bottom: 50px;
	}

	.price-list .price-list-item .price-list-title {
    max-width: 100%;
	}

	.price-list-title{
		font-size: 15px;
	}

	.price-list .price-list-item p.price-list-description{
		font-size: 1.9rem;
	}

	.question{
		margin-left: 30px;
	}

	.answer{
		padding: 1px 5px !important;
		margin-left: 30px;
	}

	img.haber-gorsel{
		margin-top: -50px;
	}

	.gifimg img{
		height: auto;
	}


	/*About Page*/

	.page-header {
		height: 165px;
	}

	   .page-header .container p {
        font-size: 14px;       /* slightly smaller text */
        flex-direction: column; /* stack content vertically if needed */
        text-align: center;     /* center the text on small screens */
        padding: 5px 0; 
		margin-top: -20px;        /* optional spacing */
    }

	.otherinfo{
		padding: 0px 0px;
	}


    /* Remove side spacing */
    .abtpg {
        padding: 10px 10px !important;
		margin-bottom: -160px;
    }

    /* Force layout to stack vertically */
    .tablo {
        display: block !important;
        width: 100% !important;
    }

    /* Gallery & doctor images */
   .galeri1,
    .galeri,
    .tablo--1-ve-2 {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .imagerotate {
        width: 130px !important;
        height: auto !important;
        margin: 0 auto 10px auto;
    }

    .galeri__gorsel--3 {
        width: 100% !important;         /* FIXED: no more 2010px */
        max-width: 280px !important;     /* keeps inside screen */
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-top: 50px !important;     /* FIX: no overlap with slider */
        z-index: 1 !important;           /* stays below slider */
    }

    /* Counters under doctor image */
    .countt,
    .countb {
        position: relative !important;
        margin: 15px auto !important;
        text-align: center !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 2 !important;           /* places counters above image but below slider */
    }

    .counter-box span {
        font-size: 22px !important;
    }

    .counter-box h6 {
        font-size: 14px !important;
    }

    /* ABOUT TEXT */
    .abouttext {
        width: 100% !important;
        padding: 0 5px !important;
        text-align: center !important;
    }

    .abouttext h1 {
        font-size: 20px !important;
        line-height: 26px !important;
    }

    .abouttext h2 {
        font-size: 18px !important;
    }

    .abouttext h3 {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .abouttext .paragraf {
        font-size: 13px !important;
        line-height: 20px !important;
        text-align: justify !important;
        width: 100% !important;
    }

    /* Divider */
    .divider {
        width: 90px !important;
        height: auto !important;
        margin: 10px auto !important;
    }

    /* Spacing cleanup */
    .bosluk333,
    .bosluk3,
    .bosluk1 {
        height: 15px !important;
    }

    /* EDUCATION & TRAINING BOXES */
    .otherinfo .infobox {
        padding: 15px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .otherinfo h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .otherinfo ul {
        padding-left: 0 !important;
    }

    .otherinfo ul li {
        font-size: 13px !important;
        line-height: 20px !important;
        list-style: none !important;
        text-align: left !important;
        margin-bottom: 8px !important;
    }

    .otherinfo ul li i {
        margin-right: 5px !important;
        font-size: 12px !important;
    }


	/*footer*/

	/* Footer main container: stack boxes */
    .footertop {
        display: block !important;
        padding: 10px 15px !important;
        text-align: center!important;
		margin-bottom: -20px;
    }

    /* Each footer box becomes full width */
    .footertop .fbox {
        width: 100% !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }

    /* Fix the image size */
    .footertop .fbox img {
        width: 120px !important;
        height: auto !important;
        margin: 0 auto 15px auto !important;
        display: block !important;
    }

    /* Fix footer headings */
    .footertop .fbox h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Fix footer list spacing */
    .footertop .flist ul {
        padding: 0 !important;
        margin: 0 auto !important;
        list-style: none !important;
        text-align: center !important;
    }

    .footertop .flist ul li {
        margin: 5px 0 !important;
    }

    .footertop .flist ul li a {
        font-size: 14px !important;
    }

    /* Address and timing text */
    .footertop .add p {
        font-size: 14px !important;
        line-height: 20px !important;
        text-align: center !important;
    }

    .footertop .add p i {
        margin-right: 5px !important;
    }

    /* Fix copyright spacing */
    .copyright {
        text-align: center !important;
        font-size: 12px !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }

    /* Floating buttons placement fix */
    .float-whatsapp,
    .float-call,
    .float-email {
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

	.fbox p{
		font-size: 10px;
		margin-left: 10px;
	}

	/*footer ends*/

	/*services*/

	/* Service Page Base Styles */
header.page-header {
        padding: 18px 0 !important;
    }

    header.page-header p {
        font-size: 13px !important;
        line-height: 1.4;
    }

    .servicepg {
        padding: 25px 0 !important;
    }

    .servicepg .topcntimg img {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .servicepg .topcnt h1 {
        font-size: 22px !important;
        text-align: center;
        margin-top: 10px;
    }

    .servicepg .topcnt p {
        font-size: 14px !important;
        text-align: justify;
    }

    .servicepg .topcnt .btn {
        font-size: 13px !important;
        padding: 10px 20px !important;
        display: block;
        text-align: center;
        margin: 15px auto 0 auto;
        width: fit-content;
    }

    /* Section spacing */
    .middiv {
        padding: 30px 0 !important;
    }

    .middiv.whitebg {
        padding: 35px 0 !important;
    }

    /* Headings */
    .middiv .topcnt h2 {
        font-size: 20px !important;
        text-align: center;
        margin-bottom: 12px;
    }

    /* Paragraphs */
    .middiv .topcnt p {
        font-size: 14px !important;
        text-align: justify;
    }

    /* Lists */
    .middiv ul li {
        font-size: 14px !important;
        margin-bottom: 6px;
    }

    /* Images */
    .middiv img {
        width: 100% !important;
        margin-bottom: 15px;
    }

    /* Last section CTA */
    .middiv:last-child .topcnt p strong a {
        font-size: 15px;
        display: block;
        margin-top: 8px;
    }
	/*service ends*/

}

@media (max-width: 480px) {
    header.page-header .container p {
      margin-top: -28px !important;
    }

	.fa-chevron-right{
		margin-top: 16px;
	}
}

@media (max-width: 480px) {

    header.page-header .container{
        margin-bottom: -35px;
    }

	.page-header{
		height: 80%;
	}

    header.page-header .container p {
		display: block;
		justify-content: center;
		align-items: center;
		margin-top: 1rem;
        font-size: 14px !important;
        line-height: 1.5;
    }

    .servicepg {
        padding: 50px 0 !important;
    }

    .servicepg .topcntimg img {
        width: 80% !important;
        margin-bottom: 18px;
		margin-left: 10rem;
    }

    .servicepg .topcnt h1 {
        font-size: 24px !important;
        text-align: center;
        margin-top: 12px;
    }

    .servicepg .topcnt p {
        font-size: 15px !important;
        text-align: justify;
    }

    .servicepg .topcnt .btn {
        font-size: 14px !important;
        padding: 10px 22px !important;
        display: block;
        text-align: center;
        margin: 18px auto 0 auto;
        width: fit-content;
    }

	   .slider .button-prev {
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 16px !important;
        left: 15px !important;      /* move closer to the edge */
        top: 50% !important;
        border-width: 1.5px !important;
    }

	.slider .button-next {
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 16px !important;
        right: 15px !important;      /* move closer to the edge */
        top: 50% !important;
        border-width: 1.5px !important;
    }

	.button-prev1 {
		left: 2px;
		top: 50%;
	}
	
	.button-next1{
		right: 2px;
		top: 50%;
	}

	.price-list .price-list-item p.price-list-description{
		font-size: 14px;
	}

	.abouttext h1{
		font-size: 6rem;
	}

    /* Section spacing */
    .middiv {
        padding: 35px 0 !important;
    }

    .middiv.whitebg {
        padding: 40px 0 !important;
    }

    /* Headings */
    .middiv .topcnt h2 {
        font-size: 22px !important;
        text-align: center;
        margin-bottom: 15px;
    }

    /* Paragraphs */
    .middiv .topcnt p {
        font-size: 15px !important;
        text-align: justify;
    }

    /* Lists */
    .middiv ul li {
        font-size: 15px !important;
        margin-bottom: 8px;
    }

    /* Images */
    .middiv img {
        width: 100% !important;
        margin-bottom: 18px;
    }

    /* Last section CTA */
    .middiv:last-child .topcnt p strong a {
        font-size: 16px;
        display: block;
        margin-top: 10px;
    }

	/*footer*/

	.footertop {
        display: block !important;
        padding: 15px 18px !important;
        text-align: center !important;
        margin-bottom: -10px;
    }

    /* Each footer box full width */
    .footertop .fbox {
        width: 100% !important;
        margin-bottom: 28px !important;
        text-align: center !important;
    }

    /* Footer logo / image */
    .footertop .fbox img {
        width: 140px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto 18px auto !important;
    }

    /* Footer headings */
    .footertop .fbox h2 {
        font-size: 20px !important;
        margin-bottom: 12px !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Footer list */
    .footertop .flist ul {
        padding: 0 !important;
        margin: 0 auto !important;
        list-style: none !important;
        text-align: center !important;
    }

    .footertop .flist ul li {
        margin: 6px 0 !important;
    }

    .footertop .flist ul li a {
        font-size: 15px !important;
    }

    /* Address / timings */
    .footertop .add p {
        font-size: 15px !important;
        line-height: 22px !important;
        text-align: center !important;
    }

    .footertop .add p i {
        margin-right: 6px !important;
    }

    /* Small description text */
    .fbox p {
        font-size: 12px !important;
        margin-left: 0 !important;
        line-height: 18px !important;
        text-align: center !important;
    }

    /* Copyright */
    .copyright {
        text-align: center !important;
        font-size: 13px !important;
        margin-top: 15px !important;
        margin-bottom: 25px !important;
    }

    /* Floating buttons */
    .float-whatsapp,
    .float-call,
    .float-email {
        right: 12px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }

	/*footer ends*/

	ul#tabs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 10px 0;
    list-style: none;
}

/* Tab buttons style */
ul#tabs li {
    padding: 10px 12px;
    border: 2px solid #b833a1;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

/* First two buttons side-by-side on larger screens */
ul#tabs li:nth-child(1),
ul#tabs li:nth-child(2) {
    flex: 0 0 45%;  /* Two per row */
}

/* Third button centered on new row */
ul#tabs li:nth-child(3) {
    flex: 0 0 95%; /* Full width */
    text-align: center;
}

.abouttext {
        width: 100% !important;
        padding: 0 5px !important;
        text-align: center !important;
    }

	.abouttext p{
		font-size: 2.5rem;
	}

	.abouttext h3 {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 600;
    color: #444;
}

.abouttext h1{
	font-size: 7rem;
}

    .h2-baslik-anasayfa-ozel {
        font-size: 3rem !important;
	}

	.otherinfo {
    padding: 40px 10px;
}

}

/* Compatible for 350px screen */
@media (max-width: 350px) {
    .slider .button-next {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 14px !important;
        right: 10px !important;
        top: 50% !important;
        border-width: 1px !important;
    }
	.slider .button-prev {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 14px !important;
        left: 10px !important;
        top: 50% !important;
        border-width: 1px !important;
    }
	
	  ul#tabs {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 0;
        margin: 10px 0;
        list-style: none;
    }

    /* Tab buttons style */
    ul#tabs li {
        padding: 10px 12px;
        border: 2px solid #b833a1;
        border-radius: 8px;
        font-size: 14px;
        text-align: center;
    }

    /* First two buttons side-by-side */
    ul#tabs li:nth-child(1),
    ul#tabs li:nth-child(2) {
        flex: 0 0 45%;  /* Two per row */
    }

    /* Third button centered on new row */
    ul#tabs li:nth-child(3) {
        flex: 0 0 95%; /* Full width */
        text-align: center;
    }


}

@media (max-width: 380px) {

    /* Container adjustments */
	.otherinfo{
		padding: 0px 0px;
	}
	
	.tablo{
		padding: 0px 0px;
	}

	.abouttext {
        width: 100% !important;
        padding: 0 5px !important;
        text-align: center !important;
    }
	
    .abtpg, .abtpg .tablo, .abouttext {
        width: 100%; 
    }

    /* Headings */
    .abouttext h2 {
        font-size: 16px;
        line-height: 1.3;
        text-align: center; /* Centered headings */
        margin-bottom: 5px;
    }

    .abouttext h1 {
        font-size: 20px;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 5px;
		font-family: 'Playfair Display', serif;
font-weight: 700;
    }

    .abouttext h3 {
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 10px;
		width: 100%;
    }

    /* Paragraphs */
    .abouttext p.paragraf {
        font-size: 13px;
        line-height: 1.5;
        text-align: justify; /* Makes text look neat */
        margin-bottom: 10px;
    }

    /* Divider */
    .abouttext .divider {
        width: 80px;
        margin: 10px auto;
        display: block;
    }

    /* Images */
    .galeri1 img, .galeri img, .imagerotate {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Counters */
    .countt, .countb {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    /* Info section */
    .otherinfo .infobox {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
    }

    .otherinfo h2 {
        font-size: 16px;
        text-align: left;
        margin-bottom: 5px;
    }

    .otherinfo ul li {
        font-size: 13px;
        line-height: 1.4;
        text-align: left;
        word-wrap: break-word; /* Prevent overflow */
    }

    .otherinfo ul li i {
        margin-right: 5px;
    }

	.question{
		font-size: 2.5rem !important;
		margin-left: 30px;
	}

}
