  /* Global Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0, 0, 0, 0.507)), url('../img/Contact\ Us.jpg') no-repeat center center/cover;
    padding: 150px 0 100px;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    gap: 40px;
    justify-content: center;
}

.contact-card {
    width: calc(25% - 20px);
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon_contact {
    font-size: 36px;
    color: #f7941d;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    margin-bottom: 8px;
}

.btn-chat {
    display: inline-block;
    background-color: #f7941d;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    margin-top: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-chat:hover {
    background-color: #e47d0e;
}



 /* Contact Form Section */
          /* Your existing CSS styles */
        .contact-form-section {
            padding: 60px 0;
            background-color: #f8f9fa;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-title h2 {
            font-size: 32px;
            margin-bottom: 10px;
            color: #333;
        }

        .section-title p {
            font-size: 16px;
            color: #666;
        }

        .contact-form-container {
            max-width: 800px;
            margin: 0 auto;
            background-color: #fff;
            padding: 40px;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .form-row {
            display: flex;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .form-col {
            flex: 1;
            padding: 0 10px;
            min-width: 250px;
        }

        .form-col:first-child {
            padding-left: 0;
        }

        .form-col:last-child {
            padding-right: 0;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            box-sizing: border-box;
        }

        .form-control:focus {
            outline: none;
            border-color: #f7941d;
        }

        textarea.form-control {
            resize: vertical;
        }

        .btn-submit {
            background-color: #f7941d;
            color: #fff;
            border: none;
            padding: 12px 30px;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn-submit:hover {
            background-color: #e47d0e;
        }

        /* Customer Type Selection */
        .customer-type-group {
            margin-bottom: 30px;
            text-align: center;
        }

        .customer-type-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
            display: block;
        }

        .radio-group {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .radio-option {
            position: relative;
            cursor: pointer;
        }

        .radio-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .radio-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 25px 35px;
            background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
            border: 2px solid #e9ecef;
            border-radius: 12px;
            min-width: 180px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }

        .radio-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #f7941d, #e47d0e);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .radio-option input[type="radio"]:checked + .radio-card {
            border-color: #f7941d;
            background: linear-gradient(135deg, #fff8f0 0%, #ffeee0 100%);
            box-shadow: 0 4px 15px rgba(247, 148, 29, 0.2);
            transform: translateY(-2px);
        }

        .radio-option input[type="radio"]:checked + .radio-card::before {
            transform: scaleX(1);
        }

        .radio-card:hover {
            border-color: #f7941d;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(247, 148, 29, 0.15);
        }

        .radio-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #f7941d, #e47d0e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            font-size: 24px;
            color: white;
            transition: all 0.3s ease;
        }

        .radio-option input[type="radio"]:checked + .radio-card .radio-icon {
            background: linear-gradient(135deg, #e47d0e, #d67309);
            box-shadow: 0 4px 12px rgba(247, 148, 29, 0.4);
            transform: scale(1.1);
        }

        .radio-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }

        .radio-option input[type="radio"]:checked + .radio-card .radio-title {
            color: #f7941d;
        }

        .radio-description {
            font-size: 14px;
            color: #666;
            text-align: center;
            line-height: 1.4;
        }

        .radio-option input[type="radio"]:checked + .radio-card .radio-description {
            color: #555;
        }

        .check-indicator {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 24px;
            height: 24px;
            background-color: #f7941d;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            opacity: 0;
            transform: scale(0);
            transition: all 0.3s ease;
        }

        .radio-option input[type="radio"]:checked + .radio-card .check-indicator {
            opacity: 1;
            transform: scale(1);
        }

        /* NRI Specific Fields */
        .nri-fields {
            display: none;
            padding: 20px;
            background-color: #fff8f0;
            border-radius: 8px;
            border: 1px solid #f7941d;
            margin-bottom: 20px;
        }

        .nri-fields.active {
            display: block;
        }

        .nri-header {
            text-align: center;
            margin-bottom: 20px;
            color: #f7941d;
            font-weight: 600;
        }

        .phone-hint {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        /* NEW: Country Code Selector Styles */
        .phone-input-container {
            position: relative;
            display: flex;
            align-items: stretch;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #fff;
            transition: border-color 0.3s ease;
        }

        .phone-input-container:focus-within {
            border-color: #f7941d;
            box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
        }

        .country-code-selector {
            position: relative;
            min-width: 80px;
            background-color: #f8f9fa;
            border-right: 1px solid #ddd;
            border-radius: 4px 0 0 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .country-code-selector:hover {
            background-color: #e9ecef;
        }

        .selected-country {
            display: flex;
            align-items: center;
            padding: 12px 10px;
            gap: 8px;
            height: 100%;
            box-sizing: border-box;
        }

        .country-flag {
            width: 20px;
            height: 15px;
            border-radius: 2px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border: 1px solid rgba(0,0,0,0.1);
            flex-shrink: 0;
        }

        .country-code-text {
            font-size: 14px;
            font-weight: 500;
            color: #333;
            min-width: 35px;
            text-align: center;
        }

        .dropdown-arrow {
            margin-left: 5px;
            font-size: 12px;
            color: #666;
            transition: transform 0.3s ease;
        }

        .country-code-selector.active .dropdown-arrow {
            transform: rotate(180deg);
        }

        .country-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: #fff;
            border: 1px solid #ddd;
            border-top: none;
            border-radius: 0 0 4px 4px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .country-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .country-option {
            display: flex;
            align-items: center;
            padding: 10px 12px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            gap: 10px;
        }

        .country-option:hover {
            background-color: #f8f9fa;
        }

        .country-option.selected {
            background-color: #fff8f0;
            color: #f7941d;
        }

        .country-name {
            font-size: 14px;
            flex-grow: 1;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .alt-phone-input {
            flex: 1;
            border: none;
            padding: 12px 15px;
            font-size: 16px;
            border-radius: 0 4px 4px 0;
            background-color: transparent;
            min-width: 0;
        }

        .alt-phone-input:focus {
            outline: none;
        }

        .alt-phone-input::placeholder {
            color: #999;
        }

        /* Custom scrollbar for dropdown */
        .country-dropdown::-webkit-scrollbar {
            width: 6px;
        }

        .country-dropdown::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .country-dropdown::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }

        .country-dropdown::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        /* Success Popup Styles */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .popup-content {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
            max-width: 400px;
            width: 90%;
            transform: translateY(-20px);
            transition: transform 0.3s;
            position: relative;
        }

        .popup-overlay.active .popup-content {
            transform: translateY(0);
        }

        .popup-icon {
            width: 70px;
            height: 70px;
            background-color: #e6f7e6;
            color: #28a745;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 36px;
        }

        .popup-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #333;
        }

        .popup-message {
            font-size: 16px;
            color: #666;
            margin-bottom: 25px;
        }

        .popup-close {
            background-color: #f7941d;
            color: #fff;
            border: none;
            padding: 10px 25px;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .popup-close:hover {
            background-color: #e47d0e;
        }
         /* Error styling for form fields */
.form-control.error {
    border: 2px solid #e74c3c !important;
    background-color: #fdf2f2 !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.form-control.error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
    outline: none !important;
}

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease-out;
}

.error-message::before {
    /* content: "⚠️"; */
    margin-right: 6px;
    font-size: 12px;
}

/* Animation for error message appearance */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success state (when error is cleared) */
.form-control.success {
    border: 2px solid #27ae60;
    background-color: #f8fffe;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Hover effects for error fields */
.form-control.error:hover {
    border-color: #c0392b;
}

/* Additional styling for phone hint when there's an error */
.form-group .phone-hint {
    color: #666;
    font-size: 12px;
    margin-top: 3px;
}

.form-group .error-message + .phone-hint {
    margin-top: 8px;
}

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .form-row {
                flex-direction: column;
            }
            
            .form-col {
                padding: 0;
            }
            
            .contact-form-container {
                padding: 20px;
            }

            .radio-group {
                flex-direction: column;
                gap: 15px;
                align-items: center;
            }

            .radio-card {
                min-width: 280px;
                padding: 20px 25px;
            }

            .radio-icon {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }

            .phone-input-container {
                flex-direction: column;
            }

            .country-code-selector {
                border-right: none;
                border-bottom: 1px solid #ddd;
                border-radius: 4px 4px 0 0;
                min-width: unset;
            }

            .alt-phone-input {
                border-radius: 0 0 4px 4px;
            }
        }

        

/* Branch Locations */
/* Branch Locations */
.branch-locations {
    padding: 60px 0;
    background-color: #fff;
}
.branches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 40px;
}
.branch-card {
    width: calc(33% - 20px);
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-left: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.branch-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.branch-card p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}
.branch-card p i {
    color: #f7941d;
    margin-right: 20px;
    min-width: 20px;
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.map-container {
    margin-top: 40px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.map-placeholder {
    width: 100%;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 30px;
    border-radius: 5px;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.faq-toggle {
    color: #f7941d;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/Business\ Loans.jpeg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background-color: #f7941d;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e47d0e;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    border: 2px solid #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #333;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .contact-card, .branch-card, .footer-col {
        width: calc(50% - 15px);
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .contact-card, .branch-card, .footer-col {
        width: 100%;
        margin-bottom: 20px;
        margin-left: auto;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-col {
        padding: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}