/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --brand-sage: rgb(220, 152, 93);
    --brand-sage-light: #f4f7f5;
    --accent-orange: #D4A373;
    --text-main: #ffffff;
    --bg-light: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0;
    overflow-x: hidden;
}

/* --- 2. HEADER STYLE --- */
.site-header {
    background-color: #111827; /* deep navy */
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid rgba(0, 0, 0, 0.05);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--brand-sage);
}

/* --- 3. FOOTER STYLE --- */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5rem 1rem 2rem 1rem;
}

.social-btn-link {
    text-decoration: none;
    color: var(--brand-sage);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

/* --- 4. RESPONSIVE MEDIA QUERIES (ማስተካከያ የተደረገበት) --- */

/* ለሞባይል (Mobile & Tablet) */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column; /* ሎጎ ከላይ ሜኑ ከታች */
        padding: 1rem;
        gap: 15px;
        text-align: center;
    }

    .nav-links {
        display: flex !important; /* መታየቱን እርግጠኛ ለመሆን */
        gap: 15px;
        justify-content: center;
        width: 100%;
    }

    .nav-links li a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    /* የሎጎ ጽሁፍ መጠን በሞባይል */
    .site-header span[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }

    /* Footer በሞባይል */
    .site-footer .d-flex {
        flex-direction: column !important;
        align-items: center;
        gap: 10px !important;
    }

    .social-btn-link {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* በጣም ትናንሽ ስልኮች */
@media (max-width: 480px) {
    .nav-links {
        gap: 8px;
    }
    .nav-links li a {
        font-size: 0.65rem;
    }
}

.hero-section {
    position: relative;
    /* ቁመቱን እዚህ ጋር አስተካክለነዋል */
    min-height: 70vh !important;
    padding: 60px 0 !important;
    background: linear-gradient(135deg, #1F2937, #374151);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ጽሁፉ በደንብ እንዲታይ Overlayውን እናስተካክል */
.hero-overlay {
    background: #25D366 !important;
    z-index: 1;
}

.hero-content {
    z-index: 5; /* ጽሁፉ ከሁሉም በላይ እንዲሆን */
}

/* ርዕሱ (Title) - መጠኑን ትንሽ ቀንሰነዋል ግን ጎልቶ እንዲታይ አድርገነዋል */
.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

/* መግለጫው (Description) - ይበልጥ ግልጽ እንዲሆን */
.hero-description, .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important; /* ከመቅላት ወደ ነጭ ጠጋ ያለ */
    font-size: 1rem !important;
    max-width: 800px !important;
    line-height: 1.6 !important;
}

/* ምስሉ (Image) - ቁመቱ እንዳይበዛ */
.hero-img-container img {
    height: 400px !important; /* ከ 350 ወደ 280 ዝቅ ብሏል */
    width: 100% !important;
    object-fit: cover;
    filter: brightness(1.1);
    border: 2px solid rgba(255,255,255,0.1) !important;
}

/* Floating label - ይበልጥ ንጹህ እንዲሆን */
.hero-img-container .position-absolute {
    padding: 10px 20px !important;
    font-size: 0.75rem !important;
    background: #ffffff !important;
}

/* በተኖች (Buttons) */
.btn-hero {
    padding: 14px 30px !important;
    font-size: 0.8rem !important;
    border-radius: 2px !important;
}

/* Trust Indicators - ወደ ታች ዝቅ እንዳይሉ */
.trust-indicators {
    margin-top: 20px !important;
    opacity: 0.8;
}

.trust-indicators span {
    font-size: 0.7rem !important;
}

/* --- 1. PRODUCTS SECTION GENERAL --- */
.products-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -1px;
}

/* --- 2. PRODUCT CARD STYLE (Dark Navy Update) --- */
.product-card {
    border: none !important;
    border-radius: 0 !important; /* Sharp Architectural Look */
    background-color: #262f39 !important; /* ያዘዝከው ዳራ */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

/* Image Container */
.product-image {
    aspect-ratio: 1/1; /* ምስሎቹ Square እንዲሆኑ */
    overflow: hidden;
    position: relative;
    background-color: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Card Body (Text Area) */
.product-card .product-info {
    background-color: #262f39 !important;
    padding: 20px 15px !important;
    text-align: center;
}

.product-card .item-code-label {
    color: #D4A373 !important; /* Accent Orange */
    font-size: 0.65rem !important;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
}

.product-card .product-name {
    color: #ffffff !important; /* ነጭ ጽሁፍ */
    font-size: 0.9rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.3;
}

/* Modal & Buttons */
.text-accent { color: #000000; }
.border-accent { border-color: #D4A373 !important; }
.btn-dark-modern {
    background: #0088cc;
    color: white;
    border-radius: 0;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: none;
}
.btn-dark-modern:hover { background: #0077b5; color: white; }

/* --- 4. RESPONSIVE OPTIMIZATION (All Platforms) --- */

/* For Tablets and Mobile */
@media (max-width: 768px) {
    .products-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    /* በስልክ ላይ 2 ዕቃዎች ጎን ለጎን እንዲሆኑ (GRID FIX) */
    .products-section .row.g-4 {
        display: flex;
        flex-wrap: wrap;
        margin-left: -8px;
        margin-right: -8px;
    }

    .products-section .col-12.col-sm-6 {
        width: 50% !important; /* ለሁለት ይከፈላል */
        padding: 8px !important;
    }

    .product-card .product-info {
        padding: 12px 8px !important;
    }

    .product-card .product-name {
        font-size: 0.75rem !important; /* ጽሁፉ እንዳይጨናነቅ */
    }

    .product-card .item-code-label {
        font-size: 0.55rem !important;
        letter-spacing: 1px;
    }
}

/* For Very Small Phones */
@media (max-width: 480px) {
    .product-card .product-name {
        font-size: 0.7rem !important;
    }
}

/* --- ABOUT SECTION MODERN UPDATE --- */
.about-section {
    background-color: #1a1d1c !important; /* ከ Hero section ጋር የሚቀራረብ ጥቁር */
    overflow: hidden;
    position: relative;
}

/* Identity Label */
.about-label {
    color: var(--brand-orange);
    font-weight: 800;
    letter-spacing: 5px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 15px;
}

/* Title Styling */
.about-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.about-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 10px;
}

/* Image & Badge Wrapper */
.about-section .position-relative img {
    border-left: 5px solid var(--brand-orange); /* የብራንድ መታወቂያ መስመር */
    transition: var(--transition);
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Feature Cards (በጥቁር ውስጥ ያሉ ትናንሽ ሳጥኖች) */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(212, 163, 115, 0.05);
    border-color: var(--brand-orange);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--brand-orange);
    margin-bottom: 15px;
    display: block;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    .about-section {
        padding: 60px 0 !important;
        text-align: center;
    }

    .about-section .ps-lg-5 {
        padding-left: 0 !important;
    }

    .about-title {
        margin-bottom: 30px;
    }

    .about-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .exp-badge {
        display: none !important; /* በሞባይል ላይ ምስሉን እንዳይሸፍን */
    }

    .feature-card {
        margin-bottom: 10px;
        text-align: left; /* የካርዱ ጽሁፍ ግን ወደ ግራ ይሁን */
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 1.6rem;
    }

    .feature-card h6 {
        font-size: 0.85rem;
    }
}

/* --- TESTIMONIAL SECTION BASE --- */
.testimonial-section {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

/* ተንሸራታቹ የሚቀመጥበት ሳጥን */
.testimonial-container {
    max-width: 800px;
    padding: 40px 20px;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
}

/* የአምሳያ (Avatar) ክበብ */
.avatar-circle {
    width: 70px;
    height: 70px;
    background: #262f39; /* ያዘዝከው ጥቁር ሰማያዊ */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- TESTIMONIAL FULL TEXT AUTO-HEIGHT --- */

.testimonial-scroll-area {
    max-width: 850px;
    margin: 0 auto;
    padding: 10px 20px;
    /* ቁመቱ እንደ ጽሁፉ ርዝመት ራሱን እንዲያስተካክል */
    height: auto !important;
    min-height: 150px;
    display: block; /* Flex ከነበረ ወደ Block እንቀይረው ጽሁፉ ወደ ታች እንዲፈስ */
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    /* ጽሁፉ እንዳይቆረጥ እነዚህን እናጥፋቸው */
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important; /* መቆረጡን ያነሳዋል */
    text-overflow: clip !important;
    white-space: normal !important; /* ጽሁፉ ካለቀ ወደ ታችኛው መስመር እንዲወርድ */
    word-wrap: break-word; /* ረጅም ቃላት ካሉ እንዲሰበሩ */
    margin-bottom: 20px;
}

/* --- STAR RATING (TESTIMONIAL) --- */
.bi-star-fill, .bi-star {
    color: #D4A373 !important; /* Brand Gold/Orange */
}

/* --- FEEDBACK MODAL STYLING --- */
.custom-modal-content {
    border-radius: 0 !important;
    border: none;
}

.modal-label {
    font-size: 0.7rem !important;
    font-weight: 800;
    color: #888;
    letter-spacing: 1.5px;
}

/* መጻፊያ ሳጥኖች (Inputs) */
.bg-light-input {
    background-color: #f8f9fa !important;
    border: 1px solid #eee !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.bg-light-input:focus {
    background-color: #fff !important;
    border-color: #D4A373 !important;
    box-shadow: none !important;
}

/* Star Rating in Modal */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.star-rating input { display: none; }

.star-rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ff6e34 !important;
}

/* Review Button */
.review-btn {
    background: #262f39;
    color: white;
    border: none;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.review-btn:hover {
    background: #D4A373;
    color: white;
    transform: translateY(-5px);
}

/* --- ALL PLATFORM VIEW (RESPONSIVE) --- */

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-container {
        padding: 30px 10px;
    }

    .testimonial-scroll-area {
        padding: 5px 10px;
    }

    .testimonial-text {
        font-size: 1rem; /* በስልክ ላይ ትንሽ ጽሁፉን ማሳነስ ለንባብ ይመቻል */
        line-height: 1.6;
    }

    .avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem !important;
    }
    .carousel-fade .carousel-item {
        transition-duration: 0.6s;
    }

}

/* ለአነስተኛ ስልኮች */
@media (max-width: 480px) {
    .review-btn {
        width: 100%;
        padding: 15px;
    }

    .modal-dialog {
        margin: 10px;
    }
}

/* Clean Filter Bar */
.modern-filter, .modern-input {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 2px solid #eee !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background: transparent !important;
}
.modern-filter:focus, .modern-input:focus {
    box-shadow: none !important;
    border-bottom-color: #D4A373 !important;
}

/* Premium Card Structure */
.premium-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgb(38, 47, 57);
    border-color: #262f39;
}

/* Image Container */
.premium-img-box {
    aspect-ratio: 1/1;
    background: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.premium-img-box img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.premium-card:hover .premium-img-box img {
    transform: scale(1.1);
}

/* Bottom Info Section (Refined Colors) */
.premium-details {
    padding: 15px 10px;
    background: #262f39; /* Dark Elegant Background */
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.code-badge {
    display: inline-block;
    color: #ffffff; /* Gold Text */
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.premium-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff; /* White Text */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Pagination */
.custom-pagination .page-link {
    border: none;
    color: #1a1a1a;
    font-weight: 700;
    background: transparent;
}
.custom-pagination .page-item.active .page-link {
    color: #D4A373;
    border-bottom: 2px solid #D4A373;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .premium-details { padding: 10px 5px; min-height: 70px; }
    .premium-title { font-size: 0.65rem; }
    .code-badge { font-size: 0.45rem; letter-spacing: 1px; }
}

/* --- About PAGE PREMIUM CSS --- */

/* Hero & Text Colors */
.about-accent-gold { color: #D4A373 !important; }
.about-accent-green { color: #6b8572 !important; }
.about-dark { color: #1a1a1a !important; }

/* Typography Upgrades */
.section-tag {
    letter-spacing: 4px !important;
    font-size: 0.75rem !important;
    display: inline-block;
    margin-bottom: 10px;
}

/* Image Styling - Adds a subtle premium shadow and crisp edges */
.about-img-style {
    border-radius: 4px !important;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.about-img-style:hover {
    transform: scale(1.02);
}

/* Icon Section Fix */
.bi-bullseye, .bi-eye, .bi-box-seam, .bi-truck, .bi-people, .bi-award {
    transition: transform 0.3s ease;
    display: inline-block;
}

section:hover i {
    transform: translateY(-5px);
}

.small{
    color: #45935a;
}

/* Strength Cards (Why Choose Us) */
.col-md-3 {
    padding: 30px 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.col-md-3:hover {
    background: #ffffff;
    border-color: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* CTA Section - Matching the premium theme */
.cta-container {
    border-radius: 8px !important;
    transition: all 0.4s ease;
}

.btn-cta-gold {
    background-color: #D4A373 !important;
    border: none !important;
    letter-spacing: 2px;
    font-weight: 700 !important;
    transition: 0.3s !important;
}

.btn-cta-gold:hover {
    background-color: #1a1a1a !important;
    color: #fff !important;
    transform: translateY(-3px);
}

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.3) !important;
    letter-spacing: 1px;
    transition: 0.3s !important;
}

.btn-outline-white:hover {
    background: #ffffff !important;
    color: #6b8572 !important;
    border-color: #ffffff !important;
}

/* Mobile Fluidity */
@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

/* --- CONTACT PAGE PREMIUM CSS --- */

/* Global Overrides */
#contact-details { background-color: #ffffff; }

/* Contact Tiles Styling */
.contact-tile {
    border: 1px solid #f0f0f0 !important;
    border-radius: 0 !important; /* Sharp boutique edges */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.contact-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
    border-color: #262f39 !important;
}

/* Icon Animation */
.contact-tile i {
    transition: transform 0.4s ease;
}

.contact-tile:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Form Input Styling */
.form-control {
    border-radius: 0 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 15px !important;
    background-color: #fcfcfc !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: #D4A373 !important;
    box-shadow: none !important;
}

label {
    color: #262f39;
    letter-spacing: 1px;
    margin-bottom: 8px !important;
}

/* Button Styling */
#submitBtn {
    border-radius: 0 !important;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
}

#submitBtn:hover {
    background-color: #262f39 !important;
    transform: translateY(-2px);
}

/* Telegram Button Specific */
.btn[style*="background: #0088cc"] {
    border-radius: 0 !important;
    transition: 0.3s;
}

.btn[style*="background: #0088cc"]:hover {
    background-color: #0077b5 !important;
    box-shadow: 0 5px 15px rgba(0,136,204,0.3);
}

/* Outline Buttons */
.btn-outline-dark {
    border-radius: 0 !important;
    border: 2px solid #262f39 !important;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-outline-dark:hover {
    background-color: #262f39 !important;
    color: #fff !important;
}

/* Map and Address Box */
iframe {
    filter: grayscale(0.2);
    transition: 0.5s;
}

iframe:hover {
    filter: grayscale(0);
}

.p-4[style*="background:#6b8572"] {
    border-left: 5px solid #D4A373; /* Gold accent on address */
}

/* Success Message Animation */
#successMessage {
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-tile { padding: 3rem 1.5rem !important; }
    .display-5 { font-size: 2.5rem; }
    h1 { font-size: 2.2rem !important; }
    .mt-5 { margin-top: 2rem !important; }
}