/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

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

body {
    font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',  sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    background-image: url('../images/background-1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.header-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    order: -1;
    background: linear-gradient(135deg, #34d399, #059669);
    padding: 15px;
    padding-left: 40px;
    height: 70px;
    z-index: 10;
}

img.header-logo {
    max-width: 200px;
    height: auto;
    padding: 16px 0;
    margin: 0;
}

.header-title-container {
    text-align: center;
    display: none;
    flex-direction: column;
    position: relative;
    z-index: 10;
    align-items: center;
    order: 0;
    padding-top: 15px;
    min-height: 200px;
    justify-content: center;
}

.header-menu-container {
    position: absolute;
    left: 40px;
    top: 35px;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    order: 1;
    z-index: 10;
}

/* Header Image Slider */
.header-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Make header-content relative to contain slider */
.header-content {
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#mosque-header-slider .slide img {
    cursor: zoom-in;
}

.mosque-detail-grid .mosque-media-gallery,
.mosque-detail-grid .mosque-facilities {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(0, 0, 0, 1);
    transform: scale(1.1);
}

.dot.active {
    background: rgba(0, 0, 0, 1);
    border-color: rgba(255, 255, 255, 1);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*   background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%  
    );*/
    z-index: 2;
    pointer-events: none;
}



/* Remove any background from title container when slider is present */
.header-title-container {
    background: transparent !important;
}

/* Responsive slider adjustments */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 15px;
        gap: 6px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }
    
    .header-image-slider {
        border-radius: 8px;
    }
}

/* Profile Icon Container */
.header-profile-container {
    position: absolute;
    right: 40px;
    top: 32px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    order: 2;
    z-index: 10;
}

.profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 68px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.profile-link-label {
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 500;
    opacity: 0.95;
    white-space: nowrap;
}

.profile-link:hover .profile-link-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-link:hover {
    color: #fbbf24;
}

.profile-link-icon i {
    font-size: 1.2rem;
}

/* Ramadan Guide Styles */
.guide-intro {
    margin-bottom: 3rem;
}

.intro-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro-card i {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.intro-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
}

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

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

.guide-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.guide-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.guide-card h4 i {
    font-size: 1.1rem;
    color: #059669;
    width: 20px;
    text-align: center;
}

.guide-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.guide-card p:last-child {
    margin-bottom: 0;
}

.guide-card strong {
    color: #2d3748;
    font-weight: 600;
}

/* Quick Links Section */
.quick-links {
    margin-bottom: 4rem;
}

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

.link-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
    text-decoration: none;
    color: inherit;
}

.link-card i {
    font-size: 2rem;
    color: #059669;
    margin-bottom: 1rem;
    display: block;
}

.link-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}


/* Islamic Etiquette Styles */
.etiquette-section {
    margin-bottom: 3rem;
}

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

.etiquette-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #059669;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etiquette-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.etiquette-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.etiquette-card h4 i {
    font-size: 1.2rem;
    color: #059669;
    width: 24px;
    text-align: center;
}

.etiquette-content {
    color: #4a5568;
    line-height: 1.6;
}

.etiquette-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.etiquette-content strong {
    color: #059669;
    font-weight: 600;
}

.etiquette-content ul {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.etiquette-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.etiquette-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.etiquette-verse,
.etiquette-hadith {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #059669;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.etiquette-verse i,
.etiquette-hadith i {
    position: absolute;
    top: -12px;
    left: 1rem;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    color: #059669;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.etiquette-verse p,
.etiquette-hadith p {
    margin: 0;
    font-style: italic;
    color: #047857;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

/* Quick Reference Section */
.quick-reference {
    margin-bottom: 4rem;
}

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

.reference-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.reference-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.reference-card h4 i {
    font-size: 1.1rem;
    color: #059669;
    width: 20px;
    text-align: center;
}

.reference-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.reference-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Responsive Etiquette */
@media (max-width: 768px) {
    .etiquette-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .etiquette-card {
        padding: 1.5rem;
    }
    
    .etiquette-card h4 {
        font-size: 1.2rem;
    }
    
    .reference-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reference-card {
        padding: 1.5rem;
    }
    
    .reference-card h4 {
        font-size: 1.1rem;
    }
}

.mosque-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.2;
}

.header-title-container h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a202c;
    margin: 0;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0.5rem 0 0 0;
    font-weight: 400;
    text-align: center;
}

/* Main Content */
.main {
    padding: 3rem 35px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #079768;
}

.green {
    color: #079768;
}

.section-header i {
    font-size: 1.8rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 300;
}

/* Prayer Times Section */
.prayer-times {
    margin-bottom: 4rem;
}

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

.prayer-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prayer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #0891b2);
}

.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.prayer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prayer-header i {
    font-size: 1.5rem;
    color: #059669;
}

.prayer-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.prayer-time {
    text-align: center;
}

.time {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

.fixed-time {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

.time-label {
    color: #718096;
    font-size: 0.9rem;
}

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

.info-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.info-card i {
    font-size: 2rem;
    color: #fbbf24;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Locations Section */
.locations {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.location-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #059669;
}

.location-header i {
    font-size: 2rem;
    color: #059669;
}

.location-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.location-details address {
    margin-bottom: 1.5rem;
    font-style: normal;
}

.location-details address p {
    margin: 0.25rem 0;
    color: #4a5568;
}

.transport-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.transport-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.transport-method i {
    font-size: 1.2rem;
    color: #059669;
    margin-top: 0.25rem;
    min-width: 20px;
}

.transport-method p {
    margin: 0.25rem 0;
    color: #4a5568;
}

.parking-info {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 8px;
}

.welcome-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 8px;
}

.welcome-info p {
    margin: 0.25rem 0;
    color: #2d3748;
}

.website-info {
    margin-top: 1rem;
    text-align: center;
}

.website-info a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.website-info a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
    background: #f7fafc;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%);
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.map-placeholder:hover {
    opacity: 0.9;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.map-placeholder small {
    opacity: 0.8;
}

.map-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.map-fallback i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-fallback p {
    margin: 0.5rem 0;
}

.map-fallback a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.map-fallback a:hover {
    text-decoration: underline;
}

.map-fallback small {
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Today's Prayer Times */
.today-prayers-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.1);
}

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

.prayer-time-item {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(5, 150, 105, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prayer-time-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.prayer-name {
    font-size: 14px;
    font-weight: 600;
    color: #047857;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prayer-time-display {
    font-size: 0.9rem;
    font-weight: 700;
    color: #059669;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
}

/* Timetable Section */
.timetable-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.timetable-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timetable-header i {
    font-size: 1.5rem;
    color: #059669;
}

.timetable-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.timetable-image {
    text-align: center;
}

.timetable-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timetable-download {
    text-align: center;
    margin-top: 1.5rem;
}

.download-btn {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    touch-action: manipulation;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    background: linear-gradient(135deg, #047857, #065f46);
}

.download-btn i {
    font-size: 1.1rem;
}

.directions-button {
    text-align: center;
    margin-top: 1rem;
}

.directions-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 15px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    touch-action: manipulation;
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.directions-btn i {
    font-size: 1.1rem;
}

/* Contact Icon */
.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* WhatsApp Card with QR Code */
.whatsapp-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.whatsapp-content i {
    font-size: 2rem;
    color: #25D366;
}

.qr-code {
    margin-left: 1rem;
}

.qr-code img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-code img:hover {
    transform: scale(1.1);
}

/* Location Section (Legacy - keeping for compatibility) */
.location {
    margin-bottom: 4rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.venue-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.venue-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.venue-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.venue-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.venue-card address {
    color: #4a5568;
    font-style: normal;
}

.venue-card address p {
    margin-bottom: 0.25rem;
}

.facilities {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facilities h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.facilities ul {
    list-style: none;
}

.facilities li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.facilities i {
    color: #10b981;
    font-size: 0.9rem;
}

.map-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    cursor: pointer;
    transition: background 0.3s ease;
}

.map-placeholder:hover {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.map-placeholder i {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    color: #718096;
}

/* Contact Section */
.contact {
    margin-bottom: 4rem;
}

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

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.contact-card i {
    font-size: 1.5rem;
    color: #059669;
    min-width: 24px;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Announcements Section */
.announcements {
    margin-bottom: 4rem;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #059669;
}

.announcement-date {
    background: #f0fdf4;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
    font-size: 0.9rem;
}

.announcement-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.announcement-content p {
    color: #4a5568;
    font-size: 0.95rem;
}

/* Donation CTA Section */
.donation-cta {
    background: linear-gradient(135deg, #059669 0%, #0891b2 50%, #0d9488 100%);
    padding: 4rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.donation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.donation-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.donation-header i {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    display: block;
}

.donation-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.donation-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

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

.donation-feature {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.donation-feature i {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    display: block;
}

.donation-feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.donation-feature p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.donation-actions {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

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

.donation-amount {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.donation-amount:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.donation-amount.active {
    background: rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
}

.donate-btn-main {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.donate-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #f59e0b, #f59e0b);
}

.donate-btn-main i {
    font-size: 1.3rem;
}

.donation-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-style: italic;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.1rem 35px;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4a5568;
}

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

.footer-links a {
    color: #059669;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0891b2;
}

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

    .header-content {
        gap: 0.75rem;
    }
    
    .header-logo-container {
        order: -1;
        padding-left: 15px;
    }
    
    .header-menu-container {
        position: absolute;
        left: 30px;
        transform: translateY(-50%);
        display: none;
    }
    
    .header-profile-container {
        position: absolute;
        right: 15px;
        transform: translateY(-50%);
        gap: 0.5rem;
    }
    
    .profile-link-icon {
        width: 35px;
        height: 35px;
    }
    
    .profile-link-icon i {
        font-size: 1rem;
    }

    .profile-link {
        min-width: 52px;
        gap: 0.2rem;
    }

    .profile-link-label {
        font-size: 0.7rem;
        max-width: 52px;
        white-space: normal;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }

    .hamburger-menu {
        width: 25px;
        height: 20px;
    }

    .today-prayers-section {
        padding: 3rem 1rem;
        margin-top: 3rem;
    }
    
    .donation-header h2 {
        font-size: 2rem;
    }
    
    .donation-subtitle {
        font-size: 1rem;
    }
    
    .donation-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .donation-feature {
        padding: 1.5rem;
    }
    
    .donation-feature i {
        font-size: 2rem;
    }
    
    .donation-feature h4 {
        font-size: 1.1rem;
    }
    
    .donation-amounts {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .donation-amount {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .donate-btn-main {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .directions-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .mosque-info h1 {
        font-size: 2rem;
    }
    
    .mosque-info i {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .times-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .time {
        font-size: 2rem;
    }
    
    .fixed-time {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .announcement-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .announcement-date {
        align-self: flex-start;
    }
    
    .whatsapp-header-section {
        margin-top: 0.75rem;
    }
    
    .whatsapp-qr-container {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .whatsapp-qr-header {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {    
    .datetime-display {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .datetime-item {
        min-height: auto;
        padding: 0.75rem 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .locations {
        padding: 2rem 1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-card {
        padding: 1.5rem;
    }

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

    .datetime-section .datetime-item.prayer-countdown-item .next-prayer-label {
        font-size: 0.7rem;
    }

    .datetime-section .datetime-item.prayer-countdown-item .countdown-timer {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    
    .header-content {
        gap: 0.5rem;
    }
    
    .header-title-container h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    img.header-logo {
        max-width: 180px;
    }
    
    .hamburger-menu {
        display: none;
    }
    
    .main {
        padding: 2rem;
    }
    
    .prayer-card,
    .venue-card,
    .facilities {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .time {
        font-size: 1.8rem;
    }
    
    .fixed-time {
        font-size: 1.8rem;
    }
    
    .download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        max-width: 250px;
    }
    
    .directions-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        max-width: 250px;
    }

    .prayers-grid {
        gap: 0.65rem;
    }
}

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

.prayer-card,
.venue-card,
.facilities,
.contact-card,
.announcement-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .header,
    .footer {
        background: white;
        box-shadow: none;
    }
    
    .prayer-card,
    .venue-card,
    .facilities {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}

/* Combined Isha & Taraweh Prayer Card */
.combined-isha-taraweh {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.combined-isha-taraweh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #0891b2);
}

.combined-isha-taraweh:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.combined-prayer-times {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.combined-prayer-times .prayer-time-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.combined-prayer-times .prayer-time-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.combined-prayer-times .prayer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #047857;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.combined-prayer-times .prayer-time-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: #059669;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.combined-prayer-times .time-label {
    color: #718096;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Responsive Design for Combined Prayer Card */
@media (max-width: 768px) {
    .combined-prayer-times {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .combined-prayer-times .prayer-time-display {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .combined-prayer-times .prayer-time-display {
        font-size: 1.3rem;
    }
}
.whatsapp-header-section {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.whatsapp-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
}

.whatsapp-qr-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-qr-container:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    border-color: #128C7E;
}

.whatsapp-qr-header {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whatsapp-qr-container:hover .whatsapp-qr-header {
    transform: scale(1.05);
}

.whatsapp-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    font-weight: 600;
    font-size: 0.95rem;
}

.whatsapp-text i {
    font-size: 1.2rem;
}

.user-menu {
    text-align: center;
}

.user-name {
    margin-bottom: 10px;
}

.logout-link {
    border: 2px solid;
    padding: 10px 15px;
    background: #059669;
    border-radius: 8px;
    color: #fbbf24;
}

/* Responsive Maps Fix */
@media (max-width: 768px) {
    .map-container {
        height: 280px;
    }
    
    .map-container iframe {
        height: 280px !important;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .map-container {
        width: 100%;
        max-width: 450px;
        overflow: hidden;
        border-radius: 8px;
        height: 250px;
        margin: 0 auto;
    }
    
    .map-container iframe {
        height: 250px !important;
        min-height: 200px;
        width: 100%;
        max-width: 100%;
    }
    
    .location-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 400px) {
	
	img.header-logo {
    max-width: 170px;
	}
	
    .map-container {
        height: 220px;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .map-container iframe {
        height: 220px !important;
        min-height: 180px;
    }
}

@media (max-width: 380px) {
	img.header-logo {
    max-width: 150px;
	}

    .main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 340px) {
	img.header-logo {
    max-width: 120px;
	}

    .map-container {
        height: 200px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .map-container iframe {
        height: 200px !important;
        min-height: 160px;
    }
}
