/* TIMEFLIX FINANCE - PROFESSIONAL CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a;
    --secondary-color: #d4af37;
    --accent-color: #059669;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.tagline {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-admin {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background: #039652;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Quick Check */
.quick-check {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-check h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-form {
    display: flex;
    gap: 0.5rem;
}

.quick-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.quick-form button {
    padding: 12px 24px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.result-hidden {
    display: none;
}

/* Features Banner */
.features-banner {
    background: white;
    padding: 3rem 20px;
    border-bottom: 1px solid var(--border-color);
}

.features-banner .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-item h4 {
    color: var(--text-dark);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Loan Categories */
.loan-categories {
    padding: 80px 20px;
    background: white;
}

.loan-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.loans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.loan-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.loan-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
}

.loan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.loan-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.loan-details {
    text-align: left;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.loan-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.loan-details strong {
    color: var(--text-dark);
}

.loan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.loan-features li {
    margin: 0.5rem 0;
    color: var(--accent-color);
    font-weight: 500;
}

/* EMI Calculator */
.emi-calculator-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-bg), white);
}

.emi-calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-input {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-group input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.amount-display, .rate-display, .tenure-display {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.calculator-result {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.result-box h3 {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.emi-amount, .interest-amount, .total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* CIBIL Section */
.cibil-section {
    padding: 80px 20px;
    background: white;
}

.cibil-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.cibil-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.cibil-card {
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.cibil-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.cibil-card p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cibil-card span {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-top: 0.5rem;
}

/* Bank Partners */
.bank-partners {
    padding: 80px 20px;
    background: var(--light-bg);
}

.bank-partners h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
}

.partners-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.partners-slider {
    flex: 1;
    overflow: hidden;
    background: white;
    border-radius: 12px;
    padding: 1rem;
}

.partners-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease-out;
    width: 100%;
}

.partner-logo {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(212, 175, 55, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    min-width: 140px;
    flex-shrink: 0;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.1), rgba(212, 175, 55, 0.1));
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-logo i.fa-building {
    color: var(--secondary-color);
}

.partner-logo p {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .partner-logo {
        min-width: 120px;
        padding: 1rem;
    }
    
    .partner-logo i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .partners-carousel {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .partner-logo {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .partner-logo i {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .partner-logo p {
        font-size: 0.8rem;
    }
}

/* Why Choose Us */
.why-choose {
    padding: 80px 20px;
    background: white;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s;
}

.why-item:hover {
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.why-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.why-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-item p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.review-card h4 {
    color: var(--secondary-color);
    margin-top: 1rem;
}

.location {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Lead Form */
.lead-form-section {
    padding: 80px 20px;
    background: white;
}

.lead-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.lead-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-list {
    list-style: none;
}

.about-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
}

/* FAQ */
.faq-section {
    padding: 80px 20px;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--light-bg);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item h4 {
    padding: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.faq-item h4:hover {
    background: white;
    color: var(--secondary-color);
}

.faq-item h4 i {
    transition: transform 0.3s;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active h4 {
    background: white;
    color: var(--secondary-color);
}

.faq-item.active h4 i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input,
.modal-content textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        position: fixed;
        top: 70px;
        right: 0;
        flex-direction: column;
        width: 100%;
        background: var(--primary-color);
        padding: 1rem;
        gap: 1rem;
        max-width: 300px;
        display: flex;
        z-index: 999;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .quick-form {
        flex-direction: column;
    }

    .quick-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
