/* ABAM Main Stylesheet */

/* Font Definitions */
@font-face {
    font-family: "CustomArabic";
    src: url("../fonts/ExpoArabic-Book.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "CustomArabic";
    src: url("../fonts/ExpoArabic-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #b89c61;
    --primary-dark: #a58447;
    --secondary-color: #253856;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 10px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 10px;
    --border-radius-xl: 20px;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: "CustomArabic", "Expo", "ExpoBook", "ExpoSemiBold", Arial, sans-serif !important;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 95px;
    direction: rtl;
}

/* Navigation Styles */
nav.navbar.navbar-expand-lg.navbar-light {
    position: fixed !important;
    right: 0;
    left: 0;
    top: 0;
    background: white;
    z-index: 10;
}

.navbar-expand-lg .navbar-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.nav-link.langbtton img {
    margin: 0px 5px;
}

.langli {
    display: none;
}

/* Language Switcher */
.language-switcher {
    margin-left: auto;
    padding: 0 15px;
}

.wpml-ls {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpml-ls-item {
    margin: 0 5px;
}

.wpml-ls-item a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.wpml-ls-item a img {
    margin-right: 5px;
}

li.wpml-ls-item img {
    margin-left: 3px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(
            0deg,
            rgba(37, 56, 86, 0.6),
            rgba(37, 56, 86, 0.6)
        ),
        url("../images/bg-images/hero.png");
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Stats Container */
.stats-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Qualification Section */
.qualification-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: linear-gradient(
            0deg,
            rgba(37, 56, 86, 0.8),
            rgba(37, 56, 86, 0.8)
        ),
        url("../images/bg-images/hero.png");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

/* Process section headers */
.process-section .section-header h2 {
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced step cards for dark background */
.process-section .step-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.process-section .step-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: white;
    color: #333;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3),
.input-group:not(.has-validation)
    > .form-floating:not(:last-child)
    > .form-control,
.input-group:not(.has-validation)
    > .form-floating:not(:last-child)
    > .form-select,
.input-group:not(.has-validation)
    > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(
        .form-floating
    ) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group
    > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
        .valid-feedback
    ):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #e1e1e1;
    padding: 40px 0;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

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

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

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

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer .mail {
    color: var(--primary-color);
    text-decoration: none;
}

.footer .copy {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

/* Contact Header */
.contact-header {
    width: 100%;
    margin-bottom: 2rem;
}

.contact-header .image {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Makkah Statistics Section */
.makkah-stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.makkah-stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/bg-images/top.png") center/cover;
    opacity: 0.05;
    z-index: 1;
}

.makkah-stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-category {
    margin-bottom: 4rem;
}

.category-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(184, 156, 97, 0.1);
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    opacity: 0.8;
    font-weight: 500;
}

/* Responsive adjustments for stat cards */
@media (max-width: 768px) {
<<<<<<< Updated upstream
    .stat-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }

    .stat-card .stat-label {
        font-size: 0.85rem;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .makkah-stats-section {
        padding: 3rem 0;
    }

    .stats-category {
        margin-bottom: 3rem;
    }

    .stat-card .stat-number {
        font-size: 1.6rem;
    }
=======
  .stat-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }

  .stat-card .stat-number {
    font-size: 1.8rem;
  }

  .stat-card .stat-label {
    font-size: 0.85rem;
  }

  .category-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .makkah-stats-section {
    padding: 3rem 0;
  }

  .stats-category {
    margin-bottom: 3rem;
  }

  .stat-card .stat-number {
    font-size: 1.6rem;
  }
>>>>>>> Stashed changes
}

/* Animation for stat cards */
.stat-card {
    animation: fadeIn 0.6s ease-out;
}

.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}
.stat-card:nth-child(3) {
    animation-delay: 0.2s;
}
.stat-card:nth-child(4) {
    animation-delay: 0.3s;
}
.stat-card:nth-child(5) {
    animation-delay: 0.4s;
}
.stat-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
.border-primary {
    border-color: var(--primary-color) !important;
}

.transition {
    transition: var(--transition);
}
.shadow {
    box-shadow: var(--shadow);
}
.shadow-lg {
    box-shadow: var(--shadow-lg);
}
.shadow-xl {
    box-shadow: var(--shadow-xl);
}


/* related resource: bootstrap.css:2732:1 */
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) { /* the element was span.input-group-text */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 5.25px;
    border-bottom-right-radius: 5.25px;
  }
