/* style.css */


:root {
    --dark: #0b1f23;
    --green: #1f7a63;
    --gold: #d4af37;
    --light: #f2f6f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", sans-serif;
}

body {
    background: #0b1f23;
    color: var(--dark);
    overflow-x: hidden;
}

/* ================= ISLAMIC ABSTRACT BACKGROUND ================= */
.islamic-bg {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 45%),
        radial-gradient(circle at bottom left, rgba(31,122,99,0.25), transparent 50%),
        linear-gradient(180deg, #0b1f23, #0f2a2e);
    position: relative;
}

/* Geometric overlay */
.islamic-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02),
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 14px
        );
    pointer-events: none;
}

/* ================= NAVBAR ================= */
.navbar {
    background: rgba(11,31,35,0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 1.4rem;
}

nav a {
    color: #e9f4f2;
    text-decoration: none;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ================= SECTIONS ================= */
.section {
    padding: 3.5rem 1rem;
    text-align: center;
    color: #eaf3f1;
}

.subtitle {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #cfdedd;
}

/* ================= GLASS CARD ================= */
.glass {
    background: rgba(255,255,255,0.92);
    color: var(--dark);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
}

/* ================= TODAY CARD ================= */
.today-card {
    max-width: 430px;
    margin: 2.5rem auto;
    padding: 1.8rem 1.3rem;
}

.day-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.day-controls button {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
}

.hijri {
    font-size: 0.9rem;
    color: #555;
}

.times {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
}

.times div {
    flex: 1;
}

.times span {
    font-size: 0.8rem;
    color: #777;
}

.times strong {
    display: block;
    font-size: 1.45rem;
    color: var(--gold);
}

.countdown {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.countdown p {
    font-size: 0.85rem;
    color: #666;
}

.countdown h3 {
    font-size: 1.35rem;
    color: var(--green);
}

.today-btn {
    margin-top: 1.4rem;
    padding: 0.7rem 1.8rem;
    background: var(--gold);
    border: none;
    border-radius: 22px;
    font-weight: 600;
    cursor: pointer;
}

/* ================= CALENDAR ================= */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.day {
    background: rgba(255,255,255,0.95);
    color: var(--dark);
    padding: 1rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.day.today {
    border: 2px solid var(--gold);
    background: #fffbe8;
}

/* ================= FOOTER ================= */
.footer {
    background: rgba(11,31,35,0.9);
    color: #dfeeed;
    padding: 1.4rem 1rem;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
}

.footer span {
    color: var(--gold);
    font-weight: 600;
}




/* ================= MOBILE ================= */
@media (max-width: 768px) {

    nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(11,31,35,0.95);
        flex-direction: column;
        display: none;
        text-align: center;
        padding: 1rem 0;
    }

    nav.show {
        display: flex;
    }

    nav a {
        padding: 0.9rem 0;
        font-size: 1.05rem;
    }

    .menu-toggle {
        display: block;
    }

    .times {
        flex-direction: column;
        gap: 1.2rem;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

/* EXTRA SMALL */
@media (max-width: 360px) {
    .today-btn {
        width: 100%;
    }
}


/* 🕋 MOSQUE SILHOUETTE */
.mosque-wrapper {
    width: 100%;
    line-height: 0;
    margin-top: 4rem;
}

.mosque-svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .mosque-svg {
        height: 90px;
    }
}



/* 🌙 CRESCENT MOON */
.crescent-moon {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: -18px 0 0 0 rgba(212,175,55,0.9);
    background: transparent;
    animation: floatMoon 6s ease-in-out infinite;
    opacity: 0.85;
}

@keyframes floatMoon {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Mobile resize */
@media (max-width: 768px) {
    .crescent-moon {
        width: 80px;
        height: 80px;
        top: 70px;
        right: 20px;
        box-shadow: -12px 0 0 0 rgba(212,175,55,0.85);
    }
}



/* ================= SADAQAH BADGE ================= */
.sadaqah-badge {
    position: fixed;
    bottom: 90px;
    right: 16px;
    background: linear-gradient(135deg, #1f7a63, #0b1f23);
    color: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9998;
    animation: pulse 2.5s infinite;
}

/* Soft pulse (not flashy) */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(31,122,99,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(31,122,99,0); }
    100% { box-shadow: 0 0 0 0 rgba(31,122,99,0); }
}

/* ================= DONATION COUNTER ================= */
.donation-counter {
    position: fixed;
    bottom: 20px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    padding: 0.6rem 1rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 9997;
}

.donation-counter span {
    font-size: 0.7rem;
    color: #666;
}

.donation-counter strong {
    display: block;
    font-size: 1.1rem;
    color: #1f7a63;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 480px) {
    .sadaqah-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .donation-counter {
        padding: 0.5rem 0.8rem;
    }
}


.donate-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #000;
}



/* ================= DONATION POPUP (FINAL FIX) ================= */

.donation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.65);
    display: none;

    align-items: center;
    justify-content: center;

    z-index: 999999;
    padding: 1rem;
}

.donation-overlay.show {
    display: flex;
}

.donation-popup {
    background: #ffffff;
    max-width: 380px;
    width: 100%;
    padding: 1.6rem 1.4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}

.donation-popup h2 {
    color: #1f7a63;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.donation-popup p {
    font-size: 0.9rem;
    color: #333;
}

.donation-popup .highlight {
    background: #fffbe8;
    border-left: 4px solid #d4af37;
    padding: 0.6rem;
    margin: 0.8rem 0;
    border-radius: 6px;
}

.donation-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.donate-btn {
    flex: 1;
    background: #d4af37;
    padding: 0.7rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.later-btn {
    flex: 1;
    background: transparent;
    border: 1px solid #ccc;
    padding: 0.7rem;
    border-radius: 25px;
}

/* Prevent background scroll */
body.popup-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 360px) {
    .donation-actions {
        flex-direction: column;
    }
}



/* ================= LOCATION SELECTOR ================= */

.location-selector {
    margin-top: 1rem;
}

.location-selector label {
    display: block;
    font-size: 0.85rem;
    color: #cfdedd;
    margin-bottom: 0.3rem;
}

.location-selector select {
    padding: 0.6rem 1rem;
    border-radius: 25px;
    border: none;
    font-size: 0.95rem;
    background: #ffffff;
    color: #0b1f23;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

.location-selector select:focus {
    box-shadow: 0 0 0 2px #d4af37;
}

/* Mobile */
@media (max-width: 480px) {
    .location-selector select {
        width: 100%;
    }
}


/* ================= DYNAMIC CARD MODES ================= */

.today-card.gold-mode {
    border: 3px solid #d4af37;
}

.today-card.green-mode {
    border: 3px solid #1f7a63;
}

.today-card.complete-mode {
    border: 3px solid #0b1f23;
    background: #f0fff6;
}

/* ================= PROGRESS BAR ================= */

.progress-wrapper {
    margin-top: 1.2rem;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1f7a63, #d4af37);
    transition: width 1s linear;
}

.progress-text {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #555;
}






/* ================= LOGO PREMIUM ANIMATION ================= */

.logo {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Subtle floating animation */
@keyframes logoFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0px); }
}

.logo {
    animation: logoFloat 4s ease-in-out infinite;
}

/* Gold glow effect */
@keyframes logoGlow {
    0% { text-shadow: 0 0 0px rgba(212,175,55,0.4); }
    50% { text-shadow: 0 0 12px rgba(212,175,55,0.8); }
    100% { text-shadow: 0 0 0px rgba(212,175,55,0.4); }
}

.logo {
    animation: logoFloat 4s ease-in-out infinite,
               logoGlow 3s ease-in-out infinite;
}

/* Hover enhancement */
.logo:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(212,175,55,0.9);
    transform: scale(1.05);
}

/* Slight rotate for crescent */
.logo-icon {
    display: inline-block;
    transition: transform 0.4s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-12deg);
}


.install-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 0.7rem 1.2rem;
  background: #1f7a63;
  color: white;
  border: none;
  border-radius: 25px;
  z-index: 9999;
}


.donation-amounts {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #eee;
}

.amount-btn.active {
    background: #0f7a5c;
    color: white;
}




/* ===============================
   ABOUT PAGE PREMIUM DESIGN
================================ */

.about-page {
    padding: 90px 20px;
    min-height: 100vh;
    text-align: center;
}

.about-container {
    max-width: 950px;
    margin: auto;
}

/* Title */
.about-title {
    font-size: 38px;
    margin-bottom: 15px;
    color: var(--gold);
    letter-spacing: 1px;
}

/* Golden divider */
.about-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 10px;
}

/* Glass content card */
.about-card {
    margin-top: 40px;
    padding: 45px 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark);
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
    line-height: 1.9;
    font-size: 16.5px;
    text-align: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-6px);
}

/* Paragraph spacing */
.about-card p {
    margin-bottom: 18px;
}

/* ===============================
   DEVELOPER SECTION
================================ */

.developer-section {
    margin-top: 70px;
}

.developer-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--gold);
}

.developer-card {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.92);
    color: var(--dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}

.developer-card:hover {
    transform: translateY(-6px);
}

/* Company Name */
.developer-card h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--green);
}

.developer-card a {
    text-decoration: none;
    font-weight: 600;
    color: var(--green);
}

.developer-card a:hover {
    color: var(--gold);
}

/* Developer grid */
.developer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.dev-item {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.dev-item:hover {
    background: #fffbe8;
    transform: translateY(-4px);
}

.dev-item h4 {
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--dark);
}

/* ===============================
   FADE ANIMATION (Smoother)
================================ */

.fade-section {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .about-card,
    .developer-card {
        padding: 25px;
        text-align: left;
    }

    .about-title {
        font-size: 28px;
    }

    .developer-section h2 {
        font-size: 22px;
    }
}

/* ===============================
   PREMIUM LINK HOVER EFFECT
================================ */

a {
    transition: all 0.3s ease;
}

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

/* Underline animation */
.company-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.company-link {
    display: inline-block;
    text-decoration: none;
}
.company-link h3 {
    position: relative;
    display: inline-block;
}

.company-link h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.company-link:hover h3::after {
    width: 100%;
}

/* ===============================
   DEVELOPER SECTION WITH IMAGE
================================ */

.developer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dev-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.dev-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
    background: #fffbe8;
}

/* Profile Image */
.dev-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--gold);
    transition: transform 0.4s ease;
}

.dev-item:hover img {
    transform: scale(1.08);
}

/* Name */
.dev-item h4 {
    margin-bottom: 8px;
    font-size: 17px;
    color: var(--dark);
}

/* LinkedIn link */
.dev-item a {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}

.dev-item a:hover {
    color: var(--gold);
}




/* ===============================
   CONTACT PAGE PREMIUM DESIGN
================================ */

.contact-page {
    padding: 90px 20px;
    min-height: 100vh;
    text-align: center;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
}

.contact-title {
    font-size: 38px;
    color: var(--gold);
}

.contact-subtitle {
    margin-top: 10px;
    color: #cfdedd;
    margin-bottom: 50px;
}

/* Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: stretch;
}

/* Glass cards */
.contact-info,
.contact-form-box {
    background: rgba(255,255,255,0.92);
    padding: 40px;
    border-radius: 20px;
    color: var(--dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ===============================
   PREMIUM CONTACT INFO DESIGN
================================ */

.premium-info {
    background: rgba(11,31,35,0.85);
    backdrop-filter: blur(12px);
    padding: 45px 35px;
    border-radius: 22px;
    color: #ffffff;
    box-shadow: 0 25px 45px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}

.info-title {
    font-size: 22px;
    margin-bottom: 35px;
    color: var(--gold);
    text-align: center;
    position: relative;
}

.info-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--gold);
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* Individual Info Card */
.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 15px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateX(6px);
    background: rgba(212,175,55,0.12);
}

/* Icon */
.info-icon {
    font-size: 22px;
    background: linear-gradient(135deg, var(--green), var(--gold));
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Text */
.info-content strong {
    display: block;
    font-size: 14px;
    color: var(--gold);
}

.info-content p {
    font-size: 14px;
    margin-top: 4px;
    color: #dfeeed;
}

/* Form */
.contact-form-box form {
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}

/* Button */
.contact-btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--green), var(--gold));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-box {
        padding: 25px;
    }

    .contact-title {
        font-size: 28px;
    }
}





/* ===============================
   DUA PAGE DESIGN
================================ */

.dua-page {
    padding: 90px 20px;
    min-height: 100vh;
    text-align: center;
}

.dua-container {
    max-width: 1100px;
    margin: auto;
}

.dua-title {
    font-size: 38px;
    color: var(--gold);
}

.dua-subtitle {
    margin-top: 10px;
    margin-bottom: 50px;
    color: #cfdedd;
}

/* Grid Layout */
.dua-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Dua Card */
.dua-card {
    background: rgba(255,255,255,0.92);
    padding: 30px;
    border-radius: 20px;
    color: var(--dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
}

.dua-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.35);
}

/* Title */
.dua-card h3 {
    margin-bottom: 15px;
    color: var(--green);
}

/* Arabic */
.arabic {
    font-size: 22px;
    margin-bottom: 12px;
    direction: rtl;
    font-weight: bold;
    color: #000;
}

/* Translation */
.translation {
    font-size: 14px;
    color: #eb8181;
}

/* Responsive */
@media (max-width: 768px) {
    .dua-title {
        font-size: 28px;
    }
}


.dua-search {
    width: 100%;
    padding: 12px;
    margin: 25px 0;
    border-radius: 25px;
    border: none;
    font-size: 14px;
}

.dua-filters {
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 14px;
    margin: 5px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--gold);
    color: #000;
}

.dua-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.expand-btn,
.copy-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background: var(--green);
    color: white;
}

.arabic.short-text {
    max-height: 40px;
    overflow: hidden;
}

.arabic.expanded {
    max-height: none;
}

/* ===== Quran Section ===== */

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding-top: 120px;
}

.hero-content {
    width: 90%;
    max-width: 900px;
}

.hero-title {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 32px;
}

.search-form {
    display: flex;
    margin-bottom: 20px;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border-radius: 8px 0 0 8px;
    border: none;
}

.search-form button {
    padding: 12px 20px;
    background: #00c853;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
}

.surah-card {
    background: #f5f5f5;
    margin-bottom: 12px;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
}

.surah-card:hover {
    transform: translateY(-3px);
}

.surah-card a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #000;
}

.arabic-text {
    direction: rtl;
    font-size: 22px;
}

.ayah-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.english-text {
    margin-top: 10px;
    color: #444;
}

.tafsir-link {
    display: inline-block;
    margin-top: 8px;
    color: #00c853;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .hero-section {
        padding-top: 100px;
    }

    .surah-card a {
        flex-direction: column;
    }

    .arabic-text {
        text-align: right;
        margin-top: 8px;
    }

}




.dev-logo {
    height: 22px;   /* small size */
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.dev-logo-link:hover .dev-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px #00bcd4);
}