/**
 * LaForno Bakery - Premium CSS
 * Warm Brown & Orange Theme
 */

:root {
    --primary: #c62828;
    --primary-light: #d32f2f;
    --secondary: #ef5350;
    --secondary-light: #e57373;
    --cream: #ffebee;
    --brown-light: #d4a574;
    --white: #ffffff;
    --gray-100: #faf9f7;
    --gray-200: #f0ebe3;
    --gray-600: #e53935;
    --gray-800: #b71c1c;
    --success: #27ae60;
    --shadow: 0 10px 40px rgba(74, 44, 42, 0.12);
    --shadow-lg: 0 25px 60px rgba(74, 44, 42, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 20px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

[dir="ltr"] body {
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-left {
    display: flex;
    gap: 25px;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left i {
    color: var(--secondary);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-top {
    display: flex;
    gap: 12px;
}

.social-top a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.social-top a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--gray-800);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 2px;
    transition: var(--transition);
}

[dir="ltr"] .nav-menu a::after {
    right: auto;
    left: 0;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--gray-100);
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a {
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--gray-100) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-bread {
    position: absolute;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.bread-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.bread-2 {
    bottom: 20%;
    left: 8%;
    animation-delay: 2s;
    font-size: 3rem;
}

.bread-3 {
    top: 40%;
    right: 15%;
    animation-delay: 4s;
    font-size: 2.5rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--gray-800);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.3);
    animation: fadeInUp 0.6s ease both;
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 25px;
    color: var(--primary);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(230, 126, 34, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.btn {
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
}

[dir="ltr"] .hero-image::before {
    right: auto;
    left: -20px;
}

.hero-badge-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 18px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

[dir="ltr"] .hero-badge-card {
    left: auto;
    right: -30px;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.badge-title {
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.badge-sub {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== STATS BAR ==================== */
.stats-bar {
    background: var(--white);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-bar .container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--cream);
    transform: translateY(-5px);
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 5px;
}

/* ==================== SECTIONS ==================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(243, 156, 18, 0.15));
    color: var(--secondary);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ==================== CATEGORIES ==================== */
.categories-section {
    background: var(--gray-100);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease both;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.category-items {
    list-style: none;
    text-align: right;
    margin-bottom: 20px;
}

[dir="ltr"] .category-items {
    text-align: left;
}

.category-items li {
    padding: 8px 0;
    color: var(--gray-800);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-items i {
    color: var(--success);
    font-size: 0.8rem;
}

.category-link {
    color: var(--secondary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-link:hover {
    gap: 12px;
}

/* ==================== ABOUT SECTION ==================== */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.about-experience {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    padding: 25px 35px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

[dir="ltr"] .about-experience {
    right: auto;
    left: 30px;
}

.exp-num {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--gray-200);
    transform: translateX(-5px);
}

[dir="ltr"] .about-feature:hover {
    transform: translateX(5px);
}

.about-feature i {
    width: 35px;
    height: 35px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.about-feature span {
    font-weight: 600;
    color: var(--primary);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #f1c40f;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--gray-800);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.author-info h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 3px;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    flex: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
}

.cta-decoration {
    font-size: 15rem;
    color: rgba(230, 126, 34, 0.1);
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

[dir="ltr"] .cta-decoration {
    right: auto;
    left: 5%;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: var(--secondary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

[dir="ltr"] .footer-links h4::after,
[dir="ltr"] .footer-contact h4::after,
[dir="ltr"] .footer-newsletter h4::after {
    right: auto;
    left: 0;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 5px;
}

[dir="ltr"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--secondary);
    width: 20px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 14px 20px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float.right {
    right: 25px;
}

.whatsapp-float.left {
    left: 25px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
    }

    .top-left {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-newsletter h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .stats-bar .container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
}

html[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.5);
}

/* ==================== DARK MODE TOGGLE ==================== */
.theme-toggle-float {
    position: fixed;
    top: 120px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

html[dir="rtl"] .theme-toggle-float {
    left: 20px;
    right: auto;
}

html[dir="ltr"] .theme-toggle-float {
    right: 20px;
    left: auto;
}

.theme-toggle-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.theme-toggle-float .fa-sun {
    display: none;
}

.theme-toggle-float .fa-moon {
    display: inline-block;
}

/* ==================== DARK MODE ==================== */
body.dark-mode {
    background: #1a1a1a;
    color: #e0d6cc;
}

body.dark-mode .top-bar {
    background: #0d0d0d;
}

body.dark-mode .navbar {
    background: #1a1a1a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .logo {
    color: #fff;
}

body.dark-mode .nav-menu a {
    color: #e0d6cc;
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    color: var(--secondary);
}

body.dark-mode .hamburger span {
    background: #e0d6cc;
}

body.dark-mode .lang-btn {
    background: #2d2d2d;
    color: #e0d6cc;
}

body.dark-mode .lang-btn:hover {
    background: var(--secondary);
    color: #fff;
}

body.dark-mode .mobile-menu {
    background: #1a1a1a;
}

body.dark-mode .mobile-menu a {
    color: #e0d6cc;
}

body.dark-mode .mobile-menu li {
    border-color: #333;
}

body.dark-mode .theme-toggle-float {
    background: rgba(26, 26, 26, 0.95);
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode .theme-toggle-float:hover {
    box-shadow: 0 6px 25px rgba(230, 126, 34, 0.3);
}

body.dark-mode .theme-toggle-float .fa-sun {
    display: inline-block;
}

body.dark-mode .theme-toggle-float .fa-moon {
    display: none;
}

/* Hero */
body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .hero-content {
    color: #e0d6cc;
}

body.dark-mode .hero h1 {
    color: #fff;
}

/* Stats */
body.dark-mode .stats-bar {
    background: #1a1a1a;
}

body.dark-mode .stats-bar .container {
    background: #2d2d2d;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

body.dark-mode .stat-item:hover {
    background: #333;
}

body.dark-mode .stat-label {
    color: #b8a898;
}

/* Categories */
body.dark-mode .categories-section {
    background: #1a1a1a;
}

body.dark-mode .category-card {
    background: #2d2d2d;
    border-color: #333;
}

body.dark-mode .category-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary);
}

body.dark-mode .category-card h3 {
    color: #fff;
}

body.dark-mode .category-card p {
    color: #b8a898;
}

body.dark-mode .category-items li {
    color: #e0d6cc;
}

/* About */
body.dark-mode .about-content h2 {
    color: #fff;
}

body.dark-mode .about-content p {
    color: #b8a898;
}

body.dark-mode .about-features li {
    color: #e0d6cc;
}

/* Section headers */
body.dark-mode .section-title {
    color: #fff;
}

body.dark-mode .section-subtitle {
    color: #b8a898;
}

/* Testimonials */
body.dark-mode .testimonials-section {
    background: #1a1a1a;
}

body.dark-mode .testimonial-card {
    background: #2d2d2d;
}

body.dark-mode .testimonial-text {
    color: #e0d6cc;
}

body.dark-mode .testimonial-name {
    color: #fff;
}

body.dark-mode .testimonial-role {
    color: #b8a898;
}

/* CTA */
body.dark-mode .cta-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

/* Contact */
body.dark-mode .contact-section {
    background: #1a1a1a;
}

body.dark-mode .contact-form {
    background: #2d2d2d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .form-group label {
    color: #e0d6cc;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #1a1a1a;
    border-color: #444;
    color: #e0d6cc;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: var(--secondary);
}

body.dark-mode .contact-info h3 {
    color: #fff;
}

body.dark-mode .contact-info p {
    color: #b8a898;
}

body.dark-mode .info-item {
    color: #e0d6cc;
}

body.dark-mode .info-item .icon {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.2), rgba(230, 126, 34, 0.1));
}

/* Footer */
body.dark-mode .footer {
    background: #0d0d0d;
}

body.dark-mode .footer-brand p {
    color: #b8a898;
}

body.dark-mode .footer-links h4,
body.dark-mode .footer-contact h4,
body.dark-mode .footer-newsletter h4 {
    color: #fff;
}

body.dark-mode .footer-links a {
    color: #b8a898;
}

body.dark-mode .footer-links a:hover {
    color: var(--secondary);
}

body.dark-mode .footer-contact li {
    color: #b8a898;
}

body.dark-mode .newsletter-form input {
    background: #2d2d2d;
    color: #e0d6cc;
    border-color: #444;
}

body.dark-mode .footer-bottom {
    border-color: #333;
}

body.dark-mode .footer-bottom p {
    color: #666;
}

/* Page Headers */
body.dark-mode .page-header {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

/* Nav mobile dark */
@media (max-width: 768px) {
    body.dark-mode .nav-menu {
        background: #1a1a1a;
    }
}