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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

h3 {
    font-size: 1.5rem;
    color: #ffffff;
}

p {
    margin-bottom: 1rem;
    color: #cccccc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #8B0000;
    color: white;
}

.btn-primary:hover {
    background: #A52A2A;
    transform: translateY(-2px);
}

/* Top Navigation */
.top-nav {
    background: #2d2d2d;
    padding: 8px 0;
    border-bottom: 1px solid #404040;
}

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

.top-nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.top-nav-links a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.top-nav-links a:hover {
    color: #ffffff;
}

.top-nav-links i {
    margin-right: 5px;
}

/* Main Header */
.main-header {
    background: #1a1a1a;
    padding: 20px 0;
    border-bottom: 2px solid #8B0000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #8B0000;
}

.ebanking-section {
    position: relative;
}

.ebanking-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #404040;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ebanking-toggle:hover {
    border-color: #8B0000;
}

.ebanking-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.ebanking-section:hover .ebanking-dropdown {
    display: block;
}

.ebanking-dropdown label {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.login-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.login-inputs input {
    flex: 1;
    padding: 10px;
    border: 1px solid #404040;
    border-radius: 4px;
    background: #1a1a1a;
    color: #ffffff;
}

.login-btn {
    padding: 10px 20px;
    background: #666666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #777777;
}

.additional-logins {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #cccccc;
    border: 1px solid #404040;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.additional-logins:hover {
    border-color: #8B0000;
    color: #ffffff;
}

.portal-actions {
    text-align: center;
}

.portal-action-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portal-action-btn.login-btn {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
}

.portal-action-btn.login-btn:hover {
    background: linear-gradient(135deg, #D2691E, #FF8C00);
    transform: translateY(-2px);
}

.portal-action-btn.admin-btn {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.portal-action-btn.admin-btn:hover {
    background: linear-gradient(135deg, #c53030, #9b2c2c);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2d1810 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bokeh-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 100, 100, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(139, 0, 0, 0.2) 0%, transparent 50%);
}

.businessman-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 100, 100, 0.8) 0%, rgba(139, 0, 0, 0.6) 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #cccccc;
    font-weight: 300;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Services Navigation */
.services-nav {
    background: #2d2d2d;
    padding: 40px 0;
    border-top: 1px solid #404040;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    background: #404040;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #8B0000;
}

.services-scroll {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    flex: 1;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item.active {
    transform: scale(1.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #404040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item.active .service-icon {
    background: #8B0000;
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.service-item span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Calculator Section */
.calculator {
    padding: 80px 0;
    background: #1a1a1a;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-form {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #404040;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #1a1a1a;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.calculator-results {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.result-details {
    margin-top: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
    border-bottom: none;
}

/* Application Form */
.application {
    padding: 80px 0;
    background: #2d2d2d;
}

.loan-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    margin-bottom: 2rem;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #cccccc;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.review-summary {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #404040;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #cccccc;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 400px;
}

.graphic-circle {
    width: 100px;
    height: 100px;
    background: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.graphic-circle:hover {
    transform: scale(1.1);
}

.graphic-circle i {
    font-size: 2.5rem;
    color: #ffffff;
}

.graphic-circle:nth-child(1) {
    background: #8B0000;
}

.graphic-circle:nth-child(2) {
    background: #A52A2A;
}

.graphic-circle:nth-child(3) {
    background: #8B0000;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #2d2d2d;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #8B0000;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #cccccc;
    margin: 0;
}

.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
}

/* Customer Portal */
.customer-portal {
    padding: 80px 0;
    background: #1a1a1a;
}

.portal-container {
    max-width: 1000px;
    margin: 0 auto;
}

.portal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portal-header h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.portal-header p {
    color: #cccccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portal-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.portal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-item h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.portal-actions {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #404040;
    position: sticky;
    top: 2rem;
}

.action-group h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.action-group p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

.portal-links {
    text-align: center;
}

.portal-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portal-link:hover {
    color: #D2691E;
}

@media (max-width: 768px) {
    .portal-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portal-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portal-actions {
        position: static;
    }
}

.portal-login {
    background: #2d2d2d;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #404040;
    text-align: center;
    margin-bottom: 2rem;
}

.portal-login h3 {
    margin-bottom: 2rem;
    color: #ffffff;
}

.portal-form {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.portal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.portal-link {
    color: #8B0000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.portal-link:hover {
    color: #A52A2A;
}

.portal-redirect {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #404040;
    text-align: center;
}

.portal-redirect p {
    margin-bottom: 1rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.portal-dashboard {
    background: #2d2d2d;
    border-radius: 16px;
    border: 1px solid #404040;
    overflow: hidden;
}

.dashboard-header {
    background: #8B0000;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h3 {
    color: #ffffff;
    margin: 0;
}

.dashboard-content {
    padding: 2rem;
}

.dashboard-section {
    margin-bottom: 2.5rem;
}

.dashboard-section:last-child {
    margin-bottom: 0;
}

.dashboard-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #404040;
}

.loans-list {
    display: grid;
    gap: 1rem;
}

.loan-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #404040;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.loan-info h5 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.loan-details {
    color: #cccccc;
    font-size: 0.9rem;
}

.loan-amount {
    text-align: right;
}

.loan-amount .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B0000;
}

.loan-amount .status {
    font-size: 0.8rem;
    color: #cccccc;
    text-transform: uppercase;
}

.transfer-form {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #404040;
}

.account-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #404040;
    text-align: center;
}

.summary-label {
    display: block;
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B0000;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    border-top: 2px solid #8B0000;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #404040;
    color: #999999;
}

/* Notifications */
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.notification {
    background: #2d2d2d;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    border-left: 4px solid #8B0000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.warning {
    border-left-color: #ffc107;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .services-scroll {
        gap: 20px;
    }
    
    .service-item {
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .calculator,
    .application,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .calculator-form,
    .form-step,
    .contact-form {
        padding: 1.5rem;
    }
    
    .top-nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
}
