

/* FIX: Prevent horizontal scrollbar on the entire body */
body {
    overflow-x: hidden;
}

/* General Section Heading Styling */
.section-head { /* Used this class for the "Get in Touch" heading specifically */
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative; /* For the ::after pseudo-element */
    padding-bottom: 10px; /* Space for the underline */
}

.section-head::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px; /* Width of the underline */
    height: 3px;
    background: var(--theme);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-sec {
    padding: 100px 0; /* Adjusted padding */
    background: url('../assets/bg-image.png'); /* Ensure this path is correct */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* Center the background image */
    color: var(--white);
    position: relative;
    z-index: 1;
    overflow: hidden; /* Important for hero section too */
}

.hero-sec h1 {
    font-size: 48px; /* Larger for impact */
    font-weight: 700;
    line-height: 1.2;
    color:var(--white);
}

/* --- Get in Touch Section --- */
.get-in-touch {
    padding: 60px 0; /* Adjusted padding for sections */
    background-color: var(--light-bg); /* Use defined variable */
    color: var(--text-color);
}

.get-in-touch .contact-text h2 {
    font-size: 38px; /* Adjusted font size */
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.get-in-touch .contact-text .content p {
    font-size: 16px;
    line-height: 1.6;
}

/* Form Section */
.get-in-touch .form-section {
    background-color:#52370d;
    padding: 30px; /* Increased padding */
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.get-in-touch .form-control {
    border: 1px solid rgba(255, 255, 255, 0.4); /* Lighter border for contrast */
    background-color:#f4ad3b ; /* Slightly transparent background */
    color: var(--white);
    padding: 12px 15px; /* Comfortable padding */
    border-radius: 8px; /* Rounded corners */
    transition: all 0.3s ease;
}

.get-in-touch .form-control::placeholder {
    color: rgba(255, 255, 255, 0.8); /* Lighter placeholder text */
}

.get-in-touch .form-control:focus {
    background-color: #fff; /* White background on focus */
    color: var(--dark-blue); /* Dark text on focus */
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(233, 169, 74, 0.5); /* Bootstrap-like focus ring */
    border-color: var(--theme); /* Theme color border on focus */
}

.get-in-touch .form-control:focus::placeholder {
    color: var(--text-color); /* Dark placeholder text on focus */
}

.get-in-touch textarea.form-control {
    resize: vertical; /* Allow vertical resizing only */
}

.get-in-touch .submit-btn {
    display: inline-block; /* Make button behave like a block element, but fit content */
    padding: 12px 30px; /* Larger padding for button */
    font-size: 20px; /* Larger font size */
    font-weight: 600;
    color: var(--theme);
    background-color: var(--white); /* White background for button */
    border: 2px solid var(--white); /* White border */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.get-in-touch .submit-btn:hover {
    background: var(--theme);
    color: var(--white);
    border-color: var(--white); /* Keep white border on hover */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Add shadow on hover */
}

/* Map Section */
.get-in-touch .map-container {
    border-radius: 8px;
    overflow: hidden; /* Ensures the iframe's corners are rounded */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.get-in-touch iframe {
    width: 100%;
    height: 350px; /* Increased height for better visibility */
    display: block; /* Removes extra space below iframe */
}

/* Contact Details */
.get-in-touch .contact-details {
    margin-top: 25px; /* Adjusted margin */
    text-align: left; /* Default text align */
}

.get-in-touch .contact-details a {
    text-decoration: none; /* Remove underline */
    font-size: 18px;
    display: flex; /* Use flex for alignment */
    align-items: center;
    color: var(--dark-blue); /* Consistent text color */
    font-weight: 500;
    transition: color 0.3s ease;
}

.get-in-touch .contact-details a:hover {
    color: var(--theme); /* Theme color on hover */
}

.get-in-touch .contact-details i {
    padding: 12px; /* Increased padding */
    background-color: var(--white);
    border-radius: 50%;
    color: var(--theme);
    font-size: 20px; /* Larger icon size */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for icons */
    margin-right: 10px; /* Space between icon and text */
}

.get-in-touch .contact-details span {
    color: var(--dark-blue);
    font-weight: 500;
    margin-left: 0; /* Remove default margin-left */
    flex-grow: 1; /* Allow text to take up space */
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1199px) {
    .hero-sec h1 {
        font-size: 42px;
    }
    .get-in-touch .contact-text h2 {
        font-size: 34px;
    }
    .section-head {
        font-size: 34px;
    }
}

@media screen and (max-width: 991px) {
    .hero-sec {
        padding: 80px 0;
    }
    .hero-sec h1 {
        font-size: 36px;
    }
    .get-in-touch {
        padding: 40px 0;
    }
    .get-in-touch .contact-text h2 {
        font-size: 30px;
    }
    .section-head {
        font-size: 30px;
    }
    .get-in-touch .form-section {
        padding: 25px;
    }
    .get-in-touch .form-control {
        padding: 10px 12px;
    }
    .get-in-touch .submit-btn {
        padding: 10px 25px;
        font-size: 18px;
    }
    .get-in-touch iframe {
        height: 300px;
    }
    .get-in-touch .contact-details .d-flex {
        flex-direction: column; /* Stack contact links on smaller screens */
        align-items: center;
        text-align: center;
    }
    .get-in-touch .contact-details a,
    .get-in-touch .contact-details .location-wrapper { /* Add a class for location if needed */
        justify-content: center; /* Center items for stacked layout */
    }
    .get-in-touch .contact-details i {
        margin-right: 8px; /* Adjust margin for stacked layout */
    }
}

@media screen and (max-width: 767px) {
    .hero-sec h1 {
        font-size: 30px;
    }
    .get-in-touch .contact-text h2 {
        font-size: 28px;
    }
    .get-in-touch .contact-text .content p {
        font-size: 15px;
    }
    .section-head {
        font-size: 26px;
    }
    .get-in-touch iframe {
        height: 250px;
    }
    .get-in-touch .contact-details a,
    .get-in-touch .contact-details span {
        font-size: 16px;
    }
    .get-in-touch .contact-details i {
        padding: 10px;
        font-size: 18px;
    }
}

@media screen and (max-width: 575px) {
    .hero-sec {
        padding: 60px 0;
    }
    .hero-sec h1 {
        font-size: 24px;
    }
    .get-in-touch {
        padding: 30px 0;
    }
    .get-in-touch .contact-text h2 {
        font-size: 24px;
    }
    .section-head {
        font-size: 22px;
    }
    .get-in-touch .form-section {
        padding: 20px;
    }
    .get-in-touch .form-control {
        padding: 8px 10px;
        font-size: 14px;
    }
    .get-in-touch .submit-btn {
        padding: 8px 20px;
        font-size: 16px;
    }
    .get-in-touch iframe {
        height: 200px;
    }
    .get-in-touch .contact-details a,
    .get-in-touch .contact-details span {
        font-size: 14px;
    }
    .get-in-touch .contact-details i {
        padding: 8px;
        font-size: 16px;
    }
}