/* Mobile nav styles */
@media (max-width: 900px) {
    nav.desktop-only {
        display: none !important;
    }
    .mobile-header {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 0;
        position: relative;
        gap: 16px;
    }
    .mobile-header .logo {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }
    .burger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        cursor: pointer;
        flex: 0 0 auto;
    }
    .mobile-header .cta-button {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }
    .burger span {
        display: block;
        width: 24px;
        height: 3px;
        background: #af144b;
        margin: 4px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
    .mobile-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 4px 16px rgba(175,20,75,0.08);
        padding: 24px 0 12px 0;
        z-index: 999;
    }
    .mobile-nav.open {
        display: flex !important;
    }
    .mobile-nav ul.nav-list {
        flex-direction: column;
        width: 100%;
    }
    .mobile-nav ul.nav-list li {
        width: 100%;
        padding: 12px 24px;
        margin-left: 0;
    }
    .mobile-nav ul.nav-list li a {
        color: var(--dark);
        font-weight: 500;
        padding: 10px 0;
        width: 100%;
        display: block;
    }
}
/* Burger menu styles */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-left: 16px;
}
.burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #af144b;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(175,20,75,0.08);
    padding: 24px 0 12px 0;
    z-index: 999;
}
.mobile-nav ul.nav-list {
    flex-direction: column;
    width: 100%;
}
.mobile-nav ul.nav-list li {
    width: 100%;
    padding: 12px 24px;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-header {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 0;
        position: relative;
    }
    .mobile-header .logo {
        display: flex;
        align-items: center;
        margin-right: 0;
    }
    .mobile-header .cta-button {
        margin-left: auto;
        display: flex;
        align-items: center;
    }
    .burger {
        display: flex !important;
    }
    .mobile-nav {
        display: none;
    }
    .mobile-nav.open {
        display: flex !important;
    }
}
.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.logo.desktop-only {
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: center;
}
nav.desktop-only {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-button.desktop-only {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}
/* Mobile header styles */
.mobile-header {
    display: none;
}
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: flex !important;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-header {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 0;
    }
    .mobile-header .logo {
        display: flex;
        align-items: center;
        margin-right: 0;
    }
    .mobile-header .cta-button {
        margin-left: auto;
        display: flex;
        align-items: center;
    }
}
/* Modal Styles (shared across all pages) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,46,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal {
    background: #fff;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    padding: 32px 24px 24px 24px;
    box-shadow: 0 8px 32px rgba(175,20,75,0.15);
    text-align: center;
    position: relative;
}
.modal h2 {
    color: #af144b;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.modal label {
    display: block;
    margin: 12px 0 6px 0;
    font-weight: 500;
    color: #1a1a2e;
    text-align: left;
}
.modal input, .modal select {
    width: 100%;
    padding: 8px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: left;
}
.modal .close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #af144b;
    cursor: pointer;
}
.modal .cta-button {
    width: 100%;
    margin-top: 10px;
}
@media (max-width: 900px) {
    .header-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .logo {
        display: flex;
        align-items: center;
        order: 1;
        margin-right: 0;
    }
    nav {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 2;
    }
    .cta-button {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 0;
        order: 3;
    }
    .logo img {
        height: 24px !important;
    }
}
/* Responsive Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #af144b;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}
@media (max-width: 900px) {
    .header-container {
        flex-direction: row;
        align-items: center;
    }
    nav ul.nav-list {
        display: none;
    }
    nav ul.nav-list.open {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100vw;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 4px 16px rgba(175,20,75,0.08);
        padding: 24px 0 12px 0;
        z-index: 999;
    }
    nav ul.nav-list li {
        width: 100%;
        padding: 12px 24px;
    }
    .nav-toggle {
        display: flex;
    }
    nav {
        position: relative;
    }
}
/* Qaran Bank Styles - moved from index.html */
:root {
    --primary: #af144b;
    --secondary: #f0325a;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
}

/* Clean nav styles for desktop */
nav ul.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul.nav-list li {
    margin-left: 25px;
}
nav ul.nav-list li:first-child {
    margin-left: 0;
}
nav ul.nav-list li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}
nav ul.nav-list li a:hover {
    color: var(--primary);
}
nav ul.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}
nav ul.nav-list li a:hover::after {
    width: 100%;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(175, 20, 75, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('https://images.unsplash.com/photo-1601597111158-2fceff292cdc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Banking Options */
.banking-options {
    background-color: #f0f2f5;
    padding: 80px 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.option-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.option-card:hover {
    transform: translateY(-5px);
}

.option-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.option-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.option-card p {
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.cta-button.white {
    background: white;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #b0b7c3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column p {
    color: #b0b7c3;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b0b7c3;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }
    .logo {
        margin-bottom: 15px;
    }
    nav ul {
    .logo {
        display: flex;
        align-items: center;
        order: 1;
        margin-right: auto;
    }
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 0 10px 10px;
    }
    .hero h2 {
        font-size: 36px;
    }
    .hero p {
        font-size: 18px;
    }
}
