/*-------------------------------------------------------------- # Sections General --------------------------------------------------------------*/ section { padding: 60px 0; overflow: hidden; } .section-bg { background-color: lighten($primary, 52); } .section-title { text-align: center; padding-bottom: 30px; h2 { font-size: 32px; font-weight: bold; margin-bottom: 20px; padding-bottom: 20px; position: relative; color: $secondary; } h2::before { content: ''; position: absolute; display: block; width: 120px; height: 1px; background: #ddd; bottom: 1px; left: calc(50% - 60px); } h2::after { content: ''; position: absolute; display: block; width: 40px; height: 3px; background: $primary; bottom: 0; left: calc(50% - 20px); } p { margin-bottom: 0; } } /*-------------------------------------------------------------- # Breadcrumbs --------------------------------------------------------------*/ .breadcrumbs { padding: 20px 0; background-color: lighten($primary, 52); min-height: 40px; margin-top: 120px; @media (max-width: 992px) { margin-top: 100px; } h2 { font-size: 24px; font-weight: 300; margin: 0; @media (max-width: 992px) { margin: 0 0 10px 0; } } ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 14px; li + li { padding-left: 10px; } li + li::before { display: inline-block; padding-right: 10px; color: #6c757d; content: "/"; } } @media (max-width: 768px) { .d-flex { display: block !important; } ol { display: block; li { display: inline-block; } } } } /*-------------------------------------------------------------- # Why Us --------------------------------------------------------------*/ .why-us { .content { padding: 30px; background: $primary; border-radius: 4px; color: $white; h3 { font-weight: 700; font-size: 34px; margin-bottom: 30px; } p { margin-bottom: 30px; } .more-btn { display: inline-block; background: rgba($white, .2); padding: 6px 30px 8px 30px; color: $white; border-radius: 50px; transition: all ease-in-out 0.4s; i { font-size: 14px; } &:hover { color: $primary; background: $white; } } } .icon-boxes { .icon-box { text-align: center; border-radius: 10px; background: $white; box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.10); padding: 40px 30px; width: 100%; i { font-size: 40px; color: $primary; margin-bottom: 30px; } h4 { font-size: 20px; font-weight: 700; margin: 0 0 30px 0; } p { font-size: 15px; color: lighten($default, 25); } } } } /*-------------------------------------------------------------- # About --------------------------------------------------------------*/ .about { .icon-boxes { h4 { font-size: 18px; color: lighten($secondary, 20); margin-bottom: 15px; } h3 { font-size: 28px; font-weight: 700; color: $secondary; margin-bottom: 15px; } } .icon-box { margin-top: 40px; .icon { float: left; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 2px solid lighten($primary, 30); border-radius: 50px; transition: 0.5s; i { color: $primary; font-size: 32px; } } &:hover .icon { background: $primary; border-color: $primary; i { color: $white; } } .title { margin-left: 85px; font-weight: 700; margin-bottom: 10px; font-size: 18px; a { color: $black; transition: 0.3s; &:hover { color: $primary; } } } .description { margin-left: 85px; line-height: 24px; font-size: 14px; } } .video-box { background: url("../img/about.jpg") center center no-repeat; background-size: cover; min-height: 500px; } .play-btn { width: 94px; height: 94px; background: radial-gradient( $primary 50%, rgba($primary, 0.4) 52%); border-radius: 50%; display: block; position: absolute; left: calc(50% - 47px); top: calc(50% - 47px); overflow: hidden; } .play-btn::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translateX(-40%) translateY(-50%); width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid #fff; z-index: 100; transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19); } .play-btn::before { content: ''; position: absolute; width: 120px; height: 120px; animation-delay: 0s; animation: pulsate-btn 2s; animation-direction: forwards; animation-iteration-count: infinite; animation-timing-function: steps; opacity: 1; border-radius: 50%; border: 5px solid rgba($primary, 0.7); top: -15%; left: -15%; background: rgba(198, 16, 0, 0); } .play-btn:hover::after { border-left: 15px solid $primary; transform: scale(20); } .play-btn:hover::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translateX(-40%) translateY(-50%); width: 0; height: 0; border: none; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid #fff; z-index: 200; animation: none; border-radius: 0; } } @keyframes pulsate-btn { 0% { transform: scale(0.6, 0.6); opacity: 1 } 100% { transform: scale(1, 1); opacity: 0 } } /*-------------------------------------------------------------- # Counts --------------------------------------------------------------*/ .counts { background: lighten($primary, 52); padding: 70px 0 60px; .count-box { padding: 30px 30px 25px 30px; width: 100%; position: relative; text-align: center; background: $white; i { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); font-size: 20px; background: $primary; color: $white; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; } span { font-size: 36px; display: block; font-weight: 600; color: darken($primary, 30); } p { padding: 0; margin: 0; font-family: $font-primary; font-size: 14px; } } } /*-------------------------------------------------------------- # Services --------------------------------------------------------------*/ .services { .icon-box { text-align: center; border: 1px solid lighten($secondary, 60); padding: 80px 20px; transition: all ease-in-out 0.3s; .icon { margin: 0 auto; width: 64px; height: 64px; background: $primary; border-radius: 5px; transition: all .3s ease-out 0s; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transform-style: preserve-3d; i { color: #fff; font-size: 28px; } &::before { position: absolute; content: ''; left: -8px; top: -8px; height: 100%; width: 100%; background: lighten($primary, 40); border-radius: 5px; transition: all .3s ease-out 0s; transform: translateZ(-1px); } } h4 { font-weight: 700; margin-bottom: 15px; font-size: 24px; a { color: $secondary; } } p { line-height: 24px; font-size: 14px; margin-bottom: 0; } &:hover { background: $primary; border-color: $primary; .icon { background: #fff; i { color: $primary; } &::before { background: lighten($primary, 10); } } h4 a, p { color: $white; } } } } /*-------------------------------------------------------------- # Appointments --------------------------------------------------------------*/ .appointment { .php-email-form { width: 100%; .form-group { padding-bottom: 8px; } .validate { display: none; color: red; margin: 0 0 15px 0; font-weight: 400; font-size: 13px; } .error-message { display: none; color: #fff; background: #ed3c0d; text-align: left; padding: 15px; font-weight: 600; & br + br { margin-top: 25px; } } .sent-message { display: none; color: #fff; background: #18d26e; text-align: center; padding: 15px; font-weight: 600; } .loading { display: none; background: #fff; text-align: center; padding: 15px; &:before { content: ""; display: inline-block; border-radius: 50%; width: 24px; height: 24px; margin: 0 10px -6px 0; border: 3px solid #18d26e; border-top-color: #eee; animation: animate-loading 1s linear infinite; } } input, textarea, select { border-radius: 0; box-shadow: none; font-size: 14px; padding: 10px !important; &:focus { border-color: $primary; } } input, select { height: 44px; } textarea { padding: 10px 12px; } button[type="submit"] { background: $primary; border: 0; padding: 10px 35px; color: #fff; transition: 0.4s; border-radius: 50px; &:hover { background: lighten($primary, 5); } } } } /*-------------------------------------------------------------- # Departments --------------------------------------------------------------*/ .departments { overflow: hidden; .nav-tabs { border: 0; } .nav-link { border: 0; padding: 12px 15px 12px 0; transition: 0.3s; color: $secondary; border-radius: 0; border-right: 2px solid lighten($secondary, 66); font-weight: 600; font-size: 15px; &:hover { color: $primary; } &.active { color: $primary; border-color: $primary; } } .tab-pane.active { animation: fadeIn 0.5s ease-out; } .details { h3 { font-size: 26px; font-weight: 600; margin-bottom: 20px; color: $secondary; } p { color: lighten($default, 20); &:last-child { margin-bottom: 0; } } } @media (max-width: 992px) { .nav-link { border: 0; padding: 15px; &.active { color: $white; background: $primary; } } } } /*-------------------------------------------------------------- # Doctors --------------------------------------------------------------*/ .doctors { background: #fff; .member { position: relative; box-shadow: 0px 2px 15px rgba($secondary, 0.08); padding: 30px; border-radius: 10px; .pic { overflow: hidden; width: 180px; border-radius: 50%; img { transition: ease-in-out 0.3s; } } &:hover { img { transform: scale(1.1); } } .member-info { padding-left: 30px; } h4 { font-weight: 700; margin-bottom: 5px; font-size: 20px; color: $secondary; } span { display: block; font-size: 15px; padding-bottom: 10px; position: relative; font-weight: 500; &::after { content: ''; position: absolute; display: block; width: 50px; height: 1px; background: lighten($secondary, 50); bottom: 0; left: 0; } } p { margin: 10px 0 0 0; font-size: 14px; } .social { margin-top: 12px; display: flex; align-items: center; justify-content: flex-start; a { transition: ease-in-out 0.3s; display: flex; align-items: center; justify-content: center; border-radius: 50px; width: 32px; height: 32px; background: lighten($secondary, 45); i { color: $white; font-size: 16px; margin: 0 2px; } &:hover { background: $primary; } } a + a { margin-left: 8px; } } } } /*-------------------------------------------------------------- # Frequently Asked Questions --------------------------------------------------------------*/ .faq { .faq-list { padding: 0 100px; ul { padding: 0; list-style: none; } li + li { margin-top: 15px; } li { padding: 20px; background: #fff; border-radius: 4px; position: relative; } a { display: block; position: relative; font-family: $font-secondary; font-size: 16px; line-height: 24px; font-weight: 500; padding: 0 30px; outline: none; cursor: pointer; } .icon-help { font-size: 24px; position: absolute; right: 0; left: 20px; color: lighten($primary, 25); } .icon-show, .icon-close { font-size: 24px; position: absolute; right: 0; top: 0; } p { margin-bottom: 0; padding: 10px 0 0 0; } .icon-show { display: none; } a.collapsed { color: $black; &:hover { color: $primary; } .icon-show { display: inline-block; } .icon-close { display: none; } } } @media (max-width: 1200px) { .faq-list { padding: 0; } } } /*-------------------------------------------------------------- # Testimonials --------------------------------------------------------------*/ .testimonials { .testimonial-wrap { padding-left: 50px; } .testimonials-carousel, .testimonials-slider { overflow: hidden; } .testimonial-item { box-sizing: content-box; padding: 30px 30px 30px 60px; margin: 30px 15px; min-height: 200px; box-shadow: 0px 2px 12px rgba($secondary,.08); position: relative; background: $white; .testimonial-img { width: 90px; border-radius: 10px; border: 6px solid #fff; position: absolute; left: -45px; } h3 { font-size: 18px; font-weight: bold; margin: 10px 0 5px 0; color: #111; } h4 { font-size: 14px; color: #999; margin:0; } .quote-icon-left, .quote-icon-right { color: lighten($primary, 40); font-size: 26px; } .quote-icon-left { display: inline-block; left: -5px; position: relative; } .quote-icon-right { display: inline-block; right: -5px; position: relative; top:10px; } p { font-style: italic; margin: 15px auto 15px auto; } } .swiper-pagination { margin-top: 20px; position: relative; .swiper-pagination-bullet { width: 12px; height: 12px; background-color: #fff; opacity: 1; border: 1px solid $primary; } .swiper-pagination-bullet-active { background-color: $primary; } } @media (max-width: 767px ) { .testimonial-wrap { padding-left: 0; } .testimonials-carousel, .testimonials-slider { overflow: hidden; } .testimonial-item { padding: 30px; margin: 15px; .testimonial-img { position: static; left: auto; } } } } /*-------------------------------------------------------------- # Gallery --------------------------------------------------------------*/ .gallery { .gallery-item { overflow: hidden; border-right: 3px solid #fff; border-bottom: 3px solid #fff; img { transition: all ease-in-out 0.4s; } &:hover img { transform: scale(1.1); } } } /*-------------------------------------------------------------- # Contact --------------------------------------------------------------*/ .contact { .info { width: 100%; background: $white; i { font-size: 20px; color: $primary; float: left; width: 44px; height: 44px; background: lighten($primary, 46); display: flex; justify-content: center; align-items: center; border-radius: 50px; transition: all 0.3s ease-in-out; } h4 { padding: 0 0 0 60px; font-size: 22px; font-weight: 600; margin-bottom: 5px; color: $secondary; } p { padding: 0 0 0 60px; margin-bottom: 0; font-size: 14px; color: lighten($secondary, 20); } .email, .phone { margin-top: 40px; } .email:hover, .address:hover, .phone:hover { i { background: $primary; color: $white; } } } .php-email-form { width: 100%; background: #fff; .form-group { padding-bottom: 8px; } .error-message { display: none; color: #fff; background: #ed3c0d; text-align: left; padding: 15px; font-weight: 600; & br + br { margin-top: 25px; } } .sent-message { display: none; color: #fff; background: #18d26e; text-align: center; padding: 15px; font-weight: 600; } .loading { display: none; background: #fff; text-align: center; padding: 15px; &:before { content: ""; display: inline-block; border-radius: 50%; width: 24px; height: 24px; margin: 0 10px -6px 0; border: 3px solid #18d26e; border-top-color: #eee; animation: animate-loading 1s linear infinite; } } input, textarea { border-radius: 0; box-shadow: none; font-size: 14px; } input { height: 44px; } textarea { padding: 10px 12px; } button[type="submit"] { background: $primary; border: 0; padding: 10px 35px; color: #fff; transition: 0.4s; border-radius: 50px; &:hover { background: lighten($primary, 5); } } } @keyframes animate-loading { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } }