/* --- Variables & Reset --- */
:root {
    --primary-color: #5D9CEC; /* Pastel Blue */
    --secondary-color: #ff0000; /* Darker Blue */
    --accent-color: #AC92EC; /* Pastel Purple */
    --bg-light: #F5F7FA; /* Very Light Grey/Blue */
    --bg-white: #FFFFFF;
    --text-dark: #434A54;
    --text-light: #656D78;
    --whatsapp-green: #25D366;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden; /* Fix for right side margin/scroll issue */
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

ul { 
    list-style: none;
}
a { 
    text-decoration: none;
    color: inherit;
}
img { 
    max-width: 100%;
    display: block;
}

/* --- Utility Classes --- */
.container {
    /* max-width: 1100px; */
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}

.section-padding { 
    padding: 50px 0px;
}
.bg-pastel { 
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    width: 255px;
}

.nav-menu {
    display: flex;
    font-size: 20px;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover { 
    color: var(--primary-color);
}

.btn-nav-contact {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
}

.btn-nav-contact:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle { 
    display: none; 
    cursor: pointer; 
}
.bar {
    display: block; 
    width: 25px; 
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark); 
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: var(--nav-height);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/kalpak\ banner\ kalpak\ gate.png') no-repeat center center/cover;
    /* opacity: 0.6; */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 650px;
}
.hero-text{
    margin-top: 0px;
    margin-left: 50px;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.hero-text h3 {
    font-size: 30px;
    text-align: center;
    color:rgb(255, 0, 0);
    font-style: italic; /* Change font style here */
    -webkit-text-stroke: 1px white; /* Change stroke width and color here */
}
.hero-text h1 {
    font-size: 80px;
    text-align: center;
    color:rgb(255, 255, 255);
    font-family: 'Brush Script MT', cursive; /* Change font family here */
    -webkit-text-stroke: 0px rgb(255, 255, 255); /* Change stroke width and color here */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
    font-size: 50px;
    text-align: center;
    color: rgb(255, 0, 0);
    font-style: italic; /* Change font style here */
    -webkit-text-stroke: 1px white; /* Change stroke width and color here */
}

.hero-text p {
    max-width: 700px;
    font-size: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: 15px auto 0;
    color: rgb(255, 255, 255);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 200px;
    margin-left: 100px;
    background-color: #1ebe57;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover { 
    background-color: var(--primary-color); 
    transform: translateY(-2px); 
}

/* --- About Section --- */
.about-wrapper { 
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 100%;
    margin: 0 auto; 
}
.about-img {
    flex: 1 1 400px;
}
.about-box {
    flex: 1 1 400px;
    text-align: left;
}
.about-text {
    text-align: left;
}
.about-text h3 {
    text-align: left;
}
.about-text p {
    text-align: left;
    font-size: 20px;
}
.vision-mission {
    width: 100%;
    display: flex;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}
.vm-card {
    flex: 1; 
    min-width: 250px;
    background: white; 
    padding: 30px;
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.vm-card h4 {
    font-size: 20px;
    color: red;
}
.vm-card i { 
    font-size: 2rem; 
    color: var(--accent-color); 
    margin-bottom: 15px; 
}

/* Product Card */
.product-card {
    background: rgb(243, 217, 217);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.p-info { 
    width: 100%;
    height: 170px;
    overflow: hidden;
    margin-top: 10px;
    padding: 5px 20px; 
    text-align: center; 
    flex-grow: 1; 
}
.p-info h3{
    font-size: 25px;
}
.p-footer {
    margin: 10px;
    text-align: center;
}

.btn-card-wa {
    display: block;
    /* margin-bottom: 15px; */
    width: 100%;
    padding: 10px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-card-wa:hover {
    background-color: #1ebe57;
}

/* Slider Custom Styles */
.product-slider {
    padding-bottom: 100px; /* Space for pagination dots */
    padding-left: 50px;
    padding-right: 50px;
}
.swiper-slide {
    height: auto; /* Ensures cardhave equal height */
    display: flex;
    justify-content: center;
}
.swiper-slide .product-card {
    width: 100%;
    height: 710px;
    margin: 0; /* Reset margin tlet Swiper handle spacing */
}
.swiper-button-next, .swiper-button-prev {
    color: #333;
    width: 10px;
    height: 10px;
    font-weight: bold;
}
.product-slider .swiper-pagination {
    bottom: 0px !important;
}
.swiper-pagination-bullet-active {
    background-color: #333; /* Active dot color */
}

/* --- Grid Layouts --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* Service Card */
.card {
    background: white; 
    padding: 40px 30px;
    border-radius: 10px; 
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}
.card h3 {
    font-size: 30px;
}
.card p span {
    font-size: 17px;
    font-weight: bold;
}
.card:hover { 
    transform: translateY(-5px); 
}
.card-icon { 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}

/* --- Industries We Serve --- */
.industries-bar {
    background-color: rgba(37, 211, 102, 0.3); /* Gray strip */
    padding: 25px 0;
    width: 100%;
    margin-top: 20px;
}
.industries-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}
.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}
.industry-item i {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.industry-item span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}


/* --- Contact Section (Two Column) --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info h3, .contact-cta h3 { 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
    color: var(--secondary-color); 
}
.contact-desc { 
    margin-bottom: 30px; 
    color: var(--text-light); 
}

/* Contact Details (Left) */
.info-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 25px; 
}
.info-item i { 
    font-size: 1.4rem; 
    color: var(--primary-color); 
    margin-right: 20px; 
    margin-top: 5px; 
}

.details span { 
    display: block; 
    font-size: 0.9rem; 
    color: var(--text-light); 
    font-weight: 500; 
}
.details a, .details p { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--text-dark); 
}
.details a:hover { 
    color: var(--primary-color); 
}

/* WhatsApp CTA (Right) */
.contact-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 40px;
    border-top: 4px solid var(--whatsapp-green);
}
.contact-cta p { 
    margin-bottom: 25px; 
    color: var(--text-light); 
}

.btn-whatsapp {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    background-color: var(--whatsapp-green);
    color: white; 
    padding: 15px 40px;
    border-radius: 50px; 
    font-size: 1.2rem; 
    font-weight: 600;
    transition: 0.3s; 
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { 
    background-color: #1ebe57; 
    transform: scale(1.05); 
}

/* Ads Slider (Right) */
.ads-slider {
    width: 100%;
    max-width: 400px; /* Change this value to resize the box */
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* Square Box */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.ads-slider .swiper-slide {
    height: 100%;
}
.ads-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ads-slider .swiper-button-next, .ads-slider .swiper-button-prev {
    color: #fff;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.ads-text {
    font-size: 20px;
    color: red;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: 600;
}

.sponsored-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none;
    opacity: 0.3;
}

/* --- Footer Badges (Icons) --- */
.footer-badges-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}
.footer-badges-left-box {
    text-align: center;
}
.footer-badges-left {
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    gap: 25px;
    padding: 20px 0;
}
.footer-badges-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}
.footer-badges-left img {
    height: 80px; /* Adjust height as needed */
    width: auto;
}
.footer-badges-right img {
    height: 50px; /* Adjust height as needed */
    width: auto;
}
.footer-badges i {
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* --- Footer --- */
footer { 
    background: var(--text-dark); 
    color: white; 
    text-align: center; 
    padding: 20px; 
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 50px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 700px;
        margin: 0 auto;
    }
    .ads-slider {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .menu-toggle { 
        display: block;
        width: 35px; /* Fix for 3 lines alignment */
    }
    .nav-menu {
        position: fixed;
        left: -100%; 
        top: var(--nav-height);
        flex-direction: column; 
        background: white; 
        width: 100%;
        height: calc(100vh - var(--nav-height)); 
        padding-top: 50px;
        transition: 0.3s;
    }
    .nav-menu.active { left: 0; }
    
    /* Hero Section Mobile */
    .hero-text {
        margin-left: 0;
        text-align: center;
        padding: 0 15px;
    }
    .hero-text h1 { 
        font-size: 45px; 
        color: rgb(4, 0, 245); 
    }
    .hero-text h2 { 
        font-size: 1.8rem; 
    }
    .hero-text p { 
        font-size: 1rem; 
        margin: 15px auto; 
    }
    .btn-primary { 
        margin-left: 0; 
        margin-top: 150px;
    }
    
    /* Adjustments */
    .logo img { 
        width: 180px; 
    }

    /* Fix Contact Section & Ads for Mobile */
    .contact-container {
        padding: 15px;
        gap: 25px;
        width: 100%;
    }
    .contact-info, .contact-cta {
        padding: 20px 0px;
        width: 100%;
    }
    .contact-info h3, .contact-cta h3 {
        font-size: 1.5rem;
    }
    .btn-whatsapp {
        width: 90%;
        padding: 12px;
        font-size: 1rem;
        justify-content: center;
    }
    
    .ads-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .ads-slider {
        width: 100%;
        max-width: 320px;
    }
    
    /* Footer Mobile */
    .footer-badges-icon {
        flex-direction: column;
        gap: 10px;
    }
    .footer-badges-left, .footer-badges-right {
        justify-content: center;
        padding: 10px 0;
        flex-wrap: nowrap;
    }
    .footer-badges-left img {
        height: 70px;
    }
    .footer-badges-right img {
        height: 40px;
    }
    
    /* Slider Card Height Reset */
    .swiper-slide .product-card {
        height: auto;
    }
    .product-card img {
        height: 300px;
    }
    .p-info {
        height: 300px;
    }

    .ads-text {
        font-size: 16px;
        white-space: normal; /* Allows text to wrap on very small screens */
    }
}