
/* ////////banner/////////////////// */
body {
    background-color: #ededed;
}
.banner {
    width: 100%;
    height: 400px;
    background-image: url('images/About-back-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 25px;
    border-radius: 30px;
    z-index: 1;
    margin-top: 80px;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #333;
    font-size: 18px;
}

.breadcrumb-current {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    
    .breadcrumb {
        padding: 12px 20px;
    }
    
    .breadcrumb a,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 16px;
    }
}
     


/* ///////Map////// */

.map-section{
    width: 100%;
    height: auto;
    padding: 40px 90px;
    margin-top: 30px;
}

.map-section iframe{
    border: none;
}


/* ////////Contact info//////// */

.contact-section-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #fff; 
    padding: 40px 30px; 
}

/* Grid for the contact items */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 columns, responsive */
    gap: 30px; /* Space between items */
    justify-content: center; /* Center items if they don't fill the row */
}

/* Individual contact item styling */
.contact-item {
    text-align: center;
    padding: 20px 15px; 
}

.icon-wrapper {
    margin-bottom: 20px;
}

.icon-wrapper .fas {
    font-size: 3em; /* Large icon size */
    color: #ffc107; /* Yellow icon color from your image */
}

.item-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #555; /* Slightly darker grey for titles */
    margin-bottom: 10px;
}

.item-subtitle {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.item-detail {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 5px;
    white-space: pre-wrap; /* Allows <br> to work for multi-line address */
}

.item-detail a {
    color: #666; /* Link color for phone/email */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.item-detail a:hover {
    color: #007bff; /* Blue on hover */
}

.item-detail a .fas {
    font-size: 0.9em; /* Smaller icons for phone/email */
    margin-right: 5px;
    color: #666; /* Ensure icon color is consistent with text */
}


/* Responsive Design */

/* Tablet View (e.g., up to 992px) */
@media (max-width: 992px) {
    .contact-section-wrapper {
        padding: 30px 0px;
    }

    .map-section{
        padding: 40px;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust minmax for tablet */
        gap: 20px;
    }

    .icon-wrapper .fas {
        font-size: 3em; /* Slightly smaller icons */
    }

    .item-title {
        font-size: 1.2em;
    }

    .item-subtitle {
        font-size: 1em;
    }

    .item-detail {
        font-size: 0.9em;
    }
}

/* Phone View (e.g., up to 767px) */
@media (max-width: 767px) {

    .contact-section-wrapper {
        padding: 20px 15px;
        margin: 0 15px; /* Add margin on smaller screens if not full width */
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Single column for phone */
        gap: 25px; /* Space between stacked items */
    }

    .contact-item {
        padding: 15px 10px;
    }

    .icon-wrapper {
        margin-bottom: 15px;
    }

    .icon-wrapper .fas {
        font-size: 2.8em;
    }

    .item-title {
        font-size: 1.1em;
        margin-bottom: 8px;
    }

    .item-subtitle {
        font-size: 0.95em;
    }

    .item-detail {
        font-size: 0.85em;
    }
}

/* Very Small Phones (e.g., 400px width) */
@media (max-width: 400px) {
    .contact-section-wrapper {
        padding: 15px 10px;
        margin: 0 10px;
    }
    .icon-wrapper .fas {
        font-size: 2.5em;
    }
    .item-title {
        font-size: 1em;
    }
    .item-subtitle {
        font-size: 0.9em;
    }
    .item-detail {
        font-size: 0.8em;
    }
}






/* /////Contact form////// */

.contact-body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 90px;
    padding: 30px 0;
    background-color: #dbdbdb;
}


.contact-form-wrapper {
    padding: 40px;
    max-width: 900px; /* Adjust max-width as per your preference */
    width: 100%;
    text-align: center;
}

.form-main-title {
    font-size: 2em;
    color: #555; /* Darker grey for the title */
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.form-description {
    font-size: 0.95em;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between form rows */
    text-align: left; /* Align input labels/placeholders to left */
}

.form-row {
    display: flex;
    gap: 20px; /* Space between inputs in a row */
    width: 100%;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
    flex: 1; /* Inputs take equal width in a row */
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    outline: none;
    background-color: #f9f9f9; /* Light background for inputs */
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #aaa;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #007bff; /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.form-row.full-width {
    width: 100%;
}

.form-row textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 120px; /* Minimum height for textarea */
}

/* Captcha Styling */
.captcha-row {
    align-items: center;
    gap: 20px; /* Space between captcha display and input */
}

.captcha-display {
    flex-shrink: 0; /* Prevent from shrinking */
    width: 150px; /* Fixed width for captcha image/text */
    height: 48px; /* Match input height */
    background-color: #e0e0e0; /* Gray background for captcha area */
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide overflow if captcha text is too long */
    font-family: 'Monospace', cursive; /* A stylized font for captcha */
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    text-decoration: line-through; /* Strikethrough effect */
    user-select: none; /* Prevent text selection */
    letter-spacing: 2px;
}

.captcha-input {
    flex: 1; /* Captcha input takes remaining width */
}

.reload-captcha {
    text-align: left; /* Align reload text to left */
    font-size: 0.9em;
    color: #007bff; /* Blue link color */
    cursor: pointer;
    margin-top: -15px; /* Pull it up closer to captcha */
    transition: color 0.2s ease-in-out;
}

.reload-captcha:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Send Button */
.send-button {
    background-color: #f3f3f3; /* Light gray button as in image */
    color: #555; /* Darker text color for button */
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    align-self: center; /* Center the button */
    width: 150px; /* Fixed width for the button */
    margin-top: 20px;
}

.send-button:hover {
    background-color: #d0d0d0;
    color: #333;
}

/* Message Display Area (for PHP success/error) */
.form-message {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Responsive Design */

/* Tablet View (e.g., up to 768px) */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px;
    }
    .contact-body{
        margin: 30px;
    }

    .form-main-title {
        font-size: 1.8em;
    }

    .form-description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }

    .form-row {
        flex-direction: column; /* Stack inputs vertically */
        gap: 15px; /* Space between stacked inputs */
    }

    .form-row input,
    .form-row textarea {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .captcha-row {
        flex-direction: column; /* Stack captcha display and input */
        gap: 10px;
        align-items: flex-start; /* Align stacked items to left */
    }

    .captcha-display {
        width: 100%; /* Captcha display takes full width */
        height: 45px;
        font-size: 1.2em;
    }

    .captcha-input {
        width: 100%; /* Captcha input takes full width */
    }

    .reload-captcha {
        margin-top: -5px; /* Adjust margin */
    }

    .send-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 120px; /* Adjust button width */
    }
}

/* Phone View (e.g., up to 576px) */
@media (max-width: 576px) {

    .contact-form-wrapper {
        padding: 20px;
    }

    .form-main-title {
        font-size: 1.5em;
    }

    .form-description {
        font-size: 0.85em;
        margin-bottom: 20px;
    }

    .form-row input,
    .form-row textarea {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .captcha-display {
        height: 40px;
        font-size: 1.1em;
    }

    .reload-captcha {
        font-size: 0.85em;
    }

    .send-button {
        padding: 10px 20px;
        font-size: 0.95em;
        width: 100px;
    }
    .form-message {
        font-size: 0.9em;
        padding: 8px;
    }
}