/* GAZ Tours Website - Main Stylesheet */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --light-color: #f3f4f6;
    --dark-color: #1f2937;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    margin-inline-end: 2rem;
}

.navbar-brand img {
    margin: 0;
    max-height: 58px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    text-decoration: underline;
}

.nav-download-item {
    margin-inline-start: 1.75rem;
    display: flex;
    align-items: center;
}

.nav-download-btn {
    white-space: nowrap;
    color: var(--primary-color) !important;
}

.nav-search-item {
    display: flex;
    align-items: center;
    margin-inline-start: 1rem;
}

.nav-search-form {
    display: flex;
    align-items: center;
    height: 38px;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.nav-search-form .form-control {
    width: 170px;
    height: 38px;
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.95rem;
}

.nav-search-form .form-control:focus {
    box-shadow: none;
}

.nav-search-form .btn {
    width: 42px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color) !important;
    background: #fff;
}

.ltr-mode .nav-search-form .btn {
    border-left: 1px solid var(--border-color);
}

.rtl-mode .nav-search-form {
    flex-direction: row;
    direction: rtl;
}

.rtl-mode .nav-search-form .form-control {
    text-align: right;
    direction: rtl;
}

.rtl-mode .nav-search-form .btn {
    border-right: 1px solid var(--border-color);
}

.program-category-nav .btn,
.program-filters .btn {
    white-space: nowrap;
}

.search-result-card {
    display: flex;
    gap: 1rem;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    color: var(--dark-color);
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06);
}

.search-result-card:hover {
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.search-result-card img {
    flex: 0 0 110px;
    width: 110px;
    height: 86px;
    object-fit: cover;
    border-radius: 6px;
    background: #f8fafc;
}

.search-result-card p {
    margin: 0.35rem 0 0;
    color: #6b7280;
}

.flight-hero {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.96), rgba(59, 130, 246, 0.88)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%);
    color: #fff;
}

.flight-hero h1,
.flight-hero .lead {
    color: #fff;
}

.flight-hero h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.25;
    margin: 1rem 0;
}

.flight-service-panel {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 1.5rem;
    color: #fff;
}

.flight-service-panel div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.flight-service-panel div:last-child {
    border-bottom: 0;
}

.flight-service-panel i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
}

.flight-booking-form .content-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    background: #fff;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.05);
}

.flight-booking-form .form-label {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.flight-booking-form .form-control,
.flight-booking-form .form-select {
    min-height: 46px;
    border-radius: 6px;
    border-color: #d8dee8;
}

.flight-booking-form textarea.form-control {
    min-height: 116px;
}

.flight-booking-form .form-check {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 1rem 0.7rem 2.3rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #f8fafc;
}

.rtl-mode .flight-booking-form .form-check {
    padding-right: 2.3rem;
    padding-left: 1rem;
}

.flight-booking-form .input-group-text {
    min-height: 46px;
    font-weight: 700;
    background: #eef2ff;
    color: var(--primary-color);
}

.flight-booking-actions {
    display: flex;
    justify-content: flex-start;
}

.hajj-booking-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.05);
}

.hajj-booking-callout p,
.hajj-booking-form .form-text {
    color: var(--text-light);
}

.rtl-mode .hajj-booking-form .form-select {
    background-position: left 0.75rem center;
    padding-right: 0.75rem;
    padding-left: 2.25rem;
}

.ltr-mode .hajj-booking-form .form-select {
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
    padding-left: 0.75rem;
}

.anti-spam-field {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #fff !important;
    text-shadow: 0 3px 8px rgba(75, 85, 99, 0.9);
}

.home-hero-fallback {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-carousel {
    position: relative;
    height: clamp(360px, 44vw, 560px);
    overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(15, 23, 42, 0.48);
}

.hero-carousel-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-carousel-content h1,
.hero-carousel-content p {
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.hero-carousel-indicators {
    z-index: 4;
    margin-bottom: 1.25rem;
    gap: 0.45rem;
}

.hero-carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

.hero-carousel-indicators .active {
    width: 28px;
    border-radius: 999px;
    background-color: #fff;
}

.latest-news-bar {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
}

.latest-news-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
}

.latest-news-marquee {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

.latest-news-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: latest-news-scroll 32s linear infinite;
    padding-inline: 1.25rem;
}

.latest-news-track:hover {
    animation-play-state: paused;
}

.latest-news-track a,
.latest-news-track span {
    color: var(--dark-color);
    font-weight: 700;
    white-space: nowrap;
}

.latest-news-track a::before,
.latest-news-track span::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning-color);
    margin-inline-end: 0.6rem;
}

@keyframes latest-news-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    border-radius: 10px 10px 0 0;
}

.article-card-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f8fafc;
    padding: 8px;
}

.article-detail-image {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    background: #f8fafc;
    padding: 8px;
}

/* About Page */
.about-hero {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.94), rgba(59, 130, 246, 0.9)),
        url('/assets/images/Logo.png') center right 8% / 360px auto no-repeat;
    color: #fff;
}

.about-hero h1,
.about-hero .lead {
    color: #fff;
}

.about-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.25;
    margin: 1rem 0;
}

.about-eyebrow {
    display: inline-block;
    color: #dbeafe;
    font-weight: 700;
    letter-spacing: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.about-actions .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}

.about-actions .btn-outline-primary:hover {
    color: var(--primary-color);
    background: #fff;
}

.about-highlight {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(6px);
}

.about-highlight strong {
    display: block;
    color: #fff;
    font-size: 4rem;
    line-height: 1;
}

.about-highlight span {
    display: block;
    color: #e0f2fe;
    font-size: 1.15rem;
    margin-top: 0.75rem;
}

.about-intro {
    font-size: 1.15rem;
    color: #4b5563;
}

.about-intro p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-service {
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

.about-service i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-service h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.about-service p {
    color: #4b5563;
    margin: 0;
}

.about-trust {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-stat strong {
    display: block;
    color: var(--primary-color);
    font-size: 2.4rem;
    line-height: 1;
}

.about-stat span {
    display: block;
    color: #4b5563;
    margin-top: 0.5rem;
    font-weight: 700;
}

.about-contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.about-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.about-contact-list i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    width: 22px;
}

.about-contact-list a,
.about-contact-list span {
    color: var(--dark-color);
    font-weight: 600;
}

.about-map {
    min-height: 420px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
}

.about-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-success {
    background-color: var(--success-color);
}

.btn-success:hover {
    background-color: #059669;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    background-color: #059669;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.2rem;
    margin-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

/* Gallery */
.gallery-hero {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.94), rgba(59, 130, 246, 0.84)),
        url('/assets/images/Logo.jpg') center/320px auto no-repeat;
    color: #fff;
}

.gallery-hero h1,
.gallery-hero .lead {
    color: #fff;
}

.gallery-album-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gallery-album-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    color: var(--dark-color);
    font-weight: 700;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.06);
}

.gallery-album-tab small {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary-color);
}

.gallery-album-tab:hover,
.gallery-album-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-album-tab:hover small,
.gallery-album-tab.active small {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.gallery-section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.gallery-section-heading h2 {
    margin-bottom: 0.5rem;
}

.gallery-section-heading p {
    color: #6b7280;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-card {
    position: relative;
    min-height: 260px;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    background: #111827;
    cursor: pointer;
    text-align: inherit;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.05));
}

.gallery-card span {
    position: absolute;
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    color: #fff;
    font-weight: 700;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-modal {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #111827;
}

.gallery-modal img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    background: #111827;
}

.gallery-modal-caption {
    padding: 1rem;
    color: #fff;
    font-weight: 700;
    background: #111827;
}

.gallery-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    background-color: #fff;
    opacity: 1;
}

.empty-state {
    padding: 4rem 1rem;
    text-align: center;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
}

.empty-state i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #ccc;
    margin-top: 5rem;
}

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

footer a {
    color: #fff !important;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
}

.social-links a,
.social-links a.me-2 {
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 8px;
    line-height: 1 !important;
    vertical-align: middle;
    position: static;
    text-align: center;
}

.social-links a i {
    position: static;
    display: block;
    width: auto;
    height: auto;
    font-size: 1.15rem;
    line-height: 1 !important;
    margin: 0 !important;
    transform: none;
}

.social-links a i::before {
    display: block;
    line-height: 1;
}

.social-links a:hover,
.social-links a:focus {
    background-color: #60a5fa !important;
    border-color: #60a5fa !important;
    color: #fff !important;
}

.why-choose-section .text-center,
.why-choose-section h5,
.why-choose-section p {
    text-align: center !important;
}

footer .text-muted,
footer a.text-muted,
footer a.text-muted:visited,
footer a.text-muted:hover,
footer a.text-muted:focus {
    color: #fff !important;
}

.testimonials-marquee-section {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.testimonials-marquee {
    overflow: hidden;
    width: 100%;
}

.testimonials-marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: testimonials-scroll 35s linear infinite;
}

.testimonials-marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-marquee-card {
    width: 320px;
    min-height: 150px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    direction: rtl;
    text-align: right;
}

.testimonial-marquee-card p {
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.testimonial-comment-image,
.testimonial-marquee-image {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.testimonial-comment-image {
    max-height: 260px;
}

.homepage-testimonials-carousel .carousel-inner {
    padding: 0.25rem 0 1.75rem;
}

.testimonial-large-card {
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.testimonial-large-card .card-body {
    display: flex;
    min-height: 250px;
    flex-direction: column;
}

.testimonial-large-card .card-title {
    margin-top: auto;
    margin-bottom: 0;
}

.homepage-testimonials-indicators {
    position: static;
    gap: 0.45rem;
    margin: 0.5rem 0 0;
}

.homepage-testimonials-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--primary-color);
    opacity: 0.35;
}

.homepage-testimonials-indicators .active {
    width: 26px;
    opacity: 1;
}

.testimonial-marquee-image {
    max-height: 180px;
    margin: 0.65rem 0;
}

.testimonial-stars {
    color: var(--warning-color);
}

.program-image-wrap {
    position: relative;
    overflow: hidden;
}

.program-completed img {
    filter: grayscale(100%);
}

.completed-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(17, 24, 39, 0.88);
    color: #fff;
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.program-detail-image .completed-badge {
    font-size: 1.1rem;
}

@keyframes testimonials-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Badges */
.badge {
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.contact-hp-field {
    position: fixed;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.contact-form .form-select {
    min-height: 46px;
}

.contact-page {
    max-width: 100%;
    overflow-x: clip;
}

.contact-page .container,
.contact-page .card,
.contact-page .form-control,
.contact-page .form-select,
.contact-page textarea {
    max-width: 100%;
}

.rtl-mode .contact-page .row {
    margin-left: 0;
    margin-right: 0;
}

.rtl-mode .contact-form .form-select {
    background-position: left 0.75rem center;
    padding-right: 0.75rem;
    padding-left: 2.25rem;
}

.ltr-mode .contact-form .form-select,
body:not(.rtl-mode) .contact-form .form-select {
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
    padding-left: 0.75rem;
}

.contact-info-card .card-body,
.rtl-mode .contact-info-card .card-body {
    text-align: center !important;
}

.contact-info-card i.fa-3x,
.rtl-mode .contact-info-card i.fa-3x {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-card .card-text,
.rtl-mode .contact-info-card .card-text {
    text-align: center !important;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alerts */
.alert {
    border-radius: 5px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background-color: #dbeafe;
    color: #0c2d6b;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

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

    .page-header h1 {
        font-size: 1.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    footer {
        text-align: center;
    }

    footer .list-unstyled li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.55rem;
    }

    footer .list-unstyled li i {
        width: 18px;
        text-align: center;
        flex: 0 0 18px;
    }

    .social-links {
        max-width: 220px;
        margin: 0 auto;
        gap: 0.75rem;
    }

    .social-links a,
    .social-links a.me-2 {
        width: 46px;
        height: 46px;
    }

    .hajj-booking-callout {
        align-items: stretch;
        flex-direction: column;
    }

    .hajj-booking-callout .btn {
        width: 100%;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .nav-download-item {
        margin-inline-start: 0;
        margin-top: 0.75rem;
    }

    .nav-download-btn {
        width: 100%;
    }

    .nav-search-item {
        margin-inline-start: 0;
        margin-top: 0.75rem;
    }

    .nav-search-form {
        width: 100%;
    }

    .nav-search-form .form-control {
        width: 100%;
    }

    .hero-carousel {
        height: 380px;
    }

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

    .latest-news-bar {
        display: block;
    }

    .latest-news-label {
        justify-content: center;
    }

    .latest-news-marquee {
        min-height: 44px;
    }
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.rounded {
    border-radius: 10px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* FAQ links */
#homeFaqAccordion .accordion-body a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#homeFaqAccordion .accordion-body a:hover,
#homeFaqAccordion .accordion-body a:focus {
    color: var(--secondary-color);
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}
