/*
Theme Name: promedical Theme
Theme URI: https://bpract.com
Author: Bpract
Author URI: https://bpract.com
Description: A custom WordPress theme for GMC.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: promedical
*/

/* Add your custom styles here */

:root {
    --primaryColor: #3573B2;
    --secndryColor: #86D7F6;
    --textColor: #3A4C62;
    --primaryFont: "Roboto", sans-serif;
}

body {
    font-family: var(--primaryFont);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    letter-spacing: .2px;
    color: var(--textColor);
    box-sizing: content-box;
}

p {
    font-size: 15px;
    font-family: var(--primaryFont);
    line-height: 1.6;
    color: var(--textColor);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primaryFont);
}

img {
    max-width: 100%;
    display: block;
}

.primaryColor {
    color: var(--primaryColor);
}

.header {
    position: relative;
    z-index: 2;
}

.promedicalContainer {
    max-width: 1280px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1170px;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
}

.navbar-section ul {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

.navbar-left {
    justify-content: flex-start;
    gap: 20px;
}

.navbar-center {
    justify-content: center;
}

.navbar-right {
    justify-content: flex-end;
}

.navbar-left a,
.navbar-right button {
    text-decoration: none;
    font-size: 16px;
    color: #3A4C62;
}

.navbar-right .loginButnHeader {
    background-color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--primaryColor);
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    transition: .4s;
}

.navbar-right a:hover {
    background-color: var(--primaryColor);
    color: #fff;
}

header.sticky .navbar-right .loginButnHeader {
    background-color: var(--primaryColor);
    color: #fff;
}

.navbar-left a.active,
.navbar-left a.active:hover,
.navbar-left a:hover {
    color: var(--primaryColor);
}

.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

.logo {
    max-width: 260px;
}

.navbar-section {
    width: calc(100% / 3);
}

.navbar-section.navbar-right,
.navbar-section.navbar-center {
    display: flex;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    height: 90px;
    padding: 5px;
    box-shadow: 5px 6px 10px 0 rgb(0 35 90 / 6%);
}

header.sticky .logo {
    width: 170px;
}

.promedicalfooter {
    background-color: #1C2D3E;
    padding: 70px 0 0;
}

.footerflex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 40px;
}

.footerLinkSub3_Box {
    width: calc(100% / 3 - 15px);
}

.FootercopyRight {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    border-top: 1px solid #3b4f63;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
}

.footerLinkSub3_Box h5 {
    font-weight: 500;
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
}

.FootercopyRight h6 {
    font-weight: 400;
    color: #cccccc;
    font-size: 13px;
    line-height: 21px;
}

.FootercopyRight ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.FootercopyRight ul li a {
    font-weight: 400;
    color: #cccccc;
    font-size: 13px;
}

.footerList li,
.promedical-footer-address li {
    padding: 5px 0;
}

.footerList li a,
.promedical-footer-address li a {
    font-weight: 300;
    color: #cccccc;
    font-size: 15px;
}

.text-offwhite {
    color: #cccccc;
    margin-bottom: 15px;
}

.footerList li a:hover,
.FootercopyRight ul li a:hover {
    color: #fff;
}

.promedical-footer-address li a {
    display: flex;
    gap: 7px;
}

.subscription-form input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 5px;
    background-color: transparent;
    color: #ccc;
    width: calc(100% - 110px);
}

.subscription-form button {
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--primaryColor);
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    transition: .4s;
    color: #fff;
}

h2 span,
h3 span {
    color: var(--secndryColor);
}

.iconList p {
    position: relative;
    padding-left: 30px;
    font-size: 13px;
}

.iconList p:before {
    position: absolute;
    content: "\eb7b";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #38c7a4;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'remixicon' !important;
    color: #fff;
}

.card-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
    height: 400px;
}

.card {
    flex: 1;
    background-color: #e3f6ff;
    color: #1c3556;
    border-radius: 20px;
    transition: all 0.4s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    min-height: 400px;
    position: relative;
}

.card.active {
    background-color: var(--primaryColor);
    color: white;
    flex: 3;
    align-items: flex-start;
}

.card .count {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card .CardTitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p,
.card img {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    max-height: 0;
    color: #fff;
}

.card.active p,
.card.active img {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.card img {
    width: 100%;
    border-radius: 12px !important;
    object-fit: cover;
    transition: all 0.4s ease;
}

.card:not(.active) .CardTitle {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 1rem;
    margin-top: auto;
    margin-bottom: auto;
}

@media (max-width: 920px) {

    .logo {
        max-width: 215px;
    }

    .footerLinkSub3_Box {
        width: 100%
    }
}

@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        height: auto;
    }

    .card {
        flex: none;
        width: 100%;
        padding: 30px 20px;
        min-height: auto;
    }

    .card:not(.active) .CardTitle {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
    }

    .navbar-left a,
    .navbar-right button {
        font-size: 15px;
    }

    .navbar-left ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-left.active ul {
        display: flex;
        background-color: #fff;
        top: 86px;
        position: absolute;
        z-index: 7;
        padding: 20px 25px;
        align-items: start;
        left: -6px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .navbar-section {
        width: 100%;
        justify-content: space-between;
        position: absolute;
        position: absolute;
        display: flex;
        gap: 20px;
        padding: 5px;
    }

    .navbar-right {
        justify-content: flex-start;
        top: 25px;
        left: 0;
    }

    .navbar-center {
        justify-content: flex-start;
        width: 200px;
        margin: 0;
    }

    .logo {
        max-width: max-content;
        width: 100%;
    }
}