Files
ask-mutual-fund/css/testing.css

212 lines
3.5 KiB
CSS
Raw Permalink Normal View History

2025-10-15 12:13:58 +05:30
/* Base setup */
:root {
2025-10-30 14:44:13 +05:30
--font-primary: "Open Sans", sans-serif;
--font-secondary: "Larken", serif;
--font-tertiary: "Inter", sans-serif;
2025-10-15 12:13:58 +05:30
}
2025-10-15 12:31:59 +05:30
2025-10-30 14:44:13 +05:30
.ask-advantage-scroll h2 {
font-family: var(--font-secondary);
font-weight: 400;
font-style: Regular;
font-size: 40px;
line-height: 100%;
letter-spacing: 0%;
color: #033a49;
2025-10-15 12:13:58 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-15 12:13:58 +05:30
.ask-advantage-scroll p.lead {
2025-10-30 14:44:13 +05:30
font-family: var(--font-primary);
font-weight: 400;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
color: #3e3f3f;
margin-bottom: 40px;
margin-top: 15px;
2025-10-15 12:13:58 +05:30
}
2025-10-14 12:13:00 +05:30
2025-11-05 12:17:58 +05:30
/* Mobile & Tablet View (default - stacked layout) */
2025-10-15 12:13:58 +05:30
.cards-wrapper {
display: flex;
2025-11-05 12:17:58 +05:30
flex-direction: column;
gap: 30px;
width: 100%;
2025-10-15 12:13:58 +05:30
}
.card-scroll {
background-image: url("../assests/images/desbackcard-scroll.svg");
background-repeat: no-repeat;
2025-10-30 14:44:13 +05:30
background-size: cover;
2025-11-05 12:17:58 +05:30
background-position: center center;
2025-10-15 12:13:58 +05:30
border-radius: 30px;
overflow: hidden;
display: flex;
flex-direction: row;
2025-10-30 14:44:13 +05:30
border: 1px solid #e6e7e8;
box-shadow: 0px 5px 14px 0px #0000000d;
padding: 50px 80px 0px 80px;
2025-10-15 12:13:58 +05:30
gap: 60px;
2025-11-05 12:17:58 +05:30
width: 100%;
position: relative;
opacity: 1;
transform: none;
2025-10-15 12:13:58 +05:30
}
.card-content {
2025-10-30 14:44:13 +05:30
width: 60%;
margin-bottom: 50px;
2025-10-15 12:13:58 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-15 12:13:58 +05:30
.card-image {
2025-10-30 14:44:13 +05:30
width: 40%;
display: flex;
align-items: end;
2025-10-15 12:13:58 +05:30
}
.card-label span {
2025-10-30 14:44:13 +05:30
color: #b18c4a;
font-family: var(--font-primary);
font-weight: 400;
font-size: 24px;
line-height: 21.9px;
letter-spacing: 0px;
vertical-align: middle;
text-transform: capitalize;
2025-10-15 12:13:58 +05:30
}
.scroll-tiile {
2025-10-30 14:44:13 +05:30
margin: 20px 0 10px 0;
color: #033a49;
font-family: var(--font-secondary);
font-weight: 400;
font-size: 32px;
line-height: 100%;
letter-spacing: 2px;
2025-10-15 12:13:58 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.scroll-desc {
font-family: var(--font-primary);
font-weight: 400;
font-size: 18px;
line-height: 100%;
color: #3e3f3f;
2025-10-15 12:13:58 +05:30
}
.scroll-ul {
2025-10-30 14:44:13 +05:30
margin-left: 15px;
2025-10-15 12:13:58 +05:30
padding-left: 20px;
font-size: 14px;
color: #555;
margin-top: 25px;
}
.scroll-ul .scroll-li {
2025-10-30 14:44:13 +05:30
font-family: var(--font-primary);
font-weight: 400;
font-size: 16px;
line-height: 32px;
2025-10-15 12:13:58 +05:30
}
.card-image img {
width: 316px;
display: block;
}
2025-11-05 12:17:58 +05:30
/* Desktop View (Animation Layout) */
@media (min-width: 1024px) {
.cards-wrapper {
position: relative;
height: 530px;
overflow: hidden;
display: block;
gap: 0;
}
2025-10-15 12:13:58 +05:30
2025-11-05 12:17:58 +05:30
.card-scroll {
position: absolute;
top: 0;
left: 0;
2025-10-30 14:44:13 +05:30
width: 100%;
2025-11-05 12:17:58 +05:30
opacity: 0;
transform: translateY(100%);
transition: none;
}
2025-10-15 12:13:58 +05:30
2025-11-05 12:17:58 +05:30
.card-scroll.active {
opacity: 1;
transform: translateY(0);
z-index: 2;
}
}
/* Mobile & Tablet Styles */
@media (max-width: 1023px) {
.card-scroll {
background-image: url("../assests/images/mobilebackcard-scroll.svg");
2025-10-30 14:44:13 +05:30
flex-direction: column;
padding: 30px 20px 0px 20px;
gap: 30px;
}
.card-content {
2025-10-15 12:13:58 +05:30
width: 100%;
margin-bottom: 0px;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.card-image {
2025-10-14 12:13:00 +05:30
width: 100%;
2025-10-15 12:13:58 +05:30
text-align: center;
justify-content: center;
display: flex;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.card-image img {
2025-10-15 12:13:58 +05:30
width: 220px;
display: block;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.card-label span {
2025-10-15 12:13:58 +05:30
font-size: 18px;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.scroll-tiile {
2025-10-15 12:13:58 +05:30
font-size: 18px;
letter-spacing: 0.5px;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.scroll-desc {
2025-10-15 12:13:58 +05:30
font-size: 13px;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.scroll-ul {
2025-10-15 12:13:58 +05:30
display: none;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.ask-advantage-scroll h2 {
2025-10-29 10:15:45 +05:30
font-size: 26px;
line-height: 36px;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
2025-10-30 14:44:13 +05:30
.ask-advantage-scroll p.lead {
2025-11-04 18:41:08 +05:30
font-size: 15px;
2025-10-15 12:13:58 +05:30
line-height: 22px;
2025-10-30 14:44:13 +05:30
}
2025-10-15 12:13:58 +05:30
}
2025-11-05 12:17:58 +05:30
@media (max-width: 768px) {
.cards-wrapper {
gap: 20px;
}
.card-scroll {
padding: 25px 15px 0px 15px;
gap: 20px;
}
2025-10-15 12:13:58 +05:30
}
2025-10-15 12:31:59 +05:30
@media (max-width: 991px) {
2025-10-30 14:44:13 +05:30
section.ask-advantage-scroll.container {
2025-11-05 19:34:57 +05:30
padding: 40px 25px 0 25px !important;
2025-10-30 14:44:13 +05:30
}
2025-11-05 12:17:58 +05:30
}