/* 
   KAMAL AFGHAN MARBLE - MAIN STYLESHEET
   Modern, Responsive, Elegant Design
   */

/* ---------- RESET & VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c19a6b;        /* Warm gold/beige */
    --primary-dark: #9e7b52;
    --primary-light: #e8d5c4;
    --secondary: #1e2a3a;       /* Dark slate */
    --accent: #d4af37;          /* Gold accent */
    --light: #fef9f2;
    --dark: #2c2c2c;
    --gray: #6c757d;
    --light-gray: #f8f6f2;
    --border: #e2dfd7;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 90px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ---------- HERO SLIDER (improved) ---------- */
/* Multiple images inside slide content */
/* Hero Section with Multi‑image Background per Slide */
.hero {
    position: relative;
    height: 85vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Multi‑image background grid */
.slide-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    z-index: 0;
}

.slide-bg-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.slide-bg-grid img:hover {
    transform: scale(1.02);
}

/* Dark overlay for text readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Slide content (text + buttons) */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Slider controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-slide, .next-slide {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.prev-slide:hover, .next-slide:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .slide-bg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .slide-content h2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .slide-bg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .slide-content h2 { font-size: 2rem; }
    .slide-content p { font-size: 1rem; }
}

@media (max-width: 576px) {
    .slide-bg-grid {
        grid-template-columns: 1fr;
    }
    .slider-controls button {
        width: 40px;
        height: 40px;
    }
}
.slide-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0 20px;
}

.slide-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(255,255,255,0.3);
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.slide-images img:hover {
    transform: scale(1.08);
    border-color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-images img {
        width: 80px;
        height: 80px;
    }
    .slide-images {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .slide-images img {
        width: 60px;
        height: 60px;
    }
}
.hero {
    position: relative;
    height: 85vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.slide-content .btn-primary {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls button {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* ---------- FEATURES SECTION ---------- */
.features {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-icon i {
    font-size: 2.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.5;
}

/* ---------- WELCOME SECTION ---------- */
.welcome .container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.welcome-content {
    flex: 1;
}

.welcome-content .section-title {
    text-align: left;
}

.welcome-content .section-title::after {
    left: 0;
    transform: none;
    margin-left: 0;
}

.welcome-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.welcome-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.welcome-image:hover img {
    transform: scale(1.02);
}

/* ---------- APPLICATIONS SECTION ---------- */
.applications {
    background: linear-gradient(135deg, #faf7f2 0%, #fef9f2 100%);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.app-card {
    background: white;
    padding: 45px 25px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.app-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.app-card:hover .app-icon {
    background: var(--primary);
}

.app-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.app-card:hover .app-icon i {
    color: white;
}

.app-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* ---------- PRODUCTS PREVIEW ---------- */
.products-preview {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin: 60px 0 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-info p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-info .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: inline-block;
}

/* ---------- CLIENTS SECTION ---------- */
.clients {
    background: var(--light-gray);
}

.clients-slider {
    display: flex;
    justify-content: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
    margin-top: 100px;
    
    
    
}

.client-logo {
    background: white;
    padding: 10px 10px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 160px;
    text-align: center;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    max-width: 150%;
    height: auto;
    filter: grayscale(20%);
    transition: var(--transition);
    border-radius: 16px;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* ---------- NEWSLETTER SECTION ---------- */
.newsletter {
    background: linear-gradient(135deg, var(--secondary), #1a2632);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

#newsletterForm {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    gap: 15px;
}

#newsletterForm input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#newsletterForm .btn-primary {
    border-radius: 50px;
    padding: 16px 32px;
}

/* ---------- FAQ SECTION ---------- */
.faq {
    background: white;
}

.faq-container {
    max-width: 850px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--light-gray);
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 30px;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 30px 22px 30px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }
    .section-title {
        font-size: 2.3rem;
    }
    .slide-content h2 {
        font-size: 2.8rem;
    }
    .welcome .container {
        flex-direction: column;
    }
    .welcome-content .section-title {
        text-align: center;
    }
    .welcome-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    .slide-content h2 {
        font-size: 2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .features-grid,
    .applications-grid,
    .products-grid {
        gap: 25px;
    }
    #newsletterForm {
        flex-direction: column;
        gap: 15px;
    }
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .btn-primary, .btn-secondary {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    .product-card .product-info h3 {
        font-size: 1.2rem;
    }
    .client-logo {
        width: 130px;
        padding: 15px;
    }
}
