/* ==========================================================================
   AQEEQA365 LANDING PAGE STYLESHEET
   Aesthetics: Forest Green, Gold, Sand/Cream, Premium Serif Headings,
   Interactive Shadows, Swaying Lanterns, and Responsive Grid/Flex layouts.
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --color-primary-green: #014D32;   /* Deep Forest Green */
    --color-dark-green: #002D1E;      /* Rich Dark Olive Green */
    --color-gold: #C5A880;            /* Premium Classic Gold */
    --color-light-cream: #F7F5F0;     /* Soft Warm Sand/Cream */
    --color-pure-white: #FFFFFF;
    --color-whatsapp: #25D366;        /* Official WhatsApp Green */
    
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Montserrat', Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light-cream);
    color: #333333;
    overflow-x: hidden;
    line-height: 1.5;
}

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

/* Common Components & Typography */
.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-green);
}

.brand-title span {
    color: var(--color-gold);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header {
    background-color: var(--color-light-cream);
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

/* Logo Area Layout */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-badge {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand-title {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-text .brand-sub {
    color: var(--color-gold);
    font-size: 10px;
    letter-spacing: 5px;
    font-weight: 700;
    margin-top: 2px;
}

.brand-divider {
    height: 1px;
    background-color: var(--color-gold);
    margin: 4px 0;
    opacity: 0.6;
}

.brand-tag {
    font-size: 9px;
    font-weight: 700;
    color: var(--color-primary-green);
    letter-spacing: 0.5px;
}

/* Nav & Socials */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-btn {
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    padding: 8px 24px;
    border-radius: 30px;
    background: transparent;
    transition: var(--transition-smooth);
}

.about-btn:hover {
    background-color: var(--color-primary-green);
    color: var(--color-light-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(1, 77, 50, 0.2);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-green);
    transition: var(--transition-smooth);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    background-color: var(--color-primary-green);
    color: var(--color-light-cream);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 580px;
    /* Composite Background: Goat and Charminar generated image on the left, fading to cream color on the right where the text is placed */
    background: linear-gradient(to right, 
        rgba(247, 245, 240, 0.15) 0%, 
        rgba(247, 245, 240, 0.8) 50%, 
        var(--color-light-cream) 70%, 
        var(--color-light-cream) 100%
    ), url('assets/hero_background.png') no-repeat;
    background-position: left center;
    background-size: cover;
    background-color: var(--color-light-cream);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

@media (min-width: 769px) {
    .hero-section {
        background-size: 100% 100%, auto 100%;
    }
}

/* Swaying Lanterns Details */
.lantern {
    position: absolute;
    top: 0;
    z-index: 10;
    transform-origin: top center;
    animation: sway 6s ease-in-out infinite alternate;
}

.lantern-left {
    left: 4%;
}

.lantern-right {
    right: 4%;
}

.lantern-glow {
    animation: lantern-pulsate 3s ease-in-out infinite;
}

@keyframes sway {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

@keyframes lantern-pulsate {
    0%, 100% { opacity: 0.5; r: 8px; fill: #FFEAA7; }
    50% { opacity: 1; r: 12px; fill: #FFF9E6; filter: blur(3px); }
}

/* Hero Content Placement */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end; /* Text sits on the right side over the cream background */
}

.hero-text-area {
    width: 100%;
    max-width: 540px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out;
    margin-right: 60px;
}

.we-are {
    color: var(--color-gold);
    font-size: 13px;
    letter-spacing: 8px;
    font-weight: 700;
    margin-bottom: 5px;
}

.launching-soon {
    font-family: var(--font-heading);
    font-size: 54px;
    color: var(--color-primary-green);
    line-height: 1.05;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 25px;
}

.welcome-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.welcome-text {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.flourish-line {
    height: 1px;
    width: 50px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.hero-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 500;
    max-width: 460px;
}

/* Countdown Container Styling */
.countdown-container {
    width: 100%;
    max-width: 440px;
    box-shadow: 0 10px 30px rgba(0, 45, 30, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.countdown-header {
    background-color: var(--color-dark-green);
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
}

.countdown-header span {
    color: var(--color-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.countdown-timer {
    background-color: var(--color-dark-green);
    border: 2px solid var(--color-gold);
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 10px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
}

.time-block .number {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--color-pure-white);
    font-weight: 700;
    line-height: 1;
}

.time-block .label {
    font-size: 9px;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.timer-divider {
    height: 35px;
    width: 1px;
    background-color: rgba(197, 168, 128, 0.3);
}

/* ==========================================================================
   WHY CHOOSE SECTION
   ========================================================================== */
.why-choose-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-primary-green);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.section-title span {
    color: var(--color-gold);
}

.title-flourish {
    height: 1px;
    width: 80px;
    background-color: var(--color-gold);
    position: relative;
}

.title-flourish::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    background-color: var(--color-gold);
    transform: rotate(45deg);
}

.title-flourish.left::after { right: 0; }
.title-flourish.right::after { left: 0; }

/* Features Grid Container */
.features-container {
    background-color: var(--color-primary-green);
    border: 2px solid var(--color-gold);
    border-radius: 20px;
    padding: 35px 15px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    box-shadow: 0 15px 35px rgba(1, 77, 50, 0.2);
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    position: relative;
}

/* Border separators between features on desktop */
.feature-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(197, 168, 128, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.feature-box:hover .feature-icon {
    transform: scale(1.15) translateY(-5px);
}

.feature-name {
    color: var(--color-pure-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-desc {
    color: var(--color-gold);
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   WHATSAPP SERVICE SECTION
   ========================================================================== */
.whatsapp-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.whatsapp-card {
    background: linear-gradient(135deg, #F4F1EA 0%, #EDE9DF 100%);
    border: 2px solid var(--color-gold);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Left Content Area */
.wa-info-area {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wa-badge-container {
    position: relative;
    margin-bottom: 25px;
}

.wa-large-badge {
    width: 65px;
    height: 65px;
    background-color: var(--color-whatsapp);
    color: var(--color-pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.wa-large-badge svg {
    width: 35px;
    height: 35px;
}

.wa-check-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background-color: var(--color-pure-white);
    color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 3px;
}

.wa-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-primary-green);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.wa-title span {
    color: var(--color-whatsapp);
}

.wa-subtitle {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 440px;
}

.wa-action-btn {
    background-color: var(--color-primary-green);
    color: var(--color-pure-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 15px 30px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(1, 77, 50, 0.25);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.wa-action-btn svg {
    width: 18px;
    height: 18px;
}

.wa-action-btn:hover {
    background-color: var(--color-whatsapp);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

/* Right Side Phone Mockup */
.wa-phone-area {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 520px;
    background-color: #1c1c1e;
    border-radius: 42px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border: 3px solid #3a3a3c;
    position: relative;
}

/* Phone Inner Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #efeae2; /* Standard WhatsApp Chat Wallpaper Cream */
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 0), radial-gradient(rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Phone Status Bar */
.phone-status-bar {
    height: 28px;
    background-color: #075E54;
    color: var(--color-pure-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 10px;
    font-weight: 600;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icons svg {
    width: 12px;
    height: 12px;
}

/* Chat Header */
.chat-header {
    background-color: #075E54;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-pure-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-back {
    width: 16px;
    height: 16px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-primary-green);
    border: 1px solid rgba(255,255,255,0.2);
}

.chat-contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-status {
    font-size: 9px;
    opacity: 0.85;
}

.chat-header-right {
    display: flex;
    gap: 12px;
}

.chat-header-right svg {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

/* Chat Message Bubbles */
.chat-messages {
    flex-grow: 1;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    width: 100%;
}

.message-bubble {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 1px 1.5px rgba(0,0,0,0.12);
}

.message-bubble p {
    font-size: 10.5px;
    line-height: 1.4;
    color: #111111;
    font-weight: 500;
}

.message-time {
    display: block;
    font-size: 8px;
    color: #777777;
    text-align: right;
    margin-top: 4px;
}

/* Incoming User message styling */
.message.incoming {
    justify-content: flex-start;
}

.message.incoming .message-bubble {
    background-color: var(--color-pure-white);
    border-top-left-radius: 0;
}

/* Outgoing Aqeeqa365 message styling */
.message.outgoing {
    justify-content: flex-end;
}

.message.outgoing .message-bubble {
    background-color: #E2F9C3; /* Standard WhatsApp outgoing message light green */
    border-top-right-radius: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: var(--color-dark-green);
    border-top: 3px solid var(--color-gold);
    color: var(--color-pure-white);
    padding: 60px 0 20px 0;
}

.footer-upper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    padding-bottom: 40px;
}

.footer-text-block {
    max-width: 780px;
    width: 100%;
}

.footer-para-main {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-gold);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-para-sub {
    font-size: 13.5px;
    color: var(--color-pure-white);
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.85;
}

.footer-para-highlight {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 15px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1.5px solid var(--color-gold);
}

/* Footer Stay Connected Block */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 12px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-social-icon:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-green);
    transform: translateY(-2px);
}

.footer-handle {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--color-gold);
    font-weight: 700;
}

/* Lower Footer details */
.footer-lower {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-details svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    color: var(--color-gold);
}

.contact-details .phone-number {
    color: var(--color-pure-white);
}

.contact-details .location {
    color: var(--color-gold);
}

.contact-details .divider {
    color: var(--color-gold);
    opacity: 0.5;
}

.copyright {
    font-size: 11px;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

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


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Layout (under 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        background-position: 25% center; /* Adjust background photo positioning */
    }
    
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .feature-box::after {
        display: none !important; /* Hide vertical separation lines on grid wrap */
    }
    
    .whatsapp-card {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }
    
    .wa-info-area, .wa-phone-area {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .wa-info-area {
        margin-bottom: 10px;
    }
    
    .footer-upper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 30px;
    }
}

/* Mobile Layout (under 768px) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-area {
        text-align: center;
    }
    
    .hero-section {
        /* Mobile background has solid color gradient overlay on top of background image to guarantee high text contrast */
        background: linear-gradient(to bottom,
            rgba(247, 245, 240, 0.4) 0%,
            rgba(247, 245, 240, 0.85) 45%,
            var(--color-light-cream) 70%,
            var(--color-light-cream) 100%
        ), url('assets/hero_background.png') no-repeat;
        background-position: center 20%;
        background-size: cover;
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-content {
        justify-content: center;
    }
    
    .hero-text-area {
        max-width: 100%;
        margin-right: 0;
    }
    
    .launching-soon {
        font-size: 38px;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 10px;
    }
    
    .feature-name {
        font-size: 10px;
        min-height: auto;
    }
    
    .whatsapp-card {
        padding: 30px 15px;
    }
    
    .wa-title {
        font-size: 22px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-details .divider {
        display: none;
    }
    
    .lantern {
        width: 45px;
        height: 160px;
    }
    .lantern-left { left: 4%; }
    .lantern-right { right: 4%; }
}

/* Very Small Mobile Layout (under 480px) */
@media (max-width: 480px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        padding: 15px 5px;
    }
    
    .time-block .number {
        font-size: 28px;
    }
    
    .time-block .label {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
}

/* ==========================================================================
   MULTILINGUAL & RTL SYSTEM STYLES
   ========================================================================== */

/* Body transition fade effect for language selection */
body {
    transition: opacity 0.25s ease-in-out;
}

body.switching-lang {
    opacity: 0.02;
}

/* Premium Language Selector Dropdown styling */
.lang-selector-container {
    display: inline-block;
    position: relative;
    margin: 0 5px;
}

#langSelect {
    background-color: transparent;
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23014D32' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 28px;
}

#langSelect:hover {
    background-color: var(--color-primary-green);
    color: var(--color-light-cream);
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23F7F5F0' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(1, 77, 50, 0.15);
}

/* RTL Urdu Font Tuning & Alignment Overrides */
html[dir="rtl"] {
    font-family: 'Montserrat', 'Noto Nastaliq Urdu', 'Segoe UI', Tahoma, sans-serif;
}

html[dir="rtl"] .brand-title,
html[dir="rtl"] .launching-soon,
html[dir="rtl"] .welcome-text,
html[dir="rtl"] .section-title,
html[dir="rtl"] .footer-para-main,
html[dir="rtl"] .footer-para-highlight {
    font-family: var(--font-heading), 'Noto Nastaliq Urdu', 'Segoe UI', serif;
}

/* Swap absolute positioning for swaying lanterns in RTL */
html[dir="rtl"] .lantern-left {
    left: auto;
    right: 8%;
}

html[dir="rtl"] .lantern-right {
    right: auto;
    left: 8%;
}

@media (max-width: 768px) {
    html[dir="rtl"] .lantern-left { left: auto; right: 4%; }
    html[dir="rtl"] .lantern-right { right: auto; left: 4%; }
}

/* Prevent Hero Text content from floating to the left in RTL (covering the goat background image) */
html[dir="rtl"] .hero-content {
    justify-content: flex-start; /* flex-start is the right side in RTL */
}

/* Swap column borders in RTL Features Grid */
html[dir="rtl"] .feature-box:not(:last-child)::after {
    right: auto;
    left: -8px;
}

/* WhatsApp Mobile mockup bubbles swap in RTL */
html[dir="rtl"] .message.incoming {
    justify-content: flex-end; /* In RTL, incoming is left-aligned (others sending to you) */
}

html[dir="rtl"] .message.incoming .message-bubble {
    border-top-left-radius: 10px;
    border-top-right-radius: 0;
    background-color: var(--color-pure-white);
}

html[dir="rtl"] .message.outgoing {
    justify-content: flex-start; /* In RTL, outgoing is right-aligned (your messages) */
}

html[dir="rtl"] .message.outgoing .message-bubble {
    border-top-right-radius: 10px;
    border-top-left-radius: 0;
    background-color: #E2F9C3;
}

/* Selector custom alignment under RTL */
html[dir="rtl"] #langSelect {
    background-position: left 12px center;
    padding-right: 16px;
    padding-left: 28px;
}

