/* =========================================================
   PHARMA TIPS ZONE
   COMMON SITE STYLES

   Applies to:
   Home
   About
   Articles
   Videos
   Calculators
   Forum
   Submit Article
   Contact
   Login
   Register
   User Dashboard
   Admin Dashboard
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.5;

    overflow-x: hidden;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: var(--container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   COMMON TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--text);
}

p {
    margin-top: 0;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}


/* =========================================================
   COMMON BUTTONS
========================================================= */

.primary-btn,
.contact-btn,
.cta-button {
    display: inline-block;

    border: 0;

    background: var(--primary);
    color: var(--white);

    border-radius: 5px;

    padding: 12px 22px;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    text-align: center;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.primary-btn:hover,
.contact-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.primary-btn:focus,
.contact-btn:focus,
.cta-button:focus {
    outline: none;
}

.primary-btn:active,
.contact-btn:active {
    transform: translateY(1px);
}


/* =========================================================
   COMMON FORM ELEMENTS
========================================================= */

.form-control,
.form-select {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 4px;

    background: var(--white);
    color: var(--text);

    padding: 11px 13px;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(var(--primary-rgb), .10);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}


/* =========================================================
   HEADER
========================================================= */

.top-header {
    width: 100%;

    background: var(--white);

    padding: 18px 0;

    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;

    align-items: center;

    gap: 35px;

    min-height: 46px;
}


/* =========================================================
   BRAND LOGO
========================================================= */

.brand-logo {
    min-width: 170px;


    color: var(--dark);

    font-size: 22px;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;
}

.logo-plus {
    color: #1684c7;

    font-size: 34px;
    font-weight: 900;

    vertical-align: middle;
}

.logo-text {
    color: var(--dark);
}

.logo-text span,
.footer-logo span {
    color: #e6a900;
}


/* =========================================================
   HEADER SEARCH
========================================================= */

.header-search {
    flex: 1;

    height: 46px;

    border: 1px solid var(--border);
    border-radius: 25px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--white);
}

.header-search input {
    width: 100%;

    min-width: 0;

    flex: 1;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    padding: 0 20px;

    font-size: 14px;
}

.header-search input::placeholder {
    color: #999;
}

.header-search button {
    width: 50px;
    height: 100%;

    border: 0;

    background: transparent;

    color: var(--muted);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: color .2s ease;
}

.header-search button:hover {
    color: var(--primary);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.social-icon {
    width: 36px;
    height: 36px;

    border: 1px solid var(--border);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #888;

    font-size: 13px;

    transition:
        color .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}

.social-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

.contact-btn {
    border-radius: 25px;

    margin-left: 8px;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-navigation {
    width: 100%;

    background: var(--dark);

    color: var(--white);

    position: relative;
    z-index: 999;
}

.navigation-inner {
    min-height: 52px;

    display: flex;
    align-items: center;
}


/* =========================================================
   MENU TOGGLE
========================================================= */

.menu-toggle {
    border: 0;

    background: transparent;

    color: var(--white);

    padding: 0 22px 0 0;

    font-size: 17px;

    line-height: 1;
}

.menu-toggle:hover {
    color: var(--primary);
}


/* =========================================================
   NAVIGATION MENU
========================================================= */

.nav-menu {
    list-style: none;

    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;

    padding: 18px 17px;

    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    transition:
        color .2s ease,
        background-color .2s ease;
}

.nav-menu li.active a,
.nav-menu li a:hover {
    color: var(--primary);
}

.nav-menu i {
    font-size: 8px;
    margin-left: 4px;
}


/* =========================================================
   LOGIN AREA
========================================================= */

.login-area {
    margin-left: auto;

    color: var(--white);

    font-size: 12px;

    white-space: nowrap;
}

.login-area a {
    color: var(--primary);

    font-weight: 700;
}

.login-area a:hover {
    color: var(--white);
}


/* =========================================================
   COMMON PAGE BANNER / BREADCRUMB
========================================================= */

.page-banner {
    position: relative;

    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;

    color: var(--white);
}

.page-banner::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .45);
}

.page-banner-content {
    position: relative;
    z-index: 1;

    text-align: center;
}

.page-banner-content h1 {
    margin: 0 0 8px;

    color: var(--white);

    font-size: 38px;
    font-weight: 700;
}

.breadcrumb {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin: 0;

    color: var(--white);

    font-size: 13px;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .active {
    color: var(--primary);
}


/* =========================================================
   COMMON SECTION
========================================================= */

.content-section {
    padding: 45px 0;
}

.section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0 0 8px;

    color: var(--text);

    font-size: 24px;
    font-weight: 800;
}

.section-heading a {
    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.section-heading a:hover {
    color: var(--primary-dark);
}

.heading-line {
    width: 30px;
    height: 3px;

    display: block;

    background: var(--primary);
}


/* =========================================================
   COMMON CARD
========================================================= */

.common-card {
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 6px;

    overflow: hidden;
}


/* =========================================================
   COMMON BADGE
========================================================= */

.badge-primary {
    display: inline-block;

    background: var(--primary);
    color: var(--white);

    padding: 5px 8px;

    border-radius: 3px;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   COMMON DIVIDER
========================================================= */

.divider {
    width: 100%;
    height: 1px;

    background: var(--border);

    margin: 20px 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;

    background: var(--dark);

    color: #ddd;

    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1.3fr
        1fr
        1.4fr;

    gap: 35px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-logo {
    display: inline-block;

    color: var(--white);

    font-size: 20px;
    font-weight: 800;

    margin-bottom: 15px;

    line-height: 1;
}

.footer-logo > span:first-child {
    color: #1684c7;

    font-size: 30px;
}

.footer-brand p,
.footer-newsletter p {
    color: #999;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER SOCIAL
========================================================= */

.footer-social {
    display: flex;

    gap: 8px;

    margin-top: 15px;
}

.footer-social a {
    width: 32px;
    height: 32px;

    border: 1px solid #555;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa;

    font-size: 11px;

    transition:
        color .2s ease,
        border-color .2s ease;
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3,
.footer-newsletter h3 {
    color: var(--white);

    font-size: 14px;

    margin: 0 0 17px;
}

.footer-column a {
    display: block;

    color: #999;

    font-size: 12px;

    margin-bottom: 11px;

    transition: color .2s ease;
}

.footer-column a:hover {
    color: var(--primary);
}


/* =========================================================
   FOOTER NEWSLETTER
========================================================= */

.footer-newsletter input {
    width: 100%;

    background: transparent;

    border: 1px solid #777;

    color: var(--white);

    padding: 11px;

    border-radius: 4px;

    margin-bottom: 8px;

    outline: none;
}

.footer-newsletter input:focus {
    border-color: var(--primary);
}

.footer-newsletter input::placeholder {
    color: #888;
}

.footer-newsletter button {
    width: 100%;

    border: 0;

    background: var(--primary);

    color: var(--white);

    padding: 11px;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 700;

    transition: background-color .2s ease;
}

.footer-newsletter button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top: 1px solid #333;

    margin-top: 35px;

    padding-top: 20px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color: #777;

    font-size: 11px;
}

.footer-bottom strong {
    color: var(--primary);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .container {
        max-width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-search {
        order: 3;

        flex: 0 0 100%;

        width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* HEADER */

    .top-header {
        padding: 14px 0;
    }

    .header-inner {
        gap: 12px;
    }

    .brand-logo {
        min-width: 0;

        font-size: 19px;
    }

    .logo-plus {
        font-size: 30px;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-actions .social-icon {
        display: none;
    }

    .contact-btn {
        margin-left: 0;

        padding: 10px 15px;

        font-size: 10px;
    }

    .header-search {
        order: 3;

        width: 100%;

        height: 42px;

        flex: 0 0 100%;
    }

    .header-search input {
        font-size: 13px;
    }


    /* NAVIGATION */

    .navigation-inner {
        position: relative;

        min-height: 48px;
    }

    .menu-toggle {
        padding-right: 15px;

        font-size: 18px;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 48px;
        left: 0;
        right: 0;

        z-index: 1000;

        flex-direction: column;

        margin: 0;
        padding: 8px 0;

        background: var(--dark);

        box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;

        padding: 13px 18px;

        border-bottom: 1px solid #252525;

        font-size: 11px;
    }

    .nav-menu li:last-child a {
        border-bottom: 0;
    }

    .login-area {
        margin-left: auto;

        font-size: 10px;
    }


    /* PAGE BANNER */

    .page-banner {
        min-height: 180px;
    }

    .page-banner-content h1 {
        font-size: 30px;
    }

    .breadcrumb {
        font-size: 11px;
    }


    /* SECTION */

    .content-section {
        padding: 35px 0;
    }

    .section-heading {
        align-items: flex-start;

        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .section-heading a {
        font-size: 10px;
    }


    /* FOOTER */

    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-column,
    .footer-newsletter {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand-logo {
        font-size: 17px;
    }

    .logo-plus {
        font-size: 27px;
    }

    .contact-btn {
        padding: 9px 12px;
    }

    .login-area {
        font-size: 9px;
    }

    .page-banner-content h1 {
        font-size: 26px;
    }

}