/* ===========================
   Global Styles & Fonts
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* د عصري لید لپاره Font-family */
    font-family: 'Poppins', sans-serif; 
}

body {
    background: #f8f8f8;
    color: #333;
    line-height: 1.6;
    padding-top: 50px; /* د فکس شوي نیویګیشن لپاره ځای */
}

.wrap {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1, h2, h3, h4 {
    color: #003b82;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

.st {
    text-align: center;
    font-size: 36px;
    margin-top: 50px;
    margin-bottom: 10px;
    color: #003b82;
}

.st-sub {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
}

/* ===========================
   Buttons (Actions)
============================== */

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
    text-align: center;
    border: none;
}

.btn-primary-call {
    background: #009f70;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 159, 112, 0.4);
}

.btn-primary-call:hover {
    background: #007f59;
}

.btn-secondary-action {
    background: #003b82;
    color: #fff;
}

.btn-secondary-action:hover {
    background: #002c63;
}

/* نوی سټایل: د کوچنیو تڼیو لپاره */
.buttons-small {
    padding: 10px 15px 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-small {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    background: #25d366;
    color: #fff;
}

.btn-call-small {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    background: #003b82;
    color: #fff;
}


/* ===========================
   Top Navigation (Fixed)
============================== */

.top-nav-bar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar-contact {
    background: #003b82;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #009f70;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 28px;
    margin-right: 8px;
    color: #003b82;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #009f70;
}

.menu-toggle {
    display: none;
}

/* ===========================
   Hero Section
============================== */

.hero-section {
    padding: 80px 0 50px;
    background: linear-gradient(to right, #ffffff, #f0f4f7);
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text-content {
    flex: 1;
    max-width: 60%;
}

.breadcrumbs {
    color: #009f70;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 15px;
}

.hero-text-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #222;
}

.hero-image-content {
    flex: 1;
    max-width: 40%;
}

.hero-image-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===========================
   Features Section (Free Samples)
============================== */

.features-section {
    padding: 30px 0;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

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

.feature-box {
    text-align: center;
    padding: 15px;
    border-right: 1px solid #eee;
}

.feature-box:last-child {
    border-right: none;
}

.feature-box i {
    font-size: 30px;
    color: #009f70;
    margin-bottom: 10px;
}

.feature-box p {
    margin: 0;
    font-weight: 500;
    color: #555;
    font-size: 15px;
}

/* ===========================
   Product Showcase
============================== */

.product-showcase-section {
    padding: 40px 0;
}

.dark-section {
    background: #f0f0f0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

/* د 3-کالمونو شوکیسونو ته بیا 3 کالمونه ورکوو */
.product-showcase-section:nth-of-type(3) .showcase-grid,
.product-showcase-section:nth-of-type(5) .showcase-grid,
.product-showcase-section:nth-of-type(7) .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* د 6-کالمونو شوکیسونو ته بیا 3 کالمونه ورکوو */
.product-showcase-section:nth-of-type(9) .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
}


.showcase-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    /* د تڼیو لپاره لږ لاندې ځای */
    padding-bottom: 0; 
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.showcase-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.showcase-item h3 {
    font-size: 20px;
    margin: 15px 15px 5px;
    color: #003b82;
    text-align: center;
}

.showcase-item p {
    font-size: 15px;
    padding: 0 15px 10px;
    color: #555;
    text-align: center;
}

/* ===========================
   Why Choose Us Section
============================== */

.why-choose-section {
    padding: 60px 0;
    background: #fff;
}

.alt-layout {
    background: #f0f0f0;
}

.why-choose-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-choose-text {
    flex: 1;
}

.why-choose-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.advantages-list {
    margin: 20px 0;
}

.advantages-list p {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.advantages-list i {
    color: #009f70;
    margin-right: 10px;
}

.why-choose-image {
    flex: 1;
    position: relative;
}

.why-choose-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.promo-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff6347;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(255, 99, 71, 0.4);
}

.alt-layout .why-choose-image {
    order: 2;
}

/* ===========================
   Process Section (Installation)
============================== */

.process-section {
    padding: 50px 0;
    background: #003b82;
    color: #fff;
    text-align: center;
}

.alt-process-color {
    background: #009f70;
}

.process-title {
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.process-icon {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
}

.process-number {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 15px;
}

.process-step h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 20px;
}

.process-step p {
    font-size: 15px;
    color: #ddd;
}

/* ===========================
   Projects Gallery (47 Images)
============================== */

.projects-section {
    padding: 40px 0;
}

.projects-gallery {
    display: grid;
    /* د پراخه ګالري لپاره 4 کالمونه */
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
}

.projects-gallery img {
    width: 100%;
    height: 180px; /* د افقی انځورونو لپاره ښه اندازه */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.projects-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===========================
   Call to Action / Delivery
============================== */

.cta-delivery-section {
    background: #003b82;
    padding: 40px 0;
    color: #fff;
}

.delivery-layout {
    display: flex;
    gap: 30px;
    align-items: center;
}

.cta-box {
    flex: 1;
    text-align: center;
    background: #002c63;
    padding: 25px;
    border-radius: 10px;
}

.cta-box h3 {
    color: #009f70;
    font-size: 22px;
    margin-bottom: 10px;
}

.cta-box p {
    margin: 0;
    color: #fff;
}

.cta-box i {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
}

.delivery-info {
    flex: 2;
}

.delivery-info h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.location-grid p {
    margin: 0;
    font-size: 15px;
    color: #ddd;
}

.location-grid i {
    color: #009f70;
    margin-right: 5px;
}

/* ===========================
   Map Section
============================== */

#location {
    padding-bottom: 50px;
}

.map-text {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: #555;
}

/* ===========================
   Footer
============================== */

.footer {
    background: #222;
    color: #fff;
    padding: 30px 0;
    font-size: 15px;
}

.foot-flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer h3 {
    color: #009f70;
    margin-bottom: 10px;
}

.footer strong {
    color: #fff;
}

/* ===========================
   WhatsApp Floating Button
============================== */

.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
}

.float-wa i {
    font-size: 24px;
    margin-right: 5px;
}

/* Hide text initially, show on hover/desktop */
.float-wa {
    width: 60px;
    overflow: hidden;
    transition: width 0.3s ease;
}

@media (min-width: 768px) {
    .float-wa:hover {
        width: 150px;
    }
}

/* ===========================
   Responsive Design (Mobile)
============================== */

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: #003b82;
        cursor: pointer;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-text-content h1 {
        font-size: 36px;
    }

    .hero-image-content {
        max-width: 100%;
        order: 1;
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-box {
        border-right: none;
    }

    /* 4-کالم شوکیسونه په 2 کالمونو بدلوي */
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 3-کالم شوکیسونه په 1 کالم بدلوي */
    .product-showcase-section:nth-of-type(3) .showcase-grid,
    .product-showcase-section:nth-of-type(5) .showcase-grid,
    .product-showcase-section:nth-of-type(7) .showcase-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-layout {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .why-choose-text {
        order: 2;
    }
    
    .why-choose-image {
        order: 1;
    }
    
    .alt-layout .why-choose-text {
        order: 1;
    }
    
    .alt-layout .why-choose-image {
        order: 2;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .delivery-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-box {
        width: 100%;
    }
    
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foot-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer div {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    /* ټول شوکیسونه په موبایل کې 1 کالم ته راوړي */
    .showcase-grid,
    .product-showcase-section .showcase-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-gallery {
        grid-template-columns: 1fr;
    }
}
