/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background-color: #fafafa;
}

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

/* Navigation */
.navbar {
    background-color: #1a2332;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo i {
    font-size: 1.8rem;
    color: #D4AF37;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.3;
    max-width: 320px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #D4AF37;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #D4AF37;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a2332 0%, #2d3436 50%, #34495e 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1), transparent 50%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2332;
}

/* Loan Types Section */
.loan-types {
    background-color: #fff;
}

.loan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.loan-card {
    background-color: #fafafa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #D4AF37;
}

.loan-card i {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.loan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a2332;
}

.loan-card p {
    color: #636e72;
}

/* How to Apply Section */
.how-to-apply {
    background-color: #f5f5f5;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a2332;
}

.step p {
    color: #636e72;
}

/* EMI Calculator Section */
.emi-calculator {
    background-color: #fff;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #1a2332;
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.input-group span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D4AF37;
}

.calculator-result {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #D4AF37;
}

.calculator-result h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a2332;
}

.emi-amount {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.breakdown {
    text-align: left;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.breakdown-item.total {
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: none;
    margin-top: 1rem;
    color: #1a2332;
}

/* Contact Section */
.contact {
    background-color: #f5f5f5;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #D4AF37;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a2332;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.submit-button:hover {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
    background-color: #1a2332;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #E5C158;
    text-decoration: underline;
}

.footer-links span {
    color: #7f8c8d;
}

/* Legal Pages Styling */
.legal-page {
    padding: 60px 0;
    background-color: #fafafa;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.legal-content h1 {
    color: #1a2332;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.legal-content .updated {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content .intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f5f5f5;
    border-left: 4px solid #D4AF37;
    border-radius: 5px;
}

.legal-content h2 {
    color: #1a2332;
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D4AF37;
}

.legal-content h3 {
    color: #2d3436;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: #1a2332;
}

.contact-box {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #D4AF37;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-box i {
    color: #D4AF37;
    margin-right: 10px;
    width: 20px;
}

.contact-box a {
    color: #D4AF37;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.acknowledgment {
    background-color: #fff3cd;
    border-left: 4px solid #D4AF37;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.back-home {
    text-align: center;
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a2332;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .loan-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}

/* Clickable Loan Cards */
.loan-card.clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.loan-card.clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.loan-card.clickable:hover::after {
    left: 100%;
}

.card-cta {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.card-cta:hover {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Testimonials Section */
.testimonials {
    background-color: #fafafa;
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    color: #636e72;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmin(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #D4AF37;
}

.rating {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A335 100%);
    color: #1a2332;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-info strong {
    color: #1a2332;
}

.author-info span {
    color: #636e72;
    font-size: 0.9rem;
}

.author-info small {
    color: #D4AF37;
    font-size: 0.85rem;
}

/* FAQ Section */
.faq {
    background-color: #fff;
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fafafa;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #D4AF37;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2332;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question i {
    color: #D4AF37;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #636e72;
    line-height: 1.8;
    margin: 0;
}

/* Map Container */
.map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Clickable Contact Info */
.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #D4AF37;
}

.info-item a {
    color: #2d3436;
}

.info-item a:hover {
    color: #D4AF37;
}

/* Company Notice Box (Disclaimer page) */
.company-notice {
    background: #f8f6f0;
    border-left: 4px solid #D4AF37;
    padding: 14px 18px;
    margin-bottom: 28px;
    border-radius: 0 6px 6px 0;
    font-size: 0.95rem;
}

/* Footer Legal Line */
.footer-legal {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    margin-top: 0;
}
