*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f4f7fc;
    color:#333;
}

/* Navbar */

nav{
    position:fixed;
    top:0;
    width:100%;
    background:#0d6efd;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 80px;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    color:white;
    font-size:28px;
    font-weight:bold;
}

.logo img{
    width:40px;
    height:40px;
    object-fit:contain;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-size:17px;
    transition:.3s;
}

nav ul li a:hover{
    color:#ffd54f;
}

/* Hero */

/* ================= HERO ================= */

.hero{
    width:100%;
    height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("images/hero-bg.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:flex-end;
    align-items:center;

    padding:0 8%;

    color:#fff;
}

.hero-content{
    width:900px;
}

/* Heading */

.hero h1{

    font-size:58px;
    font-weight:700;
    line-height:1.2;

    text-align:right;

    margin-bottom:35px;

    text-shadow:0 5px 20px rgba(0,0,0,.5);
}

/* Paragraph */

.hero p{

    max-width:750px;

    margin:0 auto 40px;

    text-align:center;

    font-size:22px;

    line-height:1.8;

    color:#f5f5f5;
}

/* Button */

.btn{

    display:inline-block;
    justify-content:center;

    width:220px;

    margin:0 auto;

    padding:18px 40px;

    text-align:center;

    background:#0056ff;

    color:#fff;

    text-decoration:none;

    border-radius:10px;

    font-size:18px;

    font-weight:600;

    transition:.3s;
}

.btn:hover{

    background:#003db8;

    transform:translateY(-4px);
}

/* ================= ABOUT ================= */

.about{
     padding: 110px 10% 180px;
    background:#f4f7fc;
}

.about-container{

    max-width:1100px;

    margin:auto;

    background:#f1f3f5;      /* Light Gray Box */

    padding:50px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

    text-align:center;

    transition:.3s;
}

.about-container:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,86,255,.20);
}

.about h2{

    font-size:42px;

    color:#0056ff;

    margin-bottom:25px;

    font-weight:700;
}

.about p{

    font-size:19px;

    line-height:1.9;

    color:#555;
}
/* section */

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h2{

    font-size:48px;
    color:#0056ff;
    margin-bottom:10px;
    font-weight:700;

}

.section-title p{

    font-size:18px;
    color:#666;

}

.services-container{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.service-card{

    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    position:relative;
    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:all .4s ease;

    opacity:0;

    animation:cardEntry .8s ease forwards;

}

.service-card:hover{

    animation:hoverBounce .6s ease;

    transform:translateY(-15px);

    box-shadow:0 20px 45px rgba(0,86,255,.25);

    background:#f5faff;

}

.service-card i{

    font-size:55px;

    color:#0056ff;

    margin-bottom:25px;

    transition:transform .5s,color .5s;

}

    
.service-card:hover i{

    transform:rotate(360deg) scale(1.2);

    color:#0099ff;

}

.service-card h3{

    margin-bottom:15px;
    font-size:24px;
    color:#222;

}

.service-card p{

    color:#666;
    line-height:1.7;

}
.service-card:nth-child(1){animation-delay:.1s;}
.service-card:nth-child(2){animation-delay:.2s;}
.service-card:nth-child(3){animation-delay:.3s;}
.service-card:nth-child(4){animation-delay:.4s;}
.service-card:nth-child(5){animation-delay:.5s;}
.service-card:nth-child(6){animation-delay:.6s;}
.service-card:nth-child(7){animation-delay:.7s;}
.service-card:nth-child(8){
    animation-delay:.8s;

}


/* ===== Card Animation ===== */


.service-card:nth-child(2){

    animation-delay:.2s;

}

.service-card:nth-child(3){

    animation-delay:.4s;

}

.service-card:nth-child(4){

    animation-delay:.6s;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* Team */

.team-container{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.member{
    background:white;
    padding:25px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.member:hover{
    transform:scale(1.05);
}

.member img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
}

/* Contact */

/* ================= CONTACT ================= */

#contact{
    padding:80px 10%;
    background:#f4f7fc;
}

#contact h2{
    text-align:center;
    font-size:42px;
    color:#0056ff;
    margin-bottom:40px;
}

.contact-box{

    max-width:700px;
    margin:0 auto;

    background:#f1f3f5;

    padding:45px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

    transition:0.3s;
}

.contact-box:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,86,255,.20);
}

.contact-box h3{

    text-align:left;

    color:#0056ff;

    font-size:32px;

    margin-bottom:30px;
}

.contact-box p{

    display:flex;

    align-items:flex-start;

    gap:15px;

    margin:20px 0;

    font-size:18px;

    line-height:1.7;
}

.contact-box i{

    color:#0056ff;

    font-size:22px;

    width:28px;

    margin-top:4px;
}

.contact-box a{

    color:#333;

    text-decoration:none;
}

.contact-box a:hover{

    color:#0056ff;
}
/* Footer */

footer{
    background:#0d6efd;
    color:white;
    text-align:center;
    padding:20px;
}

@keyframes cardEntry{

    0%{

        opacity:0;

        transform:translateY(80px) scale(.9);

    }

    60%{

        opacity:1;

        transform:translateY(-15px) scale(1.03);

    }

    80%{

        transform:translateY(5px);

    }

    100%{

        opacity:1;

        transform:translateY(0);

    }

}

/* Responsive */

@media(max-width:768px){

nav{
    flex-direction:column;
    padding:20px;
}

nav ul{
    margin-top:15px;
    flex-direction:column;
    text-align:center;
}

nav ul li{
    margin:10px 0;
}

.hero h1{
    font-size:34px;
}

section{
    padding:80px 20px;
}

}
/*partners*/
#partners{
    padding:70px 10%;
    background:#f8f9fa;   /* illa white, un old color */
}

#partners h2{
    text-align:center;
    font-size:2.6rem;
    font-weight:700;
    color:#0d6efd;
    margin-bottom:40px;
}
.partner-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.partner-card{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
    transition:.3s;

}
.partner-card img.bch{
    width:190px;
}

.partner-card img.socomec{
    width:200px;
}

.partner-card img.mersen{
    width:190px;
}

.partner-card img.mitsubishi{
    width:190px;
}
.partner-card:hover{
    transform:translateY(-15px);
    box-shadow:0 20px 45px rgba(0,86,255,.25);
}

.partner-card img{
    width:250px;
    height:140px;
    object-fit:contain;
    margin-bottom:0 auto;
    transition:.5s;
    display:block;
}


.partner-card:hover img{
    transform:scale(1.08);
}

.partner-card a{
    text-decoration:none;
    color:black;
}

.partner-card button{
    margin-top:15px;
    padding:10px 20px;
    border:none;
    background:#0d6efd;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.products{
    display:none;
    text-align:left;
    margin-top:15px;
}

.products li{
    margin:8px 0;
}

.partner-card img{
    cursor:default;
}
/* ===== Services Responsive ===== */

@media(max-width:1200px){

.services-container{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.services-container{
    grid-template-columns:1fr;
}

}

@keyframes hoverBounce{

    0%{

        transform:translateY(0);

    }

    40%{

        transform:translateY(-18px);

    }

    70%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(-15px);

    }

}
/* ==========================
   Partner Card Animation
========================== */

.partner-card{

    opacity:0;

    transform:translateY(60px);

    animation:partnerJump .8s ease forwards;

}

.partner-card:nth-child(1){

    animation-delay:.2s;

}

.partner-card:nth-child(2){

    animation-delay:.4s;

}

.partner-card:nth-child(3){

    animation-delay:.6s;

}

.partner-card:nth-child(4){

    animation-delay:.8s;

}

@keyframes partnerJump{

    0%{

        opacity:0;

        transform:translateY(80px) scale(.9);

    }

    60%{

        opacity:1;

        transform:translateY(-15px) scale(1.03);

    }

    80%{

        transform:translateY(5px);

    }

    100%{

        opacity:1;

        transform:translateY(0);

    }

}
.contact-info{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info p{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.contact-info i{
    color: #ff9800;
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.contact-info a{
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-info a:hover{
    color: #ff9800;
}
.contact-info p{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info i{
    color: #ff9800;
    font-size: 20px;
    margin-top: 5px;
}

.contact-info a{
    color: #fff;
    text-decoration: none;
    line-height: 1.7;
    transition: 0.3s;
}

.contact-info a:hover{
    color: #ff9800;
}
.contact-info{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info p{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.contact-info i{
    color: #ff9800;
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.contact-info a{
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-info a:hover{
    color: #ff9800;
}
.placeholder-logo{

    width:80px;
    height:80px;

    margin:0 auto 20px;

    border:2px dashed #0d6efd;
    border-radius:15px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#f8fbff;

    color:#0d6efd;
    font-weight:bold;
    font-size:16px;

    transition:.4s;

}

.service-card:hover .placeholder-logo{

    transform:scale(1.1);

    background:#0d6efd;

    color:#fff;

}
/* Scroll To Top Button */

#scrollTopBtn{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #0b4ea2;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover{
    background: #083b7a;
    transform: translateY(-5px);
}
.contact-phone{
    display:flex;
    align-items:center;
    justify-content:left;
    gap:10px;
    flex-wrap:wrap;
}

.contact-phone a{
    text-decoration:none;
    color:#000;
}

.contact-phone a:hover{
    color:#0d6efd;
}

.contact-phone span{
    color:#888;
}
/* ===========================
      OUR CREDENTIALS
=========================== */

/* ===========================
      OUR CREDENTIALS
=========================== */

#credentials{
    padding:80px 10%;
    background:#f8f9fa;
}

#credentials h2{
    text-align:center;
    color:#0d6efd;
    font-size:2.6rem;
    margin-bottom:15px;
}

.credentials-subtitle{
    text-align:center;
    color:#666;
    max-width:750px;
    margin:0 auto 50px;
    line-height:1.8;
}

.credentials-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:30px;
}

.credential-box{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.credential-box:hover{
    transform:translateY(-6px);
}

.credential-box h3{
    color:#0d6efd;
    margin-bottom:25px;
}

.award-item{
    margin-bottom:25px;
}

.award-item h4{
    margin-bottom:8px;
}

.years{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:10px;
}

.years span{
    background:#0d6efd;
    color:#fff;
    padding:8px 14px;
    border-radius:25px;
    font-size:14px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:6px;
}
.years span i{
    color:#ffd700;   /* Gold Trophy */
    font-size:13px;
}

.gov-list{
    padding-left:18px;
}

.gov-list li{
    margin-bottom:12px;
    line-height:1.6;
}

.reg-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:none;
}
/* ===========================
        OUR TEAM
=========================== */

#team{
    padding:80px 10%;
    background:#ffffff;
}

#team h2{
    text-align:center;
    font-size:2.6rem;
    font-weight:700;
    color:#0d6efd;
    margin-bottom:15px;
}
.team-subtitle{
    text-align:center;
    color:#666;
    max-width:700px;
    margin:0 auto 50px;
    line-height:1.8;
}

.team-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.team-card{
    position:relative;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.team-card img{
    width:100%;
    height:420px;
    object-fit:cover;
    display:block;
    transition:0.5s;
}

.team-card:hover img{
    transform:scale(1.08);
}

.team-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:25px;
    background:linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color:white;
}

.team-overlay h3{
    margin-bottom:8px;
    font-size:24px;
}

.team-overlay p{
    font-size:15px;
    line-height:1.6;
}
.award-item h4{
    color: #0056ff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.award-icon{
    text-align: center;
    margin: 12px 0;
}
.mitsu-trophy{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0 20px;
}

.mitsu-trophy i{
    font-size: 34px;
    color: #f4b400;
}

.award-divider{
    width: 100%;
    height: 1px;
    background: #dcdcdc;
    margin: 20px 0;
}
.award-icon i{
    font-size: 28px;
    color: #f4b400;
}
.award-years{
    display:flex;
    align-items:center;
    margin-top:18px;
    flex-wrap:nowrap;
    overflow-x:auto;
}

.award-year{
    display:flex;
    flex-direction:column;
    align-items:center;
    flex-shrink:0;
}

.award-year i{
    color:#f4b400;
    font-size:22px;
    margin-bottom:5px;
}

.award-year span{
    font-size:15px;
    font-weight:600;
    color:#0d6efd;
}

.year-line{
    width:35px;
    min-width:35px;
    height:3px;
    background:#0d6efd;
    margin:0 8px;
    border-radius:5px;
}
    .isro{
    text-align:center;
    margin-top:25px;
}

.isro h3{
    font-size:20px;
    color:#0056b3;
    margin-bottom:8px;
}

.isro p{
    font-size:16px;
    color:#333;
    font-weight:500;
    line-height:1.6;
}
.reg-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #e5e5e5;
}
.isro-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid #e5e5e5;
}

.isro-item span{
    min-width:60px;
    font-weight:500;
}

.isro-item strong{
    text-align:right;
    line-height:1.6;
}
/* Mobile Menu */

.menu-toggle{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    nav{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        padding:15px 20px;
    }

    nav ul{
        display:none;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#0d6efd;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
    }

    nav ul.active{
        display:flex;
    }

    nav ul li{
        margin:15px 0;
    }
}
@media (max-width:768px){

    .hero{
        height:auto;
        min-height:100vh;
        padding:120px 20px 60px;
    }

    .hero-content{
        width:100%;
    }

    .hero h1{
        font-size:38px;
        text-align:center;
        margin-bottom:25px;
    }

    .hero p{
        font-size:18px;
    }
}
#services {
    scroll-margin-top: 100px;
}