/* ========================================
   Contact Page Styles - NAVBAR PERFECT
   ======================================== */

/* CSS Variables for Consistency */
:root {
    --primary: #006bb2;
    --primary-dark: #004a7c;
    --accent: #28a745;
    --dark: #2c3e50;
    --gray: #6c757d;
    --light: #f8f9fa;
    --white: #ffffff;
    --header-height: 80px;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    /* margin-top: var(--header-height); */
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    /* background-image: url('assets/images/makeinindia.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== MAP SECTION ========== */

.map-section {
    width: 100%;
    height: auto;
    background: #f5f5f5;
    padding: 0;
    margin: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 500px;
}

/* ========== CONTACT SECTION ========== */

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== CONTACT FORM ========== */

.contact-form-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    animation: fadeIn 0.6s ease-in;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-header h2 i {
    font-size: 1.6rem;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 107, 178, 0.1);
}

.form-control::placeholder {
    color: #b0b8c1;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006bb2' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 4px;
}

/* Form Checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox label {
    cursor: pointer;
    margin: 0;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ========== CONTACT INFO ========== */

.contact-info-wrapper {
    animation: fadeIn 0.6s ease-in 0.2s both;
}

.info-header {
    margin-bottom: 40px;
}

.info-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-header h2 i {
    font-size: 1.6rem;
}

.info-header p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Info Cards */
.info-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.info-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.info-content h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-content a:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.info-link i {
    font-size: 0.8rem;
}

.info-label {
    font-size: 0.8rem !important;
    color: #999 !important;
}

/* ========== SOCIAL LINKS ========== */

.social-links {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.social-links h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 107, 178, 0.3);
}

/* ========== ANIMATIONS ========== */

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1024px) {
    .page-hero::after {
        width: 250px;
    }

    .contact-wrapper {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 80px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
    }

    .map-section iframe {
        height: 400px;
    }

    .page-hero::after {
        width: 200px;
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    .page-hero-content p {
        font-size: 0.9rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .info-header h2 {
        font-size: 1.5rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .info-card {
        padding: 18px;
        gap: 15px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .info-content h3 {
        font-size: 1rem;
    }

    .map-section iframe {
        height: 350px;
    }

    .page-hero::after {
        width: 150px;
        opacity: 0.15;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 40px 0 30px;
    }

    .page-hero-content h1 {
        font-size: 1.5rem;
    }

    .page-hero-content p {
        font-size: 0.85rem;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 20px;
    }

    .form-header h2,
    .info-header h2 {
        font-size: 1.3rem;
        gap: 8px;
    }

    .form-header h2 i,
    .info-header h2 i {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-control {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .form-checkbox {
        font-size: 0.85rem;
        margin: 20px 0;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .info-card {
        padding: 15px;
        gap: 12px;
        margin-bottom: 15px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .info-content h3 {
        font-size: 0.95rem;
    }

    .info-content p {
        font-size: 0.85rem;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .map-section iframe {
        height: 300px;
    }

    .page-hero::after {
        width: 120px;
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .form-header h2,
    .info-header h2 {
        font-size: 1.2rem;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-checkbox {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        width: 100%;
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center;
    }

    .map-section iframe {
        height: 250px;
    }
}

/* ========== UTILITY CLASSES ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 107, 178, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.section {
    padding: 60px 0;
}
