@font-face {
    font-family: "ibm";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/IBMPLEXSANSARABIC-LIGHT.TTF"), url("../fonts/IBMPLEXSANSARABIC-LIGHT.TTF");
    font-display: swap;
}

@font-face {
    font-family: "ibm-bold";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/IBMPLEXSANSARABIC-BOLD.TTF"), url("../fonts/IBMPLEXSANSARABIC-BOLD.TTF");
    font-display: swap;
}

:root {
    --primary: #483855;
    --secondary: #dd6d45;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: "ibm-bold";
    color: var(--dark);
    overflow-x: hidden;
    background-color: #fafbff;
}

.navbar {
    background-color: rgba(72, 56, 85, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: var(--primary);
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    width: 250px;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    transform: translateX(50%);
}

.nav-link:hover:after {
    width: 70%;
}

.btn {
    font-family: "ibm-bold";
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 10px rgba(72, 56, 85, 0.3);
}

.btn-primary:hover {
    background: #3a2c45;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(72, 56, 85, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: white !important;
    box-shadow: 0 4px 10px rgba(221, 109, 69, 0.3);
}

.btn-secondary:hover {
    background: #c95e35;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(221, 109, 69, 0.4);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white !important;
}

/* الهيرو */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #32263d 100%);
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M20,20 Q40,5 60,20 T100,20 V100 H0 Z" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: cover;
}

/* حول الجائزة */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 70px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 50px;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    border: none;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #3a2c45);
    color: white;
    font-size: 2.5rem;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

/* مسارات الجائزة */
.tracks-section {
    background: linear-gradient(135deg, #f9f7fc 0%, #f0ecf5 100%);
}

.track-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
    height: 100%;
    border: none;
}

.track-card:hover {
    transform: translateY(-10px);
}

.track-header {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #3a2c45);
    color: white;
}

.track-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.track-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.track-content {
    padding: 30px;
}

.track-number {
    position: absolute;
    top: -10px;
    left: -7px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 10px rgba(221, 109, 69, 0.4);
}

.track-list {
    list-style: none;
    padding-right: 20px;
}

.track-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    position: relative;
    padding-right: 25px;
}

.track-list li:before {
    content: '•';
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    top: -5px;
}

/* الأسئلة الشائعة */
.faq-section {
    background: linear-gradient(135deg, #fffaf7 0%, #fff5f0 100%);
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: none;
}

.faq-question {
    padding: 20px 30px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: #fbf9fc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 500px;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--secondary);
}

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

/* الاتصال */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, #32263d 100%);
    color: white;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

/* الفوتر */
footer {
    background: #1a1522;
    color: white;
    padding: 70px 0 30px;
}

.footer-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0a5c0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 50px 0 0 50px;
    border: none;
    outline: none;
    font-family: "ibm-bold";
}

.newsletter-form button {
    background: var(--secondary);
    color: white;
    border: none;
    width: 50px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #c95e35;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0a5c0;
    font-size: 1.1rem;
    margin-top: 40px;
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0 100px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.15rem;
    }

    .nav-link {
        margin: 0 5px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .card-icon {
        height: 80px;
        font-size: 2rem;
    }

    .track-icon {
        font-size: 2.2rem;
    }
}

/* تأثيرات تمرير الصفحة */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات الحركة */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* شريط متحرك */
.moving-strip {
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    animation: moveStrip 3s linear infinite;
}

@keyframes moveStrip {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* أيقونة القرآن */
.quran-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin: 20px auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* خطوط زخرفية */
.quran-border {
    border-top: 2px dashed var(--primary);
    border-bottom: 2px dashed var(--primary);
    padding: 5px 0;
    margin: 25px 0;
    position: relative;
}

.quran-border:before {
    content: '﴿ ﴾';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    font-size: 1.2rem;
    color: var(--secondary);
}
.navbar-logo {
    width: 100%;
    object-fit: contain;
}
@media (max-width: 576px) {
    .navbar-brand {
        width: 180px;
    }

    .brand-text {
        font-size: 1rem;
    }
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-nav li a {
    color: #b0a5c0;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-nav li a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 3px;
}
.footer {
    background-color: #111; /* حسب تصميمك */
    padding: 30px 0;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
@media (max-width: 576px) {
    .footer-center .navbar-brand {
        width: 220px;
    }
}


