
html{
    font-size: 62.5%;
}
/* Apply Montserrat for headings and Roboto for body text */
body {
    font-family: 'Roboto', sans-serif; /* Body text */
    color: #333; /* Neutral text color */
    line-height: 1.6; /* Better readability */
    /* text-align: center; */
}



/* Header section */
.header {
    background-color: #fff;
    text-align: center;
    padding: 10rem 1rem 13rem  1rem;
    border-bottom: 3px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.header h1{
    font-size: 4.2rem;
}

.header p{
    width: 80vw;
    margin: auto;
    font-weight: 100;
    font-size: 2.59rem;
}


/* contact form */
.contact-info{
    margin: 0rem;
   padding: 0;
    background-color: #ffffff;
    /* padding: 2rem 1rem 0 1rem; */
    

}

/* 🔹 Contact Section (Always Visible) */
.contact-section {
    
  width: 100wv;
  padding: 0 0 10rem 0 ;
  position: relative;
  height: 100%;
  /* background: #f8f9fa; Light background */
  display: flex;
   text-align: left;
  justify-content:center;
  border-bottom: 3px solid #ccc;
}

/* .team{
    display: flex;
    justify-content: space-evenly;
} */
/* 🔹 Contact Container */
.contact-container {
  width: 100%;
  max-width: 800px;
  background: #fff;
  /* border-radius: 12px; */
  padding: 5rem 2rem 2rem 2rem;
  margin: 5rem auto 0;
  /* margin: auto; */
  /* border: solid 1px; */
 box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/*used for color and postion to be a background mid down the form */
.form-text-background{
   
    /* left: 30px; */


/* max-width: 45rem; */


z-index: -1;
position: absolute;
width: 100vw;
height: 58%;
background-color: #f2f2f2;
}


/*  form text the text postion and width */
.form-text{
  
    margin: auto;
    /* margin-right: 5rem; */
    padding: 2rem 0rem  2.5rem ;
max-width: 100%;
/* gap: 4; */
}

/* Contact page contact-page-form-text adjust margin  */
#contact-page-form-text{
        margin: 2rem 5rem;

}
.form-text h2{
    font-size: 4rem;
    font-weight:400;
    margin-bottom: 1rem;
    
    /* text-decoration: underline; */
}
.form-text p{
    font-size: 2rem;
    /* font-weight:lighter; */
    
    /* text-decoration: underline; */
}

.contact-container h2{
    padding-bottom: 2rem;
}

#contact-form-image{
    width: 50%;
    height: auto;
}
/* 🔹 Contact Title */
/* .contact-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
} */


/* contact popup form */
.popup-form-container{
    padding: 0;
    margin: 0;
}

/* 🔹 Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* 🔹 Input & Textarea Styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1.6rem;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #F5C638;
  /* box-shadow: 0 0 8px rgba(0, 123, 255, 0.2); */
  outline: none;
}

/* 🔹 Textarea Customization */
.contact-form textarea {
  height: 120px;
  resize: vertical;
}

/* 🔹 Radio Button Group */
.radio-options {
  display: flex;
  justify-content: space-evenly; /* Ensures even spacing */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 10px;
  width: 100%;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 2rem;
  /* background: #f5f5f5; */
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.radio-label input {
  appearance: none;
  width: 10px;
  height: 10px;
  border: 1px solid #000000;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
/*  */

.radio-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  flex: 1 1 calc(50% - 1.2rem);
  justify-content: flex-start;
  font-size: clamp(1.5rem, 0.8vw + 1.1rem, 2rem);
}

.radio-group input[type="radio"] {
    margin: 0;
    padding: 0;
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
}

.purpose-select-wrapper {
  display: none;
  width: 100%;
  margin-top: 1rem;
}

.purpose-select {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border: 1px solid #d7dbe7;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 1.6rem;
  font-family: 'Roboto', sans-serif;
  color: #1f2933;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.purpose-select:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}
/*  */

.radio-label input:checked {
  background-color: #FC861A;
   border: 1px solid #000000;
}

/* 🔹 Submit Button */
.submit-button {
    /* background: linear-gradient(135deg, #FCC838, #fc831a); */
     /* Yellow-orange gradient background */
     background-color: #000000;
     width: 100%;
     margin: auto;
  color: #FDC93A;
  padding: 12px;
  font-size: 2.4rem;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.submit-button:hover {
    transform: scale(1.01);
     background-color: #000000b6;
    /* background: linear-gradient(135deg, #FCC838, #fc831a); */
     /* Yellow-orange gradient background */
}

/* container */
.phone-contact{
    
margin: 0 0 0 0 ;
padding: 10rem 0;
background-color: #f2f2f2;
text-align: center;

}
#prefer-call {
    margin: 0 0 1rem 0;
    font-size: 2rem;


  
}
#prefer-call a{
  color: black;
     text-decoration: none !important;
  font-weight: bold;
  
}
#prefer-call a:hover {
    
  text-decoration: underline;
}
#contact-us{
    font-size: 3rem;
    margin: 2rem 0 1rem;
    padding: 0;
    /* text-decoration: underline; */
}


#phone-number{
    font-size: 3rem;
    margin: 0;
    padding: 0;
    font-weight: bold;
    /* text-decoration: underline; */
}
/* Responsive Design */
@media (max-width: 768px) {
/*  Put the images in a column */
.team {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 1rem; */
}
.team-card{
    width: 40%;
    margin: 2rem 0;
}
    .close-btn {
    position: absolute;
    /* top: -65%; */
    right: 10px;
    /* color: #101010; */
 /* z-index: 10; */
    transition: color 0.3s ease, transform 0.2s ease;
}

   
}
/* ----------------Popup sucsess Styles */
/* Popup Background */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgb(0, 0, 0); /* Semi-transparent black */
    color: white;
    padding: 20px;
    width: 320px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Success Content */
.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Check Icon */
.success-content i {
    font-size: 48px;
    color: #4CAF50;
    animation: pop 0.4s ease-in-out;
}

/* Text */
.success-content p {
    font-size: 18px;
    color: #fff;
    margin: 15px 0;
}

/* Close Button */
#close-popup {
    background: #4CAF50;
    color: white;
    font-size: 16px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#close-popup:hover {
    background: #388E3C;
}

/* Show Popup */
.success-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Animation */
@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}




/* Container for Hours of Operation */
.hours-container {
    /* background-color: #fff; */
    /* padding: 5rem 2rem 10rem 2rem; */
    /* margin-top: 4rem; */
    /* border-top-left-radius: 12px; */
    /* Top-left corner */
    /* border-top-right-radius: 12px; */
     /* Top-right corner */
    /* border-bottom-left-radius: 0;  */
    /* Bottom-left corner (default is 0) */
    /* border-bottom-right-radius: 0; */
     /* Bottom-right corner (default is 0) */
    /* overflow: hidden;  */
    /* Ensure content respects the border radius */
    
    /* max-width: 800px; */
    /* margin: 2rem auto 0; */
     /* Centered with top and bottom spacing */
    /* text-align: center; */
     /* Center text for a clean look */
}

.hours-container h2 {
    font-size: 4rem; /* 24px */
    color: #333333;
    margin-bottom: 1.5rem; /* Spacing below the heading */
}

.hours-info p, .address p, #prefer-call p {
    font-size: 2rem; /* 16px */
    color: #555555;
    margin-bottom: 1rem;
     /* Spacing between each line */
}

/* Map Container */
.map-container {
    /* max-width: 800px; */
    margin: 0 auto; /* Centered */
    border-top-left-radius: 0; /* Top-left corner */
    border-top-right-radius:0; /* Top-right corner */
    border-bottom-left-radius: 12px; /* Bottom-left corner (default is 0) */
    border-bottom-right-radius: 12px; /* Bottom-right corner (default is 0) */
    overflow: hidden; /* Ensure content respects the border radius */
  
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.map-container iframe {
    width: 100%;
    height: 500px; /* Default height */

    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hours-container {
        padding: 1.5rem;
    }

    .hours-container h2 {
        font-size: 2rem; /* Adjust heading for smaller screens */
    }

    .hours-info p, .address p {
        font-size: 1.4rem; /* Adjust text size */
    }

    .map-container iframe {
        height: 300px; /* Reduce map height on smaller screens */
    }
}
/* Form Container */
.form-container {
    background-color: #fff;
    padding: 2rem; /* 20px */
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: auto;
    width: 100%;
    text-align: center;
}

/* Form Heading */
.form-container h2 {
    font-size: 2.4rem; /* 24px */
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem; /* 10px */
}

.form-container p {
    font-size: 1.6rem; /* 16px */
    font-weight: 400;
    color: #555555;
    margin-bottom: 2rem; /* 20px */
}

/* Form Inputs and Textarea */
form input, form textarea, form button {
    width: 100%;
    padding: 1.2rem; /* 12px */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.4rem; /* 14px */
    margin-bottom: .5rem !important; /* 10px */
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Input Focus Styles */
form input:focus, form textarea:focus {
    border-color: #F5C939;
    box-shadow: 0 0 5px rgba(245, 201, 57, 0.5);
}

/* Two Inputs in a Row (Name and Email) */
.form-row {
    display: flex;
    gap: 1.6rem; /* 16px gap between inputs */
    margin-bottom: 1.5rem; /* 15px */
}

.form-row input {
    flex: 1; /* Ensure inputs take equal space */
}

/* Stacked Layout on Small Screens */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stack inputs */
        gap: 1rem; /* Reduce gap */
    }
}

/* Radio Group */
.main-radio-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: .5rem; /* 5px */
}

.main-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(1.4rem, 0.8vw + 1rem, 1.8rem);
    color: #333333;
    cursor: pointer;
    flex: 1 1 calc(50% - 1.2rem);
    justify-content: flex-start;
}

.main-radio-group input[type="radio"] {
    margin: 0;
    accent-color: #F5C939; /* Modern yellow for radio buttons */
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}

/* Message Textarea */
form textarea {
    background-color: #f9f9f9;
    resize: none;
    height: 12rem; /* 120px */
}

/* Submit Button */
form button {
    background-color: #F5C939;
    color: #333333;
    font-weight: 500;
    border: none;
    cursor: pointer;
    padding: 1.2rem; /* 12px */
    font-size: 1.6rem; /* 16px */
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background-color: #e0b734; /* Slightly darker yellow on hover */
    transform: scale(1.02); /* Subtle zoom */
}

form button:active {
    transform: scale(0.98); /* Slightly smaller on click */
}


/* error message */
.error-container {
            max-width: 400px;
            position: absolute;
            z-index: 100000;
            top: 40vh;
            left: 40%;
            margin: 0 auto;
            padding: 15px;
            border-radius: 8px;
            background: #ffdddd;
            color: #721c24;
            border: 1px solid #f5c6cb;
            display: none;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        }

        .error-container.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .err-close-btn {
            background: none;
            border: none;
            color: #721c24;
            font-weight: bold;
            cursor: pointer;
            float: right;
            font-size: 18px;
        }


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Medium Screens (Tablets, Smaller Laptops) */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 3.5rem; /* Scale down for medium screens */
    }

    .header p {
        font-size: 2.2rem; /* Subheading adjusts proportionally */
    }
}

/* Small Screens (Phones, Small Tablets) */
@media (max-width: 768px) {
 

    .header h1 {
        font-size: 2.8rem; /* Further reduce size for phones */
    }

    .header p {
        font-size: 1.8rem; /* Subheading adjusts for better readability */
    }
           .contact-section{

        flex-direction: column;
    }
.popup-form-container{
    
    margin: 0;
}

.form-text-background{
    top: 0;
}
.form-text{
   
margin: auto;
padding: 0 0 4rem 0 ;
max-width: 45rem;
gap: 1.2;
}
.form-text h2{
    font-size: 4rem;
    font-weight:400;
    
    /* text-decoration: underline; */
}
.form-text p{
    font-size: 1.6rem;
    /* font-weight:lighter; */
    
    /* text-decoration: underline; */
}
  
/* 🔹 Submit Button */
.submit-button {
    /* background: linear-gradient(135deg, #FCC838, #fc831a); */
     /* Yellow-orange gradient background */
     background-color: #000000;
     width: 100%;

}

}


/* 🔹 📱 Responsive Design */
@media (max-width: 600px) {
    .contact-section{
width: 100vw;
        padding: 0;
    }
  .contact-container {
    max-width: 100%;
    padding:  2rem 2rem 2rem 0;
  }

  .form-text{
   
margin:0 2rem ;
max-width: 45rem;
gap: 1.2;
}

  .radio-group {
    display: none;
  }

  .purpose-select-wrapper {
    display: block;
  }

  .main-radio-group label {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

    .radio-options {
    flex-wrap: nowrap !important; /* Forces items to stay in a row */
  }

  .radio-label {
    padding: 0;
    flex: .5; /* Maintain equal spacing */
    max-width: none;
  }

  .radio-label {
    width: 100%;
    justify-content: center;
  }
}
/* Extra Small Screens (Very Small Phones) */
@media (max-width: 480px) {
    .header h1 {
        font-size: 2.4rem; /* Small but still prominent */
    }

    .header p {
        font-size: 1.6rem; /* Scaled-down paragraph */
    }
    .contact-info h2{
    font-size: 2.5rem;
}

.form-text {
    padding: 1rem 0 0 0 !important;
    margin: 0 auto ;
}
.form-text h2{
    font-size: 2.8rem !important;
    font-weight:lighter;
    margin-bottom: 5rem !important;
    
    
    /* text-decoration: underline; */
}
}
/* Contact Info Section */




@keyframes fadeColor {
  0% {
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Start with one gradient */
  }
  50% {
    background: linear-gradient(to right, #ff9a76, #ffcc85); /* Midpoint gradient */
  }
  100% {
    background: linear-gradient(to right, #feb47b, #ff7e5f); /* End gradient */
  }
}

/* Animations */
@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Design */
@media (max-width: 468px) {
    /* error message */
    .error-container {
        left: 15%;
    }

.purpose{

}
.team-card{
    width: 90%;
    margin: 2rem;
    /* margin: 2rem 0; */
}

}
@media (max-width: 500px) {
#prefer-call{
font-size: 1.5rem;
color: #333;
}

.hours-container h2 {
font-size: 3rem;
}
    .close-btn {
    position: absolute;
    top: -75%;
    color: #ddd;
   right: 8px;
 /* z-index: 10; */
    transition: color 0.3s ease, transform 0.2s ease;
}
}
