/* General Body and Font Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #eef2ff; /* Light background to match the image */
    color: #333;
}

/* Main Content Area */
.contact-main-content {
    padding: 0px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

/* Contact Hero Section (Breadcrumb and Title) */
.contact-hero {
    background-color: #f8f8f8; /* White background for the top section */
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.contact-title {
    font-size: 3em;
    color: #333;
    margin: 0;
    font-weight: 700;
}

/* Contact Form Section Layout */
.contact-form-section {
    display: flex;
    flex-wrap: wrap; 
    gap: 10%; 
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2%;
    justify-content: space-between; 
    
    
}
.contact-info-left-section {
    flex: 0 0 40%;
    width: 40%;
    box-sizing: border-box;
}

.contact-info-right-section {
    flex: 0 0 40%;
    width: 40%;
    box-sizing: border-box;
}


/* .contact-info-left-section,
.contact-info-right-section {
  flex: 1 1 0;
  width: 50%;
  box-sizing: border-box;
} */

/* Contact Info Card (Left Side) */
.contact-info-card {
    /* background-image: linear-gradient(to right, #e0f7fa, #e8f5e9);  */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    flex: 1; /* Allows it to grow and shrink */
    /* min-width: 300px;  */
    width: 70%; 
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    

    /* justify-content: space-between;  */
    
}





.contact-info-heading {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-info-description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    flex: 1;
    min-width: 180px; /* Ensures items don't get too narrow */
}

.contact-item-title {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-item-value {
    font-size: 1.2em;
    color: #007bff; /* A distinct color for phone/email */
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.08);
    color: #555;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: #ff7810;
    color: #fff;
}

/* Contact Form Card (Right Side) */
.contact-form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    flex: 2; /* Allows it to take more space */
    min-width: 320px; /* Minimum width before wrapping */
    max-width: 650px; /* Max width to prevent it from getting too wide */
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1; /* Allows form groups to take equal width in a row */
    min-width: 250px; /* Minimum width for form inputs */
}

.form-label {
    display: block;
    font-size: 0.95em;
    color: #444;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.form-input:focus,
.form-textarea:focus {
    border-color: #ff7810;
    box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.25);
    outline: none;
}

.form-textarea {
    min-height: 120px;
    resize: vertical; /* Allow vertical resizing */
    margin-bottom: 20px;
}

.submit-button {
    background-image: linear-gradient(to right, #ef4444, #f59e0b); /* Blue gradient */
    color: #fff;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-image 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(230, 160, 30, 0.3);
}

.submit-button:hover {
    background-image: linear-gradient(to right, #f59e05, #ef4444);
    transform: translateY(-2px);
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-section {
        flex-direction: column; /* Stack cards vertically on smaller screens */
        align-items: center; /* Center cards when stacked */
    }

    .contact-info-card,
    .contact-form-card {
        max-width: 100%; /* Allow cards to take full width */
        padding: 30px 20px;
        display: flex;
        flex-direction: column; /* Stack content vertically */
    }

    .contact-title {
        font-size: 2.5em;
    }

    .contact-info-heading {
        font-size: 1.8em;
    }

    .form-group-row {
        flex-direction: column; /* Stack form groups vertically */
        gap: 15px;
    }

    .form-group {
        min-width: unset; /* Remove min-width constraint */
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 30px 15px;
    }

    .contact-title {
        font-size: 2em;
    }

    .contact-info-heading {
        font-size: 1.5em;
    }

    .contact-info-description {
        font-size: 0.9em;
    }

    .contact-details {
        flex-direction: column;
        gap: 15px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }

    .form-input,
    .form-textarea,
    .submit-button {
        padding: 10px 12px;
        font-size: 0.95em;
    }
}

@media (max-width: 900px) {
  .contact-form-section {
    flex-direction: column;
    gap: 20px;
  }
  .contact-info-left-section,
  .contact-info-right-section {
    width: 100%;
  }
}


