/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
html[dir="rtl"] body {
    font-family: 'Noto Serif', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
html[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}
.logo img {
    height: 50px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    align-items: center;
}
html[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
html[dir="rtl"] nav ul {
    flex-direction: row-reverse;
}
nav ul li {
    position: relative;
    margin: 0 15px;
}
nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Dropdown */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
html[dir="rtl"] .dropdown-content {
    left: auto;
    right: 0;
}
.dropdown-content a {
    display: block;
    padding: 10px;
    color: #333;
}
html[dir="rtl"] .dropdown-content a {
    text-align: right;
}
.dropdown-content a:hover {
    background: #f1f1f1;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.language-toggle select {
    padding: 5px;
    border-radius: 5px;
}

.header-cta .btn {
    background: #603813;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
.header-cta .btn:hover {
    background: #0056b3;
}

/* Hero Section (Shared) */
.hero {
    position: relative;
    height: 80vh;
    color: white;
    text-align: center;
    z-index: -10;
}
html[dir="rtl"] .hero {
    text-align: center;
}
.hero.home,
.hero.blog,
.hero.gallery {
    height: 80vh;
}


.hero.about-us {
    height: 40vh;
    background-image: url("../imgs/_0002_curtains_2.png");
}
.hero.about-us h1 {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 20%;
}

.hero.products-en {
    height: 80vh;
    background-image: url("../imgs/noorsitara-products.jpg");
}
.hero.products-en h1 {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 20%;
}

.hero.contactus-en {
    height: 40vh;
    background-image: url("../imgs/_0000_curtains_4.png");
}

.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center/cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f0f0f0;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
}
.hero-slide:nth-child(1) {
    background-image: url('../imgs/_0000_curtains_4.png');
}
.hero-slide:nth-child(2) {
    background-image: url('../imgs/_0002_curtains_2.png');
}
.hero-slide:nth-child(3) {
    background-image: url('../imgs/_0003_curtains_1.png');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .hero-carousel .hero-slide .hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    max-width: 80%;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
}
html[dir="rtl"] .hero .hero-carousel .hero-slide .hero-content {
    right: auto !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
}
html[dir="rtl"] .hero h1 {
    font-size: 2.5em;
}
.hero p {
    font-size: 1.5em;
    margin: 10px 0;
}

.hero-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
html[dir="rtl"] .hero-controls {
    flex-direction: row-reverse;
}
.hero-controls .carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}
.hero-controls .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.cta-buttons {
    margin-top: 20px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background: #603813;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover {
    background: #0056b3;
}

/* hero products bg  */
.hero.roller-blinds { background-image: url("../imgs/noorsitara-roller-blinds.jpg"); }
.hero.roman-blinds { background-image: url("../imgs/noorsitara-roman-blinds.jpg"); }
.hero.wave-curtains { background-image: url("../imgs/noorsitara-wave-curtains.jpg"); }
.hero.american-curtains { background-image: url("../imgs/noorsitara-american-curtains.jpg"); }
.hero.venetian-blinds { background-image: url("../imgs/noorsitara-venetian-blinds.jpg"); }
.hero.vertical-blinds { background-image: url("../imgs/noorsitara-vertical-blinds.jpg"); }
.hero.bamboo-curtains { background-image: url("../imgs/noorsitara-bamboo-curtains.jpg"); }
.hero.zebra-curtains { background-image: url("../imgs/noorsitara-zebra-curtains.jpg"); }
.hero.sun-grill-curtains { background-image: url("../imgs/noorsitara-sun-grill-curtains.jpg"); }
.hero.panel-curtains { background-image: url("../imgs/noorsitara-panel-curtains.jpg"); }
.hero.hospital-curtains { background-image: url("../imgs/noorsitara-hospital-curtains.jpg"); }
.hero.blog { background-image: url("../imgs/noorsitara-blog.jpg"); }
.hero.gallery { background-image: url("../imgs/noorsitara-gallery.jpg"); }
.hero.furniture { background-image: url("../imgs/noorsitara-furniture.jpg"); }
.hero.doorsnshutter { background-image: url("../imgs/noorsitara-doorsnshutter.jpg"); }

/* hero products h1  */
.hero.roller-blinds h1,
.hero.roman-blinds h1,
.hero.wave-curtains h1,
.hero.american-curtains h1,
.hero.venetian-blinds h1,
.hero.vertical-blinds h1,
.hero.bamboo-curtains h1,
.hero.zebra-curtains h1,
.hero.sun-grill-curtains h1,
.hero.panel-curtains h1,
.hero.hospital-curtains h1, 
.hero.blog h1,
.hero.gallery h1,
.hero.furniture h1,
.hero.doorsnshutter h1
{
    position: absolute;
    left: 20%;
    right: 20%;
    top: 20%;
}
/* hero products hero height  */
.hero.about-us,
.hero.roller-blinds,
.hero.roman-blinds,
.hero.wave-curtains,
.hero.american-curtains,
.hero.venetian-blinds,
.hero.vertical-blinds,
.hero.bamboo-curtains,
.hero.zebra-curtains,
.hero.sun-grill-curtains,
.hero.panel-curtains,
.hero.hospital-curtains,
.hero.gallery,
.hero.furniture,
.hero.doorsnshutter {
    height: 80vh;
}

/* Welcome Section (Home) */
.welcome {
    padding: 50px 0;
    text-align: center;
    background: #f9f9f9;
}
html[dir="rtl"] .welcome {
    text-align: center;
}
.welcome h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Featured Products Carousel (Home) */
.carousel {
    padding: 50px 0;
    text-align: center;
    position: relative;
}
.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    overflow: hidden;
}
html[dir="rtl"] .carousel-container {
    flex-direction: row-reverse;
}
.carousel-item {
    flex: 0 0 25%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}
.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.carousel-item h3 {
    margin: 10px 0;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2;
}
html[dir="rtl"] .carousel-controls {
    flex-direction: row-reverse;
}
.carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2em;
    z-index: 2;
}
.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Why Choose Us (Home) */
.why-choose {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.why-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.why-item i {
    font-size: 2em;
    margin-bottom: 10px;
}
html[dir="rtl"] .why-item i {
    margin-left: 10px;
    margin-right: 0;
}

/* Testimonials Slider (Home) */
.testimonials {
    padding: 50px 0;
    background: #f9f9f9;
    text-align: center;
}
.testimonial-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    overflow: hidden;
}
html[dir="rtl"] .testimonial-container {
    flex-direction: row-reverse;
}
.testimonial-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 20px;
}
.testimonial-item blockquote {
    font-style: italic;
}
.testimonial-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* CTA Section (Shared) */
.cta-section {
    padding: 50px 0;
    text-align: center;
    background: #603813;
    color: white;
}
html[dir="rtl"] .cta-section {
    text-align: center;
}
.cta-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.cta-section form {
    max-width: 600px;
    margin: 20px auto;
}
.cta-section input,
.cta-section textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
}
html[dir="rtl"] .cta-section input,
html[dir="rtl"] .cta-section textarea {
    text-align: right;
}
.cta-section button {
    padding: 10px 20px;
    background: white;
    color: #603813;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.cta-section .btn {
    background: white;
    color: #603813;
}
.cta-section .btn:hover {
    background: #f0f0f0;
}

/* About Us Page Specific */
.journey {
    padding: 50px 0;
    text-align: center;
    background: #f9f9f9;
}
html[dir="rtl"] .journey {
    text-align: center;
}
.journey h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.vision-mission {
    padding: 50px 0;
}
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: center;
}
.vm-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.vm-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.core-values {
    padding: 50px 0;
    background: #f9f9f9;
}
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}
.values-list li {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}
html[dir="rtl"] .values-list li {
    flex-direction: row-reverse;
}
.values-list i {
    font-size: 2em;
    margin-right: 10px;
}
html[dir="rtl"] .values-list i {
    margin-right: 0;
    margin-left: 10px;
}

.team {
    padding: 50px 0;
    text-align: center;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.team-member {
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.team-member h3 {
    font-size: 1.2em;
    margin: 5px 0;
}
.team-member p {
    font-style: italic;
    color: #666;
}

.sustainability {
    padding: 50px 0;
    background: #f9f9f9;
    text-align: center;
}
html[dir="rtl"] .sustainability {
    text-align: center;
}
.sustainability h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Curtains & Blinds Page Specific */
.overview {
    padding: 50px 0;
    text-align: center;
    background: #f9f9f9;
}
html[dir="rtl"] .overview {
    text-align: center;
}
.overview h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.product-grid {
    padding: 50px 0;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}
html[dir="rtl"] .product-card {
    text-align: center;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-card h3 {
    font-size: 1.2em;
    margin: 10px 0;
}
.product-card p {
    padding: 0 10px;
    color: #666;
}
.product-card a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #603813;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.product-card a:hover {
    background: #0056b3;
}

/* Individual Product Page */
.product-description {
    padding: 50px 0;
    text-align: center;
    background: #f9f9f9;
}
html[dir="rtl"] .product-description {
    text-align: center;
}
.product-description h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.features {
    padding: 50px 0;
    text-align: center;
}
html[dir="rtl"] .features {
    text-align: center;
}
.features h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.benefits {
    padding: 50px 0;
    background: #f9f9f9;
}
html[dir="rtl"] .benefits {
    text-align: center;
}
.benefits h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
html[dir="rtl"] .footer-content {
    direction: rtl;
}
.footer-content h3 {
    margin-bottom: 15px;
}
.footer-content a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}
.footer-content a:hover {
    color: #603813;
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
}
html[dir="rtl"] .newsletter form {
    flex-direction: row-reverse;
}
.newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    flex: 1;
}
html[dir="rtl"] .newsletter input {
    border-radius: 0 5px 5px 0;
    text-align: right;
}
.newsletter button {
    padding: 10px;
    background: #603813;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
html[dir="rtl"] .newsletter button {
    border-radius: 5px 0 0 5px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    html[dir="rtl"] .header-content {
        flex-direction: column;
        text-align: center;
    }
    .hamburger {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    html[dir="rtl"] .hamburger {
        right: auto;
        left: 20px;
    }

    .nav-menu {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        margin: 0;
        padding: 10px 0;
    }
    html[dir="rtl"] nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin: 10px 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        padding: 10px;
    }
    html[dir="rtl"] .dropdown-content {
        text-align: right;
    }

    .language-toggle,
    .header-cta {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1.2em;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1999;
    text-decoration: none;
    transition: opacity 0.3s;
}
.whatsapp-float:hover {
    opacity: 0.8;
}
.whatsapp-icon {
    margin-top: 16px;
    line-height: 1;
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%;
    }
    .carousel-controls {
        padding: 0 5px;
    }
    .carousel-btn {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-icon {
        margin-top: 12px;
    }
}
