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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #1f1f1f;
    background-color: #f3eade;
    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;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a113c;
    height: 100%;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: #0a113c;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #44ccf4;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #0a113c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f3eade 0%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    height: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0a113c;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    color: #585858;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    min-height: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #44ccf4 0%, #0a113c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(68, 204, 244, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0a113c;
    border: 2px solid #0a113c;
}

.btn-secondary:hover {
    background: #0a113c;
    color: white;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 500px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

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

.app-screens {
    height: 100%;
    position: relative;
}

.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3eade 0%, #e8f4fd 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.app-screen.active {
    opacity: 1;
    transform: translateX(0);
}

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

.app-logo-small {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-header span {
    font-weight: 700;
    color: #0a113c;
    font-size: 1.1rem;
}

.notification-icon {
    margin-left: auto;
    color: #44ccf4;
    font-size: 1.2rem;
}

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

/* Screen 1: Welcome/Dashboard */
.welcome-banner {
    background: linear-gradient(135deg, #44ccf4, #ec74ac);
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

.welcome-banner h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.welcome-banner p {
    margin: 0;
    opacity: 0.9;
}

.quick-stats {
    display: flex;
    gap: 10px;
}

.stat-item {
    flex: 1;
    background: white;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    color: #44ccf4;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

.stat-item span {
    font-size: 0.9rem;
    color: #0a113c;
    font-weight: 600;
}

.next-vaccine-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #44ccf4;
    font-size: 0.9rem;
}

.next-vaccine-card h4 {
    color: #0a113c;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.vaccine-desc {
    color: #585858;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.countdown {
    text-align: center;
    margin-bottom: 15px;
}

.countdown .days {
    font-size: 2rem;
    font-weight: 700;
    color: #ec74ac;
    display: block;
}

.countdown .label {
    color: #585858;
    font-size: 0.9rem;
}

.schedule-btn {
    width: 100%;
    background: linear-gradient(135deg, #44ccf4, #ec74ac);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.schedule-btn:hover {
    transform: translateY(-2px);
}

.schedule-btn i {
    margin-right: 8px;
}

/* Screen 2: Vaccine Schedule */
.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-item.completed .timeline-icon {
    background: #4CAF50;
    color: white;
}

.timeline-item.upcoming .timeline-icon {
    background: #FF9800;
    color: white;
}

.timeline-item.future .timeline-icon {
    background: #9E9E9E;
    color: white;
}

.timeline-content h4 {
    margin: 0 0 5px 0;
    color: #0a113c;
    font-size: 1rem;
}

.timeline-content p {
    margin: 0 0 5px 0;
    color: #585858;
    font-size: 0.9rem;
}

.timeline-content .date {
    font-size: 0.8rem;
    color: #44ccf4;
    font-weight: 600;
}

/* Screen 3: Progress Tracking */
.progress-circle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.circle-progress {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#44ccf4 0deg 306deg, #e8f4fd 306deg 360deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0a113c;
}

.circle-progress .percentage {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.circle-progress .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.achievement {
    background: white;
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.achievement i {
    color: #ec74ac;
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.achievement span {
    font-size: 0.8rem;
    color: #0a113c;
    font-weight: 600;
}

/* Screen Navigation Dots */
.screen-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(68, 204, 244, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #44ccf4;
    transform: scale(1.2);
}

/* Floating UI Elements */
.floating-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: #44ccf4;
    font-size: 1.5rem;
}

.floating-card span {
    font-size: 0.8rem;
    color: #0a113c;
    font-weight: 600;
    text-align: center;
}

.card-1 {
    top: 10%;
    right: -80px;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    left: -80px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: -80px;
    animation-delay: 2s;
}

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

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

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

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

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

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a113c 0%, #44ccf4 100%);
    color: white;
    text-align: center;
}

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

.download p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

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

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.store-name {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a113c;
    margin-bottom: 1rem;
}

.contact p {
    text-align: center;
    color: #585858;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e8f4fd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #44ccf4;
    box-shadow: 0 0 0 3px rgba(68, 204, 244, 0.1);
}

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

/* Submit Button Loading State */
#submitBtn {
    position: relative;
    min-width: 150px;
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.btn-loading i {
    margin-right: 8px;
}

/* Form Validation Styles */
.form-group input:not(:placeholder-shown):invalid,
.form-group textarea:not(:placeholder-shown):invalid {
    border-color: #ff6b6b;
}

.form-group input:not(:placeholder-shown):valid,
.form-group textarea:not(:placeholder-shown):valid {
    border-color: #51cf66;
}

/* Remove validation colors from empty fields */
.form-group input:placeholder-shown,
.form-group textarea:placeholder-shown {
    border-color: #e8f4fd;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #44ccf4;
}

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

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #44ccf4;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: 2rem;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    z-index: 1001;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    height: fit-content;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.lang-btn:hover {
    background: rgba(68, 204, 244, 0.1);
    border-color: #44ccf4;
    transform: translateY(-1px);
}

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

.lang-btn.active {
    background: #44ccf4;
    color: white;
    border-color: #44ccf4;
    box-shadow: 0 2px 8px rgba(68, 204, 244, 0.3);
}

.lang-btn .flag {
    font-size: 1.1rem;
}

.lang-btn .lang-text {
    font-family: 'Tajawal', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .phone-screen {
        width: 250px;
        height: 450px;
    }
}

/* RTL Support for Content Areas (excluding header) */
[dir="rtl"] .hero-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-end;
}

[dir="rtl"] .features-grid {
    direction: rtl;
}

[dir="rtl"] .download-buttons {
    justify-content: center;
}

[dir="rtl"] .contact-form {
    text-align: right;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

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

[dir="rtl"] .footer-social {
    flex-direction: row-reverse;
}

/* RTL Typography */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    text-align: right;
}

[dir="rtl"] p {
    text-align: right;
}

/* Keep specific elements centered in both languages */
[dir="rtl"] .features h2,
[dir="rtl"] .download h2,
[dir="rtl"] .contact h2 {
    text-align: center !important;
}

[dir="rtl"] .feature-card h3,
[dir="rtl"] .feature-card p {
    text-align: center !important;
}

[dir="rtl"] .download-content h2,
[dir="rtl"] .download-content p {
    text-align: center !important;
}

[dir="rtl"] .contact h2,
[dir="rtl"] .contact p {
    text-align: center !important;
}

/* RTL Hero Content Alignment */
[dir="rtl"] .hero-content h1,
[dir="rtl"] .hero-content p {
    text-align: right;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-end;
}

/* RTL Form Elements */
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

[dir="rtl"] .btn {
    text-align: center;
}

/* RTL Floating Elements */
[dir="rtl"] .floating-card.card-1 {
    right: auto;
    left: -80px;
}

[dir="rtl"] .floating-card.card-2 {
    left: auto;
    right: -80px;
}

[dir="rtl"] .floating-card.card-3 {
    right: auto;
    left: -80px;
}

[dir="rtl"] .floating-card {
    text-align: center;
}

[dir="rtl"] .floating-card span {
    direction: rtl;
}

/* Privacy Policy and Contact Us Page Styles */
.privacy-content, .contact-info, .faq {
    padding: 80px 0;
    background: white;
}

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

.privacy-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a113c;
    margin-bottom: 1rem;
}

.last-updated {
    color: #585858;
    font-size: 1.1rem;
}

.privacy-sections {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #44ccf4;
}

.privacy-section h3 {
    color: #0a113c;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.privacy-section p {
    color: #585858;
    line-height: 1.6;
    margin: 0;
}

.privacy-contact {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #44ccf4, #ec74ac);
    border-radius: 20px;
    text-align: center;
    color: white;
}

.privacy-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.privacy-contact p {
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
    font-size: 1.1rem;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #0a113c;
}

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

.contact-item i {
    color: #44ccf4;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: #0a113c;
    font-weight: 600;
    font-size: 1.1rem;
}

/* RTL Support for Contact Items */
[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item i {
    margin-left: 0;
    margin-right: 10px;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a113c;
    margin-bottom: 3rem;
}

/* Enhanced Contact Section Styling */
.privacy-contact .contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.privacy-contact .contact-item {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.privacy-contact .contact-item:hover {
    transform: translateY(-2px);
}

.privacy-contact .contact-item i {
    color: #44ccf4;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.privacy-contact .contact-item:hover i {
    color: #0a113c;
}

.privacy-contact .contact-item span {
    color: #0a113c;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.privacy-contact .contact-item:hover span {
    color: #44ccf4;
}

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

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

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

.contact-card .contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #44ccf4, #ec74ac);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: #0a113c;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #585858;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-card a {
    color: #44ccf4;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #0a113c;
}

.contact-card span {
    color: #44ccf4;
    font-weight: 600;
    font-size: 1.1rem;
}

/* FAQ Styles */
.faq {
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a113c;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #0a113c;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #44ccf4;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
    background: #f8f9fa;
}

.faq-answer p {
    color: #585858;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-question {
    background: #e8f4fd;
}

/* Loading States */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: #585858;
}

.loading-state i {
    font-size: 2rem;
    color: #44ccf4;
    margin-bottom: 1rem;
    display: block;
}

.loading-state span {
    font-size: 1.1rem;
}

/* Privacy Icon and Contact Icon */
.privacy-icon, .contact-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #44ccf4, #ec74ac);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(68, 204, 244, 0.3);
    animation: float 6s ease-in-out infinite;
}

/* Form Select Styles */
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e8f4fd;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    color: #0a113c;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344ccf4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-group select:focus {
    outline: none;
    border-color: #44ccf4;
    box-shadow: 0 0 0 3px rgba(68, 204, 244, 0.1);
}

/* RTL Support for New Pages */
[dir="rtl"] .privacy-section {
    border-left: none;
    border-right: 4px solid #44ccf4;
}

[dir="rtl"] .privacy-content,
[dir="rtl"] .contact-info,
[dir="rtl"] .faq {
    text-align: right;
}

[dir="rtl"] .privacy-section h3,
[dir="rtl"] .privacy-section p {
    text-align: right;
}

/* RTL Support for Privacy Policy Lists */
[dir="rtl"] .privacy-section ul {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .privacy-section li {
    text-align: right;
    direction: rtl;
    margin-right: 0;
    margin-left: 1.5rem;
}

[dir="rtl"] .privacy-section ul li::before {
    content: "•";
    color: #44ccf4;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: 0.5rem;
}

/* RTL Support for Privacy Policy Content Container */
[dir="rtl"] .privacy-sections {
    direction: rtl;
}

[dir="rtl"] .privacy-sections-container {
    direction: rtl;
}

/* RTL Support for Privacy Policy Header - Keep Center Alignment */
[dir="rtl"] .privacy-header {
    text-align: center;
}

[dir="rtl"] .privacy-header h2 {
    text-align: center;
}

[dir="rtl"] .privacy-header .last-updated {
    text-align: center;
}

/* RTL Support for Privacy Policy Contact Section */
[dir="rtl"] .privacy-contact {
    text-align: right;
}

[dir="rtl"] .privacy-contact h3 {
    text-align: right;
}

[dir="rtl"] .privacy-contact p {
    text-align: right;
}

[dir="rtl"] .privacy-contact ul {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .privacy-contact li {
    text-align: right;
    direction: rtl;
}

/* RTL Support for Strong Tags in Privacy Policy */
[dir="rtl"] .privacy-section strong {
    font-weight: 600;
    color: #0a113c;
}

[dir="rtl"] .privacy-section li strong {
    font-weight: 600;
    color: #44ccf4;
}

[dir="rtl"] .contact-card h3,
[dir="rtl"] .contact-card p {
    text-align: center;
}

[dir="rtl"] .faq-question h3 {
    text-align: right;
}

[dir="rtl"] .faq-answer p {
    text-align: right;
}

[dir="rtl"] .form-group select {
    text-align: right;
    background-position: left 1rem center;
    padding-left: 3rem;
    padding-right: 1rem;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .privacy-header h2,
    .contact-info h2,
    .faq h2 {
        font-size: 2rem;
    }
    
    .privacy-section,
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    .privacy-icon,
    .contact-icon {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .privacy-header h2,
    .contact-info h2,
    .faq h2 {
        font-size: 1.8rem;
    }
    
    .privacy-section,
    .contact-card {
        padding: 1rem;
    }
    
    .privacy-icon,
    .contact-icon {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
}

/* Delete Account Page Styles */
.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #44ccf4, #ec74ac);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(68, 204, 244, 0.3);
    z-index: 10;
}

.step-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(68, 204, 244, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #44ccf4;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Removed conflicting padding styles that were causing inconsistency between English and Arabic */

.privacy-section:hover .step-icon {
    background: rgba(68, 204, 244, 0.2);
    transform: scale(1.1);
}

/* RTL Support for Delete Account Page */
[dir="rtl"] .step-number {
    left: auto;
    right: 20px;
}

[dir="rtl"] .step-icon {
    right: auto;
    left: 20px;
}

/* Removed conflicting RTL padding styles that were causing inconsistency */

/* RTL App Content Inside Phone - Enhanced */
[dir="rtl"] .app-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .app-header .notification-icon {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .app-content {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .welcome-banner h3,
[dir="rtl"] .welcome-banner p {
    text-align: right;
}

[dir="rtl"] .quick-stats {
    text-align: right;
}

[dir="rtl"] .next-vaccine-card h4,
[dir="rtl"] .next-vaccine-card p {
    text-align: right;
}

[dir="rtl"] .next-vaccine-card .card-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .next-vaccine-card .countdown {
    flex-direction: row-reverse;
}

[dir="rtl"] .schedule-timeline {
    text-align: right;
}

[dir="rtl"] .timeline-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .timeline-content h4,
[dir="rtl"] .timeline-content p,
[dir="rtl"] .timeline-content .date {
    text-align: right;
}

[dir="rtl"] .progress-circle {
    text-align: center;
}

[dir="rtl"] .achievement-grid {
    text-align: center;
}

[dir="rtl"] .achievement span {
    text-align: center;
}