.contact-page {
width: 1224px;
max-width: calc(100% - 80px);
margin: 120px auto 100px;
padding: 40px 0 32px;
} .contact-hero {
margin-bottom: 32px;
}
.contact-hero h1 {
margin-bottom: 14px;
}
.contact-hero p {
max-width: 900px;
} .form-card {
background: var(--bg-white);
border-radius: 16px;
padding: 28px 28px 24px;
border: 1px solid var(--border-light);
box-shadow: 0 16px 40px -8px rgba(88, 92, 95, .16);
margin-bottom: 20px;
}
.form-title {
font-weight: 700;
font-style: normal;
font-size: 24px;
line-height: 32px;
letter-spacing: 0%;
color: var(--text-main);
padding-bottom: 14px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-light);
} .form-row {
display: grid;
grid-template-columns: 1fr 1fr 1.3fr;
gap: 14px;
margin-bottom: 14px;
}
.form-field {
display: flex;
flex-direction: column;
gap: 6px;
}
.form-field.full {
grid-column: 1 / -1;
}
.form-field label {
font-weight: 500;
font-style: normal;
font-size: 14px;
line-height: 20px;
letter-spacing: -0.6%;
vertical-align: middle;
color: var(--text-main);
}
.form-field label .req {
color: var(--primary);
margin-left: 2px;
}
.form-field input,
.form-field textarea {
border: 1.5px solid var(--border-light);
border-radius: 16px;
padding: 24px;
font-size: 14px;
font-weight: 400;
color: var(--text-main);
background: var(--bg-white);
outline: none;
transition: border-color var(--transition), box-shadow var(--transition);
width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
color: #b0b7c3;
}
.form-field input:focus,
.form-field textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(228, 0, 124, .10);
}
.form-field textarea {
resize: vertical;
min-height: 120px;
} .phone-wrapper {
display: flex;
border: 1.5px solid var(--border-light);
border-radius: 10px;
background: var(--bg-white);
transition: border-color var(--transition);
position: relative;
overflow: visible;
}
.phone-wrapper:focus-within {
border-color: var(--primary);
} #phoneTrigger {
display: flex;
align-items: center;
gap: 5px;
padding: 0 10px 0 12px;
border-right: 1.5px solid var(--border-light);
cursor: pointer;
flex-shrink: 0;
user-select: none;
white-space: nowrap;
}
#phoneTrigger .flag-wrap img {
width: 22px;
height: auto;
border-radius: 2px;
display: block;
}
#phoneTrigger .dial-code {
font-size: 13px;
font-weight: 600;
color: var(--text-light);
}
#phoneTrigger .chev {
font-size: 9px;
color: var(--border-light);
transition: transform var(--transition);
}
#phoneTrigger.open .chev {
transform: rotate(180deg);
}
.phone-wrapper input {
border: none !important;
border-radius: 0 !important;
background: transparent !important;
flex: 1;
min-width: 0;
box-shadow: none !important;
} #phoneDropdown {
position: absolute;
top: calc(100% + 4px);
left: 0;
min-width: 230px;
background: var(--bg-white);
border: 1.5px solid #ddd;
border-radius: 10px;
box-shadow: 0 8px 28px rgba(0, 0, 0, .13);
z-index: 999;
overflow: hidden;
opacity: 0;
transform: translateY(-6px) scaleY(.96);
transform-origin: top left;
pointer-events: none;
transition: opacity .18s ease, transform .18s ease;
}
#phoneDropdown.open {
opacity: 1;
transform: translateY(0) scaleY(1);
pointer-events: all;
}
.dd-search {
padding: 8px 10px;
border-bottom: 1px solid #eee;
position: sticky;
top: 0;
background: var(--bg-white);
z-index: 1;
}
.dd-search input {
width: 100%;
border: 1.5px solid var(--border-light);
border-radius: 6px;
padding: 6px 10px;
font-size: 13px;
background: #f7f7f7;
outline: none;
}
.dd-search input:focus {
border-color: #aaa;
background: var(--bg-white);
}
#countryList {
max-height: 200px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #ddd transparent;
}
#countryList::-webkit-scrollbar {
width: 4px;
}
#countryList::-webkit-scrollbar-thumb {
background: #ddd;
border-radius: 4px;
}
.phone-option {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
font-size: 13px;
cursor: pointer;
transition: background .12s;
color: var(--text-main);
}
.phone-option:hover {
background: #f5f5f5;
}
.phone-option.selected {
background: #f0f0f0;
font-weight: 600;
}
.phone-option .opt-flag img {
width: 20px;
height: auto;
border-radius: 2px;
}
.phone-option .opt-name {
flex: 1;
}
.phone-option .opt-code {
color: #aaa;
font-size: 12px;
} @keyframes arrowPulse {
0% {
transform: translate(0, 0);
opacity: 1;
}
40% {
transform: translate(6px, -6px);
opacity: 0;
}
41% {
transform: translate(-5px, 5px);
opacity: 0;
}
70% {
transform: translate(0, 0);
opacity: 1;
}
100% {
transform: translate(0, 0);
opacity: 1;
}
} .btn-send {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 16px;
background: var(--primary);
color: var(--text-white);
border: none;
border-radius: 10px;
font-size: 15px;
font-weight: 500;
cursor: pointer;
margin-top: 6px;
transition: background var(--transition), transform .1s;
}
.btn-send:hover {
background: var(--primary-hover);
}
.btn-send:active {
transform: scale(.99);
}
.btn-send span {
display: flex;
}
.btn-send svg {
width: 16px;
height: 16px;
fill: none;
stroke: #fff;
stroke-width: 2;
display: inline-block;
transition: transform 0.3s ease;
}
.btn-send:hover .arrow-icon {
transform: translateX(6px);
} .contact-card {
background: var(--bg-white);
border: 1.5px solid var(--border-light);
border-radius: 24px;
padding: 24px;
display: flex;
flex-direction: column;
gap: 16px;
}
.channels-title {
font-weight: 700;
font-size: 24px;
line-height: 32px;
padding-bottom: 16px;
color: var(--primary);
border-bottom: 1px solid var(--border-light);
}
.channels-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
padding-top: 12px;
}
.channel-item {
background: var(--bg-white);
border-radius: 24px;
padding: 24px;
color: var(--primary);
display: flex;
flex-direction: column;
box-shadow: 0px 0px 6.9px 0px #E2008240;
gap: 12px;
}
.channel-info {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: flex-start;
gap: 12px;
}
.channel-icon {
width: 48px;
height: 48px;
background: var(--primary-light);
border-radius: 50%;
padding: 5px;
}
.channel-icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.channel-label {
position: relative;
display: inline-block;
font-size: clamp(22px, 2vw, 24px);
font-weight: 500;
line-height: 32px;
letter-spacing: -1.5%;
color: var(--primary);
height: 40px;
text-wrap: nowrap;
}
:lang(my) .channel-label {
font-size: clamp(14px, 1vw, 16px);
}
.btn-reach {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
background: var(--bg-white);
border: 1px solid var(--primary);
border-radius: var(--radius-pill);
color: var(--primary);
font-size: 16px;
font-weight: 500;
line-height: 24px;
letter-spacing: -1.1%;
padding: 8px 24px;
cursor: pointer;
transition: background .2s;
text-decoration: none;
width: 100%;
margin-top: 4px;
}
:lang(my) .btn-reach {
font-size: 14px;
}
.btn-reach svg {
width: 20px;
height: 20px;
stroke: var(--primary);
fill: none;
stroke-width: 2;
display: inline-block; transition: transform 0.3s ease;
}
.btn-reach:hover svg {
transform: translateX(6px);
} @media (max-width: 1148px) {
.channel-label {
text-wrap: wrap;
height: 80px;
}
.btn-reach {
padding: 8px;
}
}
@media (max-width: 1024px) {
.channels-grid {
grid-template-columns: repeat(2, 1fr);
}
.channel-label {
text-wrap: nowrap;
height: 40px;
}
}
@media (max-width: 768px) {
.contact-page {
max-width: calc(100% - 40px);
}
.form-row {
grid-template-columns: 1fr 1fr;
}
.form-field.full {
grid-column: 1 / -1;
}
}
@media (max-width: 600px) {
.page-wrap {
padding: 28px 16px 48px;
}
.form-card {
padding: 20px 18px;
}
.contact-card {
padding: 20px 18px;
}
.channels-grid {
grid-template-columns: auto;
gap: 12px;
}
.channel-label {
font-size: 20px;
}
:lang(my) .channel-label {
font-size: 18px;
}
.channel-item {
padding: 14px 12px 12px;
}
.form-row {
grid-template-columns: 1fr;
}
}