/*
Template Name: Medicoz - Unified FlyDoc Edition
Description: Consolidated Core Styles and Dynamic Branding Skin
*/

/* ====================================================================
   1. DYNAMIC BRANDING VARIABLES (Pulls from Database via head.php)
   ==================================================================== */
/* Note: Variables are defined in head.php. This file uses them via var() */

/* ====================================================================
   2. FONTS & RESET
   ==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Titillium+Web:wght@200;400;600;700&display=swap');
@import url("flaticon.css");
@import url("fontawesome-all.css");
@import url("animate.css");
@import url("owl.css");

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

body {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    font-family: var(--p-font, 'Open Sans', sans-serif) !important;
    color: var(--p-color, #363636) !important;
}

/* ====================================================================
   3. TYPOGRAPHY (Headlines & Paragraphs)
   ==================================================================== */

/* Headline Group */
h1, h2, h3, h4, h5, h6, 
.sec-title h2, 
.widget-title, 
.main-menu .navigation > li > a,
.feature-block-five h4,
.service-block-four .lower-content h4 a,
.pricing-block .price,
.page-title h1 {
    position: relative;
    font-weight: 600;
    line-height: 1.2em;
    font-family: var(--h-font, 'Titillium Web', sans-serif) !important;
    color: var(--h-color, #222222) !important;
}

h1 { font-size: 50px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }

/* Body Content Group */
p, .text, li, span, .content, 
.about-section .text, 
.news-block .lower-content .text,
.contact-list li,
.copyright-text,
.sec-title .sub-title,
.service-block-five .lower-content .read-more {
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    font-family: var(--p-font) !important;
    color: var(--p-color) !important;
}

/* Hyperlinks */
a, 
.sec-bottom-text a, 
.post-info li a,
.category-list li a,
.read-more,
.user-links li a {
    text-decoration: none;
    cursor: pointer;
    color: var(--link-color, #1370b5) !important;
    transition: all 300ms ease;
}

a:hover { opacity: 0.8; }

/* ====================================================================
   4. BUTTON STYLES
   ==================================================================== */

.theme-btn {
    display: inline-block;
    text-align: center;
    border-radius: var(--btn-radius, 5px) !important;
    transition: all 0.5s ease;
}

/* Solid Brand Background Buttons */
.btn-style-one, 
.btn-style-three,
.shipping-form button,
.cart-section .totals-table .proceed-btn {
    position: relative;
    background-color: var(--brand-primary) !important;
    color: var(--p-color) !important; /* Contrast text */
    padding: 10px 30px;
    font-weight: 600;
    overflow: hidden;
}

.btn-style-one .btn-title,
.btn-style-three .btn-title {
    color: var(--p-color) !important;
}

/* Bordered / Secondary Buttons */
.btn-style-two {
    border: 2px solid var(--brand-primary) !important;
    color: var(--brand-primary) !important;
    background: #ffffff;
}

/* ====================================================================
   5. HEADER & NAVIGATION
   ==================================================================== */

.main-header {
    border-top: 10px solid var(--brand-primary) !important;
}

/* Top Bar Styling */
.header-top-three, 
.header-top-three:before, 
.header-top-three:after, 
.header-top-three .inner-container {
    background-color: var(--brand-primary) !important;
}

/* Text on top of Brand Backgrounds */
.header-top-three li, 
.header-top-three i,
.header-top-three a,
.footer-bottom p,
.footer-bottom a {
    color: var(--p-color) !important;
}

.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a {
    color: var(--brand-primary) !important;
}

/* ====================================================================
   6. DECORATIVE & SECTION ELEMENTS (Brand Color)
   ==================================================================== */

/* Background Fill Group */
.bg-tealblue,
.about-section-two:before, 
.testimonial-section-two:before, 
.main-footer .widgets-section:before,
.appointment-form-section:before,
.news-block .image-box .date,
.pricing-block .price-box:before,
.service-block-three .icon,
.skills .skill-item .skill-bar .bar-inner .bar,
.testimonial-section-two .owl-dot.active {
    background-color: var(--brand-primary) !important;
}

/* SVG & Border Accents */
.sec-title .divider svg {
    fill: var(--brand-primary) !important;
}

.header-style-two,
.checkout-form input:focus, 
.contact-info-block .inner:hover,
.pricing-block .btn-box a {
    border-color: var(--brand-primary) !important;
}

/* ====================================================================
   7. RESETTING PRELOADER
   ==================================================================== */

.preloader:before {
    color: var(--brand-primary) !important;
    background-color: var(--brand-primary) !important;
}

/* ====================================================================
   8. MISC HELPERS
   ==================================================================== */
.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section { padding: 60px 0 30px; }

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