@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+Pro:wght@600;700;900&display=swap');

:root {
    --primary-orange: #E85D22;
    --primary-orange-hover: #d04d16;
    --secondary-blue: #0D3B85;
    --secondary-blue-hover: #092a61;
    --text-dark: #1A202C;
    --text-gray: #64748B;
    --bg-light: #F8FAFC;
    --input-bg: #F1F5F9;
    --input-border: #E2E8F0;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------
   1. HERO BANNER
-------------------------------------------------- */
.about-hero {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                url('https://bengalelectricalindustries.in/image/cta_bg.png') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--input-border);
}

.about-hero-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------------
   2. FORMS SECTION & DUAL GRID
-------------------------------------------------- */
.contact-forms-section {
    padding: 60px 0 90px 0;
    background-color: #FAFAFA;
}

.contact-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    border-top: 6px solid transparent;
}

/* Card Top Borders */
.border-top-orange {
    border-top-color: var(--primary-orange);
}

.border-top-blue {
    border-top-color: var(--secondary-blue);
}

/* Card Mouse-Over Effects */
.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form Fields Styling */
.custom-form .form-group {
    margin-bottom: 20px;
}

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

.custom-form label span {
    color: var(--primary-orange);
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.25s ease;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #94A3B8;
    font-size: 0.9rem;
}

/* Input Hover & Focus Effects */
.custom-form input:hover,
.custom-form select:hover,
.custom-form textarea:hover {
    background-color: #E2E8F0;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    background-color: var(--white);
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(13, 59, 133, 0.15);
}

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

.phone-input-group select.country-code {
    width: 90px;
    flex-shrink: 0;
    cursor: pointer;
}

.phone-input-group input[type="tel"] {
    flex-grow: 1;
}

.custom-form textarea {
    resize: vertical;
}

/* Form Buttons */
.form-btn-wrapper {
    text-align: right;
    margin-top: 30px;
}

.btn-form {
    display: inline-block;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-form-orange {
    background-color: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(232, 93, 34, 0.25);
}

.btn-form-orange:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 93, 34, 0.35);
}

.btn-form-blue {
    background-color: var(--secondary-blue);
    box-shadow: 0 4px 12px rgba(13, 59, 133, 0.25);
}

.btn-form-blue:hover {
    background-color: var(--secondary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 59, 133, 0.35);
}

/* --------------------------------------------------
   3. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 992px) {
    .contact-forms-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 650px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 60px 20px;
    }

    .about-hero-title {
        font-size: 2.2rem;
    }

    .form-card {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .btn-form {
        width: 100%;
        text-align: center;
    }

    .form-btn-wrapper {
        text-align: center;
    }
}