*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Poppins',sans-serif;
padding-top:90px;
}


/* NAVBAR */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:#fff;
    padding:15px 40px;
    border-bottom:1px solid #eee;

    z-index:9999; /* always on top */
}

.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    height:55px;
    display:block;
}

.company-name{
    font-size:18px;
    font-weight:700;
    color:#0077b6;
}

/* MENU */
.menu{
    list-style:none;
    display:flex;
    gap:40px;
    align-items:center;
    height:55px;
}

.menu li{
    display:flex;
    align-items:center;
    height:100%;
}

.menu li a{
    display:flex;
    align-items:center;
    gap:6px;
    height:100%;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    color:#333;
    transition:0.3s;
}

.menu li a:hover{
    color:#f65f5c;
}

/* DROPDOWN */
.dropdown{position:relative;}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    background:#f3f3f3;
    padding:10px 0;
    border-radius:6px;
    min-width:220px;
    display:none;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    border-top:3px solid #f65f5c;
    z-index:10000;
}

.dropdown-menu a{
    display:block;
    padding:10px 20px;
    color:#333;
}

.dropdown:hover .dropdown-menu{display:block;}


section{
    scroll-margin-top:100px;
}

/* ===================== */
/* HERO SLIDER */
/* ===================== */

.hero{
    position:relative;
    height:90vh;
    overflow:hidden;
}

/* SLIDES */
.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.slide.active{
    opacity:1;
    z-index:1;
}

/* IMAGE */
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* OVERLAY */
.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.25); /* lighter */
    z-index:2;
    pointer-events:none;
}

/* TEXT */
.hero-text{
    position:absolute;
    top:50%;
    left:10%;
   
    color:#ffffff; /* pure white */
    z-index:3;
    max-width:600px;
}

.hero-text h1{
    font-size:48px;
    margin-bottom:15px;
    text-shadow:3px 3px 15px rgba(0,0,0,0.9);
}

.hero-text p{
    font-size:18px;
    text-shadow:2px 2px 10px rgba(0,0,0,0.8);
}

/* BUTTON */
.btn{
    background:#f65f5c;
    padding:10px 20px;
    color:#fff;
    border-radius:5px;
    text-decoration:none;
}


/* MAIN SECTION */
.about{
    background:#f5f5f5;
     scroll-margin-top:75px;
}

/* HEADER */
/* .about-hero{
    position:relative;
    height:200px;

    background:url('img/section.jpg') right center/cover no-repeat;

    display:flex;
    align-items:center;
} */
 .about-hero{
    height:300px;
    background:url('img/section.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
    padding-left:80px;
}


/* OVERLAY */
/* .about-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0) 100%
    );
} */

/* HEADER TEXT */
.about-hero-content{
    position:relative;
    z-index:2;
    /* margin-left:70px; */
    color:#ffffff;
    max-width:800px;
    
}

.about-hero-content h1{
    font-size:34px;   /* reduced from ~40+ */
    margin-bottom:8px;
}

.about-hero-content p{
    font-size:14px;   /* slightly smaller */
    line-height:1.6;
    margin-bottom:2px;
}

/* BULLETS */
.about-points li{
    font-size:16px;   /* reduced */
    margin-bottom:2px;
}

/* CONTENT */
.about-container{
    display:flex;
    gap:40px;
    align-items:center;

    padding:30px 80px;   /* ✅ SAME as header */
}

/* TEXT */
.about-text{
    flex:1;
}

.about-text h2{
    font-size:30px;
    color:#2d2a7b;
}

.about-text p{
    line-height:1.8;
    margin-bottom:15px;
    color:#444;
}

/* IMAGE */
.about-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.about-image img{
    width:100%;
    max-width:420px;
    border-radius:12px;
}

/* UNDERLINE */
.underline{
    width:40px;
    height:3px;
    background:#f65f5c;
    margin:10px 0 15px;
}

/* MOBILE */
/* VISION & MISSION */
.vision-mission{
    display:flex;
    gap:30px;
    padding:40px 80px;
}

/* CARD */
.vm-card{
    flex:1;
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* TITLE */
.vm-card h3{
    font-size:22px;
    color:#2d2a7b;
    margin-bottom:10px;
}

/* TEXT */
.vm-card p{
    font-size:15px;
    line-height:1.7;
    color:#444;
}

/* MOBILE */
@media(max-width:768px){
    .vision-mission{
        flex-direction:column;
        padding:30px;
    }
}

  

/* SECTION */
.core-values-section{
    background:#f5f5f5;
    padding:60px 80px;
    text-align:center; /* center heading */
}

/* HEADING */
.core-values-section h2{
    font-size:30px;
    color:#2d2a7b;
    margin-bottom:5px;
}

/* UNDERLINE */
.core-values-section .underline{
    width:40px;
    height:3px;
    background:#f65f5c;
    margin:10px auto 40px; /* center underline */
}

/* GRID */
.core-values{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:25px;
}

/* CARD */
.cv-card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 6px 15px rgba(0,0,0,0.08);
    transition:0.3s;
    text-align:center; /* center text inside */
}

/* HOVER */
.cv-card:hover{
    transform:translateY(-5px);
}

/* TITLE */
.cv-card h4{
    font-size:18px;
    color:#2d2a7b;
    margin-bottom:10px;
}

/* TEXT */
.cv-card p{
    font-size:14px;
    color:#444;
    line-height:1.6;
}

/* MOBILE */
@media(max-width:768px){
    .core-values{
        grid-template-columns:1fr;
    }
}
.core-values-section{
    padding:60px 80px;
    text-align:center;

    background: linear-gradient(
        135deg,
        #f8f9fb 0%,
        #edeff4 100%
    );
}

/* ===================== */
/* PRODUCTS SECTION */
/* ===================== */

.products-section{
    background:#f5f5f5;
    padding-bottom:60px;
}

/* HERO IMAGE */
.products-hero{
    position:relative; /* needed for overlay */
    height:300px;
    background:url('img/facility.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 80px;
}

/* CASTING SECTION ONLY */
.products-hero.casting{
    background:url('img/casting.jpg') center/cover no-repeat;
}
/* OPTIONAL OVERLAY (recommended for readability) */
.products-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to left, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

/* TEXT BLOCK */
.products-text{
    position:relative;
    z-index:2;
    text-align:left;     /* change to LEFT */
    max-width:550px;
    color:#fff;
}

/* HEADING */
.products-text h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:8px;
    white-space:nowrap;  /* keep single line */
}

/* UNDERLINE (LEFT ALIGN UNDER TEXT) */
.products-text .underline{
    width:40px;
    height:3px;
    background:#f65f5c;
    margin:10px 0 15px 0;   /* LEFT aligned */
}

/* PARAGRAPH */
.products-text p{
    font-size:16px;
    line-height:1.6;
}

/* DESCRIPTION */
.products-desc{
    text-align:center;
    padding:30px 20px;
    color:#666;
}

/* FILTER BUTTONS */
.product-filters{
    text-align:center;
    margin-bottom:30px;
}

.product-filters button{
    border:none;
    padding:10px 18px;
    margin:5px;
    border-radius:6px;
    background:#ddd;
    cursor:pointer;
    font-size:14px;
    transition:0.3s;
}

.product-filters button.active,
.product-filters button:hover{
    background:#f65f5c;
    color:#fff;
}

/* GRID */
.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    padding:0 60px;
}

/* CARD */
.product-card{
    background:#fff;
    border-radius:10px;
    padding:20px;
    text-align:center;
    transition:0.3s;
}

.product-card img{
    width:100%;
    height:200px;
    object-fit:contain;
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}


/* SECTION */
.cap-section{
    background:#fff;
}

/* HERO SAME AS CNC */
.products-hero{
    position:relative;
    height:300px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:0 80px;
}

/* IMAGE */
.cnc-hero{
    background:url('img/mc.jpg') center/cover no-repeat;
}

/* OVERLAY */
/* .hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0) 100%
    );
} */

/* TEXT */
.products-text{
    position:relative;
    z-index:2;
    max-width:600px;
    text-align:right;
}

.products-text h2{
    font-size:36px;
    color:#fff;
}

.products-text p{
    color:#fff;
    line-height:1.6;
}

/* UNDERLINE */
.products-text .underline{
    width:40px;
    height:3px;
    background:#f65f5c;
    margin:10px 0 15px auto;
}

/* CONTENT */
.cap-container{
    padding:50px 80px;
    max-width:1100px;
    margin:auto;
}

.cap-container h3{
    margin-top:25px;
    color:#2d2a7b;
}

.cap-container p{
    margin-bottom:15px;
    line-height:1.7;
    color:#444;
}

/* LIST */
.cap-list{
    margin-top:20px;
}

.cap-list li{
    margin-bottom:10px;
}





/* ROW LAYOUT */
.cap-row{
    display:flex;
    align-items:center;
    gap:50px;
    padding:60px 80px;
}

/* REVERSE ROW */
.cap-row.reverse{
    flex-direction:row-reverse;
}

/* TEXT */
.cap-text{
    flex:1;
}

.cap-text h3{
    color:#2d2a7b;
    margin-bottom:15px;
}

.cap-text p{
    color:#444;
    line-height:1.7;
    margin-bottom:12px;
}

/* IMAGE */
.cap-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.cap-image img{
    width:100%;
    max-width:450px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* LIST */
.cap-list li{
    margin-bottom:10px;
    line-height:1.6;
}

/* MOBILE */
@media(max-width:768px){
    .cap-row{
        flex-direction:column;
        padding:40px 20px;
    }

    .cap-row.reverse{
        flex-direction:column;
    }
}

/* QUALITY HERO IMAGE */
.quality-hero{
    background:url('img/qc.jpg') center/cover no-repeat;
}

/* CONTACT HERO */
.contact-hero{
    position:relative;
    height:300px;
    background:url('img/contact.jpg') center/cover no-repeat;

    display:flex;
    align-items:center;
    justify-content:flex-start;   /* LEFT ALIGN */

    padding-left:80px;
}

/* CONTACT TEXT (SEPARATE STYLE) */
.contact-text{
    max-width:600px;
    color:#fff;
    text-align:left;   /* LEFT */
}

/* HEADING */
.contact-text h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:10px;
}

/* UNDERLINE */
.contact-text .underline{
    width:50px;
    height:3px;
    background:#f65f5c;
    margin:10px 0;   /* LEFT aligned */
}

/* PARAGRAPH */
.contact-text p{
    font-size:16px;
    line-height:1.6;
}
/* CONTACT LAYOUT */
.contact-container{
    display:flex;
    gap:40px;
    padding:60px 80px;
}

/* LEFT SIDE */
.contact-info{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.info-box{
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.info-box h3{
    margin-bottom:10px;
    color:#2d2a7b;
}

/* RIGHT SIDE */
.contact-form{
    flex:1;
}

.contact-form h3{
    color:#f65f5c;
    margin-bottom:10px;
}

.contact-sub{
    color:#2d2a7b;
    margin-bottom:20px;
}

/* FORM */
.contact-form form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    padding:12px;
    border:1px solid #ddd;
    border-radius:6px;
}

.contact-form textarea{
    height:120px;
}

.contact-form button{
    background:#f65f5c;
    color:#fff;
    padding:12px;
    border:none;
    border-radius:30px;
    cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){
    .contact-container{
        flex-direction:column;
        padding:30px;
    }
}

/* FOOTER */


.footer{
    background: linear-gradient(
        to right,
        #081c3a 0%,
        #0b3d91 60%,
        #1e63d6 100%
    );
    color:#fff;
}
/* LAYOUT */
.footer-container{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:40px;
    padding:50px 80px;
}

/* COLUMN HEADINGS */
.footer-col h3,
.footer-col h4{
    margin-bottom:15px;
    color:#ffffff;
}

/* TEXT */
.footer-col p{
    font-size:14px;
    line-height:1.6;
    color:#dcdcdc;
}

/* LINKS */
.footer-col ul{
    list-style:none;
    padding:0;
}

.footer-col ul li{
    margin-bottom:8px;
}

.footer-col ul li a{
    color:#dcdcdc;
    text-decoration:none;
    transition:0.3s;
}

.footer-col ul li a:hover{
    color:#f65f5c;   /* your theme red */
}

/* BOTTOM BAR */
.footer-bottom{
    text-align:center;
    padding:15px;
    border-top:1px solid rgba(255,255,255,0.2);
    font-size:13px;
    color:#ccc;
}

/* MOBILE */
@media(max-width:768px){
    .footer-container{
        grid-template-columns:1fr;
        padding:30px;
    }
}