* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: 2px solid rgba(212, 167, 106, 0.5);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFFEF7 0%, #FFFFFF 25%, #FFFEF7 50%, #FFFFFF 75%, #FFFEF7 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #2C3E50;
    overflow-x: hidden;
    position: relative;
    padding-top: 112px; /* Prayer bar (48px) + Header (64px) */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Elegant smooth background overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 155, 155, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(127, 176, 105, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(74, 155, 155, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Subtle elegant pattern overlay */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(74, 155, 155, 0.02) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

/* Prayer Times Bar (Top) */
.prayer-times-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0F4C5C;
    border-bottom: 1px solid rgba(212, 167, 106, 0.3);
    z-index: 1000;
    padding: 0.75rem 0;
}

.prayer-times-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1001;
}

.prayer-times-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.prayer-name-small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prayer-time-small {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
}

.full-timetable-link {
    color: #D4A76A;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #D4A76A;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    display: inline-block;
    cursor: pointer;
}

.full-timetable-link:hover {
    background: #D4A76A;
    color: #0F4C5C;
}

/* Header Styles */
.header {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    background: #0F4C5C;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(212, 167, 106, 0.2);
    z-index: 1001;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #D4A76A;
    background: rgba(212, 167, 106, 0.15);
}

.nav-link.active {
    color: #D4A76A;
    background: rgba(212, 167, 106, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: #D4A76A;
    border-radius: 2px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.2);
}

/* Page Sections */
.page-section {
    display: none;
    min-height: calc(100vh - 80px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.page-section.active {
    display: flex;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    z-index: 1;
    position: relative;
}

#timetable-page .container {
    max-width: 100%;
    padding: 2rem 1rem;
    width: 100%;
}

#timetable-page {
    padding: 2rem 0;
}

/* Timetable Page */
.timetable-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in;
    width: 100%;
    margin: 0;
}

.timetable-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2C3E50;
    text-align: center;
    text-shadow: 0 2px 8px rgba(45, 55, 72, 0.2);
}

.timetable-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(15, 76, 92, 0.05);
    border-radius: 12px;
}

.month-nav-btn {
    background: #0F4C5C;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
}

.month-nav-btn:hover {
    background: #D4A76A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 167, 106, 0.4);
}

.current-month-year {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
}

.timetable-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.timetable-table-container::-webkit-scrollbar {
    height: 8px;
}

.timetable-table-container::-webkit-scrollbar-track {
    background: rgba(74, 155, 155, 0.1);
    border-radius: 4px;
}

.timetable-table-container::-webkit-scrollbar-thumb {
    background: rgba(74, 155, 155, 0.3);
    border-radius: 4px;
}

.timetable-table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 155, 155, 0.5);
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    font-size: 0.9rem;
    table-layout: auto;
}

.timetable-table-container {
    width: 100%;
}

.timetable-table thead {
    background: linear-gradient(135deg, #0F4C5C 0%, #0F4C5C 100%);
    color: #FFFFFF;
}

.timetable-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.table-subheader {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.timetable-table tbody tr {
    border-bottom: 1px solid rgba(74, 155, 155, 0.1);
    transition: background 0.2s ease;
}

.timetable-table tbody tr:hover {
    background: rgba(74, 155, 155, 0.05);
}

.timetable-table tbody tr.today-row {
    background: rgba(212, 167, 106, 0.15);
    font-weight: 600;
}

.timetable-table tbody tr.today-row:hover {
    background: rgba(212, 167, 106, 0.2);
}

.timetable-table td {
    padding: 1rem 0.75rem;
    text-align: center;
    border: 1px solid rgba(74, 155, 155, 0.1);
}

.date-cell {
    background: rgba(15, 76, 92, 0.05);
    font-weight: 600;
    min-width: 80px;
}

.date-number {
    font-size: 1.1rem;
    color: #2C3E50;
}

.date-day {
    font-size: 0.75rem;
    color: #0F4C5C;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.hijri-cell {
    font-size: 0.85rem;
    color: #2C3E50;
    opacity: 0.7;
}

.prayer-time-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.time-begins {
    font-size: 0.85rem;
    color: #2C3E50;
    opacity: 0.8;
}

.time-jamah {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0F4C5C;
}

.sunrise-time-cell {
    font-size: 0.9rem;
    color: #D4A76A;
    font-weight: 500;
}

.no-data {
    color: #999;
    font-style: italic;
}

@media (max-width: 1024px) {
    .timetable-content {
        padding: 2rem 1.5rem;
    }

    .timetable-table {
        font-size: 0.8rem;
    }

    .timetable-table th,
    .timetable-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .timetable-content {
        padding: 1.5rem 1rem;
    }

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

    .timetable-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .current-month-year {
        font-size: 1.5rem;
    }

    .timetable-table {
        font-size: 0.7rem;
    }

    .timetable-table th,
    .timetable-table td {
        padding: 0.5rem 0.25rem;
    }

    .table-subheader {
        font-size: 0.6rem;
    }

    .date-number {
        font-size: 1rem;
    }

    .date-day {
        font-size: 0.65rem;
    }
}

/* About Us Page */
.about-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in;
    max-width: 900px;
    margin: 0 auto;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #2C3E50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
}

.about-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2C3E50;
    opacity: 0.9;
}

.activities-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.activities-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4A9B9B;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.activities-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2C3E50;
    opacity: 0.95;
    font-weight: 600;
}

.activity-item {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #D4A76A;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.activity-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2C3E50;
    opacity: 0.9;
    margin: 0;
}

.activity-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(212, 167, 106, 0.2);
    border: 2px solid #D4A76A;
    border-radius: 50%;
    color: #D4A76A;
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.75rem;
}

.trustees-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.trustees-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4A9B9B;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trustees-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.trustee-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.trustee-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(212, 167, 106, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 155, 155, 0.2);
}

.trustee-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 4px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4A9B9B 0%, #0F4C5C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trustee-item:hover .trustee-image-container {
    border-color: #D4A76A;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 167, 106, 0.3);
}

.trustee-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trustee-info {
    width: 100%;
}

.trustee-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trustee-position {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0F4C5C;
    margin: 0;
    opacity: 0.8;
    text-transform: capitalize;
}

.contact-details-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-details-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4A9B9B;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-details-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    transition: all 0.3s ease;
}

.contact-details-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 167, 106, 0.3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    color: #D4A76A;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-value {
    font-size: 1.1rem;
    color: #2C3E50;
    opacity: 0.95;
    font-weight: 500;
}

.contact-value a {
    color: #D4A76A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.about-mosque-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.about-mosque-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4A9B9B;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-mosque-content {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    transition: all 0.3s ease;
}

.about-mosque-content:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 167, 106, 0.3);
}

.about-mosque-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #2C3E50;
    opacity: 0.9;
    margin: 0;
    text-align: left;
}

/* Contact Us Page */
.contact-page-content {
    max-width: 900px;
    width: 100%;
}

.contact-details-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in;
}

.contact-details-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4A9B9B;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    text-align: center;
}

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

.contact-detail-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-detail-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 167, 106, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-detail-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.contact-detail-value {
    font-size: 1.1rem;
    color: #2C3E50;
    opacity: 0.95;
    font-weight: 500;
}

.contact-detail-value a {
    color: #D4A76A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-detail-value a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #0F4C5C;
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(212, 167, 106, 0.2);
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-section h3 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #FFFFFF;
    font-size: 0.95rem;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #D4A76A;
    opacity: 1;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 167, 106, 0.2);
    text-align: center;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(212, 167, 106, 0.3);
    color: #D4A76A;
    transform: translateY(-3px);
}

.mosque-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.arabic-text {
    font-family: 'Arial', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4A9B9B;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    direction: rtl;
    font-weight: bold;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-in;
}

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

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2C3E50;
    opacity: 0.9;
    animation: fadeIn 1s ease-in 0.3s both;
}

.welcome-message {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in 0.6s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.message {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #2C3E50;
    opacity: 0.9;
    text-align: center;
    margin: 0;
}

.datetime-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(74, 155, 155, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in 0.75s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datetime-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(74, 155, 155, 0.2);
}

.datetime-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.current-datetime {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.datetime-day {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2C3E50;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.datetime-date {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2C3E50;
    opacity: 0.95;
    letter-spacing: 1px;
}

.datetime-time {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2C3E50;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(45, 55, 72, 0.3);
}

.datetime-hijri {
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    text-align: center;
}

.datetime-hijri-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.datetime-hijri-date {
    color: #2C3E50;
    font-weight: bold;
}

.prayer-times {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(74, 155, 155, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in 0.8s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prayer-times:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(74, 155, 155, 0.2);
}

.prayer-times h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2C3E50;
    text-align: center;
    text-shadow: 0 2px 8px rgba(45, 55, 72, 0.2);
}

.prayer-times-subtitle {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.prayer-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    border: 2px solid rgba(74, 155, 155, 0.25);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.prayer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 167, 106, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prayer-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(74, 155, 155, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 155, 155, 0.2);
}

.prayer-item:hover::before {
    opacity: 1;
}

.prayer-item.active {
    background: linear-gradient(135deg, rgba(212, 167, 106, 0.15) 0%, rgba(212, 167, 106, 0.1) 100%);
    border-color: #D4A76A;
    box-shadow: 0 6px 25px rgba(212, 167, 106, 0.3);
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(212, 167, 106, 0.25), rgba(212, 167, 106, 0.15));
    border-color: #D4A76A;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 167, 106, 0.4);
}

.prayer-item.active::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #D4A76A, transparent);
}

.prayer-name {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2C3E50;
}

.prayer-item.active .prayer-name {
    color: #2C3E50;
    font-weight: 700;
}

.prayer-time-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prayer-time-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.prayer-time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
    font-weight: 500;
}

.prayer-time {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2C3E50;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.prayer-time-start .prayer-time {
    color: rgba(45, 55, 72, 0.9);
}

.prayer-time-iqamah .prayer-time {
    color: #2C3E50;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(74, 155, 155, 0.2);
}

.prayer-item.active .prayer-time-iqamah .prayer-time {
    color: #2C3E50;
    text-shadow: 0 0 15px rgba(45, 55, 72, 0.3);
}

.sunrise-display {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.sunrise-display-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(74, 155, 155, 0.2);
}

.sunrise-icon {
    font-size: 1.5rem;
}

.sunrise-label {
    color: #2C3E50;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sunrise-time {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2C3E50;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.loading {
    text-align: center;
    padding: 1rem;
    opacity: 0.8;
}

.upcoming-prayer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(212, 167, 106, 0.5);
    box-shadow: 0 8px 32px rgba(212, 167, 106, 0.25);
    animation: fadeIn 1s ease-in 0.7s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upcoming-prayer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 167, 106, 0.1), transparent);
    transition: left 0.5s ease;
}

.upcoming-prayer:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 167, 106, 0.3);
}

.upcoming-prayer:hover::before {
    left: 100%;
}

.upcoming-prayer h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.upcoming-prayer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upcoming-prayer-name {
    font-size: 2rem;
    font-weight: bold;
    color: #2C3E50;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.upcoming-prayer-time {
    font-size: 1.5rem;
    color: #2C3E50;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.upcoming-prayer-countdown {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.upcoming-countdown-item {
    text-align: center;
    min-width: 80px;
}

.upcoming-countdown-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2C3E50;
    display: block;
}

.upcoming-countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-in 0.9s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    color: #2C3E50;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(74, 155, 155, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in 1.2s both;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4A9B9B;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(74, 155, 155, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #2C3E50;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(74, 155, 155, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4A76A;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(212, 167, 106, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #D4A76A, #E6D5B8);
    color: #2C3E50;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 167, 106, 0.4);
    min-height: 44px;
    touch-action: manipulation;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 167, 106, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: #2C3E50;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-link:hover {
    color: #D4A76A;
    transform: scale(1.2);
    opacity: 1;
}

.notification {
    position: fixed;
    top: 120px;
    right: 20px;
    background: #D4A76A;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: none;
    z-index: 1002;
    animation: slideIn 0.3s ease;
}

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

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }

    .timetable-content {
        padding: 2rem 1.5rem;
    }

    .timetable-table {
        font-size: 0.85rem;
    }

    .timetable-table th,
    .timetable-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Mobile and Tablet (768px) */
@media (max-width: 768px) {
    .prayer-times-bar {
        padding: 0.5rem 0;
    }

    .prayer-times-bar-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .prayer-times-bar-item {
        flex: 1;
        min-width: 50px;
    }

    .prayer-name-small {
        font-size: 0.6rem;
    }

    .prayer-time-small {
        font-size: 0.8rem;
    }

    .full-timetable-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        order: 6;
    }

    body {
        padding-top: 140px;
    }

    .header {
        top: 48px;
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo span:last-child {
        display: none;
    }

    @media (min-width: 481px) {
        .logo span:last-child {
            display: inline;
        }
    }

    .nav-menu {
        position: fixed;
        top: 112px;
        left: 0;
        right: 0;
        background: #0F4C5C;
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.75rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 2px solid rgba(212, 167, 106, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: flex;
        font-size: 1.8rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        position: relative;
        z-index: 1002;
    }

    .hero-slider-section {
        margin-top: -140px;
    }

    .hero-slider-container {
        height: 50vh;
        min-height: 350px;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-icon {
        font-size: 2.5rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        min-width: 44px;
        min-height: 44px;
    }

    .slider-btn-prev {
        left: 0.5rem;
    }

    .slider-btn-next {
        right: 0.5rem;
    }

    .slider-dots {
        bottom: 1rem;
        gap: 0.4rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .arabic-text {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 1rem;
        max-width: 100%;
    }

    .page-section {
        padding: 1rem;
    }

    .welcome-message {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .message {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-content {
        padding: 1.5rem 1rem;
    }

    .about-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .activities-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .activities-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .activities-section h3 {
        font-size: 1.1rem;
    }

    .activity-item {
        padding: 1rem;
    }

    .activity-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .activity-number {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }

    .trustees-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .trustees-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trustees-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trustee-item {
        padding: 1rem;
    }

    .trustee-image-container {
        width: 100px;
        height: 100px;
        margin-bottom: 0.75rem;
    }

    .trustee-name {
        font-size: 0.95rem;
    }

    .trustee-position {
        font-size: 0.8rem;
    }

    .contact-details-section,
    .about-mosque-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .contact-details-section h2,
    .about-mosque-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-details-card,
    .about-mosque-content {
        padding: 1.25rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .contact-icon {
        font-size: 1.2rem;
    }

    .contact-value {
        font-size: 0.95rem;
    }

    .about-mosque-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-logo-text {
        font-size: 0.95rem;
    }

    .countdown {
        gap: 0.75rem;
    }

    .countdown-item {
        padding: 0.875rem 1.25rem;
        min-width: 80px;
    }

    .countdown-number {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-details-header {
        padding: 1.5rem 1rem;
    }

    .contact-details-header h2 {
        font-size: 1.3rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-detail-card {
        padding: 1rem;
    }

    .contact-detail-icon {
        font-size: 1.75rem;
    }

    .contact-detail-value {
        font-size: 0.95rem;
    }

    .datetime-section,
    .prayer-times,
    .upcoming-prayer {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .datetime-section h2,
    .prayer-times h2,
    .upcoming-prayer h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .upcoming-prayer-name {
        font-size: 1.3rem;
    }

    .upcoming-prayer-time {
        font-size: 1.1rem;
    }

    .upcoming-prayer-countdown {
        gap: 1rem;
    }

    .upcoming-countdown-item {
        min-width: 70px;
    }

    .upcoming-countdown-number {
        font-size: 1.3rem;
    }

    .upcoming-countdown-label {
        font-size: 0.7rem;
    }

    .prayer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .prayer-item {
        padding: 1rem 0.75rem;
    }

    .prayer-name {
        font-size: 0.9rem;
    }

    .prayer-time {
        font-size: 1.1rem;
    }

    .prayer-time-iqamah .prayer-time {
        font-size: 1.2rem;
    }

    .prayer-time-label {
        font-size: 0.65rem;
    }

    .sunrise-display {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .sunrise-display-content {
        padding: 0.75rem 1.25rem;
        flex-direction: column;
        gap: 0.4rem;
    }

    .sunrise-time {
        font-size: 1rem;
    }

    .datetime-day {
        font-size: 1.2rem;
    }

    .datetime-date {
        font-size: 1rem;
    }

    .datetime-time {
        font-size: 1.75rem;
    }

    .datetime-hijri {
        font-size: 1rem;
    }

    .datetime-hijri-label {
        font-size: 0.75rem;
    }

    .timetable-content {
        padding: 1.5rem 1rem;
    }

    .timetable-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .timetable-controls {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .month-nav-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
        min-width: 44px;
        min-height: 44px;
    }

    .current-month-year {
        font-size: 1.3rem;
    }

    .timetable-table {
        font-size: 0.7rem;
    }

    .timetable-table th,
    .timetable-table td {
        padding: 0.5rem 0.25rem;
    }

    .table-subheader {
        font-size: 0.55rem;
    }

    .date-number {
        font-size: 0.95rem;
    }

    .date-day {
        font-size: 0.6rem;
    }

    .time-begins {
        font-size: 0.75rem;
    }

    .time-jamah {
        font-size: 0.85rem;
    }

    .sunrise-time-cell {
        font-size: 0.8rem;
    }

    .notification {
        top: 140px;
        right: 10px;
        left: 10px;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .geometric-pattern {
        width: 200px;
        height: 200px;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .prayer-times-bar {
        padding: 0.4rem 0;
    }

    .prayer-times-bar-container {
        padding: 0 0.5rem;
        gap: 0.25rem;
    }

    .prayer-times-bar-item {
        min-width: 45px;
    }

    .prayer-name-small {
        font-size: 0.55rem;
    }

    .prayer-time-small {
        font-size: 0.7rem;
    }

    .full-timetable-link {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }

    body {
        padding-top: 150px;
    }

    .header {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .hero-slider-container {
        height: 45vh;
        min-height: 300px;
    }

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

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

    .hero-description {
        font-size: 0.85rem;
    }

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

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .slider-btn-prev {
        left: 0.25rem;
    }

    .slider-btn-next {
        right: 0.25rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0.75rem;
    }

    .page-section {
        padding: 0.75rem;
    }

    .welcome-message {
        padding: 1.25rem;
    }

    .message {
        font-size: 0.95rem;
    }

    .datetime-section,
    .prayer-times,
    .upcoming-prayer {
        padding: 1rem;
    }

    .datetime-section h2,
    .prayer-times h2,
    .upcoming-prayer h2 {
        font-size: 1.1rem;
    }

    .datetime-day {
        font-size: 1.1rem;
    }

    .datetime-date {
        font-size: 0.95rem;
    }

    .datetime-time {
        font-size: 1.5rem;
    }

    .prayer-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .prayer-item {
        padding: 1rem;
    }

    .upcoming-prayer-name {
        font-size: 1.1rem;
    }

    .upcoming-prayer-time {
        font-size: 1rem;
    }

    .upcoming-prayer-countdown {
        gap: 0.75rem;
    }

    .upcoming-countdown-item {
        min-width: 60px;
    }

    .upcoming-countdown-number {
        font-size: 1.1rem;
    }

    .upcoming-countdown-label {
        font-size: 0.65rem;
    }

    .timetable-content {
        padding: 1rem 0.75rem;
    }

    .timetable-content h1 {
        font-size: 1.5rem;
    }

    .timetable-table {
        font-size: 0.65rem;
    }

    .timetable-table th,
    .timetable-table td {
        padding: 0.4rem 0.2rem;
    }

    .table-subheader {
        font-size: 0.5rem;
    }

    .month-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .current-month-year {
        font-size: 1.1rem;
    }

    .about-content {
        padding: 1.25rem 0.75rem;
    }

    .about-content h1 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-form h2 {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .footer {
        padding: 1.25rem 0.75rem;
    }

    .geometric-pattern {
        width: 150px;
        height: 150px;
    }
}

/* Elegant decorative elements */
.geometric-pattern {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.15;
    pointer-events: none;
    filter: blur(1px);
}

.pattern-1 {
    top: 5%;
    left: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    border-radius: 50%;
}

.pattern-2 {
    bottom: 5%;
    right: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 80px 80px;
    border-radius: 50%;
}

/* Hero Slider Styles */
.hero-slider-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-top: -112px; /* Offset header */
    animation: fadeIn 1s ease-in 0.5s both;
    position: relative;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    background: #000;
    padding: 0;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 70vh;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 76, 92, 0.7) 0%, rgba(15, 76, 92, 0.5) 50%, rgba(15, 76, 92, 0.7) 100%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 800px;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 2rem;
    color: #D4A76A;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
    position: relative;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-slide {
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: brightness(0.9);
    transition: transform 0.5s ease;
}

.slider-slide.active img {
    filter: brightness(1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.slider-btn:hover {
    background: rgba(212, 167, 106, 0.9);
    border-color: #D4A76A;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.slider-btn-prev {
    left: 2rem;
}

.slider-btn-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(74, 155, 155, 0.3);
    border: 2px solid rgba(74, 155, 155, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #D4A76A;
    border-color: #D4A76A;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(212, 167, 106, 0.6);
    border-color: #D4A76A;
}

