@import url('https://fonts.googleapis.com/css?family=Poppins:wght@300;400;500;600;7006 display=swap');

:root {
    --light-blue: #1a7bd1;
    --dark-gray: #2c2d3f;
    --light-gray: #757575;
    --bg-white: #f6f6f6;
    --bg-newsletter: #edf2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* ------------------------------------------------------------- */

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3 {
    color: #2c2d3f;
}

h2,
h3 {
    font-weight: 600;
}

P {
    color: #757575;
    font-size: 14px;
}

/* ------------------------------------------------------------- */

/* utility classes */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

.text-primary {
    color: #1a7bd1;
}

.btn {
    display: inline-block;
    cursor: pointer;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}


.btn-primary {
    background-color: #1a7bd1;
    color: white;
}

.btn-primary:hover {
    color: #f6f6f6;
    background-color: #1a7cd1b7;

}

.btn-secondary {
    background-color: #2c2d3f;
    color: white;
}

.btn-secondary:hover {
    background-color: #4c4f6e;
}

.btn-third {
    background-color: white;
    color: #1a7bd1;
    border: 1px solid white;
}

.btn-third:hover ,#help .row .col i:hover{
    background-color: #1a7bd1;
    color: white;
}

.btn-forth {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-forth:hover {
    background-color: white;
    color: #2c2d3f;
}

.title {
    text-align: center;
}

.title h2 {
    font-size: 32px;
    max-width: 600px;
    margin: auto;
}

.title img {
    margin: 20px 0;
}

.title p {
    font-size: 16px;
    max-width: 600px;
    margin: auto;
}


/* ------------------------------------------------------------- */


/* nav  */
#home .header {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: white;
    border-bottom: 1px solid #ccc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#home .header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    min-height: 100px;
}

#home .header .logo {
    width: 250px;
}

#home .header nav .ul {
    display: flex;
}

#home .header nav ul li{
    position: relative;
}

#home .header nav ul li a {
    color: #2c2d3f;
    font-size: 18px;
    font-weight: 500;
    margin: 0 15px;
    transform: all 0.3s ease;
}

#home .header nav ul li a:hover {
    color: #1a7bd1;
}

/* end nav  */

/* ------------------------------------------------------------- */

/* Home */
#home .homee {
    background: url("Images/bg-home.jpg") no-repeat center center/cover;
    min-height: 100vh;
    align-items: center;
    display: flex;
    margin-top: 6rem;
}

#home .homee .home-contact {
    width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

.home-contact small {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
}

.home-contact small img {
    vertical-align: middle;
}

.home-contact h1 {
    font-size: 40px;
    max-width: 600px;
    line-height: 1.4;
}

.home-contact p {
    margin: 10px 0 30px;
    max-width: 500px;
    line-height: 1.6;
}

.home-contact a {
    margin-right: 15px;
}

/* End Home */

/* ------------------------------------------------------------- */

/* About */
#about,
#help,
#services,
#blogs {
    padding: 6rem 0;
}

#about .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 4rem;
    margin-top: 3rem;
}

#about .row .col h3 {
    font-size: 25px;
}

#about .row .col hr {
    width: 60px;
    height: 3px;
    background-color: #1a7bd1;
    border: none;
    margin-top: 5px;
    margin-bottom: 15px;
}

#about .row .col p {
    font-size: 16px;
    margin-bottom: 25px;
}

#about .row .col .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#about .row .col .list li {
    margin-bottom: 5px;
    color: #1a7bd1;
}

#about .row .col .list li i {
    color: #1a7bd1;
    margin-right: 5px;
}

#about .row img {
    width: 100%;
}

/* End About */

/* ------------------------------------------------------------- */

/* Info */
#info,
#brand {
    background: url("Images/info-bg.jpg") no-repeat center center/cover;
    padding: 6rem 0;
    position: relative;
    color: white;
    z-index: 1;
}

#info::before,
#call::before,
#brand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a7bd1;
    opacity: 0.5;
    z-index: -1;
}

#info .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

#info .row .col {
    display: flex;
    justify-content: center;
    align-items: center;
}

#info .row .col:hover i,
#footer .footer-top .row .col-1 .social  a i:hover{
    color: #1a7bd1;
    background-color: white;
}


#info .row .col i {
    font-size: 30px;
    color: white;
    padding: 18px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    margin-right: 15px;
    /* height: 70px; */
    transition: all 0.3s ease;
}


#info .row .col span {
    font-size: 30px;
    font-weight: 600;
}

#info .row .col p {
    color: white;
}

/* End I nfo */

/* ------------------------------------------------------------- */

/* Help */
#help .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

#help .row .col {
    position: relative;
}

#help .row .col i {
    font-size: 30px;
    color: #1a7bd1;
    width: 70px;
    /* height: 70px; */
    justify-content: center;
    align-items: center;
    padding: 18px;
    /* display: flex; */
    border: 2px solid #ddd;
    border-radius: 50%;
}

#help .row .col h3 {
    margin: 20px 0;
}

#help .row .col:first-child::before,
#help .row .col:nth-child(2)::before {
    content: "";
    border-bottom: 4px dotted #1a7bd1;
    width: 118px;
    position: absolute;
    top: 40px;
    right: -75px;
}

/* End Help */

/* ------------------------------------------------------------- */

/* Call */
#call {
    background: url("Images/call-bg.jpg") no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

#call .call-content {
    max-width: 600px;
    margin: auto;
}

#call .call-content h2 {
    font-size: 35px;
    color: white;
}

#call .call-content p {
    margin: 25px 0;
    color: white;
}

#call .call-content a {
    margin-right: 20px;
}

/* End Call */

/* ------------------------------------------------------------- */

/* Services */
#services .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
    margin-top: 5rem;
}

#services .row .item {
    display: flex;
}

#services .row .item i {
    font-size: 40px;
    color: #1a7bd1;
    margin-right: 20px;
}

#services .row .item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
/* End Services */

/* ------------------------------------------------------------- */

/* Price */
#price,
#doctors,
#contact {
    background-color: #f6f6f6;
    padding: 6rem 0;
}

#price .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    margin-top: 5rem;
}

#price .row .col {
    background-color: white;
    padding: 3rem 2rem;
    border: 1px solid #ddd;
    position: relative;
    box-shadow:0 5px 10px rgba(0, 0, 0, 0.2) ;
}

#price .row .col .price-details {
    text-align: center;
}

#price .row .col .price-details i {
    font-size: 60px;
    color: #1a7bd1;
}

#price .row .col .price-details h3 {
    font-size: 24px;
    margin-top: 2rem;
    font-weight: 500;
}

#price .row .col .price-details p {
    color: #1a7bd1;
    font-size: 35px;
    font-weight: 600;
}

#price .row .col .price-details p span {
    color: #757575;
    font-size: 16px;
    font-weight: 300;
}

#price .row .col ul {
    margin-top: 2rem;
}

#price .row .col ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    color: #757575;
}

#price .row .col ul li i.fa-circle-check {
    color: #1a7bd1;
}

#price .row .col a {
    width: 100%;
    margin-top: 25px;
    text-align: center;
}

/* End Price */

/* ------------------------------------------------------------- */

/* Brand */
#brand .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#brand .row img {
    max-width: 200px;
    margin-bottom: 20px;
}

/* End Brand */

/* ------------------------------------------------------------- */

/* Doctors */
#doctors .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

#doctors .row img {
    width: 100%;
    height: 300px;
}

#doctors .row .item {
    background-color: white;
    position: relative;
    box-shadow:0 5px 10px rgba(0, 0, 0, 0.2) ;
}

#doctors .row .item .item-details {
    padding: 2rem 0;
}

#doctors .row .item .item-details h3 {
    font-size: 22px;
}

#doctors .row .item .item-details p {
    margin: 10px 0 20px;
    color: #1a7bd1;
    font-weight: 500;
}

#doctors .row .item .item-details a {
    border-radius: 20px;
}
/* End Doctors */

/* ------------------------------------------------------------- */

/* Blogs */
#blogs .row{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    margin-top: 3rem;
}

#blogs .row .col{
    box-shadow:0 5px 10px rgba(0, 0, 0, 0.2) ;
}
#blogs .row .col img{
    width: 100%;
}

#blogs .row .col .col-content{
    padding: 2rem;
    position: relative;
}


/* ---------------------------------lin-hover--------------------------------------- */


#blogs .row .col .col-content::before ,
#doctors .row .item .item-details::before ,
#price .row .col .price-details::before,
#home .header nav ul li a::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #1a7bd1;
    width: 0%;
    height: 3px;
    transition: all 0.3s ease;
}
#home .header nav ul li a::before{
    left: 15px;
}

#blogs .row .col:hover .col-content::before,
#doctors .row .item:hover .item-details::before,
#price .row .col:hover .price-details::before,
#home .header nav ul li a:hover::before {
    width: 100%;
}
#home .header nav ul li a:hover::before {
    width: 70%;
}

#blogs .row .col:hover,
#doctors .row .item:hover,
#price .row .col:hover {
    transform: translateY(-8px);
}


#blogs .row .col .col-content .date{
    display: inline-block;
    padding: 5px 15px;
    background-color: #1a7bd1;
    color: white;
    border-radius: 7px;
}

#blogs .row .col .col-content h3{
    margin: 10px 0;
    font-weight: 500;
}
/* ُEnd Blogs */

/* ------------------------------------------------------------- */

/* Contact */
#contact .row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 2rem;
    margin-top: 6rem;
}

#contact .row .form-control{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    margin-top: 20px;
} 

#contact .row .form-control input,
#contact .row .form-control select,
#contact .row textarea{
    padding: 15px;
    width: 100%;
    color: #2c2d3f;
    outline-color: #1a7bd1;
    border: 1px solid #ddd;
}

#contact .row textarea{
    margin-top: 2rem;
}

#contact .btn{
    padding:15px 30px;
    border: none;
    margin-top: 25px;
}

#contact .row img{
    justify-self: end;
    max-width: 100%;
}
/* End Contact */

/* ------------------------------------------------------------- */

/* NewsLetter */
#newsletter {
    padding: 5rem 0;
    background-color:#edf2ff ;
}

#newsletter .row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
}

#newsletter .row .col h2{
    margin-bottom: 10px;
}

#newsletter .row form{
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    justify-content: center;
    column-gap: 2rem;
}

#newsletter .row form input,
#newsletter .row form button{
    padding: 15px;
    width: 100%;
    border: none;
    border-radius:5px ;
}
/* End NewsLetter */

/* ------------------------------------------------------------- */

/* Footer */
/* Footer-Top*/
#footer .footer-top{
    background-color: #1a7bd1;
    padding: 6rem 0;
}

#footer .footer-top .row{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    column-gap: 3rem;
}

#footer .footer-top .row p,
#footer .footer-top .row h2,
#footer .footer-top .row a,
#footer .footer-top .row li,
#footer .footer-top .row .col-4 input::placeholder,
#footer .copy-right p {
    color: white;
}

#footer .footer-top .row h2{
    font-size: 22px;
}

#footer .footer-top .row hr{
    width: 50px;
    height: 2px;
    border: none;
    background-color: white;
    margin: 10px 0 2rem;
}

#footer .footer-top .row .col-1 .social{
    margin-top: 2rem;
}

#footer .footer-top .row .col-1 .social a i{
    font-size: 14px;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 2.5;
    border: 1px solid white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.4s ease;
}

#footer .footer-top .row .col-2 li{
    margin: 10px 0;
}

#footer .footer-top .row .col-2 li i{
    margin-right: 5px;
}

#footer .footer-top .row .col-2 li:hover{
    transform: translateX(10px);
}

#footer .footer-top .row .col-3 p,
#footer .footer-top .row .col-4 p{
    margin-bottom: 20px;
}

#footer .footer-top .row .col-3 ul li{
    margin: 10px;
}


#footer .footer-top .row .col-4{
    position: relative;
}

#footer .footer-top .row .col-4 input{
    padding: 15px;
    width: 100%;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 7px;
    outline: none;
}

#footer .footer-top .row .col-4 button{
    position: absolute;
    padding: 15px;
    right: 0;
    border: none;
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}

#footer .footer-top .row .col-4 button i{
    color: #1a7bd1;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
}

#footer .footer-top .row .col-4 button i:hover{
    color: #2c2d3f;
}
/* End Footer-Top*/

/* ------------------------------------------------------------- */

/* Copy-right */
#footer .copy-right{
    padding: 2rem 0;
    text-align: center;
    background-color:#135fa1;
}

#footer .copy-right a{
    font-weight: 600;
    color: white;
}
/* End Copy-right */
/* End Footer */

/* Responsive */
@media (max-width:800px) {
#home .header .logo {
    width: 150px;
}

#home .header nav ul li a{
    margin: 0 6px;
}

#about .row ,
#help .row ,
#contact .row,
#newsletter .row{
    grid-template-columns:1fr;
    row-gap: 3rem;
}

#help .row .col:first-child::before,
#help .row .col:nth-child(2)::before{
    display: none;
}

#info .row,
#services .row,
#price .row,
#doctors .row,
#blogs .row,
#footer .footer-top .row{
    grid-template-columns:repeat(2 , 1fr);
    row-gap: 3rem;
}

#contact .row img{
    max-width: 100%;
    order: 1;
}

#contact .row form{
    order:2;
}
}

@media (max-width:650px){

.title h2,
#call .call-content h2 {
    font-size: 22px;
}

#home .header nav{
    flex-direction: column;
    padding: 10px 0;
}

.home-contact h1{
    font-size: 32px;
}

.home-contact a{
        margin-bottom: 10px;
}

#info .row{
    grid-template-columns: 1fr;
    row-gap: 3rem;
}

#info .row .col{
    flex-direction: column;
    text-align: center;
}

#info .row .col i{
    margin-right: 0;
    margin-bottom: 10px;
}

#services .row,
#price .row,
#doctors .row,
#blogs .row,
#footer .footer-top{
    grid-template-columns: 1fr;
}

#brand .row{
    justify-content: center;
}

}
/* End Responsive */