File: /var/www/healthnettoday.com/design/css/style.css
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body{
background-color: #faf5e9!important;
}
.sec-cmn-pad{
padding: 100px 0px;
}
.sec-btm-pad{
padding-bottom: 100px;
}
ul{
padding: 0px;
list-style-type: none;
}
a{
text-decoration: none;
display: inline-block;
}
p{
font-size: 15px;
line-height: 24px;
color: #7e7e7e;
font-family: "Poppins", sans-serif;
font-weight: 400;
}
h1{
font-size: 32px;
line-height: 1.3;
color: #0B3D91;
font-family: "Poppins", sans-serif;
font-weight: 700;
}
h2{
font-size: 22px;
line-height: 1.3;
color: #000;
font-family: "Poppins", sans-serif;
font-weight: 600;
}
h3{
font-size: 18px;
line-height: 1.3;
color: #ffffff;
font-family: "Poppins", sans-serif;
font-weight: 600;
}
.cmn-btn{
padding: 16px 40px;
border-radius: 10px;
color: white;
background-color: #2e8367;
font-family: "Poppins", sans-serif;
font-weight: 500;
font-size: 14px;
transition: .5s ease-in-out;
}
.cmn-btn:hover{
background-color: #204e34;
}
/* navbar */
.logo a{
width: 150px;
height: 100%;
}
.logo a img{
width: 100%;
height: 100%;
}
/* Basic navbar styling */
.navbar {
background-color: #0B4A5D;
color: rgb(0, 0, 0);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1rem;
flex-wrap: wrap;
position: sticky; /* Makes the navbar sticky */
top: 0; /* Ensures it stays at the top */
z-index: 1000; /* Keeps navbar on top of other content */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds shadow for clarity */
transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}
/* Logo styling */
.navbar .logo {
font-size: 1.5rem;
}
/* Menu styling */
.navbar .menu {
display: flex;
gap: 1rem;
}
/* Link styling */
.navbar .menu a {
color: #ffffff;
text-decoration: none;
padding: 0.5rem;
transition: background 0.3s;
font-family: "Poppins", sans-serif;
font-size: 15px;
}
/* Hover effect for links */
.navbar .menu a:hover {
background-color: #d8d8d8;
}
/* Toggle button for mobile view */
.toggle-btn {
display: none;
font-size: 1.5rem;
cursor: pointer;
}
/* Mobile view adjustments */
@media (max-width: 768px) {
.navbar .menu {
display: none;
flex-direction: column;
width: 100%;
}
.navbar .menu.active {
display: flex;
}
.toggle-btn {
display: block;
}
}
/* Shadow effect when scrolling */
.navbar.scrolled {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* More prominent shadow when scrolled */
}
.search-container {
display: flex;
justify-content: center;
align-items: center;
margin: 2rem auto;
max-width: 600px;
}
.search-container input[type="text"] {
padding: 0.5rem 1.2rem;
font-size: 1rem;
border: 1px solid #ccc;
border-right: none;
border-radius: 150px;
width: 100%;
}
.search-container button {
padding: 0.5rem 1rem;
font-size: 1rem;
background-color: #333;
color: white;
border: none;
border-radius: 0 4px 4px 0;
cursor: pointer;
transition: background-color 0.3s;
}
.search-container button:hover {
background-color: #555;
}
@media (max-width: 500px) {
.search-container {
flex-direction: column;
}
.search-container input[type="text"],
.search-container button {
width: 100%;
border-radius: 4px;
}
.search-container button {
margin-top: 0.5rem;
border-radius: 4px;
}
.search-container input[type="text"] {
border-radius: 4px;
border-right: 1px solid #ccc;
}
}
.social-links-main a{
width: 40px;
height: 40px;
background-color: white;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
}
.social-links-main a i{
font-size: 20px;
color: #0B3D91;
}
/* main-1 area */
.main-1-ad{
width: 100%;
background-color: #d9d9d9;
height: 100%;
}
.main-1-img-box img{
width: 100%;
height: 100%;
object-fit: cover;
}
/* main-2 area */
.main-2-img-box img{
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 15px;
}
/* last-slider area */
.last-slider-parent-box{
margin: 0px 10px;
}
.last-slider-img-box img{
width: 100%;
height: 300px;
object-fit: cover;
}
/* footer area */
.ftr-sec{
background-color: #0B4A5D;
padding: 100px 0px 30px 0px;
}
.ftr-sec .btn{
background-color: rgb(0, 0, 0);
color: #ffffff;
transition: .5s ease-in-out;
}
.ftr-logo-box a{
width: 250px;
height: 100%;
margin-bottom: 30px;
}
.ftr-logo-box a img{
width: 100%;
height: 100%;
object-fit: cover;
}
.ftr-sec .btn:hover{
background-color:#2b79ff;
}
.ftr-sec label{
font-size: 15px;
color: white;
font-weight: 400;
font-family: "Poppins", sans-serif;
}
.ftr-sec input::placeholder{
font-size: 13px;
color: rgb(128, 128, 128);
font-weight: 400;
font-family: "Poppins", sans-serif;
}
.ftr-sec textarea::placeholder{
font-size: 13px;
color: rgb(128, 128, 128);
font-weight: 400;
font-family: "Poppins", sans-serif;
}
.ftr-list li a{
color: white;
font-family: "Poppins", sans-serif;
font-size: 14px;
transition: .3s ease-in-out;
margin-bottom: 10px;
}
.ftr-list li a:hover{
margin-left: 10px;
}
.address-box i{
color: rgb(0, 0, 0);
font-size: 25px;
}
.social-links a{
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
background-color: white;
transition: .5s ease-in-out;
margin-right: 15px;
}
.social-links a:hover{
background-color: black;
}
.social-links a:hover i{
color: white;
}
.social-links a i{
color: #0B4A5D;
font-size: 20px;
transition: .5s ease-in-out;
}
.store-links a {
margin-bottom: 15px;
}
.store-links a img{
width: 100px;
height: 100%;
}
.last-p a{
color: black!important;
font-weight: bold;
transition: .5s ease-in-out;
}
.last-p a:hover{
text-decoration: underline;
}
/* slick dots */
/* Change the position of the dots */
.slick-dots {
bottom: -40px; /* Adjust vertical position */
text-align: center; /* Align dots in the center */
}
/* Style the dot buttons */
.slick-dots li button {
background-color: #ccc; /* Light gray color for inactive dots */
border-radius: 50%; /* Make the dots circular */
width: 12px; /* Size of the dot */
height: 12px; /* Size of the dot */
margin: 0 5px; /* Space between the dots */
transition: all 0.3s ease; /* Smooth transition for hover effects */
}
/* Style the active dot */
.slick-dots li.slick-active button {
background-color: #0B3D91; /* Blue color for active dot */
transform: scale(1.2); /* Slightly enlarge the active dot */
}
/* Optional: Customize the hover effect */
.slick-dots li button:hover {
background-color: #666; /* Darker gray color on hover */
}