update image in hero section

This commit is contained in:
2026-06-23 11:45:23 +05:30
parent 1b9ceb4a52
commit 9ea89c317f
11 changed files with 1155 additions and 630 deletions

View File

@@ -120,7 +120,7 @@
--spacing-gutter: 16px;
--spacing-margin-mobile: 16px;
--spacing-margin-desktop: 32px;
--spacing-container-max: 1280px;
--spacing-container-max: 1440px;
/* Fonts */
--font-display: "Jost", sans-serif;
@@ -429,7 +429,7 @@ body {
.hero-stage {
padding-left: clamp(72px, 7.5vw, 150px);
padding-right: clamp(32px, 4vw, 80px);
min-height: 600px;
min-height: 620px;
}
.service-cards-wrapper {
@@ -549,3 +549,598 @@ body {
}
}
/* ─── Footer Layout & Sizing System ─── */
.footer-container {
box-sizing: border-box;
width: 100%;
max-width: 1720px;
margin-inline: auto;
padding-inline: clamp(24px, 5%, 76px);
}
.footer-grid {
display: grid;
grid-template-columns:
minmax(260px, 1.1fr)
minmax(170px, 0.8fr)
minmax(190px, 0.9fr)
minmax(460px, 1.45fr);
grid-template-areas:
"brand company partnerships form"
"brand legal legal form";
gap: 34px 48px;
align-items: start;
}
.footer-grid-contact-page {
display: grid;
grid-template-columns:
minmax(260px, 1.1fr)
minmax(170px, 0.8fr)
minmax(190px, 0.9fr)
minmax(150px, 0.8fr);
grid-template-areas: "brand company partnerships legal";
gap: 34px 48px;
align-items: start;
}
.footer-grid-contact-page .footer-legal {
margin-top: 0;
}
@media (max-width: 1350px) {
.footer-grid {
grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(160px, 0.8fr));
grid-template-areas:
"brand company partnerships"
"brand legal legal"
"form form form";
}
.footer-grid-contact-page {
grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(160px, 0.8fr));
grid-template-areas:
"brand company partnerships"
"brand legal legal";
}
.footer-grid-contact-page .footer-legal {
margin-top: 12px;
}
}
.footer-desc {
font-size: clamp(17px, 1.2vw, 19px);
line-height: 1.6;
color: rgba(255, 255, 255, 0.8);
max-width: 320px;
}
.footer-social-link {
width: 58px;
height: 58px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
transition: all 0.3s ease;
}
.footer-social-link:hover {
background: var(--brand-accent);
color: var(--brand-dark);
}
.footer-column-title {
font-size: 17px;
font-weight: 700;
color: #E5E7EB;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 24px;
}
.footer-links-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.footer-link {
font-size: 17px;
line-height: 1.5;
color: rgba(255, 255, 255, 0.8);
transition: all 0.3s ease;
}
.footer-link:hover {
color: var(--brand-accent);
transform: translateX(6px);
}
/* Contact Form Card styling */
.footer-brand {
grid-area: brand;
}
.footer-company {
grid-area: company;
}
.footer-partnerships {
grid-area: partnerships;
}
.footer-legal {
grid-area: legal;
margin-top: 12px;
}
.footer-contact-wrap {
grid-area: form;
min-width: 0;
width: 100%;
}
.footer-contact-card {
width: 100%;
max-width: 540px;
min-width: 0;
box-sizing: border-box;
padding: 40px;
border-radius: 32px;
}
.footer-contact-card input,
.footer-contact-card textarea,
.footer-contact-card button {
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
}
.footer-contact-title {
font-size: clamp(30px, 2.2vw, 34px);
font-weight: 800;
line-height: 1.15;
}
.footer-contact-subtitle {
font-size: 16px;
color: var(--on-surface-variant);
margin-top: 8px;
margin-bottom: 24px;
white-space: normal;
word-wrap: break-word;
}
.footer-form-row {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
}
@media (min-width: 1440px) {
.footer-form-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.footer-input {
box-sizing: border-box;
width: 100%;
background: var(--surface);
border: 1px solid var(--outline-variant);
color: var(--on-surface);
border-radius: 14px;
padding-inline: 16px;
min-height: 60px;
font-size: 16px;
outline: none;
transition: all 0.2s ease;
}
.footer-input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(77, 4, 106, 0.2);
}
.footer-input.has-error {
border-color: var(--error);
}
.footer-input.has-error:focus {
box-shadow: 0 0 0 2px rgba(186, 26, 26, 0.2);
}
.footer-input::placeholder {
font-size: 16px;
color: rgba(77, 67, 79, 0.6);
}
.footer-textarea {
box-sizing: border-box;
width: 100%;
background: var(--surface);
border: 1px solid var(--outline-variant);
color: var(--on-surface);
border-radius: 14px;
padding: 16px;
min-height: 130px;
font-size: 16px;
outline: none;
resize: none;
transition: all 0.2s ease;
}
.footer-textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(77, 4, 106, 0.2);
}
.footer-textarea.has-error {
border-color: var(--error);
}
.footer-textarea.has-error:focus {
box-shadow: 0 0 0 2px rgba(186, 26, 26, 0.2);
}
.footer-textarea::placeholder {
font-size: 16px;
color: rgba(77, 67, 79, 0.6);
}
.footer-error-text {
font-size: 15px;
color: var(--error);
font-weight: 700;
margin-top: 4px;
padding-left: 4px;
display: flex;
align-items: center;
gap: 4px;
}
.footer-submit-btn {
width: 100%;
background: var(--primary);
color: var(--on-primary);
font-weight: 700;
min-height: 62px;
font-size: 18px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: all 0.2s ease;
border: none;
}
.footer-submit-btn:hover:not(:disabled) {
background: var(--primary-container);
}
.footer-submit-btn:disabled {
background: rgba(77, 4, 106, 0.5);
cursor: not-allowed;
}
.footer-submit-btn:active:not(:disabled) {
transform: translateY(1px);
}
.footer-bottom-text {
font-size: 15px;
color: rgba(255, 255, 255, 0.4);
}
/* Helpdesk override for sizing constraints */
.helpdesk-subtitle {
font-size: 15px;
font-weight: 700;
color: rgba(18, 2, 23, 0.8);
margin-top: 2px;
}
.helpdesk-btn {
display: flex;
align-items: center;
gap: 12px;
background-color: var(--brand-dark);
color: var(--brand-accent);
font-weight: 900;
padding: 14px 32px;
border-radius: 9999px;
font-size: 16px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
transition: all 0.2s ease;
}
.helpdesk-btn:hover {
background-color: rgba(18, 2, 23, 0.9);
}
@media (max-width: 1200px) {
.footer-grid,
.footer-grid-contact-page {
grid-template-columns: repeat(3, 1fr);
gap: 40px;
}
.footer-brand-col {
grid-column: 1 / -1;
}
.footer-contact-card-wrapper {
grid-column: 1 / -1;
display: flex;
justify-content: center;
width: 100%;
}
}
@media (max-width: 768px) {
.footer-grid {
grid-template-columns: 1fr;
grid-template-areas:
"brand"
"company"
"partnerships"
"legal"
"form";
gap: 32px;
}
.footer-grid-contact-page {
grid-template-columns: 1fr;
grid-template-areas:
"brand"
"company"
"partnerships"
"legal";
gap: 32px;
}
.footer-contact-card {
padding: 28px 22px;
}
}
/* ─── Footer Vertical Spacing & Height Alignment ─── */
.footer {
--helpdesk-height: 150px;
--helpdesk-overlap: 42px;
position: relative;
height: auto !important;
min-height: 0 !important;
padding: 0 !important;
overflow: visible !important;
}
.footer-helpdesk-wrap {
box-sizing: border-box;
position: relative;
z-index: 5;
width: 100%;
max-width: 1720px;
margin: 0 auto;
padding-inline: clamp(24px, 5%, 76px);
margin-top: -42px;
margin-bottom: 48px;
}
.footer-main {
padding-top: 0 !important;
padding-bottom: 56px !important;
}
.footer-divider {
width: 100%;
margin: 0 auto !important;
border: none;
border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom {
width: 100%;
margin: 0 auto;
padding: 28px 0 34px !important;
}
.footer-spacer,
.footer-empty-space {
display: none !important;
}
@media (max-width: 768px) {
.footer-helpdesk-wrap {
margin-top: 0;
margin-bottom: 32px;
}
}
/* ─── Stable Subpage Hero Height to Prevent Layout Shift ─── */
.hero-section {
position: relative !important;
min-height: clamp(680px, 48vw, 820px) !important;
height: clamp(680px, 48vw, 820px) !important;
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
align-items: center !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
overflow: hidden !important;
}
.hero-section > div.relative {
width: 100% !important;
}
.hero-rotator-text {
display: inline-flex !important;
align-items: center;
justify-content: center;
min-height: 2.4em;
vertical-align: middle;
}
/* ─── Experience Bento Mosaic Grid Redesign ─── */
.experience-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-auto-rows: 480px;
gap: 18px;
}
.experience-card {
position: relative;
overflow: hidden;
border-radius: 26px;
min-height: 480px;
isolation: isolate;
}
.experience-card--wide {
grid-column: span 2;
}
.experience-card__image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.7s ease;
}
.experience-card:hover .experience-card__image {
transform: scale(1.06);
}
.experience-card__overlay {
position: absolute;
inset: 0;
background:
linear-gradient(
180deg,
rgba(18, 4, 28, 0.15) 0%,
rgba(18, 4, 28, 0.55) 48%,
rgba(18, 4, 28, 0.92) 100%
);
}
.experience-card__content {
position: relative;
z-index: 1;
height: 100%;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: flex-end;
color: white;
}
.experience-card__badge {
position: absolute;
top: 26px;
left: 26px;
padding: 8px 12px;
border-radius: 999px;
background: rgba(238, 216, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.18);
color: #ffffff;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.experience-card__icon {
position: absolute;
top: 24px;
right: 24px;
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 50%;
background: rgba(232, 202, 255, 0.22);
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
}
.experience-card h3 {
color: white;
font-size: clamp(24px, 2vw, 34px);
line-height: 1.1;
margin: 0 0 12px;
font-family: var(--font-display);
font-weight: 800;
}
.experience-card p {
color: rgba(255, 255, 255, 0.82);
max-width: 420px;
margin: 0;
line-height: 1.55;
font-size: 14px;
}
@media (max-width: 1024px) {
.experience-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.experience-grid {
grid-template-columns: 1fr;
grid-auto-rows: auto;
}
.experience-card {
min-height: 340px;
}
.experience-card--wide {
grid-column: span 1;
}
}
/* ─── Hero Section Background & Overlay Styling ─── */
.hero-background {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
}
.hero-background img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
object-position: center right !important;
}
.hero-background::after {
content: "";
position: absolute;
inset: 0;
background: rgba(18, 4, 28, 0.48);
}
.hero-content {
position: relative;
z-index: 1;
}