/* =============================================
   FOOTER PAGES - SHARED STYLES
   ============================================= */

/* Hero Banner */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: #000000;
    margin: 0;
    padding: 0;
}

.page-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Page Content Container */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.page-subtitle {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ Accordion */
.faq-section {
    margin-bottom: 50px;
}

.faq-section h2 {
    font-size: 1.8rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #1a5276;
}

.faq-question .faq-icon {
    font-size: 20px;
    color: #4b4747;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 0 20px;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Policy Content */
.policy-content {
    line-height: 1.8;
    color: #555;
}

.policy-content h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 600;
}

.policy-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 25px 0 10px;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-content ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.policy-content .disclaimer-box {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #1a5276;
    margin-bottom: 20px;
}

/* Contact Page */
.contact-page {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 0;
    min-height: 500px;
    margin-top: 100px;
}

.contact-sidebar {
    background: #f8f9fa;
    padding: 40px 20px;
    display: flex;
    align-items: flex-start;
}

.contact-sidebar h3 {
    font-size: 1rem;
    color: #333;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.contact-form-section {
    padding: 40px;
    background: #fff;
}

.contact-form-section h2 {
    font-size: 1.3rem;
    color: #1a5276;
    margin-bottom: 30px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #666;
    background: transparent;
    transition: border-color 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-bottom-color: #1a5276;
}

.contact-input::placeholder {
    color: #1a5276;
}

.contact-textarea {
    grid-column: span 2;
    resize: none;
}

.verification-section {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.verification-section span {
    color: #1a5276;
    font-size: 14px;
}

.contact-submit {
    margin-top: 30px;
    background: #1a5276;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.contact-submit:hover {
    background: #154360;
}

.contact-info-section {
    background: url("/public/img/Contact.jpg") center/cover no-repeat;
    position: relative;
    padding: 40px;
    color: white;
}

.contact-info-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

.office-info {
    margin-bottom: 30px;
}

.office-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #f39c12;
}

.office-info p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.office-info a {
    color: #f39c12;
    text-decoration: none;
}

/* EMI Calculator */
.emi-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.emi-intro p {
    color: #666;
    margin-bottom: 10px;
}

.emi-intro a {
    color: #1a5276;
    text-decoration: underline;
}

.emi-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.emi-results {
    padding: 30px;
    background: #fff;
}

.emi-result-box {
    text-align: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.emi-result-box:last-child {
    margin-bottom: 0;
}

.emi-result-box label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.emi-result-box .value {
    font-size: 2rem;
    color: #333;
}

.emi-result-box .value span {
    font-size: 1rem;
    color: #666;
}

.emi-form {
    background: #1a5276;
    padding: 30px;
    color: white;
}

.emi-form h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.emi-form-group {
    margin-bottom: 20px;
}

.emi-form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.emi-form-row {
    display: flex;
    gap: 10px;
}

.emi-form-row input {
    flex: 1;
    padding: 12px;
    border: none;
    font-size: 14px;
}

.emi-form-row .unit {
    background: #fff;
    padding: 12px 15px;
    font-size: 14px;
    color: #666;
}

.emi-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.emi-radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.emi-submit {
    width: 100%;
    background: #f39c12;
    color: white;
    border: none;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.emi-submit:hover {
    background: #e67e22;
}

/* EMI Breakup Table */
.emi-breakup {
    margin-top: 40px;
}

.emi-breakup h3 {
    background: #1a5276;
    color: white;
    padding: 15px 20px;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.emi-breakup table {
    width: 100%;
    border-collapse: collapse;
}

.emi-breakup th,
.emi-breakup td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-size: 14px;
}

.emi-breakup th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.emi-breakup td {
    color: #666;
}

/* Draw Result */
.draw-result-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.draw-tab {
    padding: 15px 30px;
    background: #f8f9fa;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.draw-tab.active {
    background: #1a5276;
    color: white;
}

.draw-table {
    width: 100%;
    border-collapse: collapse;
}

.draw-table th,
.draw-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.draw-table th {
    background: #333;
    color: white;
    font-weight: 500;
}

.draw-table td {
    color: #555;
}

.draw-table td a {
    color: #1a5276;
    text-decoration: none;
}

.draw-table td a:hover {
    text-decoration: underline;
}

.pdf-icon {
    color: #e74c3c;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-page {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        display: none;
    }

    .emi-calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-textarea {
        grid-column: span 1;
    }

    .page-hero {
        height: 200px;
    }

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