
@import url('https://fonts.googleapis.com/css?family=Poppins;100,200,300,400,500,600,700,800,900');
/* custom variables */
:root {
    /* Colors and Fonts for the Default (Current) Theme */
    --primary-color: indigo;      /* Dark purple */
    --secondary-color: #6a0dad;    /* Medium purple */
    --accent-color: #8a2be2;       /* Light purple / accent */
    --text-color: #ffffff;         /* White text */
    --background-color: #000000;
    --background-glass: rgba(0, 0, 0, 0.3);   /* glass background */
    --input-bg-color: #6e6d6d;     /* Input background */
    --input-text-color: #000000;   /* Input text color */
    --container-color: #111;

    /* Spacing & Sizing */
    --header-height: 60px;
    --padding: 20px;
    --border-radius: 5px;
    
    /* Borders */
    --border-color: #b1b1b1;
    --border-width: 1px;
    
    /* Headings */
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.75rem;
    --h1-weight: 700;
    --h2-weight: 600;
    --h3-weight: 500;
    
    /* Input Area Specific */
    --input-padding: 10px;
    --input-border: var(--border-width) solid var(--border-color);
    
    /* Responsive Breakpoints */
    --breakpoint-phone: 450px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    
    /* Color Switcher Variables */
    /* Dark Theme */
    --theme-dark-bg: #000000;
    --theme-dark-text: #ffffff;
    --theme-dark-nav: #333333;
    
    /* White Theme */
    --theme-white-bg: #ffffff;
    --theme-white-text: #000000;
    --theme-white-nav: #dddddd;
    
    /* Current (Default) Theme */
    --theme-current-bg: var(--background-color);
    --theme-current-text: var(--primary-color);
    --theme-current-nav: var(--primary-color);
  }


/* -------------------------------------- Contact Page */
.contact h2 {
    margin: 3rem;
}
.allheading {
    text-align: center;
    font-size: 4.5rem;
}
h2 small{
    color: indigo;
    font-size: 4.5rem;
}

h3 small{
    color: indigo;
    font-size: 3.2rem;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('../images/TruckBG.png');
    background-color: #000000;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the container takes the full viewport height */
}

footer {
    margin-top: auto; /* Push the footer to the bottom */
}


.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
form input, textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    border: none;
    outline: none;
    color: var(--text-color);
    background: var(--container-color);
    border-radius: .8rem;
    box-sizing: border-box;
    margin-bottom: 1rem; 
}
form input {
    width: calc(50% - 10px);
}
textarea {
    resize: none;
    width: 100%;
    max-width: 70rem;
}
form .btn {
    flex: 0 1 auto; /* Prevent button from stretching */
    padding: 1rem 2rem; /* Adjust padding for better appearance */
    margin-top: 2rem;
    cursor: pointer;
}
form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.subject {
    width: 100%;
}

/* Flexbox container for button and reCAPTCHA */
.form-bottom {
    display: flex;
    align-items: center; /* Aligns elements vertically */
    justify-content: space-between; /* Button to left, reCAPTCHA to right */
    margin-top: 2rem;
}

/* Apply black glass style to reCAPTCHA container */
.g-recaptcha {
    background: rgba(0, 0, 0, 0.3); /* Black glass effect */
    padding: 10px;
    border-radius: 8px; /* Rounded corners */
    display: inline-block; /* Ensure it doesn't stretch */
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1); /* Soft glow effect */
}

/* Optional: Adjust iframe spacing */
.g-recaptcha iframe {
    filter: brightness(0.8) contrast(1.2); /* Darkens the widget slightly */
    border-radius: 5px;
}

/*------------------------------------------ Style the scrollbar for textarea */
.contact textarea::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
  }

  /* Track (the background of the scrollbar) */
.contact textarea::-webkit-scrollbar-track {
    background: var(--container-color); /* Background color */
    border-radius: 8px;
  }

  /* Handle (the draggable part of the scrollbar) */
.contact textarea::-webkit-scrollbar-thumb {
    background: var(--primary-color); /* Scrollbar color */
    border-radius: 8px;
    transition: background 0.3s;
  }

/* Handle on hover */
.contact textarea::-webkit-scrollbar-thumb:hover {
    background: #5c0074; /* Slightly darker color when hovered */
  }

#popupMessage {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    max-height: 50px;
    line-height: 30px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}