/* ============================================
   صابری دربار کلس شریف - Main Stylesheet
   Traditional Islamic Design with Sabri Colors
   ============================================ */

/* Color Scheme - Sabri Colors (Orangish Brown) */
:root {
    --primary-color: #B8860B;
    --primary-dark: #8B6914;
    --primary-light: #D4AF37;
    --secondary-color: #CD853F;
    --accent-color: #D2691E;
    --text-dark: #2C1810;
    --text-light: #5C4033;
    --bg-light: #F5E6D3;
    --bg-cream: #FFF8DC;
    --white: #FFFFFF;
    --gold: #FFD700;
    --pattern-color: rgba(184, 134, 11, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Jameel Noori Nastaleeq Custom Font */
@font-face {
    font-family: "Jameel Noori Nastaleeq";
    src: url("/fonts/JameelNooriNastaleeqKasheeda.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Apply Jameel Noori as main font with fallbacks */
body {
    font-family: 'Jameel Noori Nastaleeq';
    direction: rtl;
    text-align: right;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.8;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jameel Noori Nastaleeq';
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.5em;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0;
    line-height: 2;
}

.urdu-text {
    font-family: 'Jameel Noori Nastaleeq';
    font-size: 1.1em;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    direction: rtl;
    padding: 10px 20px;
}

.logo {
    position: relative;
    right: 0;
    z-index: 2002;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Menu styling */
.nav-menu {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu > li {
    position: relative;
    list-style: none;
}

/* Icons + text spacing */
.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 18px;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

/* SVG icon styling */
.nav-menu li a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Dropdown arrow spacing */
.dropdown-arrow {
    width: 12px !important;
    height: 12px !important;
    margin-left: 4px;
}

/* Dropdown positioning */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--accent-color);
}

/* Mobile Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 2002;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Toggle Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(44, 24, 16, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
    margin-top: 80px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        var(--pattern-color) 10px,
        var(--pattern-color) 20px
    );
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5em;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 2rem;
    color: var(--bg-light);
}

.hero-verse {
    background: rgba(184, 134, 11, 0.2);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--primary-light);
    margin-top: 2rem;
}

/* Image Container */
.image-container {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: white;
}

.image-container img {
    height: 100vh;
    width: auto;
    object-fit: cover;
}

.full-image-bg {
    width: 100%;
    height: 100vh;
    padding-top: 80px;
    background-image: url('images/home-darbar-image.jpeg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
}

/* Darbar Box */
.darbar-box {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--bg-cream), var(--bg-light));
}

.darbar-box h1 {
    font-family: "Jameel Noori Nastaleeq", serif;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
}

.darbar-box .ayat {
    font-family: 'Amiri', serif;
    font-size: 1.7rem;
    line-height: 2.6;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.darbar-box .tazkira {
    font-family: "Jameel Noori Nastaleeq", serif;
    font-size: 1.6rem;
    line-height: 2.6;
    color: var(--text-dark);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.gallery-item img {
    cursor: zoom-in;
}

/* Aqwaal e Zareen Section */
.aqwaal-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.aqwaal-container {
    max-width: 900px;
    margin: 0 auto;
}

.aqwaal-slider-wrapper {
    position: relative;
    padding: 2rem;
}

.aqwaal-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.aqwaal-card {
    min-width: 100%;
    display: none;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--accent-color);
}

.aqwaal-card.active {
    display: block;
    animation: fadeInSlide 0.6s ease-in-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-icon {
    font-size: 4em;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 0;
    margin-bottom: 1rem;
}

.aqwaal-text {
    font-size: 1.5em;
    line-height: 2.2;
    color: var(--primary-dark);
    font-weight: 500;
    margin: 2rem 0;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-decoration {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem auto 0;
}

/* Aqwaal Navigation Buttons */
.aqwaal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.aqwaal-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.aqwaal-prev {
    right: -25px;
}

.aqwaal-next {
    left: -25px;
}

/* Aqwaal Dots Navigation */
.aqwaal-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.aqwaal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.aqwaal-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.aqwaal-dot:hover {
    background: var(--accent-color);
}

/* Section Styles */
.section {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Welcome Section */
.welcome-section {
    background: var(--white);
}

.intro-text {
    font-size: 1.2em;
    line-height: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Announcements */
.announcement {
    overflow: hidden;
    background: linear-gradient(135deg, #8b5e1a 0%, #c4941f 25%, #CD853F 50%, #D2691E 75%, #8b5e1a 100%);
    color: #fff;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    animation: scroll-rtl 20s linear infinite;
}

.marquee-text {
    font-size: 1.5em;
    font-weight: 400;
    display: inline-block;
    padding-left: 2em;
}

@keyframes scroll-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.announcements-section {
    background: var(--bg-light);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.announcement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

.announcement-icon {
    font-size: 3em;
    margin-bottom: 1rem;
}

.announcement-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.announcement-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-color);
}

/* Leaders Section */
.leaders-section {
    background: var(--white);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leader-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.leader-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.leader-dates {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.4);
}

/* Quick Links Section */
.quick-links-section {
    background: var(--bg-light);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

.link-icon {
    font-size: 3em;
    margin-bottom: 1rem;
}

.link-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--text-light);
}

/* Contact Info Section */
.contact-info-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--bg-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--bg-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--bg-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #d4af37;
}

.footer-links li::after {
    content: "|";
    margin: 0 10px;
    color: #555;
}

.footer-links li:last-child::after {
    content: "";
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--bg-light);
}

/* Content Pages Styles */
.content-page {
    padding: 2rem 0;
    background: var(--white);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--primary-dark);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: none;
    padding-right: 2rem;
}

.content-section ul li {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 0.5rem;
    position: relative;
}

.content-section ul li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: -1.5rem;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    font-size: 1.5em;
}

.scroll-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Floating Action Button (FAB) for Social Media */
.fab-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.fab-main.active {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-20px) scale(0);
    position: relative;
}

.fab-menu.active .fab-item {
    transform: translateX(0) scale(1);
}

.fab-menu.active .fab-item:nth-child(1) {
    transition-delay: 0.1s;
}

.fab-menu.active .fab-item:nth-child(2) {
    transition-delay: 0.15s;
}

.fab-menu.active .fab-item:nth-child(3) {
    transition-delay: 0.2s;
}

.fab-menu.active .fab-item:nth-child(4) {
    transition-delay: 0.25s;
}

.fab-item:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.fab-item.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.fab-item.facebook {
    background: #1877F2;
    color: white;
}

.fab-item.tiktok {
    background: #000000;
    color: white;
}

.fab-item.phone {
    background: white;
    color: #0a8f3d;
}

.fab-item.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.fab-item.youtube {
    background: #FF0000;
    color: white;
}

.fab-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Tooltip for FAB items */
.fab-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fab-item::before {
    content: '';
    position: absolute;
    left: 55px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--text-dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fab-item:hover::after,
.fab-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Posters Slider Section */
.posters-slider-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.posters-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.posters-slider {
    display: flex;
    direction: ltr;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.posters-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 20px;
}

.posters-slide img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.posters-slide img:hover {
    transform: scale(1.02);
}

/* Slider Navigation Buttons */
.slider-btn, .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover, .slider-nav:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active, .slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn, .slider-nav.prev {
    left: 20px;
}

.next-btn, .slider-nav.next {
    right: 20px;
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-nav:disabled:hover {
    transform: translateY(-50%);
    background: var(--primary-color);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 40px;
    border-radius: 6px;
}

/* Islamic Pattern Background */
.islamic-pattern {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, var(--pattern-color) 10px, var(--pattern-color) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, var(--pattern-color) 10px, var(--pattern-color) 20px);
    opacity: 0.1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        z-index: 2000;
    }

    .menu-toggle {
        display: flex;
        z-index: 2002;
    }

    .logo {
        z-index: 2002;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        gap: 0;
        z-index: 2001;
    }

    .nav-menu.active {
        max-height: calc(100vh - 80px);
        opacity: 1;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        width: 100%;
        padding: 15px 20px;
        justify-content: flex-start;
        font-size: 18px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        padding-right: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown > a {
        position: relative;
    }

    .dropdown > a::after {
        content: '▼';
        position: absolute;
        left: 20px;
        font-size: 12px;
        transition: transform 0.3s;
    }

    .dropdown.active > a::after {
        transform: rotate(180deg);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        margin-top: 80px;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2em;
    }

    .darbar-box h1 {
        font-size: 2.5rem;
    }

    .darbar-box .ayat {
        font-size: 1.3rem;
    }

    .darbar-box .tazkira {
        font-size: 1.4rem;
    }

    .aqwaal-card {
        padding: 2rem 1.5rem;
    }

    .aqwaal-text {
        font-size: 1.2em;
        min-height: 180px;
    }

    .quote-icon {
        font-size: 3em;
    }

    .aqwaal-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    .aqwaal-prev {
        right: -15px;
    }

    .aqwaal-next {
        left: -15px;
    }

    .announcements-grid,
    .leaders-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .posters-slide img {
        height: 400px;
    }

    .slider-btn, .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .prev-btn, .slider-nav.prev {
        left: 10px;
    }

    .next-btn, .slider-nav.next {
        right: 10px;
    }

    .fab-container {
        bottom: 20px;
        left: 20px;
    }

    .fab-main {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .fab-item {
        width: 45px;
        height: 45px;
    }

    .fab-item img,
    .fab-item svg {
        width: 22px;
        height: 22px;
    }

    .fab-item::after,
    .fab-item::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .posters-slide img {
        height: 300px;
    }

    .slider-btn, .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}