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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.nav-logo i {
    color: #3b82f6;
    font-size: 1.8rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Phone Carousel */
.phone-carousel {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.carousel-arrow i {
    transition: transform 0.3s ease;
}

.carousel-arrow:hover i {
    transform: scale(1.2);
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    perspective: 1000px;
    position: relative;
}

.phone-screen {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 0;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 8px #333,
        0 0 0 12px #222;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-screen:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(3deg);
}

.app-preview {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    color: #333;
}

.app-header {
    padding: 15px 20px 10px;
    background: #2E7D32;
    color: white;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
    color: white;
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 10px;
    color: white;
}

.app-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.app-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
    color: white;
}

.app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
}

/* Prayer Times Screen specific content */
#screen2 .app-content {
    background: white;
}

.prayer-banner {
    background: #F57C00;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
}

.prayer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prayer-label {
    font-size: 14px;
    opacity: 0.9;
}

.prayer-countdown {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.section-heading h3 {
    font-size: 16px;
    color: #2E7D32;
    margin: 0;
    font-weight: 600;
}

.restaurant-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.restaurant-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.favorite-icon {
    color: #e53935;
    font-size: 16px;
}

.restaurant-details {
    margin-bottom: 15px;
}

.restaurant-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.restaurant-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.restaurant-address i {
    color: #2E7D32;
}

.restaurant-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #F57C00;
}

.restaurant-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigate-btn {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.distance {
    color: #2E7D32;
    font-size: 14px;
    font-weight: 600;
}

.bottom-nav {
    display: flex;
    background: #2E7D32;
    padding: 10px 0;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.nav-item.active {
    color: #FFC107;
}

.nav-item i {
    font-size: 16px;
}

/* Prayer Times Screen Styles */
.current-prayer-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.current-prayer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-prayer-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-prayer-icon i {
    font-size: 1.2rem;
    color: white;
}

.current-prayer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.current-prayer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.current-prayer-countdown {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.prayer-times-list {
    background: white;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.prayer-time-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background: white;
}

.prayer-time-item:last-child {
    border-bottom: none;
}

.prayer-time-item.current {
    background: #fbbf24;
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    z-index: 2;
}

.prayer-time-item.completed {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
}

.prayer-time-item.current .prayer-name,
.prayer-time-item.current .prayer-time {
    color: white;
    font-weight: 600;
}

.prayer-time-item.completed .prayer-name,
.prayer-time-item.completed .prayer-time {
    color: #22c55e;
    font-weight: 600;
}

.prayer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.prayer-name-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prayer-icon {
    font-size: 0.8rem;
    color: #fbbf24;
}

.prayer-time-item.completed .prayer-icon {
    color: #22c55e;
}

.prayer-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.prayer-status i {
    font-size: 0.8rem;
    color: #22c55e;
}

.prayer-time-item.current .prayer-status i {
    color: white;
}

.prayer-time-item .prayer-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prayer-time-item .prayer-time {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.qibla-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.qibla-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qibla-indicator i {
    font-size: 32px;
    animation: rotate 4s linear infinite;
    color: #FFC107;
}

.qibla-indicator span {
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.location-info i {
    color: #4CAF50;
}

/* Mosque Cards Styles */
.mosque-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 15px;
}

.mosque-card.featured {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.mosque-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mosque-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mosque-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.mosque-actions-top {
    display: flex;
    gap: 10px;
}

.favorite-icon {
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.favorite-icon.active {
    color: #ef4444;
}

.favorite-icon:hover {
    color: #ef4444;
}

.mosque-details {
    margin-bottom: 15px;
}

.mosque-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 8px;
}

.stat i {
    color: #10b981;
}

.mosque-services {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.service-tag {
    background: #e0f2fe;
    color: #0284c7;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.mosque-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #666;
    font-size: 0.9rem;
}

.mosque-address i {
    color: #10b981;
}

.prayer-times-preview {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}

.prayer-times-preview h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.prayer-time-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
    font-size: 0.7rem;
}

.prayer-time-item.current {
    background: #10b981;
    border: 2px solid #10b981;
}

.prayer-time-item.current .prayer-name,
.prayer-time-item.current .prayer-time {
    color: white;
}

.prayer-time-item .prayer-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.prayer-time-item .prayer-time {
    display: block;
    color: #666;
    font-size: 0.6rem;
}

.mosque-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.navigate-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.navigate-btn.primary {
    background: #10b981;
}

.navigate-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.view-details-btn {
    background: transparent;
    color: #10b981;
    border: 1px solid #10b981;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #10b981;
    color: white;
}

.distance {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Search and Filter Section */
.search-section {
    margin-bottom: 15px;
}

.search-bar {
    position: relative;
    margin-bottom: 10px;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.9rem;
}

.search-bar input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
}

.search-bar input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #666;
}

.filter-tab.active {
    background: #10b981;
    color: white;
}

.filter-tab:hover {
    background: #10b981;
    color: white;
}

/* Prayer Times Screen specific content (for screen2 and screen3 prayer banners) */
#screen2 .app-content, #screen3 .app-content {
    background: white;
}

.prayer-time-item .prayer-name,
.prayer-time-item .prayer-time {
    color: #333; /* Ensure text is visible */
}

.prayer-times-grid {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.prayer-time-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.prayer-time-item.current {
    background: #2E7D32;
    border: 2px solid #2E7D32;
}

.prayer-time-item.current .prayer-name,
.prayer-time-item.current .prayer-time {
    color: white;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.download-text-section {
    text-align: left;
}

.download-text-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-text-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.download-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.download-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-feature.highlight {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.download-feature.highlight:hover {
    background: rgba(251, 191, 36, 0.2);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
}

.download-feature i {
    font-size: 1.3rem;
    color: #fbbf24;
    min-width: 20px;
}

.download-feature.highlight i {
    color: #fbbf24;
    font-size: 1.4rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-title {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.feature-subtitle {
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.download-buttons-section {
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 280px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.download-icon i {
    font-size: 1.5rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.download-platform {
    font-size: 1.1rem;
    font-weight: 600;
}

.coming-soon {
    font-size: 1rem;
    opacity: 0.8;
    margin: 20px 0;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

.about-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.about-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Privacy Section */
.privacy {
    padding: 80px 0;
    background: #f8fafc;
}

.privacy h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.privacy-content {
    display: flex;
    justify-content: center;
}

.privacy-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

.privacy-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.privacy-card p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.privacy-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.privacy-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.privacy-feature i {
    font-size: 1.5rem;
    color: #10b981;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #3b82f6;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Nearby Mosques Section for Prayer Times Screen */
.nearby-mosques-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    margin: 15px 0;
}

.nearby-mosques-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.nearby-mosques-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nearby-mosque-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
}

.mosque-info h6 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #333;
}

.mosque-distance {
    font-size: 0.7rem;
    color: #666;
}

.view-mosque-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-mosque-btn:hover {
    background: #059669;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    
    /* Content Layouts */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .privacy-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Typography */
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    /* Phone Mockup */
    .phone-carousel {
        margin: 2rem 0;
        position: relative;
    }
    
    .phone-screen {
        width: 260px;
        height: 520px;
        transform: perspective(600px) rotateY(-5deg) rotateX(2deg);
        margin: 0 auto;
    }
    
    .app-preview {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .app-title {
        font-size: 1rem;
    }
    
    .app-subtitle {
        font-size: 0.7rem;
    }
    
    /* Prayer Times */
    .prayer-times-card {
        margin: 10px 0;
    }
    
    .prayer-times-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
        padding: 0;
    }
    
    .prayer-time-item {
        padding: 8px 4px;
        font-size: 0.6rem;
        min-height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .prayer-time-item .prayer-name {
        font-size: 0.6rem;
        font-weight: 600;
        margin-bottom: 3px;
    }
    
    .prayer-time-item .prayer-time {
        font-size: 0.5rem;
        margin-top: 1px;
    }
    
    /* Cards */
    .mosque-card {
        padding: 15px;
        margin-bottom: 12px;
        min-height: 44px;
    }
    
    /* Touch Targets */
    .navigate-btn, .view-details-btn, .favorite-icon {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Carousel Arrows */
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .carousel-prev {
        left: -25px;
    }
    
    .carousel-next {
        right: -25px;
    }
}
    
    .mosque-header h4 {
        font-size: 16px;
    }
    
    .mosque-stats {
        gap: 10px;
    }
    
    .stat {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .service-tag {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .prayer-times-preview {
        padding: 10px;
    }
    
    .prayer-times-preview h5 {
        font-size: 0.8rem;
    }
    
    .nearby-mosques-section {
        padding: 10px;
        margin: 12px 0;
    }
    
    .nearby-mosques-section h5 {
        font-size: 0.8rem;
    }
    
    .nearby-mosque-item {
        padding: 6px 10px;
    }
    
    .mosque-info h6 {
        font-size: 0.7rem;
    }
    
    .mosque-distance {
        font-size: 0.6rem;
    }
    
    .view-mosque-btn {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
    
    .search-bar input {
        padding: 8px 8px 8px 30px;
        font-size: 0.8rem;
    }
    
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-tab {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .navigate-btn, .view-details-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .bottom-nav {
        padding: 8px 0;
    }
    
    .nav-item {
        font-size: 0.6rem;
        padding: 6px 4px;
    }
    
    .nav-item i {
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .download-text-section {
        text-align: center;
    }
    
    .download-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .download-feature {
        padding: 15px;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
    
    .feature-subtitle {
        font-size: 0.75rem;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
    
    .download-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .phone-screen {
        width: 240px;
        height: 480px;
        transform: perspective(500px) rotateY(-3deg) rotateX(1deg);
    }
    
    .app-preview {
        padding: 6px;
    }
    
    .app-title {
        font-size: 0.9rem;
    }
    
    .app-subtitle {
        font-size: 0.6rem;
    }
    
    .prayer-times-card {
        margin: 8px 0;
    }
    
    .prayer-times-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
        padding: 0;
    }
    
    .prayer-time-item {
        padding: 6px 2px;
        font-size: 0.5rem;
        min-height: 40px;
    }
    
    .prayer-time-item .prayer-name {
        font-size: 0.5rem;
        margin-bottom: 2px;
    }
    
    .prayer-time-item .prayer-time {
        font-size: 0.4rem;
        margin-top: 1px;
    }
    
    .current-prayer-banner {
        padding: 10px;
        margin-bottom: 8px;
    }
    
    .current-prayer-icon {
        width: 25px;
        height: 25px;
    }
    
    .current-prayer-name {
        font-size: 0.8rem;
    }
    
    .current-prayer-countdown {
        font-size: 0.6rem;
    }
    
    .prayer-name-section {
        gap: 4px;
    }
    
    .prayer-icon {
        font-size: 0.6rem;
    }
    
    .prayer-status {
        width: 16px;
        height: 16px;
    }
    
    .prayer-status i {
        font-size: 0.6rem;
    }
    
    .mosque-card {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .mosque-header h4 {
        font-size: 14px;
    }
    
    .mosque-stats {
        gap: 8px;
    }
    
    .stat {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
    
    .service-tag {
        font-size: 0.5rem;
        padding: 2px 4px;
    }
    
    .prayer-times-preview {
        padding: 8px;
    }
    
    .prayer-times-preview h5 {
        font-size: 0.7rem;
    }
    
    .nearby-mosques-section {
        padding: 8px;
        margin: 10px 0;
    }
    
    .nearby-mosques-section h5 {
        font-size: 0.7rem;
    }
    
    .nearby-mosque-item {
        padding: 5px 8px;
    }
    
    .mosque-info h6 {
        font-size: 0.6rem;
    }
    
    .mosque-distance {
        font-size: 0.5rem;
    }
    
    .view-mosque-btn {
        padding: 2px 5px;
        font-size: 0.5rem;
    }
    
    .search-bar input {
        padding: 6px 6px 6px 25px;
        font-size: 0.7rem;
    }
    
    .filter-tabs {
        gap: 4px;
    }
    
    .filter-tab {
        padding: 3px 8px;
        font-size: 0.6rem;
    }
    
    .navigate-btn, .view-details-btn {
        padding: 5px 10px;
        font-size: 0.6rem;
    }
    
    .bottom-nav {
        padding: 6px 0;
    }
    
    .nav-item {
        font-size: 0.5rem;
        padding: 4px 2px;
    }
    
    .nav-item i {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .features h2 {
        font-size: 1.8rem;
    }
    
    .download h2 {
        font-size: 1.8rem;
    }
    
    .download-feature {
        padding: 12px;
    }
    
    .feature-title {
        font-size: 0.85rem;
    }
    
    .feature-subtitle {
        font-size: 0.7rem;
    }
    
    .download-feature i {
        font-size: 1.1rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .privacy h2 {
        font-size: 1.8rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .carousel-prev {
        left: -25px;
    }
    
    .carousel-next {
        right: -25px;
    }
    
    .btn, .navigate-btn, .view-details-btn, .view-mosque-btn {
        min-height: 44px; /* Touch target minimum */
    }
    
    .nav-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .favorite-icon {
        min-width: 24px;
        min-height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -20px;
    }
    
    .carousel-next {
        right: -20px;
    }
}

/* Floating Footer */
.floating-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.floating-footer:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.floating-footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.floating-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-footer-left i {
    font-size: 1rem;
    color: #ffffff;
}

.floating-footer-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
}

.floating-footer-company {
    font-weight: 600;
    color: #ffffff;
}

.floating-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-left: 8px;
}

.floating-footer-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: #fbbf24;
}

.floating-footer-link i {
    font-size: 0.7rem;
}

.floating-footer-right {
    display: flex;
    align-items: center;
}

.floating-footer-owner {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Mobile Responsive Floating Footer */
@media (max-width: 768px) {
    .floating-footer {
        bottom: 15px;
        padding: 10px 20px;
        border-radius: 40px;
    }
    
    .floating-footer-content {
        font-size: 0.8rem;
        gap: 12px;
    }
    
    .floating-footer-left {
        gap: 6px;
    }
    
    .floating-footer-divider {
        height: 14px;
        margin: 0 6px;
    }
    
    .floating-footer-owner {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .floating-footer {
        bottom: 10px;
        padding: 8px 16px;
        border-radius: 35px;
    }
    
    .floating-footer-content {
        font-size: 0.75rem;
        gap: 10px;
    }
    
    .floating-footer-left {
        gap: 5px;
    }
    
    .floating-footer-divider {
        height: 12px;
        margin: 0 5px;
    }
    
    .floating-footer-owner {
        padding: 5px 8px;
        font-size: 0.65rem;
    }
}

/* Enhanced Mobile Compatibility */
@media (max-width: 480px) {
    /* Touch-friendly buttons */
    .btn, .download-btn, .navigate-btn, .view-details-btn, .view-mosque-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }
    
    /* Better text readability */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Improved navigation */
    .nav-menu a {
        padding: 15px 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better form elements */
    input, textarea, select {
        font-size: 16px;
        min-height: 44px;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"], input[type="email"], input[type="tel"], textarea {
        font-size: 16px;
    }
} 