:root,
:host {
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
  --color-red-300: oklch(80.8% 0.114 19.571);
  --color-red-500: oklch(63.7% 0.237 25.331);
  --color-orange-500: oklch(70.5% 0.213 47.604);
  --color-green-100: oklch(96.2% 0.044 156.743);
  --color-green-500: oklch(72.3% 0.219 149.579);
  --color-teal-500: oklch(70.4% 0.14 182.503);
  --color-blue-300: oklch(80.9% 0.105 251.813);
  --color-blue-500: oklch(62.3% 0.214 259.815);
  --color-purple-300: oklch(82.7% 0.119 306.383);
  --color-purple-500: oklch(62.7% 0.265 303.9);
  --color-gray-100: oklch(96.7% 0.003 264.542);
  --color-gray-300: oklch(87.2% 0.01 258.338);
  --color-gray-400: oklch(70.7% 0.022 261.325);
  --color-gray-500: oklch(55.1% 0.027 264.364);
  --color-black: #000;
  --color-white: #fff;
  --spacing: 0.25rem;
  --text-xs: 0.75rem;
  --text-xs--line-height: calc(1 / 0.75);
  --text-sm: 0.875rem;
  --text-sm--line-height: calc(1.25 / 0.875);
  --text-base: 1rem;
  --text-base--line-height: calc(1.5 / 1);
  --text-lg: 1.125rem;
  --text-lg--line-height: calc(1.75 / 1.125);
  --text-xl: 1.25rem;
  --text-xl--line-height: calc(1.75 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl--line-height: calc(2 / 1.5);
  --text-4xl: 2.25rem;
  --text-4xl--line-height: calc(2.5 / 2.25);
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --radius-lg: 0.5rem;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --blur-sm: 8px;
  --default-transition-duration: 150ms;
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);
  --text-2xs: 10px;
  --text-2xs--line-height: 16px;
  --text-17: 17px;
  --text-17--line-height: 24px;
  --text-18: 18px;
  --text-18--line-height: 100%;
  --text-19: 19px;
  --text-19--line-height: 100%;
  --text-22: 22px;
  --text-22--line-height: 100%;
  --text-26: 26px;
  --text-26--line-height: 100%;
  --text-28: 28px;
  --text-28--line-height: 36px;
  --text-30: 30px;
  --text-30--line-height: 95%;
  --text-34: 34px;
  --text-34--line-height: 44px;
  --text-42: 42px;
  --text-42--line-height: 64px;
  --text-43: 43px;
  --text-43--line-height: 52px;
  --text-46: 46px;
  --text-46--line-height: 100%;
  --text-50: 50px;
  --text-50--line-height: 100%;
  --text-95: 95px;
  --text-95--line-height: 100%;
  --color-main-bg: #F1F1F1;
  --color-light-primary: #0D5336;
  --color-primary: #042E1D;
  --color-main-green-dark: #032014;
  --color-main-green-dark-2: #0D5034;
  --color-try-it-out: #27B960;
  --color-error: #E23636;
  --color-web-link: #007AFF;
  --color-for-sale-1: #FB5151;
  --color-for-sale-2: #FF6E6E;
  --color-border-line-white: #E0E6E5;
  --color-main-green: #DAF7E2;
  --color-main-light-green: #0D5034;
  --color-main-black-5: #F5F6F5;
  --color-main-black-15: #E1E3E2;
  --color-main-black-40: #AEB5B2;
  --color-main-black-60: #81988B;
  --color-main-black-80: #5C6A65;
  --color-main-black-100: #35463F;
  --color-main-white-60: #989899;
  --color-main-dark-80: #1F2422CC;
  --color-main-dark: #1F2422;
  --font-bounded: Bounded;
  --font-inter: Inter;
  --icon-size-xs: 12px;
  --icon-size-sm: 14px;
  --icon-size-base: 18px;
  --icon-size-md: 20px;
  --icon-size-xl: 24px;
  --icon-size-27: 27px;
  --icon-size-33: 33px;
  --icon-size-2xl: 35px;
  --icon-size-3xl: 42px;
  --circle-size-8: 8px;
  --circle-size-40: 40px;
  --circle-size-48: 48px;
  --circle-size-54: 54px;
  --circle-size-75: 75px;
  --circle-size-82: 82px;
}

.main-container {
    margin-bottom: 60px; 
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 24px;
    padding: 1rem;
    height: 165px;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (width < 40rem) {
    .contact-card {
      height: auto;
    }

    .contact-card-image {
    top: 0%;
    right: -35%;
    transform: scale(1.1);
    }
}

.contact-card-content h2 {
    font-size: var(--text-xl);
    color: var(--color-white);
    font-family: var(--font-bounded);
}

.contact-card-content p {
    font-weight: var(--font-weight-medium);
    color: var(--color-main-black-60);
    font-size: var(--text-xs);
    width: 60%;
    margin-bottom: 10px;
}

.contact-card-button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--color-white);
    display: grid;
    place-items: center;
}

.contact-card-image {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: 25%;
    right: -45%;
}

.contact-card-gradient {
    position: absolute;
    inset-inline: calc(var(--spacing) * 0);
    bottom: calc(var(--spacing) * 0);
    z-index: calc(2 * -1);
    height: 75%;
    --tw-gradient-position: 263deg in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
    --tw-gradient-from: #185139;
    --tw-gradient-to: #042C1B00;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
    opacity: 80%;
}

@media (width < 64rem) {
    .contact-card-gradient {
        display: none;
    }
}

.form-card {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 1rem;
}

.form-card-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-card-header h2 {
    font-size: var(--text-xl);
    font-family: var(--font-bounded);
}

.form-card-header p {
    font-size: var(--text-xs);
    color: var(--color-main-black-60);
    font-weight: var(--font-weight-medium);
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.70rem;
}

.form-inputs button, .form-inputs input{
   height: 48px;
}

.input-wrapper {
    position: relative;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

.input-wrapper input {
    width: 100%;
    outline: none;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border-line-white);
    border-radius: 12px;
}

.input-wrapper input::placeholder {
    opacity: 0;
}

.input-wrapper input:focus::placeholder {
    color: var(--color-gray-400);
}

.input-wrapper label {
    position: absolute;
    left: 1rem;
    transition: all 0.2s;
    color: var(--color-gray-500);
    top: 0.625rem;
    font-size: var(--text-base);
}

.input-wrapper input:focus ~ label,
.input-wrapper input.has-value ~ label {
    top: 0;
    font-size: var(--text-xs);
}
.btn-default {
    /* Button styles - assuming this is defined elsewhere */
}

/* Responsive Styles */
@media (width >= 40rem) {
    .contact-wrapper {
        flex-direction: row;
        gap: calc(var(--spacing) * 2);
    }

    .contact-card {
        order: 2;
        flex: 1;
        height: auto;
    }

    .contact-card-content h2 {
        font-size: var(--text-34);
    }

    .contact-card-content p {
        font-size: var(--text-sm);
        width: 65%;
    }

    .contact-card-image {
        top: 20%;
        transform: scale(1.4);
    }

    .form-card {
        order: 1;
        flex: 1;
    }

    .form-card-header p {
        font-size: var(--text-sm);
    }

    .input-wrapper {
        font-size: var(--text-base);
    }

    .input-wrapper label {
        top: 1rem;
    }

}

@media (width >= 40rem) {
    .input-wrapper input:focus ~ label, .input-wrapper input:not(:placeholder-shown) ~ label {
        top: 0.125rem;
        font-size: var(--text-xs);
    }
}

@media (width >= 64rem) {
    .contact-card {
        padding: 32px 32px 25px 32px;
        width: 238px;
    }

    .contact-card-content p {
        width: 55%;
    }

    .contact-card-image {
        top: 25%;
        right: -40%;
        transform: scale(1.8);
    }

    .contact-card-gradient {
        display: block;
    }

    .form-card {
        padding: 36px 42px 25px 42px;
    }

    .form-card-header {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-card-header h2 {
        font-size: var(--text-34);
    }

    .form-card-header p {
        width: 65%;
    }

    .form-inputs {
        flex-direction: row;
        gap: 1rem;
    }

    .input-wrapper {
        width: 100%;
    }

    .input-wrapper input {
        padding: 0 1rem;
        height: 100%;
    }

}

/* Scale utilities for images */
.max-sm\:scale-180 {
    @media (width < 40rem) {
        transform: scale(1.8);
    }
}

.sm\:scale-140 {
    @media (width >= 40rem) {
        transform: scale(1.4);
    }
}

.lg\:scale-180 {
    @media (width >= 64rem) {
        transform: scale(1.8);
    }
}

/* Hidden utilities */
.max-lg\:hidden {
    @media (width < 64rem) {
        display: none;
    }
}

/* Icon size */
.icon-sm {
    height: var(--icon-size-sm);
    width: var(--icon-size-sm);
}

.btn-default {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 13px 16px;
    font-family: var(--font-bounded);
    font-size: var(--text-xs);
    line-height: var(--text-xs--line-height);
    text-align: center;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
}

.contact-card-content p {
    font-weight: var(--font-weight-medium);
    color: var(--color-main-black-60);
    font-size: var(--text-xs);
    width: 60%;
}

@media (width >= 40rem) {
    .contact-card-content p {
        font-size: var(--text-sm);
        width: 65%;
    }
}

@media (width >= 64rem) {
    .contact-card-content p {
        width: 50%;
    }
}

.contact-card-content p, .form-card-header p {
    line-height: 1.5;
}

    .contact-card-content h2 {
        margin-bottom: 10px;
    }
    
    /* Add this new rule */
.input-wrapper.label-up label {
    top: 0 !important;
    font-size: var(--text-xs) !important;
}

/* For responsive */
@media (width >= 40rem) {
    .input-wrapper.label-up label {
        top: 0.125rem !important;
    }
}