/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
}

/* English Language - LTR Layout */
body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Arabic Language - RTL Layout */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 25px;
}

/* For LTR (English) */
body[dir="ltr"] nav ul li {
    margin-right: 0;
    margin-left: 25px;
}

/* For RTL (Arabic) */
body[dir="rtl"] nav ul li {
    margin-right: 25px;
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #8bc34a;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1200x600/E8F5E8/8BC34A?text=Garden+Secrets') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #8bc34a;
    color: white;
}

.btn-primary:hover {
    background-color: #7cb342;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: #8bc34a;
    border: 2px solid #8bc34a;
}

.btn-secondary:hover {
    background-color: #8bc34a;
    color: white;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 2rem;
    color: #8bc34a;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #333;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #f0f7eb;
}

.featured-products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #333;
}



.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    color: #333;
}

.product-card p {
    padding: 0 15px 15px;
    color: #666;
}

/* Slogan Section */
.slogan {
    padding: 60px 0;
    background-color: #8bc34a;
    color: white;
    text-align: center;
}

.slogan h2 {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* About Page */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.company-description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* For LTR (English) */
body[dir="ltr"] .company-description {
    text-align: center;
}

/* For RTL (Arabic) */
body[dir="rtl"] .company-description {
    text-align: center;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vision-card, .mission-card, .quality-card, .certifications-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

/* For LTR (English) */
body[dir="ltr"] .vision-card,
body[dir="ltr"] .mission-card,
body[dir="ltr"] .quality-card,
body[dir="ltr"] .certifications-card {
    text-align: center;
}

/* For RTL (Arabic) */
body[dir="rtl"] .vision-card,
body[dir="rtl"] .mission-card,
body[dir="rtl"] .quality-card,
body[dir="rtl"] .certifications-card {
    text-align: center;
}

.vision-card h3, .mission-card h3, .quality-card h3, .certifications-card h3 {
    color: #8bc34a;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Contact Page */
.contact-container {
    padding: 80px 0;
    background-color: white;
}

.contact-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.address {
    color: #8bc34a;
    font-weight: 500;
}

.phone {
    color: #333;
    font-weight: 500;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

/* For LTR (English) */
body[dir="ltr"] .form-group label {
    text-align: left;
}

/* For RTL (Arabic) */
body[dir="rtl"] .form-group label {
    text-align: right;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #8bc34a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #7cb342;
}

/* Products Page */
.products-page {
    padding: 80px 0;
    background-color: white;
}

.products-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

/* Product Details Page */
.product-details {
    padding: 80px 0;
    background-color: white;
}

.product-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-images {
    text-align: center;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover {
    border-color: #8bc34a;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail img:hover {
    opacity: 0.8;
}

.product-info h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.product-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* For LTR (English) */
body[dir="ltr"] .spec-item {
    flex-direction: row;
}

/* For RTL (Arabic) */
body[dir="rtl"] .spec-item {
    flex-direction: row;
    justify-content: flex-end;
}

.spec-label {
    font-weight: 500;
    width: 150px;
    color: #333;
}

/* For LTR (English) */
body[dir="ltr"] .spec-label {
    text-align: left;
}

/* For RTL (Arabic) */
body[dir="rtl"] .spec-label {
    text-align: right;
    margin-left: 15px;
    margin-right: 0;
}

.spec-value {
    flex: 1;
    color: #666;
}

/* For LTR (English) */
body[dir="ltr"] .spec-value {
    text-align: left;
}

/* For RTL (Arabic) */
body[dir="rtl"] .spec-value {
    text-align: right;
}

.qr-code {
    text-align: center;
    margin-top: 30px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border: 2px solid #8bc34a;
    padding: 10px;
    border-radius: 10px;
}

.product-description {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.product-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* For LTR (English) */
body[dir="ltr"] .spec-item {
    flex-direction: row;
}

/* For RTL (Arabic) */
body[dir="rtl"] .spec-item {
    flex-direction: row;
    justify-content: flex-end;
}

.spec-label {
    font-weight: 500;
    width: 150px;
    color: #333;
}

/* For LTR (English) */
body[dir="ltr"] .spec-label {
    text-align: left;
}

/* For RTL (Arabic) */
body[dir="rtl"] .spec-label {
    text-align: right;
    margin-left: 15px;
    margin-right: 0;
}

.spec-value {
    flex: 1;
    color: #666;
}

/* For LTR (English) */
body[dir="ltr"] .spec-value {
    text-align: left;
}

/* For RTL (Arabic) */
body[dir="rtl"] .spec-value {
    text-align: right;
}

.qr-code {
    text-align: center;
    margin-top: 30px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border: 2px solid #8bc34a;
    padding: 10px;
    border-radius: 10px;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 80px 0;
    background-color: #f0f7eb;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
    
.existing-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
    
.existing-image-item {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
    
.existing-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
    
.delete-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
    
.delete-image-btn:hover {
    background: #d32f2f;
}

.action-btn {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-5px);
}

.action-btn i {
    font-size: 2rem;
    color: #8bc34a;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: white;
        width: 100%;
        flex-direction: column;
        text-align: right;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    /* For LTR (English) */
    body[dir="ltr"] nav ul {
        text-align: left;
        left: 0;
        right: auto;
    }
    
    /* For RTL (Arabic) */
    body[dir="rtl"] nav ul {
        text-align: right;
        right: 0;
        left: auto;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 15px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    

    
    .vision-mission {
        grid-template-columns: 1fr;
    }
}
.site-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

/* Hover effect للكمبيوتر */
.site-logo:hover {
    transform: scale(1.05);
}

/* للموبايل */
@media (max-width: 768px) {
    .site-logo {
        width: 160px;
    }
}

/* للموبايلات الصغيرة */
@media (max-width: 480px) {
    .site-logo {
        width: 130px;
    }
}
.navbar .site-logo {
    max-height: 60px;
}

/* Featured Products Table */
.featured-products-list {
    margin-top: 20px;
}

.featured-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.featured-table th,
.featured-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* For LTR (English) */
body[dir="ltr"] .featured-table th,
body[dir="ltr"] .featured-table td {
    text-align: left;
}

/* For RTL (Arabic) */
body[dir="rtl"] .featured-table th,
body[dir="rtl"] .featured-table td {
    text-align: right;
}

.featured-table th {
    background-color: #f5f5f5;
    font-weight: 500;
}

.featured-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.featured-status.active {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.featured-status.inactive {
    background-color: #fff3e0;
    color: #ef6c00;
}

.toggle-featured-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.toggle-featured-btn.make-featured {
    background-color: #4caf50;
    color: white;
}

.toggle-featured-btn.remove-featured {
    background-color: #f44336;
    color: white;
}

.toggle-featured-btn:hover {
    opacity: 0.9;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-content {
    padding: 15px;
    text-align: center;
}

.product-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.btn-view {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-view:hover {
    background: #1b5e20;
}
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media(max-width:768px){
    .product-detail-container{
        grid-template-columns:1fr;
    }
}

.main-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumbnail img:hover {
    border-color: #2e7d32;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-description p {
    color: #555;
    line-height: 1.7;
}

.product-specs {
    margin-top: 25px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding: 8px 0;
    font-size: 14px;
}

.spec-label {
    font-weight: 600;
    color: #2e7d32;
}

.qr-code {
    margin-top: 25px;
    text-align: center;
}

.qr-code img {
    width: 130px;
    margin-top: 10px;
}
.barcode-box img {
    height: 70px;
}
.qr-code-box {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg,#f1f8e9,#ffffff);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.qr-title {
    font-size: 17px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 6px;
}

.qr-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.qr-code-box img {
    width: 150px;
}

/* Product Card Hover Effects */
.product-card {
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    transition:.4s;
    text-align:center;
    position:relative;
}

.product-card:hover {
    transform:translateY(-10px);
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.product-image-box {
    position:relative;
    height:220px;
    overflow:hidden;
}

.product-image-box img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:3s linear;
}

.product-card:hover .product-image-box img {
    transform:scale(1.15) translateX(-5%);
}

.image-arrows {
    position:absolute;
    top:50%;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    padding:0 12px;
    opacity:0;
    transition:.4s;
    transform:translateY(-50%);
}

.image-arrows span {
    background:rgba(0,0,0,0.5);
    color:#fff;
    width:32px;
    height:32px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:18px;
}

.product-card:hover .image-arrows {
    opacity:1;
}

.product-card h3 {
    font-size:17px;
    margin:12px 0 6px;
}

.product-card p {
    font-size:14px;
    color:#666;
    padding:0 10px;
}

.product-card a {
    margin:12px 0 18px;
    display:inline-block;
}
.products-slider {
    position: relative;
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 250px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: .3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
}

.slider-btn {
    position: absolute;
    top: 40%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.slider-btn.left { left: 5px; }
.slider-btn.right { right: 5px; }

.slider-btn:hover {
    background: #2e7d32;
}
.products-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    flex-shrink: 0;
    text-align: center;
    transition: .4s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
}

.slider-btn.left { left: 5px; }
.slider-btn.right { right: 5px; }

.slider-btn:hover {
    background: #2e7d32;
}
.main-product-img {
    width: 100%;
    border-radius: 12px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.main-product-img.fade {
    opacity: 0;
    transform: scale(1.05);
}

.site-logo {
    width: 260px;   
    height: auto;
}

@media (min-width: 768px) {
    .site-logo {
        width: 180px;
    }
}

@media (min-width: 1200px) {
    .site-logo {
        width: 260px; 
    }
}

.products-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 auto;
    width: 260px; /* للكمبيوتر */
    scroll-snap-align: start;
}
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card p {
    min-height: 48px;   /* عدل الرقم حسب شكل الموقع */
}
.product-card a.btn {
    margin-top: auto;
}
.product-card p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* عدد السطور */
    -webkit-box-orient: vertical;
}
.hero {
    height: 400px;
    background-image: url("img/logo1.png");
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end; /* الزر تحت */
    justify-content: center;

    padding-bottom: 40px;
    position: relative;
}
.btn-primary {
    background: linear-gradient(135deg, #e6b19a, #c98972);
    color: #fff;

    padding: 14px 42px;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;

    border: none;
    text-decoration: none;

    box-shadow: 0 12px 30px rgba(201, 137, 114, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(201, 137, 114, 0.55);
}
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 260px;
        padding-top: 20px;
        padding-bottom: 25px;

        background-size: 100% auto;
        background-position: top center;
    }

    .btn-primary {
        padding: 12px 34px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .hero .btn-primary {
        display: none;
    }
}
.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f1d27a);
    color: #4a3b12;

    padding: 14px 42px;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;

    border: 1px solid rgba(212, 175, 55, 0.6);
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(212, 175, 55, 0.5);
}
.btn-primary {
    background: #f3e6e8;
    color: #7a3b52;

    padding: 13px 40px;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 500;

    border: 1px solid #e1c7cf;
    box-shadow: 0 6px 18px rgba(122, 59, 82, 0.15);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e9d6db;
}
.btn-primary {
    background: transparent;
    color: #c9a23f;

    padding: 14px 42px;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 600;

    border: 2px solid #c9a23f;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #c9a23f;
    color: #fff;
}
