/*
Theme Name: Writers Theme
Theme URI: https://ascendpharma.com.bd
Author: Masud Rana
Author URI: https://webnewsdesign.com
Description: Writers Web Bangladesh, Writer
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pharma
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/



/* CSS Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* =========================
   Font Setup for Bootstrap
   ========================= */

/* Body font */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    /* default font size */
    line-height: 1.6;
    color: #333;
    /* text color */
}

/* Headings font */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Optional: customize heading sizes */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}


/* navbar css  */
.bg-color {
    background-color: #2b61ab;
}

.bg-dropdown {
    background: #54B361 !important;
}

.hover-for-dropdown>li>a:hover {
    background-color: #114a7b !important;
}

.hover-for-dropdown>li>a {
    transition: 0.3s ease;
}

/* Section-1 ==Sldier== CSS  */
.bg-ticker {
    background-color: rgba(11, 87, 152, 0.78) !important;
    /* height: 60px; */
}

.carousel-indicators {
    bottom: 40px !important;
}

/* Footer css  */

.footer-item-hover li a:hover {
    color: gray !important;
}

.footer-item-hover li a {
    transition: 0.3s ease;
}

.developer-address-hover a:hover {
    color: #0091d2 !important;
}


/* contact-us page css  */
.vig-bg-photo {
    background-image: url(assets/images/1.jpg);
    height: 300px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;

}

.vig-bg-color {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* google map css  */
.mapouter {
    position: relative;
    text-align: right;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
}

.gmap_canvas iframe {
    width: 100%;
    height: 100%;
}

.mapouter a {
    display: block;
    font-size: 0.85em;
    text-align: center;
    padding: 5px 0;
    color: #6c757d;
    text-decoration: none;
}

.gme-generated-link {
    display: none !important;
}

.bg-color-product {
    background: #2b61ab url(assets/images/home-section.png);
}


/* Overlay initially hidden for product photo */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Transparent black */
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 100%;
    border: 10px solid gray;
}

/* Hover effect */
.product-card:hover .product-overlay {
    opacity: 1;
}

.icon-bg {
    width: 30px;
    height: 30px;
    background-color: white;
}

.main-logo {
    width: 68%;
}

/* about-us page css start  */
.for-text-justify {
    text-align: justify;
}

/* Responsive override */
@media (max-width: 768px) {
    .vig-bg-photo {
        height: 150px;
    }

    .main-logo {
        width: 38%;
    }

    .carousel-item img {
        max-width: 100%;
        height: auto !important;
    }
}

/* nav button for mobile  */
.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler {
    background-color: white !important;
}

.navbar .navbar-nav .nav-link {
    color: #3DAF4C !important;
}

/* .navbar .navbar-nav .nav-link:hover {
  color: #f8d210 !important; /* hover color à¦šà¦¾à¦‡à¦²à§‡ */
/* } */

.single-page-linkmenu-hover ul li a {
    transition: 0.3s ease;
    display: block;
    color: #6c757d;

}

.single-page-linkmenu-hover ul li a:hover {
    background: #114a7b !important;
    color: #fff;
}


.carousel-item {
    height: 800px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 300px; /* mobile friendly */
    }
}

@media (max-width: 480px) {
    .carousel-item {
        height: 220px; /* small phones */
    }
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}