:root {
    --primary-color: #b22222;
    /* Deep Red */
    --secondary-color: #003366;
    /* Navy Blue */
    --text-dark: #333;
    --light-bg: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Ehne width nu perfectly fit rakhna hai */
}

@media (max-width: 768px) {

    /* Top Bar nu columns di jagah rows ch karo */
    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 5px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        /* Phone te email ik duje de thalle */
        gap: 5px;
    }

    .address-info {
        padding-top: 5px;
        margin-top: 5px;
        font-size: 12px;
    }

    /* Logo Section Fix */
    .logo-section {
        flex-direction: row;
        /* Logo te Name ik line ch rehan */
        justify-content: flex-start;
        gap: 10px;
        width: 80%;
        /* Taaki Hamburger layi jagah bache */
    }

    .logo-section img {
        width: 40px;
        /* Chota logo mobile layi */
    }

    .company-text h1 {
        font-size: 16px;
        /* Name thoda chota mobile layi */
    }

    /* Header padding set karo taaki Hamburger sahi dikhe */
    .main-header {
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    /* Side scroll khatam karan layi */
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Pehla Desktop te Icon hide rakho */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: 0.3s;
}

/* --- Mobile Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .menu {
        position: absolute;
        top: 70px;
        /* Header di height de hisab naal */
        left: -100%;
        /* Shuruat ch bahar rahega */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        padding: 20px 0;
    }

    /* Jado menu open hove */
    .menu.active {
        left: 0;
    }

    .menu a {
        margin: 15px 0;
        display: block;
    }

    .menu-toggle {
        display: block;
        /* Phone te icon dikhega */
    }

    /* Animation (Optional: Icon Cross ban jayega) */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* TOP BAR */
.top-bar {
    background: #222;
    color: #fff;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar,
.main-header {
    width: 100%;
    padding-left: 50px;
    /* Ehnu tusi apne hisab naal adjust karo */
    padding-right: 50px;
    margin: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    width: 70px;
    height: auto;
}

.company-text h1 {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 0;
}

.company-text h1 span {
    color: var(--primary-color);
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    padding-bottom: 5px;
    transition: 0.3s;
}

.menu a:hover {
    color: #b22222;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #b22222;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* BANNER SLIDER */
.banner {
    position: relative;
    height: 85vh;
    /* Screen di 85% height cover karega */
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Text nu vertically center karda hai */
    justify-content: center;
    /* Text nu horizontally center karda hai */
}

/* Slider images nu poori space cover karan layi */
.slider,
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Photo stretch nahi hoyegi, fit aayegi */
    display: block;
}

/* Saariya slides nu pehla hide karo */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Pehla hide */
    transition: opacity 1s ease-in-out;
    /* Fade effect layi */
    z-index: 1;
}

/* Sirf active slide dikhegi */
.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Photo de upar dark layer taaki grey area hat jave */
.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* 0.4 kafi hai photo nu vadiya dikhaan layi */
    z-index: 1;
}

/* Banner text styling */
.banner-text {
    position: relative;
    z-index: 2;
    /* Image te overlay de upar */
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.banner-text h2 {
    font-size: 50px;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Text hor saaf dikhega */
    text-transform: uppercase;
}

.banner-text p {
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Button layout fix */
.enquire-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #b22222;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.enquire-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.about-section {
    padding: 80px 10%;
    background-color: #fff;
}

.about-section .container {
    display: flex;
    align-items: center;
    /* Vertical center karan layi */
    justify-content: space-between;
    gap: 50px;
    /* Photo te text de vich gap */
}

/* Image styling */
.about-image {
    flex: 1;
    /* 50% space image nu milegi */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    /* Thode round corners */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    /* Halka shadow layout nu utha dinda hai */
}

/* Text styling */
.about-content {
    flex: 1;
    /* 50% space text nu milegi */
    text-align: left;
    /* Sara text left aligned (per right block ch) */
}

.welcome-text {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    letter-spacing: 2px;
}

.about-content h2 {
    font-size: 36px;
    color: #003366;
    /* Navy Blue */
    margin: 10px 0;
    text-transform: uppercase;
}

.underline-left {
    width: 60px;
    height: 3px;
    background: #b22222;
    /* Red underline */
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

/* Button Styling */
.btn-know-more {
    display: inline-block;
    padding: 12px 30px;
    background: #008080;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-know-more:hover {
    background: #006666;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .about-section .container {
        flex-direction: column;
    }
}

/* SECTIONS */
section {
    padding: 60px 20px;
    text-align: center;
}

.underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 30px;
}

/* --- Refined Product Preview Styles --- */

/* Grid container - ensuring items wrap and are centered */
.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center; /* Centers the grid items overall */
}

/* Individual product item box - centering text */
.product-item {
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px; /* Space for the name underneath */
}

/* The clickable link container for both image and name */
.product-item a {
    text-decoration: none;
    display: block;
    color: inherit;
    width: 100%;
    height: 100%;
}

/* Container to handle the overflow and zoom of the image only */
.product-img-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    /* Removed margin-bottom to keep name closer to the border, we'll use padding instead */
}

/* Image styles and the zoom animation */
.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* THE HOVER EFFECT - zooms the image */
.product-item:hover .product-img-container img {
    transform: scale(1.1);
}
/* Container for the whole grid */
.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Individual Product Wrapper */
.product-item {
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
}

.product-item a {
    text-decoration: none; /* Removes underline from links */
}

/* Image Box with Zoom Effect */
.product-img-box {
    width: 100%;
    height: 250px;
    overflow: hidden; /* Keeps the zoom inside the box */
    border: 1px solid #e0e0e0;
    margin-bottom: 15px; /* Space between image and text */
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Grow effect on Hover */
.product-item:hover .product-img-box img {
    transform: scale(1.1);
}

/* Styling the Text Underneath */
.product-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #0A192F; /* Dark Blue */
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding: 5px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

/* Red underline effect on hover */
.product-item:hover .product-title {
    color: #C62828; /* Changes to Red */
}

/* Styling for the View More Button */
.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0A192F;
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.view-more-btn:hover {
    background-color: #C62828;
    transform: translateY(-3px);
}

/* CONTACT SECTION (The Background Image part) */
.contact-section {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('../images/footer-bg.jpg');
    background-size: cover;
    color: #fff;
}

.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.contact-icon:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

footer {
    background: #111;
    color: #ccc;
    padding: 20px;
    font-size: 14px;
}
:root {
    --primary-color: #b22222;
    --secondary-color: #0A192F;
    --light-blue: #4e6e8e;
    --text-dark: #333;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden; /* prevent side scroll */
}

/* TOP BAR */
.top-bar {
    background: #222;
    color: #fff;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    width: 60px;
}

.company-text h1 {
    font-size: 22px;
}

.company-text span {
    color: var(--primary-color);
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.menu a:hover {
    color: var(--primary-color);
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px;
}

/* BANNER (FIXED PROPERLY) */
.page-banner {
    height: 280px;
    background: linear-gradient(to right, #1c2b39, #4e6e8e);
    display: flex;
    flex-direction: column; /* FIX: allow h1 + p properly */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.page-banner h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 10px;
}

.page-banner p {
    color: #fff;
    font-size: 16px;
    opacity: 1; /* FIX: no fading */
}

/* CONTACT SECTION */
.contact-page {
    padding: 60px 20px;
    background: #f4f6f9;
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.contact-info-box,
.contact-form-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    animation: fadeUp 0.6s ease;
}

/* FORM */
.contact-form-box input,
.contact-form-box textarea {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    width: 100%;
}

.contact-form-box button {
    background: var(--primary-color);
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
}

.contact-form-box button:hover {
    background: #d32f2f;
}

/* PRODUCT PAGE */
.product-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 60px auto;
    max-width: 1000px;
    padding: 20px;
    animation: fadeUp 0.6s ease;
}

.product-row img {
    width: 300px;
    border-radius: 10px;
    transition: 0.4s;
}

.product-row img:hover {
    transform: scale(1.05);
}

.product-text {
    max-width: 500px;
}

.product-text h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* ALTERNATE LEFT RIGHT */
.product-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* FOOTER */
footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .main-header {
        padding: 10px 20px;
    }

    .menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: #fff;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .menu.active {
        left: 0;
    }

    .menu a {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .product-row {
        flex-direction: column !important;
        text-align: center;
    }

    .product-row img {
        width: 100%;
    }
}
.page-banner {
    height: 280px;
    background: linear-gradient(to right, #1c2b39, #4e6e8e);

    display: flex;
    flex-direction: column;   /* IMPORTANT */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-banner h1 {
    color: #fff;
    font-size: 42px;
}

.banner-subtext {
    color: #fff;
    margin-top: 8px;
    font-size: 15px;
    opacity: 1;
}
.about-page {
    padding: 40px 20px;
    background: #f4f6f9;
}
.about-page {
    padding: 40px 20px;
    background: #f4f6f9;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 60px auto;
    max-width: 1000px;
}

.about-row img {
    width: 300px;
    border-radius: 10px;
}

.about-text {
    max-width: 500px;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Alternate layout */
.about-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Mobile */
@media (max-width: 768px) {
    .about-row {
        flex-direction: column !important;
        text-align: center;
    }

    .about-row img {
        width: 100%;
    }
}

.page-banner {
    position: relative;

    width: 100%;
    height: 280px;

    background: linear-gradient(to right, #1c2b39, #4e6e8e);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 0;          /* IMPORTANT */
    margin: 0;           /* IMPORTANT */
}

.page-banner h1 {
    color: #fff;
    font-size: 42px;
}

.banner-subtext {
    color: #fff;
    margin-top: 8px;
}
/* SCROLL ANIMATION BASE */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* ACTIVE STATE */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* LEFT ANIMATION */
.reveal-left {
    transform: translateX(-60px);
}
.reveal-left.active {
    transform: translateX(0);
}

/* RIGHT ANIMATION */
.reveal-right {
    transform: translateX(60px);
}
.reveal-right.active {
    transform: translateX(0);
    filter: blur(0) scale(1);
}


/* ACTIVE */
.text-reveal.active span {
    opacity: 1;
    transform: translateY(0);
}
/* PRIVACY PAGE */
.privacy-section {
    padding: 60px 20px;
    background: #f4f6f9;
}

.privacy-box {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-left: 5px solid #b22222;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: 0.4s;
}

.privacy-box:hover {
    transform: translateY(-5px);
}

.privacy-box h2 {
    color: #0A192F;
    margin-bottom: 10px;
}

/* Banner content center */
.banner-content {
    text-align: center;
    color: #fff;
}

/* SCROLL ANIMATION */
.reveal {
    opacity: 1;   /* FIX */
    transform: translateY(0);  /* FIX */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* TEXT ANIMATION (HEADING + SUBTEXT) */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: block;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
filter: blur(5px);
    transition: all 0.8s ease;
}

/* animation delay */
.text-reveal span:nth-child(1) {
    transition-delay: 0.2s;
}
.text-reveal span:nth-child(2) {
    transition-delay: 0.5s;
}
.image-box {
    overflow: hidden; 
    border-radius: 12px; 
}

.image-box img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.image-box:hover img {
    transform: scale(1.1); /* zoom effect */
}
.image-box:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}
