Files
ask-mutual-fund/css/contact.css
unknown a0034abfb1
All checks were successful
ask-mutual-fund Actions Workflow / test (push) Successful in 16s
fix card bg and scroll animation of home page
2025-10-29 14:52:24 +05:30

323 lines
5.5 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 */
}
.contact-banner {
background-image: url("../assests/images/contact-banner.svg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 350px;
}
/* .contact-banner .container{
padding: 60px 0 72px 0;
} */
.contac-back-color {
background: #f5f5f5;
}
.contact-aling {
align-items: end;
height: 100%;
display: flex;
justify-content: flex-start;
width: 100%;
padding-bottom: 72px;
}
.contact-tittle-banner {
font-family: var(--font-secondary);
font-weight: 400;
font-size: 50px;
line-height: 60px;
color: #fff;
}
p.contact-text-banner {
font-family: var(--font-primary);
font-weight: 400;
font-size: 18px;
line-height: 28px;
color: #fff;
}
.invest-contact {
background-color: #b58b4b;
clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
transition: all 0.3s ease;
padding: 15px 20px;
height: 100%;
display: flex;
width: 280px;
justify-content: center;
}
.invest-contact a {
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;
}
.map-section .button-to {
margin-top: 35px;
}
.view-top {
margin-top: 20px;
}
.contact-cards {
display: flex;
margin-bottom: 65px;
}
.contact-card {
background: #fff;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
padding: 25px 35px;
flex: 1 1 30%;
border-bottom: 3px solid #b89c58;
/* gold underline */
transition: all 0.3s ease;
width: 368px;
height: 225px;
margin-right: 32px;
}
.contact-card h4 {
color: #033a49;
margin-bottom: 15px;
font-family: var(--font-secondary);
font-weight: 400;
font-size: 24px;
line-height: 30px;
}
.contact-card p:first-child {
font-size: 21px;
}
.contact-card p {
color: #3e3f3f;
font-family: var(--font-primary);
font-weight: 400;
font-size: 18px;
line-height: 120%;
letter-spacing: 1px;
margin-bottom: 10px;
}
.map-section {
display: flex;
flex-wrap: wrap;
gap: 50px;
align-items: flex-start;
}
.map-container {
flex: 1 1 55%;
overflow: hidden;
}
.map-container iframe {
width: 100%;
height: 350px;
border: 0;
}
.location-info {
flex: 1 1 40%;
}
.location-info h3 {
color: #033a49;
margin-bottom: 20px;
font-family: var(--font-secondary);
font-weight: 400;
font-size: 32px;
line-height: 30px;
vertical-align: middle;
}
.location-info strong {
color: #b18c4b;
font-family: var(--font-primary);
font-weight: 600;
font-size: 18px;
line-height: 120%;
letter-spacing: 0.5px;
}
.location-info p {
color: #3e3f3f;
font-family: var(--font-primary);
font-weight: 600;
font-size: 16px;
line-height: 120%;
letter-spacing: 0.5px;
}
.invest-contact2 {
background-color: #b58b4b;
clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
transition: all 0.3s ease;
padding: 15px 20px;
height: 100%;
display: flex;
width: 220px;
justify-content: center;
}
.invest-contact2 a {
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;
}
.View {
text-transform: uppercase;
}
.view-arrow {
height: 11px !important;
width: 17px !important;
}
.location-info.none-desktop {
display: none;
}
.hide-details-conne-mobile {
display: none;
}
@media (max-width: 768px) {
.contact-cards {
flex-direction: column;
}
.map-section {
flex-direction: column;
}
.contact-card {
width: 100%;
height: 135px;
margin-right: 0px;
margin-bottom: 32px;
}
.location-info.none-desktop {
display: block;
}
.contact-banner {
background-image: url("../assests/images/mobile-contact.svg");
padding: 0px 20px;
}
.invest-contact {
width: 95%;
}
.contact-card h4 {
font-size: 21px;
}
p.size-mobile {
font-size: 14px;
}
.location-info {
width: 100%;
}
.map-container {
width: 100%;
}
.invest-contact2 {
background-color: #b58b4b;
clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
transition: all 0.3s ease;
padding: 20px 20px;
height: 100%;
display: flex;
width: 100%;
justify-content: center;
}
.invest-contact {
background-color: #b58b4b;
clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
transition: all 0.3s ease;
padding: 20px 20px;
height: 100%;
display: flex;
width: 95% !important;
justify-content: center;
}
.location-info p {
font-size: 14px;
}
.view-top {
margin-top: 20px;
text-align: center;
}
h3.none-mobile {
display: none;
}
.map-section {
display: flex;
flex-wrap: wrap;
gap: 30px;
align-items: flex-start;
}
.hide-details-conne-dest {
display: none;
}
.hide-details-conne-mobile {
display: flex;
gap: 20px;
}
}
@media (max-width: 991px) {
.contact-banner {
background-image: url("../assests/images/mobile-contact.svg");
background-repeat: no-repeat;
background-size: cover;
background-position: -33px center;
padding: 0px 20px;
height: 70vh;
}
}