/* Contact page specific styles */

/* Hero section styles */
#page-contact, .page-title-image {
    background-image: linear-gradient(#05060266, #000c), url(/assets/images/website/title-contact-us.webp);
    background-position: center;
    background-size: cover;
}

.hero {
    color: var(--white);
    background-position: 50%;
    background-size: cover;
    padding: 0;
}

.hero-text {
    width: 100%;
    padding: 2rem 2rem 2rem 5rem;
    overflow: hidden;
}

.hero-text h1 {
    margin-bottom: 2rem;
    font-family: var(--main-font), Oswald, Arial, Helvetica, sans-serif;
    font-size: 50px;
    font-weight: 700;
}

.title-style-3 {
    color: #f7f7f7;
    font-size: 24px;
    font-weight: normal;
}

/* Container and row styles */
.container {
    max-width: 1152px;
    margin: auto;
    position: relative;
    width: auto;
}

.section-row, .row {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.section-row.no-pad {
    padding: 0;
}

.section-row a.btn {
    justify-content: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.column {
    padding: 0.75rem;
}

.column.is-half {
    width: 50%;
}

.column.is-full {
    width: 100%;
}

.wrap {
    padding: 1rem;
}

.sub-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}



/* Contact section */
section.contact {
    background-color: #0458a0; /* Slightly darker blue for better contrast */
    background-image: linear-gradient(to bottom, rgba(4, 88, 160, 0.98), rgba(4, 88, 160, 0.98));
    color: #fff;
    padding: 3rem 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1); /* Inner shadow for depth */
}

.contact .section-title {
    margin-bottom: 1rem;
    font-size: 2.5rem; /* Larger font size */
    font-weight: 600; /* Semi-bold for better visibility */
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Shadow for better contrast */
    letter-spacing: 0.01em; /* Slightly increased letter spacing */
}

.contact .subtitle {
    font-weight: 400; /* Regular weight instead of light */
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem; /* Slightly larger font size */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* Subtle shadow for better contrast */
}

/* Button styles */
.blue-button {
    background-color: #0456B4;
    color: #fff;
    border: 2px solid #0456B4;
    border-radius: 5px;
    width: fit-content;
    padding: 0.75rem;
    transition: 0.25s;
    text-decoration: none;
    display: inline-block;
    font-family: Oswald, Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.blue-button:hover {
    color: #0456B4;
    background-color: transparent;
    cursor: pointer;
}

.text-center {
    text-align: center;
    margin: 40px 0;
}

/* MDL input fields */
.jfield input[type="text"].filled~label:after,
.jfield input[type="email"].filled:valid~label:after {
    font-size: 3em;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 0.3em;
    right: 0.3em;
    transform: translate(0, 0);
}

/* MDL form css */
input:focus~label,
textarea:focus~label,
input:valid~label,
textarea:valid~label {
    font-size: 0.75em;
    /* flyout label colour   */
    color: #ffffff;
    top: -2.0rem;
    /* flyout distance above baseline */
    -webkit-transition: all 0.125s ease;
    transition: all 0.125s ease;
}

/* Normal MDL input fields */
.jfield {
    margin: 1rem 0 1rem;
    position: relative;
    display: inline-block;
}

.jfield label {
    /* nonfocus underline colour  */
    color: #ffffff;
    padding: 1rem 0 0 .5rem;
    position: absolute;
    top: -1rem;
    left: -0.2rem;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.jfield.wide {
    width: 100%;
}

input,
textarea {
    padding: 0.25rem 0.25rem;
    border: 0;
    border-bottom: 2px solid #ffffff;
    border-radius: 5px 5px 0px 0px;
    background-color: transparent;
    /* field background colour  */
    width: 100%;
    font-size: 1rem;
    color: #ffffff;
}

input~span,
textarea~span {
    display: block;
    width: 0;
    height: 2px;
    background: #ffffff;
    /* focus underline colour  */
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

input:focus,
textarea:focus {
    outline: none;
}

input:focus~span,
textarea:focus~span {
    width: 100%;
}

/* a-btn stuff */
a:link {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}

a:visited {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

a:active {
    color: rgb(0, 140, 255);
    text-decoration: none;
}

a.link2:link {
    color: rgb(0, 116, 130);
    font-size: 14px;
    text-decoration: underline;
}

a.link2:visited {
    color: rgb(0, 116, 130);
    font-size: 14px;
    text-decoration: underline;
}

a.link2:hover {
    color: rgb(2, 187, 207);
    font-size: 14px;
    text-decoration: underline;
}

a.link2:active {
    color: rgb(0, 140, 255);
    font-size: 14px;
    text-decoration: underline;
}

a.link3:link {
    color: rgb(254, 204, 95);
}

a.link3:visited {
    color: rgb(254, 204, 95);
}

a.link3:hover {
    color: rgb(254, 204, 95);
}

a.link3:active {
    color: rgb(254, 204, 95);
}

.a-btn {
    font-family: Oswald;
    background: #fecc5f;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(#feda71, 0), color-stop(#febb4a, 1));
    background: -webkit-linear-gradient(top, #feda71 0%, #febb4a 100%);
    background: -moz-linear-gradient(top, #feda71 0%, #febb4a 100%);
    background: -o-linear-gradient(top, #feda71 0%, #febb4a 100%);
    background: linear-gradient(top, #feda71 0%, #febb4a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#feda71', endColorstr='#febb4a', GradientType=0);
    border: 1px solid #f5b74e;
    border-color: #f5b74e #e5a73e #d6982f;
    -webkit-box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #fee395;
    -moz-box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #fee395;
    box-shadow: 0 1px 1px #2e2e2eb2, inset 0 1px 0 #fee395;
    padding: 0px 80px 0px 10px;
    height: 30px;
    display: block;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    float: left;
    margin: 10px;
    overflow: hidden;
}

.a-btn-text {
    padding-top: 2px;
    display: block;
    font-size: 18px;
    white-space: nowrap;
    color: #996633;
    text-shadow: 0 1px 0 #fedd9b;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.a-btn-icon-right {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    width: 52px;
    border-left: 1px solid #f5b74e;
    -webkit-box-shadow: 1px 0px 1px rgba(255, 255, 255, 0.4) inset;
    -moz-box-shadow: 1px 0px 1px rgba(255, 255, 255, 0.4) inset;
    box-shadow: 1px 0px 1px rgba(255, 255, 255, 0.4) inset;
}

.a-btn-icon-right span {
    width: 38px;
    height: 38px;
    opacity: 0.6;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0px 0px -20px;
    background: transparent url(/assets/images/cart/arrow_right.png) no-repeat 50% 55%;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.a-btn:hover {
    -webkit-box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 1px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 1px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.a-btn:hover .a-btn-text {
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: default;
}

.a-btn:hover .a-btn-icon-right span {
    opacity: 1;
    cursor: default;
}

.a-btn:active {
    position: relative;
    top: 1px;
    background: #fec354;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(#fec354, 0), color-stop(#fecd61, 1));
    background: -webkit-linear-gradient(top, #fec354 0%, #fecd61 100%);
    background: -moz-linear-gradient(top, #fec354 0%, #fecd61 100%);
    background: -o-linear-gradient(top, #fec354 0%, #fecd61 100%);
    background: linear-gradient(top, #fec354 0%, #fecd61 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fec354', endColorstr='#fecd61', GradientType=0);
    border-color: #d29a3a #cc9436 #c89133;
    text-shadow: 0 1px 0 #fee1a0;
    -webkit-box-shadow: 0 1px 1px #d4d4d4, inset 0 1px 0 #fed17e;
    -moz-box-shadow: 0 1px 1px #d4d4d4, inset 0 1px 0 #fed17e;
    box-shadow: 0 1px 1px #d4d4d4, inset 0 1px 0 #fed17e;
}

/* Contact page specific styles */
.form-wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff; /* Pure white */
    font-weight: 600; /* Semi-bold for better visibility */
    font-size: 17px; /* Larger font size */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Stronger shadow for better contrast */
    letter-spacing: 0.02em; /* Slightly increased letter spacing */
}

.form-field input {
    width: 100%;
    padding: 12px; /* Slightly larger padding */
    border: 2px solid rgba(255, 255, 255, 0.8); /* White border for better visibility */
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.95); /* Almost white background for better contrast */
    color: #222; /* Very dark text color for better readability */
    font-size: 16px; /* Larger font size for better readability */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Stronger shadow for depth */
    font-weight: 500; /* Medium weight for better visibility */
}

.form-field input::placeholder {
    color: #555; /* Darker placeholder text for better contrast */
    opacity: 1; /* Ensure visibility in all browsers */
    font-weight: 400; /* Regular weight for placeholder */
}

.form-submit {
    margin-top: 20px;
    text-align: center;
}

.form-submit button {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-submit button:hover {
    background-color: #fff;
    color: #0569af;
    border-color: #fff;
}

#contact-error {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

#contact-success {
    color: #7ac142;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.animated-checkmark {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.checkmark-animation {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .column.is-half {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }
}