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

:root {
    /* Homex Logo Color Palette - Black, Yellow & White Theme */
    --primary-color: #000000;
    --primary-dark: #000000;
    --primary-light: #333333;
    --secondary-color: #FFD700;
    --secondary-light: #FFED4E;
    --secondary-dark: #FFC107;
    --accent-color: #FFD700;
    --background-gradient: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 50%, #FFFFFF 100%);
    --card-bg: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #4A4A4A;
    --text-light: #808080;
    --border-color: #E0E0E0;
    --border-light: #F5F5F5;
    --success-color: #10B981;
    --success-dark: #059669;
    --error-color: #EF4444;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--background-gradient);
    min-height: 100vh;
    direction: rtl;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Homex Logo Styles */
.homex-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.logo-image {
    max-width: 140px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-image:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    max-width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    cursor: pointer;
}

.footer-logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.logo-fallback {
    display: block;
}

.logo-arabic {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    position: relative;
    transform: rotate(-2deg);
    letter-spacing: -2px;
    font-family: 'Cairo', sans-serif;
}

.trademark {
    font-size: 0.6rem;
    vertical-align: super;
    margin-right: 2px;
    font-weight: 400;
}

.logo-stripe {
    background: var(--secondary-color);
    padding: 6px 20px;
    margin-top: -8px;
    margin-right: 15px;
    transform: rotate(-2deg);
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.logo-english {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-family: 'Cairo', sans-serif;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.footer-logo .logo-arabic {
    font-size: 2.5rem;
    color: white;
    font-weight: 900;
    line-height: 1;
    position: relative;
    transform: rotate(-2deg);
    letter-spacing: -2px;
    font-family: 'Cairo', sans-serif;
}

.footer-logo .logo-stripe {
    background: var(--secondary-color);
    padding: 6px 20px;
    margin-top: -8px;
    margin-right: 15px;
    transform: rotate(-2deg);
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.footer-logo .logo-english {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-family: 'Cairo', sans-serif;
}

.footer-brand {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Main Header */
.main-header {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--secondary-color);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 400;
    display: none;
}

.header-contact {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.2);
}

.contact-item:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.contact-icon {
    font-size: 1rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFACD 100%);
    border-radius: 20px;
    border: 2px solid var(--secondary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--background-gradient);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(13, 148, 136, 0.2));
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--card-bg);
}

/* Product Types Section */
.product-types-section {
    padding: 80px 0;
    background: var(--background-gradient);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.product-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-type-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.product-type-image {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFACD 100%);
    padding: 50px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.product-type-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
}

.bag-visual {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 200px;
}

/* Shopping Bag Visual */
.shopping-bag {
    position: relative;
}

.shopping-bag .bag-handle {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    border: 8px solid var(--primary-color);
    border-bottom: none;
    border-radius: 30px 30px 0 0;
}

.shopping-bag .bag-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
    position: relative;
}

.shopping-bag .bag-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px 15px 0 0;
}

/* Food Bag Visual */
.food-bag {
    position: relative;
}

.food-bag .bag-top {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.food-bag .bag-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 249, 230, 0.9) 100%);
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.15);
    position: relative;
}

.food-bag .bag-body::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 2px dashed var(--secondary-color);
    border-radius: 8px;
}

/* Garbage Bag Visual */
.garbage-bag {
    position: relative;
}

.garbage-bag .bag-tie {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.garbage-bag .bag-tie::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.garbage-bag .bag-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: 20px 20px 15px 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.garbage-bag .bag-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Zipper Bag Visual */
.zipper-bag {
    position: relative;
}

.zipper-bag .bag-zipper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 8px;
    background: linear-gradient(90deg, #E5E7EB 0%, #D1D5DB 50%, #E5E7EB 100%);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.zipper-bag .bag-zipper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.zipper-bag .bag-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 230, 0.95) 100%);
    border: 2px solid var(--primary-color);
    border-top: 8px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.15);
    position: relative;
    margin-top: 4px;
}

.product-type-content {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-type-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.product-type-content > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    line-height: 1.6;
}

.product-specs li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 16px;
    height: 16px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.product-specs li::after {
    content: '✓';
    position: absolute;
    right: 0;
    top: 10px;
    width: 16px;
    height: 16px;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.feature-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Order Main Section */
.order-main-section {
    padding: 80px 0;
    background: var(--background-gradient);
}

.preview-customization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.preview-wrapper {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.preview-wrapper h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.customization-wrapper {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.customization-wrapper h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.customization-inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.custom-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-input-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.custom-input-group input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
    background: #FAFAFA;
    color: var(--text-primary);
}

.custom-input-group input[type="text"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1), 0 4px 12px rgba(255, 215, 0, 0.15);
    background: white;
}

/* Color Picker Styles */
.color-picker-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.custom-input-group input[type="color"] {
    width: 60px;
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px;
}

.custom-input-group input[type="color"]:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.color-preset-select {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    background: #FAFAFA;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    direction: rtl;
}

.color-preset-select:hover {
    border-color: var(--secondary-color);
    background: white;
}

.color-preset-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1), 0 4px 12px rgba(255, 215, 0, 0.15);
    background: white;
}

.upload-area-small {
    border: 2px dashed var(--secondary-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFACD 100%);
}

.upload-area-small:hover {
    background: linear-gradient(135deg, #FFFACD 0%, #FFE4B5 100%);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.upload-icon-small {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.upload-area-small p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.remove-logo-btn-small {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--error-color) 0%, #DC2626 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.remove-logo-btn-small:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    transform: translateY(-2px);
}

.order-form-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.order-form-full {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.order-main-section section {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.order-main-section section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-main-section section:hover::before {
    opacity: 1;
}

.order-main-section section:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
}

.order-main-section section h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
}

.order-main-section section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.why-choose-section .section-title {
    color: white;
}

.why-choose-section .section-title::after {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    text-align: center;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Preview Section */
.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFACD 50%, #FFF9E6 100%);
    border-radius: 16px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border: 2px dashed var(--secondary-color);
    flex: 1;
    min-height: 350px;
}

.bag-image-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bag-display {
    width: 260px;
    height: 360px;
    position: relative;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.bag-front-display {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f0f0f0 0%, #ffffff 30%, #ffffff 70%, #f0f0f0 100%);
    border-radius: 8px 8px 12px 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    box-shadow: 
        inset -2px 0 4px rgba(0,0,0,0.1),
        inset 2px 0 4px rgba(255,255,255,0.8),
        0 8px 16px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Bag handles effect */
.bag-front-display::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 30px;
    border: 3px solid #999;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    opacity: 0.6;
}

.bag-front-display::after {
    content: '';
    position: absolute;
    top: -15px;
    right: 30px;
    width: 40px;
    height: 30px;
    border: 3px solid #999;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    opacity: 0.6;
}

.logo-area {
    width: 100px;
    height: 100px;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f0f8 0%, #f5f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    flex: 1;
    justify-content: flex-start;
}

.display-text {
    margin: 0;
    font-family: 'Cairo', Arial, sans-serif;
    font-weight: bold;
    line-height: 1.2;
    color: #000000;
    word-wrap: break-word;
    max-width: 100%;
    transition: color 0.3s ease;
}

.display-text.text1 {
    font-size: 14px;
    margin-top: 5px;
}

.display-text.text2 {
    font-size: 13px;
}

.display-text.text3 {
    font-size: 11px;
}

.bag-svg {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    max-width: 280px;
    max-height: 380px;
    object-fit: contain;
}

.bag-svg:hover {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.preview-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.bag-preview {
    perspective: 1200px;
    width: 340px;
    height: 440px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inline-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255, 215, 0, 0.2) inset;
    display: block;
    transition: box-shadow 0.3s ease;
}

.inline-svg:hover {
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 215, 0, 0.3) inset;
}

.bag-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255, 215, 0, 0.2) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    overflow: hidden;
}

.bag-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    position: relative;
}

.bag-text {
    color: #000000;
    font-weight: 700;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
    word-wrap: break-word;
    max-width: 90%;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.bag-text-1 {
    font-size: 1.4rem;
    margin-top: 20px;
}

.bag-text-2 {
    font-size: 1.6rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bag-text-3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.bag-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.bag-front:hover {
    transform: rotateY(10deg) rotateX(6deg) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255, 255, 255, 0.2) inset;
}

.logo-placeholder {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.3rem;
    text-align: center;
    padding: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.demo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.uploaded-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
}

/* Upload Section */
.upload-area {
    border: 3px dashed var(--secondary-color);
    border-radius: 24px;
    padding: 55px 35px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFACD 100%);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s;
}

.upload-area:hover::before {
    left: 100%;
}

.upload-area:hover {
    background: linear-gradient(135deg, #FFFACD 0%, #FFE4B5 100%);
    border-color: var(--secondary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.upload-area.dragover {
    background: linear-gradient(135deg, #FFE4B5 0%, #FFD700 100%);
    border-color: var(--primary-color);
    border-style: solid;
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.upload-icon {
    font-size: 4.5rem;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 8px rgba(13, 148, 136, 0.2));
}

.upload-area p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.upload-hint {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.remove-logo-btn {
    width: 100%;
    padding: 16px;
    margin-top: 24px;
    background: linear-gradient(135deg, var(--error-color) 0%, #DC2626 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.remove-logo-btn:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.4);
}

.remove-logo-btn:active {
    transform: translateY(-1px);
}

/* Order Form */
.order-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    direction: rtl;
    background: #FAFAFA;
    color: var(--text-primary);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.1), 0 4px 14px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
    background: white;
}

.form-group input:hover:not(:focus) {
    border-color: var(--primary-light);
    background: white;
}

.input-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    padding-right: 4px;
}

.submit-btn {
    width: 100%;
    padding: 20px 35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.2rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 350px;
    height: 350px;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.submit-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg);
    padding: 55px 45px;
    border-radius: 28px;
    text-align: center;
    max-width: 520px;
    width: 90%;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-light);
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 18px;
    font-size: 2.1rem;
    font-weight: 700;
}

.modal-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.success-message {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 18px;
}

.close-btn {
    margin-top: 35px;
    padding: 14px 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    margin-top: auto;
    padding: 55px 0 25px;
    position: relative;
    z-index: 1;
    border-top: 3px solid var(--secondary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 35px;
}

.header-content {
    max-width: 1400px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 12px;
}

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

.social-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .preview-customization-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-image {
        max-width: 120px;
    }

    .logo-section {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tagline {
        display: block;
        font-size: 0.75rem;
        text-align: center;
    }

    .header-contact {
        gap: 8px;
        justify-content: center;
    }

    .contact-item {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .footer-logo {
        padding: 12px 15px;
    }

    .footer-logo-image {
        max-width: 130px;
    }

    .logo-section .homex-logo .logo-arabic {
        font-size: 1.8rem;
    }

    .logo-section .homex-logo .logo-stripe {
        padding: 5px 15px;
        margin-right: 10px;
    }

    .logo-section .homex-logo .logo-english {
        font-size: 0.95rem;
    }

    .footer-logo .logo-arabic {
        font-size: 1.8rem;
    }

    .footer-logo .logo-stripe {
        padding: 5px 15px;
        margin-right: 10px;
    }

    .footer-logo .logo-english {
        font-size: 0.95rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .header-contact {
        justify-content: center;
        gap: 15px;
    }

    .contact-item {
        padding: 6px 14px;
        font-size: 0.9rem;
    }

    .section-container {
        padding: 0 20px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-section,
    .services-section,
    .features-section,
    .order-main-section,
    .why-choose-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid,
    .features-grid,
    .why-grid,
    .product-types-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-type-image {
        min-height: 200px;
        padding: 40px 20px;
    }

    .bag-visual {
        width: 150px;
        height: 170px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    section {
        padding: 30px 25px;
        border-radius: 24px;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .preview-container {
        padding: 45px 25px;
    }

    .bag-preview {
        width: 290px;
        height: 380px;
    }

    .upload-area {
        padding: 45px 25px;
    }

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

    .form-group input {
        padding: 16px 20px;
    }

    .submit-btn {
        padding: 18px 30px;
        font-size: 1.15rem;
    }

    .modal-content {
        padding: 45px 35px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-section h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bag-preview {
        width: 260px;
        height: 340px;
    }

    section {
        padding: 25px 20px;
    }

    section h2 {
        font-size: 1.35rem;
    }

    .logo-section h1 {
        font-size: 1.4rem;
    }
}
