        :root {
            --primary: #0b3d2e;
            --primary-light: #17a589;
            --accent: #22d1b5;
            --light: #f7faf8;
            --dark: #11322a;
            --text: #333;
            --text-light: #5c746c;
            --card-bg: #ffffff;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
            --maxw: 1200px;
        }

        .dark-mode {
            --primary: #17a589;
            --primary-light: #22d1b5;
            --light: #0e1512;
            --dark: #e8f3ee;
            --text: #e8f3ee;
            --text-light: #9cb3ab;
            --card-bg: #121c18;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--light);
            color: var(--text);
            line-height: 1.6;
            transition: var(--transition);
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2317a589' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
        }

        .arabic {
            font-family: 'Noto Naskh Arabic', serif;
            font-weight: 500;
        }

        .container {
            width: 100%;
            max-width: var(--maxw);
            margin: 0 auto;
            padding: 0 20px;
        }

        section {
            padding: 80px 0;
            position: relative;
        }

        header {
            background-color: var(--card-bg);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 15px 0;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }

        .nav-links {
            display: flex;
            gap: 20px;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 8px;
            transition: var(--transition);
        }

        .nav-links a:hover {
            background-color: rgba(11, 61, 46, 0.1);
            color: var(--primary);
        }

        .theme-toggle {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: var(--text);
            cursor: pointer;
            margin-left: 15px;
        }

        .hero {
            background: linear-gradient(135deg, rgba(11, 61, 46, 0.1) 0%, rgba(23, 165, 137, 0.1) 100%);
            padding: 80px 0 60px;
            border-bottom: 1px solid rgba(11, 61, 46, 0.1);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(34, 209, 181, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -150px;
            left: -100px;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(11, 61, 46, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
            position: relative;
            z-index: 1;
        }

        .hero-text {
            flex: 1;
        }

        .kicker {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--primary);
            font-weight: 700;
            background: rgba(11, 61, 46, 0.1);
            padding: 8px 16px;
            border-radius: 50px;
            margin-bottom: 20px;
        }

        .hero-title {
            font-size: clamp(32px, 5.5vw, 54px);
            line-height: 1.15;
            margin: 14px 0 16px;
            font-weight: 800;
            color: var(--dark);
        }

        .featured-text {
            color: var(--primary);
            position: relative;
        }

        .featured-text::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 2px;
        }

        .hero-subtitle {
            color: var(--text-light);
            font-size: clamp(16px, 2.2vw, 19px);
            margin-bottom: 30px;
            max-width: 600px;
            line-height: 1.6;
        }

        .quote {
            font-style: italic;
            padding: 15px;
            border-left: 4px solid var(--primary);
            background: rgba(11, 61, 46, 0.05);
            border-radius: 0 8px 8px 0;
            margin-bottom: 30px;
            line-height: 1.8;
        }

        .cta-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 24px;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: 0 6px 15px rgba(11, 61, 46, 0.3);
        }

        .btn-primary:hover {
            background: #0a3428;
            transform: translateY(-3px);
        }

        .btn-secondary {
            background: var(--primary-light);
            color: #08201a;
            box-shadow: 0 6px 15px rgba(23, 165, 137, 0.3);
        }

        .btn-secondary:hover {
            background: #15b498;
            transform: translateY(-3px);
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Improved Phone Mockup */
        .phone-mockup {
            width: min(92%, 280px);
            aspect-ratio: 9/19;
            border-radius: 32px;
            border: 12px solid #0a0a0a;
            background: linear-gradient(180deg, #0e1e19, #0c1714);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            transition: transform 0.5s ease;
        }

        .phone-mockup:hover {
            transform: rotate(-2deg) scale(1.02);
        }

        .phone-screen {
            width: 100%;
            height: 100%;
            background: radial-gradient(400px 240px at 50% -10%, rgba(34, 209, 181, 0.2), transparent 60%), #0e1512;
            display: grid;
            grid-template-rows: auto 1fr auto;
            color: #d9fff5;
            font-weight: 600;
        }

        .phone-top {
            padding: 16px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 1.1rem;
        }

        .phone-body {
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 12px;
        }

        .pill {
            padding: 12px 16px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.03);
            font-size: 0.95rem;
            width: 90%;
            text-align: center;
        }

        .phone-bottom {
            padding: 12px;
            display: flex;
            gap: 14px;
            justify-content: center;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #22d1b5;
            box-shadow: 0 0 0 6px rgba(34, 209, 181, 0.15);
            display: inline-block;
            margin-right: 8px;
        }

        .section-title {
            font-size: clamp(26px, 4vw, 40px);
            margin-bottom: 40px;
            text-align: center;
            font-weight: 800;
            position: relative;
            color: var(--dark);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 2px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .feature-desc {
            color: var(--text-light);
            line-height: 1.6;
        }

        .download-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .download-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--shadow);
            display: flex;
            gap: 20px;
            align-items: center;
            transition: var(--transition);
        }

        .download-card:hover {
            transform: translateY(-5px);
        }

        .os-icon {
            width: 70px;
            height: 70px;
            background: rgba(11, 61, 46, 0.1);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: var(--primary);
        }

        .download-content {
            flex: 1;
        }

        .download-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .download-desc {
            color: var(--text-light);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .download-badges {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        /* Improved Download Badges */
        .download-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            background: var(--primary);
            color: white;
            border-radius: 12px;
            text-decoration: none;
            transition: var(--transition);
            font-weight: 500;
            box-shadow: 0 4px 10px rgba(11, 61, 46, 0.3);
        }

        .download-badge:hover {
            background: #0a3428;
            transform: translateY(-3px);
        }

        .download-badge i {
            font-size: 1.2rem;
        }

        .card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
        }

        .card h3 {
            margin: 0 0 12px;
            font-size: 1.4rem;
            color: var(--dark);
        }

        .muted {
            color: var(--text-light);
            line-height: 1.6;
        }

        details {
            border: 1px solid rgba(11, 61, 46, 0.1);
            border-radius: 12px;
            padding: 16px;
            background: rgba(11, 61, 46, 0.05);
            margin-bottom: 12px;
            transition: var(--transition);
        }

        details:hover {
            border-color: var(--primary-light);
        }

        summary {
            cursor: pointer;
            font-weight: 700;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
        }

        summary::-webkit-details-marker {
            display: none
        }

        summary::after {
            content: "+";
            float: right;
            font-weight: 900;
            font-size: 1.5rem;
            margin-left: auto;
            transition: var(--transition);
        }

        details[open] summary::after {
            content: "–";
        }

        details[open] {
            background: rgba(11, 61, 46, 0.1);
        }

        .widget {
            display: grid;
            gap: 16px;
        }

        .w-row {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .w-row input, .w-row select {
            padding: 14px 16px;
            border-radius: 12px;
            border: 1px solid rgba(11, 61, 46, 0.18);
            background: var(--card-bg);
            color: var(--text);
            font-size: 1rem;
            flex: 1;
            min-width: 200px;
        }

        /* Improved Prayer Times Table */
        .table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 10px;
        }

        .table th, .table td {
            padding: 15px;
            text-align: center;
            min-width: 100px;
        }

        .table th {
            font-weight: 600;
            color: var(--text-light);
        }

        .table tr {
            background: var(--card-bg);
            box-shadow: var(--shadow);
            border-radius: 12px;
            transition: var(--transition);
        }

        .table tr:hover {
            transform: translateY(-3px);
        }

        .current-prayer {
            background: rgba(23, 165, 137, 0.15) !important;
            box-shadow: 0 8px 20px rgba(23, 165, 137, 0.2) !important;
            color: var(--primary-light);
            font-weight: 600;
            position: relative;
        }

        .current-prayer::before {
            content: 'Now';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: bold;
        }

        .faq .card {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .avatar {
            flex: 0 0 60px;
            width: 60px;
            height: 60px;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--primary-light), #1f8e7a);
            display: grid;
            place-items: center;
            color: #05241b;
            font-weight: 900;
            font-size: 1.8rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .contact-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 40px;
            box-shadow: var(--shadow);
        }

        .contact-card h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            text-align: center;
            color: var(--dark);
        }

        form {
            display: grid;
            gap: 20px;
        }

        .form-row {
            display: flex;
            gap: 20px;
        }

        .form-group {
            flex: 1;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text);
        }

        input, textarea, select {
            width: 100%;
            padding: 14px 18px;
            border-radius: 12px;
            border: 1px solid rgba(11, 61, 46, 0.18);
            background: var(--card-bg);
            color: var(--text);
            font-size: 1rem;
            transition: var(--transition);
        }

        input:focus, textarea:focus, select:focus {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(34, 209, 181, 0.15);
        }

        textarea {
            min-height: 150px;
            resize: vertical;
        }

        .submit-btn {
            display: inline-flex;
            justify-content: center;
            width: 200px;
            margin: 10px auto 0;
        }

        footer {
            background: linear-gradient(180deg, transparent, rgba(11, 61, 46, 0.1));
            padding: 60px 0 30px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--dark);
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--text-light);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(5px);
        }

        .footer-links a i {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--card-bg);
            border-radius: 50%;
            color: var(--primary);
            text-decoration: none;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            color: var(--text-light);
            font-size: 0.9rem;
                
        }

        .mobile-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--card-bg);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            padding: 80px 20px 40px;
            transform: translateX(-100%);
            transition: var(--transition);
        }

        .mobile-nav.active {
            transform: translateX(0);
        }

        .mobile-nav .nav-links {
            flex-direction: column;
            gap: 15px;
        }

        .mobile-nav .nav-links a {
            padding: 15px;
            font-size: 1.2rem;
        }

        .mobile-nav .theme-toggle {
            margin-top: 30px;
            font-size: 1.5rem;
            align-self: flex-start;
        }

        .close-nav {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--text);
            cursor: pointer;
        }

        /* Mobile theme toggle button */
        .mobile-theme-btn {
            margin-top: 20px;
            width: 100%;
            text-align: center;
            padding: 12px 0;
            border-radius: 10px;
            font-size: 1.1rem;
            background: var(--primary);
            color: white;
        }

        @media (min-width: 768px) {
            .hero-content {
                flex-direction: row;
                align-items: center;
            }
            
            .hero-text {
                max-width: 50%;
            }
        }

        @media (max-width: 767px) {
            .nav-links, .theme-toggle {
                display: none;
            }
            
            .nav-toggle {
                display: block;
            }
            
            .hero {
                padding: 40px 0;
            }
            
            .cta-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .phone-mockup {
                width: 240px;
                height: 480px;
            }
            
            .section {
                padding: 60px 0;
            }
            
            .form-row {
                flex-direction: column;
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.3rem;
            }
            
            .download-badges {
                flex-direction: column;
            }
            
            .download-badge {
                width: 100%;
            }

        }

