@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');

/* color palette */
:root {
    --color-red: #c92525;
    --color-parlement: #111c31;
    --color-gray: #5d687a;
    --color-lightblue: #B9D4F1;
    --color-black-1x: #21273D;
    --color-milk: #DDDDDD;
    --color-yellow:  #FFB200;
    --color-white: #fff;
    --light-white: #f2f4f6;
    /* #3c495c , #35374d, #b25e65, #435c6b, #291523 */
    ---cc-c: rgb(17, 28, 49);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* font and family */
html {
    font-size: 10px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    background: var(--light-white);
    color: var(--color-black-1x);
    line-height: 1.6;
}
ul {
    list-style: none;
}

a {
    color: var(--color-parlement);
    text-decoration: none;
    cursor: pointer;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin: 1rem 0;
}
hr {

    width: 60%;
    margin: 10px auto;
}

/* HOME PAGE 1 */
/* navigation position settings */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-white);
    color: var(--color-parlement);
    position: fixed;
    z-index: 6;
    top: 0;
    width: 100%;
    height: 60px;
    padding: 0 3rem;
    box-shadow: 1px 1px 5px 0.2px var(--color-parlement);
}

.head-title {
    width: 100%;
    height: 40px;
    background-color: var(--color-black-1x);
    color: #ffc107;
    text-align: center;
    margin-top: 60px;
    font-weight: 700;
    letter-spacing: .8rem;
    padding: 3px;
}


/* header right title link */
.nav-title ul {
    display: flex;
}
.nav-title ul li {
    height: 100%;
}
.nav-title ul li i {
    margin-right: 5px;
    text-align: center;
}
.nav-title ul a {
    text-decoration: none;
    text-align: center;
    padding: 1rem 2rem;
    margin: 0 .5px;
    color: var(--color-parlement);
    font-weight: 400;
}
.nav-title ul a:hover {
    border-bottom: 2px solid var(--color-red);
    color: var(--color-red);
}

/* Header left logo*/
.logo {
    width: 150px;
    margin-left: 15px;
    justify-content: center;
    align-items: center;
}
/* carousel/slider settings */
.carouselExampleIndicators {
    width: 80%;
}
.carousel-inner {
    width: 90%;
    height: 45%;
    top: 5px;
    margin: auto;
    border-radius: 10px;
}
.carousel-inner img {
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
}
.carousel-control-prev, .carousel-control-next {
    height: auto;
}
.health-cabinet-title {
    display: grid;
    width: 80%;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: auto;
}
.health-cabinet-title h1 {
    text-align: center;
    font-weight: 700;
}
/* /* container-head */
.container {
    display: flex;
    flex-wrap: wrap;
    
    flex-direction: column;
    margin: auto;
}
.container-head {
    text-align: center;
    margin-bottom: 20px;
    
    
}
.container-head h3 {
    letter-spacing: 0.7rem;
    color: var(--color-red);
    font-size: 3rem;
    padding: 10px 0;
}

/* container-footer */
.container-footer {
    display: grid;
    justify-content: space-evenly;
    align-content: space-around;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
}

.container-card {
    background-color: var(--color-white);
    color: #000;
    margin: auto;
    width: 150px;
    height: 150px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
    transition: .3s ease-in-out;
    
}
.container-card:hover {
    background-color: var(--color-yellow);
    transform: scale(1.05); 
}

.icons {
    width: 50px;
    margin: 40px 0 10px 50px;
    text-align: center;
}

.container-card-title {  
    font-size: 1.6rem;
    text-align: center;
}

/* Hemşirelerimiz /Nurses */
.card {
    width: 250px;
    height: 250px;
    text-align: center;
    margin: auto;
    transition: .2s;

}
.card:hover {
    transform: scale(1.04);
}
.nurses {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 90%;
    margin: auto;
}
.nurses h4 {
    font-weight: 700;
}
.col {
    margin-top: 10px;
}


/* footer  */
.footer-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: var(--color-white);
    padding: 15px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.footer-head {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;


}
.footer-title a img {
    width: 200px;

}
.footer-title {
    color: var(--color-red);
}
.footer-title h4 {
    width: 80%;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}
.footer-title-body {
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 2rem;
    color: var(--color-parlement);
    width: 55%;
    
    
}
.footer-title-body li {
    padding: .2rem 0;
    
}
.footer-title-body li:hover {
    color: var(--color-red);
    transition: .5s ease;

}
.footer-body {
    font-weight: bold;
    text-align: center;
    background-color: var(--color-white);
    color: var(--color-parlement);
    flex: 100%;
    height: 50px;
}
span {
    color: var(--color-red);
}

/* PAGE 2 SERVİCES */
.accordion-item h2 {
    text-align: center;
}
.accordion-item button {
    width: 100%;
    margin: 5px auto;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    border: none;
    background-color: var(--color-red);
}
.accordion-item button:hover {
    background-color: var(--color-parlement);
}
.accordion-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10;
    background-color: var(--color-white);
    padding: 10px;
}
.btn-danger.focus, .btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(17, 28, 49, 0.5);
}

.services-title h4 {
    font-size: 3rem;
    text-align: center;
    margin: 2rem 0;
}
#accordionExample {
    display: grid;
    flex-direction: column;
    flex-wrap: wrap;
    width: 95%;
    margin: auto;
    /* background-color: var(--color-white); */
    border-radius: 5px;
}
.accordion-body img {
    display: flex;
    justify-items: center;
    width: 95%;
    border-radius: 5px;
    /* margin: auto; */
}

/* PAGE 3 ABOUT US */

#about_us_content {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    width: 100%;
    
}
#about_us_content .about_us {
    width: 100%;
    padding: 3rem 0;
}
.about_us h4 {
    font-size: 3rem;
    color: var(--color-parlement);
    margin: auto;
    width: 100%;
    text-align: center;
}
.images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 5rem auto;
    justify-content: center;
    
}
.image img  {
    width: 340px;
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
}

/* CONTACT PAGE 4 ---> LOCATİON MAP */
.adress {
    font-size: 1.3rem;
    color: var(--color-parlement);
}
.phones {
    display: flex;
    flex-direction: column;
}
.phone-number {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}
.phone-number i {
    color: var(--color-red);
}
.phone-number p {
    margin-left: 1rem;
    color: var(--color-parlement);
}
.adress-contact {
    width: 80%;
}
#location {
    background-color: var(--color-white);
    margin: auto;
    border-radius: 5px;
    width: 90%;
    height: 800px;
}
#location h4 {
    font-size: 3rem;
    color: var(--color-parlement);
    padding: 3rem 0;
    text-align: center;
}
.location-map {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 5rem;
    justify-content: center;
}
.location-address {
    padding: 2rem;
    margin-left: 1rem;
}
.fa-location-dot {
    color: var(--color-red);
    margin-right: 1rem;
}
.fa-book {
    margin-right: 5px;
    color: var(--color-black-1x)
}
#backtotop {
    position: fixed;
    bottom: 10px;
    right: 10px;
}
#backtotop i {
    color: var(--color-red);
    font-size: 30px;
    transition: color .4s ;
}
#backtotop i:hover {
    color: var(--color-parlement);
}

/* WHATSAPP BUTTON SERVİCES BUTTON  SETTİNGS */
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
    font-size:30px;
	box-shadow: 2px 2px 3px #999;
    z-index:100;
}

.my-float{
	margin-top:16px;
}

/* RESPONSİVE DESİGN SETTİNNS */
/* // X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up) */
@media (min-width: 300px) and (max-width: 575.98px) {
    html {
        font-size: 7px;
    }
    .header-nav {
        flex-direction: column;
        height: 70px;
        padding: 10px;
    }
    .head-title {
        margin-top: 70px;
        height: 20px;
    }
    .head-title h1 {
        font-size: 1.2rem;
        height: 100%; 
    }
    .logo {
        margin: auto;
        width: 100px;
    }
    .nav-title ul li {
        font-size: 1.2rem;
    }
    .nav-title ul a:hover {
        border-bottom: none
    }
    .carousel-inner {
        height: 100%;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 10px;
    }
    .carousel-indicators li {
        width: 10px;
        height: 1px;
    }
    .container-head h3 {
        font-size: 2.5rem;
        text-align: center;
    }
    .nurses {
        margin: auto;
    }
    .health-cabinet-title h1 {
        font-size: 2rem;
    }
    .health-cabinet-title p {
        font-size: 1.4rem;
    }
    .container-footer {
        grid-template-columns: repeat(3, 1fr);
    }
    .container-card {
        width: 100px;
        height: 100px;
    }
    .icons {
        width: 30px;
        margin: 27px 0 10px 37px;
    }
    .container-card-title {
        font-size: 1.4rem;
    }
    .nurses {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    .card {
        margin: 10px auto;
        width: 150px;
        height: 150px;
    
    }
    .navigasyon {
        width: 100%;
        height: 500px;
    }
    .footer-content {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-head {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
    }
    .footer-title a img {
        width: 100px;
    
    }
    .footer-title {
        width: 100%;
        text-align: center;
        margin: auto;
    }
    .footer-title h4 {
        width: 100%;
        font-size: 1.3rem;
        font-weight: 700;
        text-align: center;
    }
    .footer-title-body {
        font-size: 1.1rem;
        font-weight: 400;
        color: var(--color-parlement);
        width: 100%;
        margin-bottom: 3rem;
    }
    .footer-body h5 {
        font-size: 1.5rem;
    }
    .adress-contact {
        width: 100%;
        margin: auto;
    }
    .adress {
        margin: auto;
    }
    .adress p {
        font-size: 1.1rem;
    }
    .phones {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .phone-number {
        margin: 10px 5px;
        font-size: 1.4rem;
    }    
    .footer-body {
        font-weight: bold;
        text-align: center;
        height: 30px;
    }
    .footer-body h5 {
        font-size: 1rem;
    }
    /* PAGE 2  */
    .accordion-header button {
        font-size: 1.1rem;
    }
    .accordion-body h3,
    .accordion-body p {
        font-size: 1.1rem;
    }
    .services-title h4 {
        font-size: 2.5rem;
    }
    .services-title h5 {
        font-size: 1rem;
    }
    /* PAGE 3 */
    .about_us h4 {
        font-size: 2.5rem;
    }
    .images {
        grid-template-columns: 1fr;
    }
    .image img {
        width: 340px;
    }
    /* PAGE 4 */
    #location {
        height: 580px;
    }
    #location h4 {
        font-size: 2.5rem;
    }
    .location-map {
        grid-template-columns: 1fr;
        
    }
    .location-map iframe {
        width: 100%;
        height: 200px;
        
    }
    .location-address {
        padding: 0; 
        margin-left: 0;
    }
    .location-address p {
        font-size: 1.3rem;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 8px;
    }
    .header-nav {
        flex-direction: column;
        height: 80px;
        padding: 10px;
    }
    .head-title {
        margin-top: 80px;
        height: 20px;
    }
    .head-title h1 {
        font-size: 1.25rem;
        height: 100%; 
    }
    .logo {
        margin: auto;
        width: 110px;
    }
    .nav-title ul li {
        font-size: 1.25rem;
    }
    
    .carousel-inner {
        height: 100%;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 15px;
    }
    .carousel-indicators li {
        width: 15px;
        height: 2px;
    }
    .container-head h3 {
        font-size: 2.8rem;
        text-align: center;
    }
    .nurses {
        margin: auto;
        width: 95%;
    }
    .health-cabinet-title h1 {
        font-size: 2.2rem;
    }
    .health-cabinet-title p {
        font-size: 1.4rem;
    }
    .container-footer {
        grid-template-columns: repeat(4, 1fr);
    }
    .container-card {
        width: 110px;
        height: 110px;
    }
    .icons {
        width: 30px;
        margin: 27px 0 10px 37px;
    }
    .container-card-title {
        font-size: 1.3rem;
    }
    .nurses {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    .card {
        margin: 10px auto;
        width: 200px;
        height: 200px;
    
    }
    .navigasyon {
        width: 100%;
        height: 500px;
    }
    .footer-content {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-head {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
    }
    .footer-title a img {
        width: 150px;
    
    }
    .footer-title {
        width: 100%;
        text-align: center;
        margin: auto;
    }
    .footer-title h4 {
        width: 100%;
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
    }
    .footer-title-body {
        font-size: 1.3rem;
        font-weight: 400;
        color: var(--color-parlement);
        width: 100%;
        margin-bottom: 3rem;
    }
    .footer-body h5 {
        font-size: 1.5rem;
    }
    .adress-contact {
        width: 100%;
        margin: auto;
    }
    .adress {
        margin: auto;
    }
    .adress p {
        font-size: 1.3rem;
    }
    .phones {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .phone-number {
        margin: 10px 5px;
        font-size: 1.7rem;
    }    
    .footer-body {
        font-weight: bold;
        text-align: center;
        height: 30px;
    }
    .footer-body h5 {
        font-size: 1.2rem;
    }
    /* PAGE 2  */
    .accordion-header button {
        font-size: 1.3rem;
    }
    .accordion-body h3,
    .accordion-body p {
        font-size: 1.1rem;
    }
    .services-title h4 {
        font-size: 2.8rem;
    }
    .services-title h5 {
        font-size: 1rem;
    }
    /* PAGE 3 */
    .about_us h4 {
        font-size: 2.8rem;
    }
    .images {
        grid-template-columns: repeat(2, 1fr);
        width: 95%
    }
    .image img {
        width: 100%;
    }
    /* PAGE 4 */
    #location {
        height: 700px;
    }
    #location h4 {
        font-size: 2.8rem;
    }
    .location-map {
        grid-template-columns: 1fr;
        
    }
    .location-map iframe {
        width: 100%;
        height: 250px;
    }
    .location-address {
        padding: 0; 
        margin-left: 0;
    }
    .location-address p {
        font-size: 1.5rem;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html {
        font-size: 9px;
    }
    .header-nav {
        flex-direction: row;
        height: 70px;
        padding: 10px;
    }
    .head-title {
        margin-top: 70px;
        height: 25px;
    }
    .head-title h1 {
        font-size: 1.6rem;
        height: 100%; 
    }
    .logo {
        margin: auto;
        width: 130px;
    }
    .nav-title ul li {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .carousel-inner {
        height: 100%;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 20px;
    }
    .carousel-indicators li {
        width: 20px;
        height: 2px;
    }
    .container-head h3 {
        font-size: 3rem;
        text-align: center;
    }
    .nurses {
        margin: auto;
        width: 95%;
    }
    .health-cabinet-title h1 {
        font-size: 2.4rem;
    }
    .health-cabinet-title p {
        font-size: 1.5rem;
    }
    .container-footer {
        grid-template-columns: repeat(4, 1fr);
    }
    .container-card {
        width: 130px;
        height: 130px;
    }
    .icons {
        width: 35px;
        margin: 33px 0 12px 45px;
    }
    .container-card-title {
        font-size: 1.2rem;
    }
    .nurses {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    .card {
        margin: 10px auto;
        width: 220px;
        height: 220px;
    
    }
    .navigasyon {
        width: 100%;
        height: 500px;
    }
    .footer-content {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-head {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
    }
    .footer-title a img {
        width: 150px;
    
    }
    .footer-title {
        width: 100%;
        text-align: center;
        margin: auto;
    }
    .footer-title h4 {
        width: 100%;
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
    }
    .footer-title-body {
        font-size: 1.3rem;
        font-weight: 400;
        color: var(--color-parlement);
        width: 100%;
        margin-bottom: 3rem;
    }
    .footer-body h5 {
        font-size: 1.5rem;
    }
    .adress-contact {
        width: 100%;
        margin: auto;
    }
    .adress {
        margin: auto;
    }
    .adress p {
        font-size: 1.3rem;
    }
    .phones {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .phone-number {
        margin: 10px 5px;
        font-size: 1.7rem;
    }    
    .footer-body {
        font-weight: bold;
        text-align: center;
        height: 30px;
    }
    .footer-body h5 {
        font-size: 1.2rem;
    }
    /* PAGE 2  */
    .accordion-header button {
        font-size: 1.3rem;
    }
    .accordion-body h3,
    .accordion-body p {
        font-size: 1.1rem;
    }
    .services-title h4 {
        font-size: 3rem;
    }
    .services-title h5 {
        font-size: 1rem;
    }
    /* PAGE 3 */
    .about_us h4 {

        font-size: 3rem;
    }
    .images {
        display: grid;
        gap: 10px;
        width: 95%
    }
    .image img {
        width: 100%
    }
    /* PAGE 4 */
    #location {
        height: 1000px;
    }
    #location h4 {
        font-size: 3rem;
    }
    .location-map {
        grid-template-columns: 1fr;
        
    }
    .location-map iframe {
        width: 100%;
        height: 500px;
    }
    .location-address {
        padding: 0; 
        margin-left: 0;
    }
    .location-address p {
        font-size: 1.5rem;
    }
}

/* // X-Large devices (large desktops, 1200px and up) */


/* // XX-Large devices (larger desktops, 1400px and up) */