/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Raleway", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    /*--heading-color: #2c4964;*/ /* Color for headings, subheadings and title throughout the website */
    --heading-color: #462064;
    --accent-color: #462064; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #2c4964; /* The default color of the main navmenu links */
    --nav-hover-color: #1977cc; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #1977cc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f1f7fc;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

h2 {
    font-size: 2.8em;
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 1rem;
    color: #462064;
    line-height: 1;
    font-weight: 700;
}

p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #686e7c;
}

.bullet-point {
    color: #462064 !important;
    font-size: 1.5rem !important;
    vertical-align: middle;
}

.bg-1 {
    background-color: #f9f9f9; /* Light background */
}

.bg-2 {
    background-color: #CEC6C6; /* Gray background */
}

/*--------------------------------------------------------------
# Login page
--------------------------------------------------------------*/
.has-no-multisubmit {
    padding: 200px 400px; /* Default for desktop */
}

/* Tablet view (768px and below) */
@media (max-width: 768px) {
    .has-no-multisubmit {
        padding: 100px 50px;
    }
}

/* Mobile view (576px and below) */
@media (max-width: 576px) {
    .has-no-multisubmit {
        padding: 60px 20px;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    transition: all 0.5s;
    z-index: 997;
    background-color: var(--background-color);
    padding: 10px 0;
    box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
}

.header .branding {
    min-height: 60px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.logo-image {
    height: 48px;
    border-radius: 20%;
    margin-right: 10px;
    display: block;
}

.logo-text .sitename {
    font-size: 2.8rem;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
    white-space: nowrap;
}

.header .cta-btn,
.header .cta-btn:focus {
    color: #ffffff;
    background: #462064;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: 0.3s;
    white-space: nowrap;
    text-align: center;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
    background: #3c0469;
}

@media (max-width: 576px) {
    .logo-image {
        height: 36px;
    }

    .logo-text .sitename {
        font-size: 1.5rem;
    }

    .header .branding {
        min-height: 45px;
    }

    .header .cta-btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    .header .container {
        padding: 0 10px;
        flex-wrap: nowrap; /* Prevent wrap on mobile */
        gap: 10px;
    }
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: calc(65vh - 100px);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, #233756 0%, #1A2035 100%);
    opacity: 0.6;
    z-index: 2;
    pointer-events: none;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .container {
    z-index: 3;
}

.hero .welcome h2 {
    margin: 0;
    font-size: 3.4em;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
}

.hero .welcome p {
    font-size: 24px;
    margin: 0;
    color: white;
}

.hero .content {
    margin-top: 40px;
}

/*--------------------------------------------------------------
# hero-1 Section
--------------------------------------------------------------*/

.hero-1.section {
    padding: 20px 20px;
    text-align: center;
    background-color: #462064;
}

.hero-line-group {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    padding: 10px 0;
}

.hero-line-group h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-line-group h2 {
        font-size: 1.4rem;
    }

    .hero-line-group {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-line-group h2 {
        font-size: 1.2rem;
    }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about.section {
    text-align: center;
}

.about-section .section-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #462064;
    font-weight: 700;
}

.video-wrapper {
    position: relative;
    width: 750px;
    overflow: hidden;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .about.section {
        padding: 80px 30px;
    }

    .video-wrapper {
        width: 100%; /* override 750px */
        height: 300px;
    }

    .about-section h2 {
        font-size: 2.2rem;
    }

}

@media (max-width: 576px) {
    .about.section {
        padding: 60px 15px;
    }

    .video-wrapper {
        width: 100%; /* override 750px */
        height: 300px;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }


}


/*--------------------------------------------------------------
#  Section-3
--------------------------------------------------------------*/

.section-3 .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}

.section-3 .section-content {
    max-width: 1050px;
    margin: 0 auto;
    width: 100%;
}

.section-3-content {
    text-align: left;
    font-size: 1rem;
}

.section-3-content p {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.section-3-content i {
    color: #462064;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .section-3 {
        padding: 40px 15px;
    }

        .section-3 .section-title h2 {
            font-size: 2rem;
        }

    .section-3-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-3 .section-title h2 {
        font-size: 1.6rem;
    }

    .section-3-content {
        font-size: 0.95rem;
    }
}


/*--------------------------------------------------------------
#  Section-4
--------------------------------------------------------------*/

.section-4 {
    text-align: center;
}

.section-4 .container {
    max-width: 900px;
    margin: 0 auto;
}

.section-4-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-4-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #462064;
}

.section-4-content p,
.section-4-list p {
    font-size: 1.1rem;
    text-align: left;
    color: #333;
}


@media (max-width: 768px) {
    .section-4 {
        padding: 60px 20px;
    }

    .section-4-title h2 {
        font-size: 2rem;
    }

    .section-4-content p,
    .section-4-list p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-4-title h2 {
        font-size: 1.6rem;
    }

    .section-4-content p,
    .section-4-list p {
        font-size: 0.95rem;
    }
}


/*--------------------------------------------------------------
#  Section-5
--------------------------------------------------------------*/

.section-5 {
    text-align: center;
}

.section-5 .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}

.section-5 .section-content {
    max-width: 900px;
    margin: 0 auto;
}

    .section-5 .section-title h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: #462064;
    }

.section-5-content {
    text-align: left;
}

.section-5-content p {
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .section-5 {
        padding: 60px 20px;
    }

    .section-5 .section-title h2 {
        font-size: 2rem;
    }

    .section-5-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-5 .section-title h2 {
        font-size: 1.6rem;
    }

    .section-5-content p {
        font-size: 0.95rem;
    }
}

/*--------------------------------------------------------------
#  Section-6
--------------------------------------------------------------*/

.section-6 {
    text-align: center;
}

.section-6 .container {
    max-width: 900px;
    margin: 0 auto;
}

.section-6 .section-title h2 {
    font-size: 2.8rem;
    color: #462064;
    font-weight: 700;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .section-6 {
        padding: 60px 20px;
    }

    .section-6 .section-title h2 {
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    .section-6 .section-title h2 {
        font-size: 1.6rem;
    }
}

/*--------------------------------------------------------------
#  Section-7
--------------------------------------------------------------*/
.section-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 15px; /* consistent with section-5 */
}

.section-7-content {
    text-align: left;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.section-7-content span {
    display: block;
    color: #686E7C;
    font-size: 1.2rem;
}

.section-7 h2 {
    color: #462064;
    line-height: 1.2;
    font-weight: 600;
    font-size: 2.2rem;
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 20px;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
}

.section-7 .cta-btn {
    width: 50%;
    max-width: 250px;
    min-width: 180px;
    display: inline-block;
    text-align: center;
    color: #ffffff;
    background: #462064;
    font-size: 1.1rem;
    padding: 12px 24px;
    border-radius: 50px;
    transition: 0.3s;
}

.section-7 .cta-btn:hover,
.section-7 .cta-btn:focus:hover {
    background: #6b4789;
}

@media (max-width: 768px) {
    .section-7 {
        padding: 50px 15px;
    }

    .section-7 h2 {
        font-size: 1.8rem;
    }

    .section-7-content span {
        font-size: 1.1rem;
    }

    .section-7 .cta-btn {
        font-size: 1rem;
        width: 70%;
    }
}

@media (max-width: 480px) {
    .section-7 {
        padding: 40px 10px;
    }

    .section-7 h2 {
        font-size: 1.5rem;
    }

    .section-7-content span {
        font-size: 1rem;
    }

    .section-7 .cta-btn {
        font-size: 0.95rem;
        width: 90%;
    }
}


/*--------------------------------------------------------------
#  Section-7
--------------------------------------------------------------*/

@media (max-width: 768px) {
    .about.section {
        padding: 60px 20px;
    }

    .pulsating-play-btn {
        width: 60px;
        height: 60px;
    }

        .pulsating-play-btn::before {
            font-size: 1.2rem;
        }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.section {
    padding: 60px 0;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #462064;
}

.section-description p {
    font-size: 1.2rem;
    color: #686e7c;
    max-width: 100%;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #462064;
    font-family: 'Nunito Sans', sans-serif;
}

.service-point {
    display: flex;
    align-items: center;
}

.service-point span {
    font-size: 1.25rem;
    color: #686e7c;
    padding-left: 10px;
    text-align: left;
}


@media (max-width: 992px) {
    .section-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-description p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .service-point {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-point span {
        font-size: 1rem;
        padding-left: 5px;
    }
}

/*--------------------------------------------------------------
# Contect Section
--------------------------------------------------------------*/

.contact-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-section h2 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
}

.contact-section a {
    color: #6b4789;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: underline;
}

.section-divider-line {
    height: 1px;
    background-color: #c5c5c5;
    margin: 0 auto 30px auto;
}

@media (max-width: 768px) {
    .contact-section .col-md-6:last-child {
        display: none;
    }

    .contact-section h2 {
        font-size: 1.3rem;
    }

    .contact-section p,
    .contact-section a {
        font-size: 1.1rem;
    }

    .contact-section .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 1.1rem;
    }

    .contact-section p,
    .contact-section a {
        font-size: 1rem;
    }
}


.footer-bar .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.social-icons a {
    color: #134F7F;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0d355b; /* Darker on hover */
}

.footer-bar .copyright-text {
    font-size: 0.95rem;
    color: #333;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-right: 10px;
    border-radius: 10%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-icons a.facebook {
    background-color: #3b5998;
}

.social-icons a.twitter {
    background-color: #000;
}

.social-icons a.linkedin {
    background-color: #0077b5;
}

.social-icons a:hover {
    opacity: 0.85;
}

@media (max-width: 576px) {
    .footer-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-bottom: 10px;
    }
}
