Files
ask-mutual-fund/css/style.css
2025-10-08 20:06:02 +05:30

350 lines
5.8 KiB
CSS

/* Base setup */
:root {
--font-primary: 'Open Sans', sans-serif;
/* default body font */
--font-secondary: 'Larken', serif;
/* decorative font */
--font-tertiary: 'Inter', sans-serif;
/* for headings or special text */
}
.navbar {
background-color: #033A49;
/* Dark blue shade */
padding: 20px 0;
}
/* Logo styling */
.navbar-brand img {
width: 147px;
height: 29px;
}
.navbar-expand-lg .gap-menu {
flex-direction: row;
gap: 20px;
}
/* Navbar links */
.nav-link {
font-family: var(--font-primary);
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 120%;
letter-spacing: 0%;
text-align: center;
color: #fff;
}
.nav-link:hover {
color: #ffffff;
}
.text-white {
font-family: var(--font-primary);
font-weight: 600;
font-size: 16px;
line-height: 120%;
letter-spacing: 0%;
text-align: center;
color: #fff;
}
/* Invest Now button */
.invest-btn {
background-color: #b58b4b;
color: #fff;
font-family: var(--font-primary);
font-weight: 700;
font-size: 14px;
line-height: 100%;
letter-spacing: 1.2px;
text-align: center;
text-transform: uppercase;
text-decoration: none;
clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
transition: all 0.3s ease;
}
.invest-btn:hover {
background-color: #b58b4b;
color: #fff;
}
a.color-a {
color: #fff;
text-decoration: none;
font-family: var(--font-tertiary);
font-weight: 500;
font-style: Medium;
font-size: 13px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
}.topbar-mobile{
display: none;
}
.topbar {
box-shadow: 0px -1px 0px 0px #00000014 inset;
background-color: #004A5D;
}
/* Remove default border and shadow */
.navbar-toggler {
border: none;
background: transparent;
padding: 0;
}
.navbar-toggler:focus {
outline: none;
box-shadow: none;
}
.navbar-collapse {
display: none;
transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
overflow: hidden;
max-height: 0;
opacity: 0;
}
.navbar-collapse.show {
display: block;
max-height: 500px; /* enough for your menu */
opacity: 1;
}
/* White close icon */
.open-icon, .close-icon {
font-size: 22px;
color: #fff; /* or your preferred color */
}
/* Footer */
.footer-section {
background-color: #022b36;
position: relative;
overflow: hidden;
}
/* Subtle pattern lines (optional like your image) */
.footer-section::after {
content: "";
position: absolute;
right: -100px;
top: 0;
width: 600px;
height: 100%;
background: url('pattern-lines.png') no-repeat right center;
background-size: contain;
opacity: 0.1;
}
.footer-desc {
color: #C4C4C4;
font-family: var(--font-primary);
font-weight: 400;
font-size: 12px;
line-height: 140%;
text-align: left;
}
.social-links{
text-align: left;
}
.footer-heading {
font-family: var(--font-primary);
font-weight: 600;
font-size: 12px;
line-height: 120%;
text-transform: uppercase;
text-align: left;
color: #B18C4A;
}
.footer-links a {
color: #fff;
text-decoration: none;
display: block;
margin-bottom: 8px;
font-family: var(--font-primary);
font-weight: 500;
font-size: 10px;
line-height: 120%;
letter-spacing: 1.2px;
text-transform: uppercase;
text-align: left;
}
.footer-bottom-links {
gap: 40px;
display: flex;
}
.footer-links a:hover {
color: #ffffff;
}
.social-links a {
font-size: 1.3rem;
color: #b7c4c7;
transition: color 0.3s;
}
.social-links a:hover {
color: #ffffff;
}
.footer-line {
border-color: #fff;
}
.text-adjust {
font-family: var(--font-primary);
font-weight: 400;
font-size: 12px;
line-height: 100%;
text-align: center;
color: #fff;
}
.footer-bottom-links a {
color: #fff;
text-decoration: none;
font-family: var(--font-primary);
font-weight: 600;
font-size: 12px;
line-height: 100%;
letter-spacing: 2px;
text-transform: uppercase;
}
.footer-bottom-links a:hover {
color: #ffffff;
}
@media (max-width: 768px) {
/* Logo styling */
.navbar-brand img {
width: 120px;
height: 24px;
}
.container{
padding: 0 25px 0 25px;
}
}
@media (max-width: 991px) {
.topbar {
display: none;
}
.navbar {
background-color: #033a4900;
padding: 0 0;
border-bottom: 1px solid #033A49;
}
.container, .container-md, .container-sm {
max-width: 100%;
padding: 0;
}
.navbar-brand{
padding: 0;
}
.mobile-adj {
width: 100%;
display: flex;
align-items: center;
background: #033A49;
justify-content: space-between;
padding: 20px 25px;
}
.d-flex
{
display: block !important;
}
.nav-link {
font-family: var(--font-primary);
font-weight: 600;
font-size: 18px;
line-height: 120%;
text-align: left;
color: #033A49;
border-bottom: 1px solid #E6E7E8;
padding-bottom: 15px;
}
.navbar-expand-lg .gap-menu
{
flex-direction: column;
gap: 12px;
padding: 25px 25px 12px 25px;
}
.nav-link:hover
{
color: #033A49 !important;
}
.ms-auto
{
margin-left: auto !important;
padding: 0 25px 20px 25px;
}
.text-white{
font-family: var(--font-primary);
font-weight: 600;
font-size: 18px;
line-height: 120%;
text-align: left;
color: #033A49 !important;
border-bottom: 1px solid #E6E7E8;
padding-bottom: 15px;
width: 100%;
display: block;
}
.invest-btn{
display: none;
}
i.bi.bi-chevron-down {
display: none;
}
.mobile-call {
display: flex;
flex-direction: column;
gap: 12px;
padding: 0 25px 25px 25px;
}
a.color-b {
gap: 10px;
text-decoration: none;
display: flex;
color: #3E3F3F;
font-family: var(--font-primary);
font-weight: 600;
font-size: 18px;
}
.topbar-mobile{
display: block;
}
}