File: /var/www/mentalhealthsteps.com/wp-content/themes/mentalhealthworld/newdesign/css/style.css
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('vendor/bootstrap.min.css');
/* ---------------------------- */
/* Custom properties */
/* ---------------------------- */
:root {
--primary-color:#1747A6;
--secondary-color:#F291A3;
--text-color:#191919;
--text-color-2:#7A7A7A;
--accent-color:#3B67BF;
--accent-color-2:#F2BBC5;
--accent-color-3:#FBEAED;
--font-1:"Nunito", sans-serif;
--font-2:"Source Sans 3", sans-serif;
--client-baby-blue:#A3D5FF;
--client-light-pink:#FFB6C1;
--client-purple:#36225b;
--orange:#ec9953;
}
/* ---------------------------- */
/* General Styles */
/* ---------------------------- */
body {
font-family: var(--font-2);
color: var(--text-color);
background-color: #FFFFFF;
}
.bg-primary-color {
background-color: var(--primary-color);
}
.bg-primary-color-2 {
background-color: var(--accent-color);
}
.bg-secondary-color {
background-color: var(--secondary-color);
}
.bg-secondary-color-2 {
background-color: var(--accent-color-2);
}
.bg-accent-color {
background-color: var(--accent-color-2);
}
.bg-accent-color-2 {
background-color: var(--accent-color-3);
}
.bg-gradient-primary {
background: linear-gradient(to bottom, var(--primary-color), #518ef8);
}
.bg-gradient-secondary {
background: linear-gradient(45deg, var(--client-baby-blue), var(--client-light-pink));
}
.text-primary-color {
color: var(--primary-color);
}
.text-black-color-2 {
color: var(--text-color);
}
.text-secondary-color-2 {
color: var(--orange);
}
.text-muted-color {
color: var(--text-color-2);
}
.accent-primary-color {
color: var(--accent-color);
}
.accent-secondary-color {
color: var(--accent-color-2);
}
.accent-tertiary-color {
color: var(--accent-color-3);
}
.font-1 {
font-family: var(--font-1);
}
.font-2 {
font-family: var(--font-2);
}
.section {
padding: 6em 2em 6em 2em;
overflow: hidden;
background-size: cover;
background-position: center;
}
.b-container {
max-width: 1240px;
margin-right: auto;
margin-left: auto;
}
/* ---------------------------- */
/* Typography */
/* ---------------------------- */
h1 {
font-size: 72px;
}
h2 {
font-size: 48px;
}
h3 {
font-size: 32px;
}
h4 {
font-size: 26px;
}
h5 {
font-size: 22px;
}
h6 {
font-size: 20px;
/* color: var(--orange)!important; */
}
button, a {
font-size: 18px;
font-family: var(--font-1);
}
ul {
list-style: none;
}
p,
li {
font-size: 18px;
}
img {
object-fit: cover;
}
/* ---------------------------- */
/* Header and Navbar */
/* ---------------------------- */
.top-bar {
/* background-color: var(--client-baby-blue); */
/* padding-block: 1.2rem; */
min-height: 80px;
}
.social-box {
display: flex;
flex-direction: row;
gap: 1rem;
}
.social-box a {
background-color: var(--secondary-color);
text-align: center;
vertical-align: middle;
transition: all 0.3s ease-in-out;
}
.social-box a:hover {
background-color: var(--accent-color-2);
/* transform: scale(1.1); */
}
.logo-box img{
max-height: 87px;
}
.navbar-toggler:focus {
outline: none;
box-shadow: none;
}
.nav-link {
font-size: 1.15rem;
color: white;
font-weight: 600;
padding-block: 1.85rem;
padding-inline: 1.50rem;
}
.nav-link:hover {
color: var(--client-baby-blue) !important;
}
.nav-link.active {
color: var(--client-baby-blue)!important;
}
.dropdown-menu{
border: 0;
border-radius: 0 0 10px 10px;
padding: 15px 0px;
/* width: 220px; */
-webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
}
.dropdown-item {
color: var(--text-color);
font-size: 1.15rem;
padding: 15px;
font-weight: 600;
padding-block: 0.75rem;
padding-inline: 0.75rem;
}
.dropdown-item:hover {
color: var(--accent-color) !important;
background-color: transparent;
}
.dropdown-item:focus {
color: var(--accent-color) !important;
}
.dropdown-item.active {
color: var(--primary-color) !important;
background-color: transparent;
}
/* ---------------------------- */
/* Buttons and Links */
/* ---------------------------- */
.btn-quotes {
text-decoration: none;
background-color: var(--client-baby-blue);
color:black;
font-size: 1.15rem;
font-weight: 600;
padding: 15px 25px;
border-radius: 30px;
border: none;
transition: .4s ease-in-out;
display: inline-block;
}
.btn-quotes:hover {
background-color: var(--client-light-pink);
color:black;
border: none;
}
.btn-quotes-1 {
text-decoration: none;
background-color: var(--orange);
color:black;
font-size: 1.15rem;
font-weight: 600;
padding: 15px 25px;
border-radius: 30px;
border: none;
transition: .4s ease-in-out;
display: inline-block;
}
.btn-quotes-1:hover{
background-color: black;
color:rgb(255, 255, 255);
border: none;
}
.btn-primary-solid {
background-color: var(--primary-color);
color: #FFFFFF;
font-size: 1.15rem;
padding: 0.75rem 1.5rem;
border-radius: 30px;
font-weight: 600;
border: none;
transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.btn-primary-solid:hover {
background-color: var(--accent-color);
color: #FFFFFF;
border: none;
transform: scale(1.1);
}
.btn-secondary-solid {
background-color: var(--orange);
color: #000000;
font-size: 1.15rem;
padding: 0.75rem 1.5rem;
border-radius: 30px;
font-weight: 600;
border: none;
transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.btn-secondary-solid:hover {
background-color: var(--accent-color-2);
color: #FFFFFF;
border: none;
transform: scale(1.1);
}
.btn-secondary-solid-2 {
background-color: var(--secondary-color);
color: #FFFFFF;
font-size: 1.15rem;
padding: 0.75rem 1.5rem;
border-radius: 30px;
font-weight: 600;
border: none;
transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.btn-secondary-solid-2:hover {
background-color: var(--primary-color);
color: #FFFFFF;
border: none;
transform: scale(1.1);
}
.links-primary {
font-family: var(--font-2);
color: var(--text-color);
font-size: 18px;
text-decoration: none;
}
.links-primary:hover {
color: var(--primary-color);
text-decoration: none;
}
.links-secondary {
font-family: var(--font-2);
color: #FFFFFF!important;
font-size: 18px;
text-decoration: none;
}
.links-secondary:hover {
color: var(--secondary-color);
text-decoration: none;
}
.badge-primary-color {
background-color: var(--primary-color);
color: #FFFFFF;
font-size: 18px;
padding: 8px 16px;
border-radius: 30px;
font-weight: 600;
}
.badge-primary-color:hover {
background-color: var(--accent-color);
color: #FFFFFF;
}
.copy-right p{
color: white;
}
/* ---------------------------- */
/* Utilities */
/* ---------------------------- */
.video-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 23, 42, 0.8); /* bg-slate-900 opacity-80 */
display: flex;
align-items: center;
justify-content: center;
z-index: 1050;
}
.video-box {
position: relative;
width: 90%;
max-width: 800px;
border-radius: 0.75rem;
overflow: hidden;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
.img-container {
width: 100%;
max-width: 100%;
max-width: 1000px;
}
.ratio-wrapper-429 {
position: relative;
/* aspect-ratio: 3 / 4; default: portrait */
overflow: hidden;
}
.img-circle {
width: 275px;
height: 275px;
}
.ratio-wrapper-419 {
position: relative;
aspect-ratio: 3 / 4; /* default: portrait */
overflow: hidden;
}
.bg-overlay-secondary {
background: linear-gradient(45deg, rgba(59, 103, 191, 0.9), rgba(247, 211, 218, 0.8));
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.transition-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.transition-hover:hover {
transform: translateY(-8px);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.scale-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scale-hover:hover {
transform: scale(1.05);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.bg-secondary-gradient {
background: linear-gradient(to right,white 0%,white 50%,#F8DAE0 50%,#F7D9DF 100%);
}
.breadcrumb {
font-size: 22px;
}
.breadcrumb-item + .breadcrumb-item::before {
color: white !important;
}
.breadcrumb-item a:hover,
.breadcrumb-item.active {
color: white !important;
}
.list-unstyled {
padding-left: 0;
margin-bottom: 0;
}
/* ---------------------------- */
/* Sections */
/* ---------------------------- */
.banner-section {
position: relative;
overflow: hidden;
padding: 50px 75px 0px 75px;
color: white;
}
.hero-section {
background:linear-gradient(to right, rgba(0,0,0,.8) , rgba(0,0,0,.5)) , url('../image/bnr-img.jpg');
background-size: cover;
background-position: 100%;
padding-bottom: 80px;
}
/* ---------------------------- */
/* Swiper */
/* ---------------------------- */
.swiper-container-outer {
position: relative;
overflow: hidden;
}
.swiper {
padding: 30px 0;
}
.swiper-slide {
height: auto;
}
.swiper-slide .card{
/* min-height: 520px; */
}
/* ---------------------------- */
/* Boxes and Cards */
/* ---------------------------- */
.step-box {
position: relative;
margin-bottom: 3rem;
}
.step-box h1 {
position: absolute;
font-family: var(--font-1);
font-weight: 900;
opacity: 0.8;
top: -10px;
left: 13%;
transform: translateX(-50%);
z-index: 0;
background:
-webkit-linear-gradient(var(--primary-color), #9abbfd);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.step-box h3 {
position: relative;
font-family: var(--font-1);
font-weight: 700;
margin: 25px 0 20px 0;
z-index: 1;
color: black;
}
.step-box p {
position: relative;
z-index: 1;
color: var(--text-color-2);
}
.feedback-card {
background: #fff;
border: var(--primary-color) 2px solid;
border-radius: 30px;
padding: 35px;
}
.quotes-section {
padding: 6em 2em 6em 2em;
position: relative;
overflow: hidden;
}
.quotes-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 75%;
background-image: url('../image/men-and-women-sitting-in-a-circle-during-group-the-2024-10-21-08-45-31-utc.jpg');
background-size: cover;
background-position: center center;
opacity: 0.8;
z-index: -1; /* place behind of content */
}
.quotes-background::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(58, 95, 169, 0.9), rgba(244, 197, 206, 0.8));
opacity: 0.9;
z-index: 1; /* place in-front of content */
}
.quotes-section > .container {
position: relative; /* Force container in-front of background */
z-index: 2;
}
.quotes-section > .card {
margin-top: 30px; /* Space from heading */
}
.news-card {
border: 2px solid var(--primary-color);
border-radius: 15px;
position: relative;
overflow: hidden;
}
.news-card .card-title {
font-family: var(--font-1);
font-weight: 800;
text-decoration: none;
}
.news-card .card-title:hover {
font-family: var(--font-1);
font-weight: 800;
/* font-size: 22px; */
text-decoration: none;
color: var(--primary-color);
}
/* ---------------------------- */
/* Footer */
/* ---------------------------- */
.footer {
position: relative;
/* background: linear-gradient(to right , rgba(137,207,240,1) , rgba(255,182,193,0.8)) , url("../image/ftr-bg.jpg"); */
background-size: cover;
background-repeat: no-repeat;
background-position: center;
padding-bottom: 20px;
background-color:var(--client-purple);
}
.footer a{
transition: .3s ease-in-out;
}
.footer a:hover{
color: var(--accent-color-2)!important;
}
.footer-logo > img {
max-height: 110px;
margin-bottom: 15px;
}
.footer-logo p{
color: white;
}
/* ---------------------------- */
/* Accordion */
/* ---------------------------- */
.accordion .accordion-item {
border: none;
margin-bottom: 1rem;
border-radius: 1.5rem;
overflow: hidden;
background-color: transparent;
}
.accordion .accordion-button {
font-size: large;
font-weight: 700;
color: #fff;
background-color: var(--accent-color); /* Default blue */
border-radius: 1.5rem;
padding: 1rem 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
box-shadow: none;
}
.accordion .accordion-button.collapsed {
background-color: var(--accent-color); /* Blue for collapsed */
color: #fff;
}
.accordion .accordion-button:not(.collapsed) {
background-color: var(--accent-color-2); /* Pink for expanded */
color: #000;
}
.accordion .accordion-button:focus {
box-shadow: none;
}
.accordion i {
font-size: 1.2rem;
}
.accordion .accordion-collapse {
margin-top: 0.5rem; /* Gap between header and body */
}
.accordion .accordion-body {
font-size: large;
background-color: #F5F5F5;
padding: 1.5rem;
border-radius: 1rem;
/* margin-top: 0.5rem; */
color: #333;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* ---------------------------- */
/* Error 404 */
/* ---------------------------- */
.error-code {
font-size: 18rem;
font-weight: 900;
line-height: 1;
display: flex;
justify-content: center;
gap: 1rem;
}
.error-code span:nth-child(2) {
background: linear-gradient(180deg, var(--primary-color), #FFC2B3);
color: white;
padding: 20px 0;
border-radius: 1.5rem;
}
/* ---------------------------- */
/* Responsive Layouts */
/* ---------------------------- */
@media only screen and (max-width: 1199.98px) {
.ratio-wrapper-429 {
aspect-ratio: 3 / 2;
}
.ratio-wrapper-419 {
aspect-ratio: 1 / 1;
}
.step-box h1 {
left: 17%;
}
}
@media only screen and (max-width: 991.98px) {
/* ---------------------------- */
/* Typography */
/* ---------------------------- */
h1 {
font-size: 36px;
}
h2 {
font-size: 40px;
}
h3 {
font-size: 24px;
}
h4 {
font-size: 22px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 18px;
}
button, a{
font-size: 17px;
}
p{
font-size: 16px;
}
/* ---------------------------- */
/* Header and Navbar */
/* ---------------------------- */
/* padding: 4em 2em 4em 2em; */
.section {
padding: 1em 1em;
}
.top-bar {
display: none;
}
.logo-box img {
max-height: 86px;
}
.logo-drawer img {
max-height: 60px;
}
.nav-link {
font-size: 1rem;
padding-block: 0.5rem;
padding-inline: 0.5rem;
}
.nav-link.active,
.nav-link:hover,
.nav-link:focus {
color: var(--primary-color) !important;
}
.navbar-nav .nav-link {
padding-block: 0.5rem;
padding-inline: 0.5rem;
color: white!important;
}
.dropdown-menu {
border-radius: 0;
width: 100%;
padding: 5px 0px 5px 0px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.dropdown-item {
font-size: 1rem;
padding-block: 0.5rem;
padding-inline: 0.5rem;
}
.btn-quotes {
display: none;
}
.img-circle {
width: 275px;
height: 275px;
}
.step-box h1 {
left: 5%;
}
.feedback-slide {
width: 33.333%; /* 3 slides per-row for desktop */
}
.bg-secondary-gradient {
background: linear-gradient(to top,white 0%,white 62%,#F8DAE0 62%,#F7D9DF 100%);
}
.quotes-section {
position: relative; /* Force container in-front of background */
overflow: hidden;
padding: 0;
}
.quotes-section > .container {
position: relative; /* Force container in-front of background */
z-index: 2;
padding: 0;
}
.quotes-section > .card {
margin-top: 70px;
}
.img-container {
width: 90%;
}
.ratio-wrapper-429 {
aspect-ratio: 16 / 9;
}
.img-circle {
width: 300px;
height: 300px;
}
.footer-logo {
text-align: center;
padding: 0 4rem;
}
.footer-logo > img {
max-height: 85px;
}
.error-code {
font-size: 15rem;
}
}
@media only screen and (max-width: 767.98px) {
.btn-play {
width: 80%;
}
.badge-cta {
display: none;
}
.bg-secondary-gradient {
background: linear-gradient(to top,white 0%,white 61%,#F8DAE0 61%,#F7D9DF 100%);
}
.img-container {
width: 85%;
}
.ratio-wrapper-429 {
aspect-ratio: 1 / 1;
}
.img-circle {
width: 300px;
height: 300px;
}
.step-box h1 {
left: 6%;
}
.footer-logo > img {
max-height: 65px;
}
}
@media only screen and (max-width:576.98px){
.ratio-wrapper-429 {
aspect-ratio: 3 / 4;
}
.img-circle {
width: 275px;
height: 275px;
}
.step-box h1 {
left: 8%;
}
.error-code {
font-size: 10rem;
}
}
.bnr-right-area h3{
font-family: var(--font-1);
color: black;
font-size: 30px;
font-weight: 700;
}