* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background: linear-gradient(120deg, #ffffff, #e9eff7);
    border-radius: 8px;
    max-width: 900px;
    margin: 50px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #0056b3;
}

.contact-header p {
    font-size: 1.1rem;
    color: #555;
}

/* Form and Contact Info Container */
.form-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 2;
}

.contact-info {
    flex: 1;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Info */
.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #0056b3;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info i {
    color: #0056b3;
    margin-right: 10px;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

label span {
    color: red;
}

input, textarea, select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 4px rgba(0, 86, 179, 0.5);
}

textarea {
    resize: none;
    height: 120px;
}
@keyframes checkmark {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

@keyframes circuit {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

.animate-check {
    animation: checkmark 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

.animate-circuit path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: circuit 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

.bg-srinivas {
    background-color: #0056b3;
}

.text-srinivas {
    color: #0056b3;
}

.transition-slow {
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Phone Input */
.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input select {
    flex: 1;
}

.phone-input input {
    flex: 2;
}

/* Submit Button */
.submit-btn {
    padding: 12px 20px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background-color: #004085;
    transform: translateY(-2px);
}

/* Error and Submission Messages */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.submission-message {
    text-align: center;
    color: green;
    font-weight: bold;
    margin-top: 20px;
    display: none;
}
/* FAQ Section */
.faq-container {
    margin: 40px auto;
    background-color: #f9f9f9;
    padding: 30px 20px;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-container h2 {
    font-size: 1.8rem;
    color: #0056b3;
    text-align: center;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0; /* Removes margin from the last FAQ item */
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.faq-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-left: 10px;
}

/* Spacing Fix */
.faq-container p {
    margin: 10px 0 20px; /* Adds spacing between questions */
}

/* Ensure FAQ container doesn't stretch across the page */
.faq-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
/* Mobile Responsive Design for Contact Us Page */
@media (max-width: 768px) {
    /* Contact Section */
    .contact-section {
        padding: 30px 10px;
        max-width: 100%; /* Utilize full width on smaller screens */
        margin: 20px auto;
        box-shadow: none; /* Remove shadows for a cleaner mobile look */
        border-radius: 0; /* Remove rounded corners for simplicity */
    }

    .contact-header h1 {
        font-size: 1.8rem; /* Reduce header size */
    }

    .contact-header p {
        font-size: 1rem;
        padding: 0 10px; /* Add some padding for text readability */
    }

    /* Form and Contact Info */
    .form-container {
        flex-direction: column; /* Stack the form and contact info */
        gap: 20px;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }

    /* Form Fields */
    .form-group label {
        font-size: 14px;
    }

    input, textarea, select {
        font-size: 14px;
        padding: 10px;
    }

    .phone-input {
        flex-direction: column; /* Stack select and input vertically */
        gap: 10px;
    }

    /* FAQ Section */
    .faq-container {
        padding: 20px;
        width: 90%; /* Reduce width for smaller devices */
    }

    .faq-container h2 {
        font-size: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* Buttons */
    .submit-btn {
        font-size: 14px;
        padding: 10px 15px;
    }

    /* Error and Submission Messages */
    .error-message {
        font-size: 10px;
    }

    .submission-message {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    input, select, textarea {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .contact-info {
        width: 100%;
        padding: 15px;
    }
}