@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', serif;
    background-color: #000;
    color: #fff;
}

/* Header */
.transparent-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.navbar-brand .logo {
    height: 50px;
    border-radius: 5px;
}

.nav-link {
    color: #fff;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #FFD700;
}

.nav-link i {
    margin-inline-end: 0.5rem;
}

.btn-outline-warning {
    border-color: #FFD700;
    color: #FFD700;
}

.btn-outline-warning:hover {
    background: #FFD700;
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: no-repeat center center/cover;
    padding: 2rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.start-now-btn {
    font-size: 1.25rem;
    color: #000;
    background: linear-gradient(45deg, #FFD700, #DAA520, #FFD700);
    border-radius: 5px;
    box-shadow: 0 0 10px #FFD700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.start-now-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #FFD700;
    color: #000;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    color: #FFD700;
    margin-bottom: 2rem;
}

/* Installment Section */
.installment-section {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
}

/* Form Styles */
.form-control {
    background: #1a1a1a;
    border: 1px solid #DAA520;
    color: #fff;
    font-family: 'Amiri', serif;
}

.form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 5px #FFD700;
}

.form-label {
    color: #FFD700;
}

/* About Section */
.about-logo {
    max-width: 200px;
    border-radius: 10px;
}

/* Companies Section */
.companies-grid .card {
    background: #1a1a1a;
    border: 1px solid #DAA520;
    transition: transform 0.3s;
}

.companies-grid .card:hover {
    transform: translateY(-5px);
}

.companies-grid img {
    max-width: 100px;
    border-radius: 5px;
}

/* Footer */
.footer {
    background: linear-gradient(45deg, #FFD700, #DAA520, #FFD700);
    color: #000;
}

.footer a {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

/* Admin Styles */
.admin-container {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 15px #FFD700;
}

.admin-title {
    color: #FFD700;
}

.admin-btn {
    color: #000;
    background: linear-gradient(45deg, #FFD700, #DAA520, #FFD700);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 10px #FFD700;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
}

.delete-btn:hover {
    box-shadow: 0 0 10px #dc3545;
}

.success-message {
    background: linear-gradient(45deg, #FFD700, #DAA520, #FFD700);
    color: #000;
    box-shadow: 0 0 10px #FFD700;
}

.error-message {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 0 10px #dc3545;
}

/* RTL Support */
html[dir="rtl"] .nav-link i {
    margin-inline-start: 0.5rem;
    margin-inline-end: 0;
}

html[dir="rtl"] .form-control,
html[dir="rtl"] .form-label {
    text-align: right;
}

html[dir="rtl"] .footer p {
    text-align: center;
}

.footer p {
    text-align: center !important;
}

.footer{
    text-align: center !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 40px;
    }
    .hero {
        padding: 1.5rem;
    }
    .start-now-btn {
        font-size: 1rem;
    }
    .section {
        padding: 2rem 0;
    }
    .admin-container {
        margin: 1.5rem;
    }
}

@media (max-width: 576px) {
    .nav-link {
        font-size: 1rem;
    }
    .hero-content {
        padding: 1rem;
    }
    .footer p {
        font-size: 0.85rem;
    }
}