/* Base Styles */
:root {
    --primary-color: #0C7352;
    --secondary-color: #5AB992;
    --accent-color: #F4B042;
    --text-color: #333;
    --light-text: #FFF;
    --background-color: #FFF;
    --light-background: #f8f9fa;
    --dark-background: #243447;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --admin-color: #667eea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: white;
    border: 2px solid white;
    color: var(--primary-color);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 15px rgba(244, 176, 66, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #f0f0f0;
    color: var(--primary-color);
    box-shadow: 0 12px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-loader {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loading-text {
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.loading-text::after {
    content: "...";
    position: absolute;
    width: 24px;
    text-align: left;
    animation: dots 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes dots {
    0%, 20% {
        content: ".";
    }
    40% {
        content: "..";
    }
    60%, 100% {
        content: "...";
    }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 90px;
}

.logo img {
    height: 150px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-list li {
    margin-left: 0;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Admin Button Styling */
.nav-list a.admin-btn {
    background: linear-gradient(135deg, var(--admin-color) 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.nav-list a.admin-btn::after {
    display: none;
}

.nav-list a.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white !important;
}

/* Header Scroll Effect */
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

#header.scrolled .logo img {
    height: 150px;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hero-section::before {
    top: -100px;
    right: -100px;
}

.hero-section::after {
    bottom: -100px;
    left: -100px;
}

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

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.centered-hero {
    flex-direction: column;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.centered-hero .hero-text {
    width: 100%;
}

.centered-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-tagline {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: #F4B042;
    font-weight: 600;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: rgba(244, 176, 66, 0.3);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 10px;
}

.centered-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    flex: 1;
    color: var(--light-text);
    padding-right: 30px;
}

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

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.phone-mockup-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #e8f5e9 0%, #f1f8e9 100%);
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.app-logo {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 10px;
    margin-right: 10px;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.daily-verse {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.daily-verse h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.arabic-text {
    font-size: 1.4rem;
    margin: 15px 0;
    text-align: right;
    line-height: 1.8;
    direction: rtl;
}

.verse-translation {
    font-style: italic;
    margin-bottom: 5px;
}

.verse-reference {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.prayer-times {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.prayer-times h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.time-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* App Showcase Section */
.app-showcase-section {
    padding: 100px 0;
    background-color: var(--light-background);
    position: relative;
}

.showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.showcase-text {
    flex: 1;
    padding-right: 50px;
}

.showcase-item {
    margin-bottom: 30px;
}

.showcase-item h3 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.showcase-item h3 i {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.showcase-item p {
    color: #666;
    padding-left: 40px;
}

.showcase-carousel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase-phone-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

.showcase-phone-image {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s ease;
    border: 8px solid #333;
    border-radius: 36px;
}

.showcase-phone-container:hover .showcase-phone-image {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.showcase-phone {
    width: 300px;
    height: 600px;
    background: #222;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.screen {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 22px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screen.active {
    opacity: 1;
}

.screen-1 {
    background-image: url('https://via.placeholder.com/280x580/e8f5e9/0C7352?text=Home+Screen');
}

.screen-2 {
    background-image: url('https://via.placeholder.com/280x580/e8f5e9/0C7352?text=Quran+Screen');
}

.screen-3 {
    background-image: url('https://via.placeholder.com/280x580/e8f5e9/0C7352?text=Prayer+Times');
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.showcase-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--light-background);
    position: relative;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 350px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    visibility: hidden;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.testimonial-image {
    flex: 0 0 100px;
    margin-right: 30px;
}

.testimonial-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial-content {
    flex: 1;
}

.rating {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-content span {
    color: #888;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px 10px;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    margin: 0 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
}

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

.download-text {
    flex: 1;
    padding-right: 50px;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background: white;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.download-btn i {
    font-size: 2rem;
    margin-right: 10px;
}

.download-btn span {
    display: flex;
    flex-direction: column;
}

.download-btn small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.qr-codes {
    display: flex;
    gap: 30px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-placeholder::before {
    content: 'QR Code';
    color: #888;
}

.qr-item span {
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--light-background);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    color: #666;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
}

/* Footer */
.footer {
    background-color: #162A43;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 30px;
}

.footer-logo {
    flex: 0 0 300px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-logo p {
    color: #bbb;
}

.footer-links {
    display: flex;
    flex: 1;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    flex: 0 0 auto;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bbb;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(90, 185, 146, 0.3);
    border-color: var(--primary-color);
}

.footer-newsletter-form {
    display: flex;
    margin-top: 15px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    outline: none;
}

.footer-newsletter-form .btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter-form .btn-submit:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Mockup Showcase Section - Grid Layout */
.mockup-showcase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mockup-horizontal-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding: 30px 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mockup-item-simple {
    width: 100%;
    transition: all 0.3s ease;
}

.mockup-item-simple img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.mockup-item-simple:hover img {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(12, 115, 82, 0.25);
}

/* Horizontal Scrolling Row Gallery */
.mockup-row-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    margin-top: 60px;
    padding: 30px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.mockup-row-gallery::-webkit-scrollbar {
    display: none;
}

.mockup-row-item {
    flex: 0 0 auto;
    width: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-frame {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.mockup-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(12, 115, 82, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.mockup-row-item:hover .mockup-frame::before {
    left: 100%;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.mockup-row-item:hover .mockup-frame {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(12, 115, 82, 0.2);
}

.mockup-row-item:hover .mockup-img {
    transform: scale(1.05);
}

/* RTL Support for Urdu */
[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .showcase-text {
    padding-right: 0;
    padding-left: 50px;
}

[dir="rtl"] .showcase-item p {
    padding-left: 0;
    padding-right: 40px;
}

[dir="rtl"] .footer-links {
    direction: rtl;
}

/* Enhanced Typography for Urdu */
.urdu-text h1, .urdu-text h2, .urdu-text h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.urdu-text p {
    line-height: 2.5;
    font-size: 1.15rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .showcase-content,
    .download-content {
        flex-direction: column;
    }
    
    .showcase-text,
    .download-text {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .showcase-item p {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Mockup Grid Responsive - Tablet */
    .mockup-horizontal-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    [dir="rtl"] .nav {
        left: 0;
        right: auto;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-list li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .hero-text {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.4;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .centered-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    /* Mockup Grid Responsive - Mobile */
    .mockup-horizontal-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px 10px;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .testimonial-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-column {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons,
    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .centered-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p,
    .centered-hero p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .newsletter-form button {
        border-radius: 30px;
        width: 100%;
    }
    
    .testimonials-container {
        height: 450px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    /* Mockup Grid Responsive - Small Screen */
    .mockup-horizontal-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px 5px;
        margin-top: 40px;
    }
    
    .logo img {
        height: 100px;
    }
    
    #header.scrolled .logo img {
        height: 100px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .urdu-text p {
        font-size: 1rem;
        line-height: 2.2;
    }
}

/* Footer Settings Styles */
.footer-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.setting-control {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    display: inline-block;
}

.theme-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 50px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    position: relative;
    transition: background-color 0.2s;
    padding: 0 5px;
}

.theme-label .fa-sun {
    color: #f39c12;
    font-size: 12px;
}

.theme-label .fa-moon {
    color: #f1c40f;
    font-size: 12px;
}

.theme-ball {
    position: absolute;
    width: 21px;
    height: 21px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s linear;
    left: 2px;
    top: 2px;
}

.theme-checkbox:checked + .theme-label .theme-ball {
    transform: translateX(25px);
}

/* Text Size Controls */
.text-size-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.text-size-btn {
    width: 25px;
    height: 25px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.text-size-btn:hover {
    background-color: var(--primary-color);
}

/* Contact Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(90, 185, 146, 0.2);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}
