/* Medicine buttons styling */
.medicine-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.medicine-buttons button {
    background: #e0e0e0;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.medicine-buttons button:hover {
    background: #1976d2;
    color: #fff;
}
@media (max-width: 768px) {
    #header {
        flex-direction: column;
        padding: 10px 20px;
    }
    #navbar {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    #feature {
        flex-direction: column;
        align-items: stretch;
    }
    .section-p1 {
        padding: 20px 10px;
    }
    #hero {
        padding: 0 10px;
        height: auto;
        align-items: flex-start;
    }
    #hero h1, #hero h2, #hero h4, #hero p {
        text-align: left;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Abel@100;200;300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Abel', sans-serif;
}

h1 {
    font-size: 50px;
    line-height: 64px;
    color: black;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: black;
}

h4 {
    font-size: 20px;
    color: black;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}
p {
    font-size: 16px;
    color: black;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

body {
    width: 100%;
}



/* Header Start */

#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 5px 15px rgba(0,  0,  0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}

#navbar{
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li{
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a{
    text-decoration: double;
    font-size: 16px;
    font-weight: 600;
    color: rgb(255, 2, 2);
    transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color:black;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background-color: rgb(0, 0, 0);
    position: absolute;
    bottom: -4px;
    left: 20px;
}

#mobile{
    display: none;
    align-items: center;
}

#close{
    display: none;
}

/* Home Page */

#hero {
    background-image: url("img/DeWatermark.ai_1751010502088\ \(1\).png");
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

#hero h4 {
    padding-bottom: 10px;
    text-align: right;
}

#hero h2 {
    font-size: 32px;
    line-height: 40px;
    text-align: right;
    color: #333;
}

#hero h1 {
    color: darkslategray;
    font-size: 36px;
    line-height: 46px;
    text-align: right;
    max-width: 520px;
    margin: 10px 0;
}

#hero p {
    text-align: right;
    font-size: 18px;
    margin-bottom: 15px;
}

#hero button{
    background-image: url("img/buttonpng\ \(1\).png");
    background-color: transparent;
    color:indigo;
    border: 0;
    padding: 8px;
    background-repeat: no-repeat;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

#feature{
    display: flex;
    align-items: center;
    justify-content:space-between;
    flex-wrap: wrap;
} 

#feature .fe-box{
    width: 180px;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 20px 20px 34px rgba(0,  0,  0, 0.03);
    border: 1px solid #cce7d0;
    border-radius: 4px;
    margin: 15px 0;
}

#feature .fe-box:hover{
    box-shadow: 10px 10px 54px rgba(70,  62,  221, 0.1);
}

#feature .fe-box  img{
    width: 100%;
    margin-bottom: 10px;
}

#feature .fe-box h6{
    display: inline-block;
    padding: 9px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color:rgb(194, 2, 2);
    background-color: rgb(152, 235, 228);
}

#feature .fe-box:nth-child(2) h6{
    background-color: #cdebbc;
}

#feature .fe-box:nth-child(3) h6{
    background-color: #d1e8f2;
}

#feature .fe-box:nth-child(4) h6{
    background-color: #cdd4f8;
}

#feature .fe-box:nth-child(5) h6{
    background-color: #f6dbf6;
}

#feature .fe-box:nth-child(6) h6{
    background-color: #fff2e5;
}

#product1{
    text-align: center;
}

/* Medicines page */
#page-header h3 { text-indent: 7%; }
#page-header h4 { text-indent: 7%; }
#page-header p { text-indent: 7%; }

/* Shop page */
#page-header {
    background-image: none;
}
#page-header h3 { color: rgb(158, 0, 158); }
#page-header h4 { color: chocolate; }

/* Blog Page */
#page-header.blog-header h3 { color: darkviolet; }

/* Cosmetics Page */
#page-header.cosmetics-header h3 { color: rgb(158, 0, 158); }

/* About Page */

#about {
    width: 100%;
    padding: 30px 7% 40px 7%;
}

#about h3 {
    color: brown;
    font-size: 28px;
    font-weight: 600;
    margin: 25px 0 10px 0;
    text-align: left;
    letter-spacing: 1px;
}

#about p {
    margin: 10px 0 16px 0;
    text-align: left;
    text-indent: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
}

#about p.contact-info {
    text-align: left;
    text-indent: 0;
    margin: 6px 0;
}

#about .location-map {
    width: 100%;
    height: 350px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Start Media Query */

@media (max-width:799px) {
    .section-p1 {
    padding: 40px 40px;
}
    #navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background-color: #e3e6f3;
    box-shadow: 0 40px 60px rgba(0,  0,  0, 0.01);
    padding: 80px 0 0 10px;
    transition: 0.3s;
}

#navbar.active{
    right: 0px;
}
#navbar li{
    margin-bottom: 25px;
}
#mobile{
    display: flex;
    align-items: center;
}

#mobile i{
    color: #1a1a1a;
    font-size:  24px;
    padding-left: 20px;
}

#close{
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #222;
    font-size: 24px;
}

#lg-bag{
    display: none;
}

#hero {
    height: 70vh;
    padding: 0 80px;
    background-position: top 30% right 30%;
}
#feature {
    justify-content: center;  
}
#feature .fe-box {
    margin: 15px 15px;
}
}
@media (max-width: 477px) {
    .section-p1 {
    padding: 20px;
}
    #header { 
    padding: 10px 30px;
}

p {
    font-size: 10px;
}
h1 {
    font-size: 38px;
}
h2 {
    font-size: 32px;
}
#hero {
    padding: 0 20px;
    background-position: 55%;
}
#feature {
    justify-content: space-between;
}
#feature .fe-box {
    width: 155px;
    margin:0 0 15px 0;
}

}

