/* Reset & Utilities */
.mr-3 { margin-right: 1rem; }
.ml-1 { margin-left: 0.25rem; }

/* Top Cards */
.contact-top-cards {
    background-color: #D9E6FF;
}

.contact-info-card {
    background-color: #f7f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-2);
    border: 1px solid #e2e8f0;
}

.card-value {
    font-size: 1.2vw;
}
.card-value a {
    color: #1e293b !important;
}

/* Dark Section Background */
.contact-dark-section {
    background-color: #151515; /* Base dark grey matching design */
    background-image: url('https://northamerican.itsprowebsite.com/public/northamerican/theme0002/assets/images/backgrounds/map.webp');
    overflow: hidden;
    background-size: cover;
    z-index: 0;
}

/* Glassmorphism Form Box */
.form-glass-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-main-heading {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Custom Bottom Border Inputs */
.custom-bottom-input {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: #ffffff !important;
    padding: 12px 0;
    font-size: 1.2vw;
    box-shadow: none !important;
}

.custom-bottom-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.custom-bottom-input:focus {
    border-bottom: 1px solid #ff4a3d; /* Accent color on focus */
    outline: none;
}
/* Target the specific class you are using for the select input */
.custom-bottom-input1 {
    /* 1. Base Styling & Colors */
    background-color: transparent !important; /* Forces it to blend with the dark background */
    color: #ffffff; /* White text for the selected option */
    width: 100%;
    padding: 10px 0; /* Aligns spacing with your text inputs */
    
    /* 2. Remove default borders and add the bottom line */
    border: none;
    border-bottom: 1px solid #7a7a7a; /* Matches the grey 'Company Name' line */
    border-radius: 0; /* Prevents rounded corners on iOS */
    
    /* 3. Remove the ugly default browser dropdown arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* 4. Add a clean, white, custom SVG arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0px center; /* Pushes the arrow to the right */
    background-size: 16px; /* Size of the custom arrow */
    cursor: pointer;
    font-size: 24px;
}

/* 5. Handle the focus state (when the user clicks it) */
.custom-bottom-input1:focus {
    outline: none;
    border-bottom: 1px solid #ffffff; /* Brightens the bottom line when active */
    box-shadow: none; /* Removes any default Bootstrap blue glow */
    color: #fff;
}

/* 6. Style the dropdown options (Fixes the white background issue) */
.custom-bottom-input1 option {
    background-color: #2b2b2b; /* A dark grey that matches your form background */
    color: #ffffff;
    padding: 10px;
}

/* Optional: Ensure the label matches the greyed-out style */
.hr-form-group label {
    color: #aaaaaa;
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
}
/* Submit Button Customization */
.btn-send-red {
    background-color: #ff4a3d;
    color: #ffffff;
    border: none;
    border-radius: 50px; /* Pill shape */
    padding: 12px 20px 12px 30px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-send-red:hover {
    background-color: #e03a2e;
    color: #ffffff;
}

.btn-send-red .btn-icon-circle {
    width: 32px;
    height: 32px;
    background-color: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
}

/* Globe & Floating Support Card */
.custom-globe-img {
    max-height: 700px;
    opacity: 0.8;
}

.floating-support-card {
    position: absolute;
    bottom: 10%;
    right: 20%;
    width: 300px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: blur(15px);
}

.support-icon-red {
    width: 45px;
    height: 45px;
    background-color: #ff4a3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
}

/* Validation Errors styling override for dark mode */
.error { color: #ff4a3d !important; font-size: 12px; margin-top: 5px; }
.custom-bottom-input.is-invalid { border-bottom-color: #ff4a3d !important; }
@media (max-width: 767.97px){
    .card-value {
        font-size: 18px;
    }
    .custom-bottom-input{
        font-size: 18px;
    }
}