/*==========================================
    GOOGLE FONT
==========================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f8fc;
    color:#333;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header{
background:#fff;
padding:15px 3%;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 3px 15px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:1000;
}

.logo{
display:flex;
align-items:center;
gap:15px;
}

.logo img{
width:50px;
}

.logo h2{
font-size:26px;
color:#08276d;
}

.logo span{
font-size:14px;
color:#666;
}

.nav-links{
      display:flex;
      gap:30px;
    }
    /* ================= DROPDOWN ================= */

.dropdown{
  position:relative;
}

.drop-btn{
  color:#061c54;
  font-weight:600;
  transition:0.3s;
}

.drop-btn:hover{
  color:#0aa6df;
}

.dropdown-content{
  position:absolute;
  top:35px;
  left:0;
  min-width:240px;
  background:#fff;
  border-radius:12px;
  padding:10px 0;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);

  opacity:0;
  visibility:hidden;
  transform:translateY(10px);

  transition:0.3s;
  z-index:999;
}

.dropdown-content a{
  display:block;
  padding:12px 20px;
  color:#061c54;
  font-weight:500;
  transition:0.3s;
}

.dropdown-content a:hover{
  background:#f4f8ff;
  color:#08a6df;
  padding-left:28px;
}

.dropdown:hover .dropdown-content{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
/* Sub Dropdown */

.sub-dropdown{
  position:relative;
}

.sub-btn{
  display:block;
  padding:12px 20px;
  color:#061c54;
  font-weight:500;
}

.sub-dropdown-content{
  position:absolute;
  top:0;
   left: 100%;
  right: auto;
  min-width:220px;
  background:#fff;
  border-radius:12px;
  padding:10px 0;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);

  opacity:0;
  visibility:hidden;
  transform:translateX(10px);
  transition:0.3s;
}

.sub-dropdown-content a{
  display:block;
  padding:12px 20px;
  color:#061c54;
  font-weight:500;
}

.sub-dropdown-content a:hover{
  background:#f4f8ff;
  color:#08a6df;
}

.sub-dropdown:hover .sub-dropdown-content{
  opacity:1;
  visibility:visible;
  transform:translateX(0);
}

    .nav-links a{
      color:#061c54;
      font-weight:600;
      transition:0.3s;
      text-decoration: none !important;
    }

    .nav-links a:hover{
      color:#0aa6df;
    }
    .contact-info{
display:flex;
flex-direction:column;
justify-content:center;
}

.contact-info h3{
color:#08276d;
margin-bottom:20px;
}
.header-contact{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.header-contact i{
    color:#ff4d4d;
    font-size:22px;
    margin-top:4px;
}

.phone-numbers{
    display:flex;
    flex-direction:column;
    line-height:1.5;
}

.phone-numbers a{
    text-decoration:none;
    color:#08276d;
    font-weight:600;
    font-size:15px;
    transition:0.3s;
}

.phone-numbers a:hover{
    color:#f7941d;
}

.menu-toggle{
    display:none;
    font-size:32px;
    font-weight:700;
    color:#08276d;
    cursor:pointer;
    line-height:1;
}
/* Tablet & Mobile */
@media screen and (max-width:768px){

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-direction:row;
    padding:12px 20px;
    background:#fff;
    position:sticky;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    flex:1;
}

.logo img{
    width:48px;
    height:auto;
}

.logo h2{
    font-size:22px;
    margin:0;
    line-height:1;
}

.logo span{
    display:block;
    font-size:12px;
    margin-top:3px;
    color:#666;
    line-height:1.2;
}

.menu-toggle{
    display:flex;
    justify-content:center;
    align-items:center;
    width:42px;
    height:42px;
    font-size:34px;
    flex-shrink:0;
}

.navbar{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    max-height:0;
    overflow:hidden;
    transition:.4s ease;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
    z-index:999;
}

.navbar.active{
    max-height:900px;
}

.nav-links{
    display:flex;
    flex-direction:column;
    width:100%;
    gap:0;
}

.nav-links>a,
.drop-btn{
    display:block;
    width:100%;
    padding:16px 22px;
    border-bottom:1px solid #ececec;
}

.dropdown-content,
.sub-dropdown-content{
    position:static;
    opacity:1;
    visibility:visible;
    display:none;
    transform:none;
    box-shadow:none;
    background:#f7f9fc;
    min-width:100%;
}

.dropdown:hover .dropdown-content{
    display:block;
}

.sub-dropdown:hover .sub-dropdown-content{
    display:block;
}

.dropdown-content a,
.sub-dropdown-content a{
    padding:14px 35px;
}

.header-contact{
    margin:0;
    padding:18px;
    text-align:Left;
    border-top:1px solid #eee;
}


}
/* Small Mobile */

@media screen and (max-width:480px){

header{
    padding:10px 15px;
}

.logo{
    gap:10px;
}

.logo img{
    width:31px;
}

.logo h2{
    font-size:18px;
}

.logo span{
    font-size:11px;
}

.menu-toggle{
    width:38px;
    height:38px;
    font-size:30px;
}

}

/*==========================================
    BUTTONS
==========================================*/

.btn-primary,
.btn-outline{

display:inline-block;

padding:14px 35px;

border-radius:40px;

font-size:16px;

font-weight:600;

text-decoration:none;

transition:.35s;

margin:8px;

}

.btn-primary{

background:#f7941d;

color:#fff;

}

.btn-primary:hover{

background:#d97700;

transform:translateY(-3px);

}

.btn-outline{

border:2px solid #fff;

color:#fff;

}

.btn-outline:hover{

background:#fff;

color:#08276d;

}

/*==========================================
    HERO
==========================================*/

.services-hero{

background:
linear-gradient(rgba(15,50,110,.65),rgba(15,50,110,.65)),
url("../Images/field_servise-bg.jpg");

background-size:cover;

background-position:center;

padding:120px 20px;

text-align:center;

color:#fff;

}

.services-hero h1{

font-size:54px;

font-weight:700;

margin-bottom:20px;

}

.services-hero p{

max-width:900px;

margin:auto;

font-size:19px;

}

.hero-buttons{

margin-top:40px;

}

/*==========================================
    SECTION TITLE
==========================================*/

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title h2{

font-size:40px;

color:#08276d;

margin-bottom:15px;

font-weight:700;

}

.section-title p{

max-width:850px;

margin:auto;

font-size:17px;

color:#666;

}

/*==========================================
    OVERVIEW
==========================================*/

.overview{

padding:90px 0;

background:#fff;

}

.overview-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.overview-card{

background:#fff;

padding:35px;

border-radius:18px;

text-align:center;

box-shadow:0 12px 30px rgba(0,0,0,.08);

transition:.35s;

border-top:5px solid transparent;

}

.overview-card:hover{

transform:translateY(-8px);

border-color:#f7941d;

}

.overview-card i{

font-size:55px;

color:#f7941d;

margin-bottom:25px;

}

.overview-card h3{

color:#08276d;

margin-bottom:15px;

font-size:24px;

}

.overview-card p{

font-size:16px;

}

/*==========================================
    SERVICE SECTION
==========================================*/

.service-section{

padding:100px 0;

background:#f5f8fc;

}

.alt-bg{

background:#fff;

}

.service-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
}

.service-image{
    margin:0;
}

.service-content{
    margin:0;
}

.service-image img{

border-radius:18px;

box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.service-tag{

display:inline-block;

padding:8px 20px;

background:#f7941d;

color:#fff;

border-radius:50px;

font-size:14px;

font-weight:600;

margin-bottom:20px;

}

.service-content h2{

font-size:42px;

color:#08276d;

margin-bottom:20px;

}

.service-content p{

font-size:17px;

margin-bottom:30px;

color:#555;

}

/*==========================================
    FEATURE LIST
==========================================*/

.feature-list{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:18px;

margin-bottom:40px;

}

.feature{

display:flex;

align-items:center;

gap:12px;

background:#fff;

padding:15px;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,.06);

transition:.3s;

}

.feature:hover{

transform:translateX(5px);

}

.feature i{

color:#28a745;

font-size:18px;

}

.feature span{

font-size:15px;

font-weight:500;

color:#333;

}

/*==========================================
    IMAGE EFFECT
==========================================*/

.service-image{

overflow:hidden;

border-radius:20px;

}

.service-image img{

transition:.4s;

}

.service-image:hover img{

transform:scale(1.05);

}
/*==========================================
    WHY CHOOSE NMOS
==========================================*/

.why-nmos{
    padding:100px 0;
    background:#fff;
}

.features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.feature-card{
    background:#f8fbff;
    padding:35px 25px;
    text-align:center;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-card i{
    font-size:55px;
    color:#f7941d;
    margin-bottom:20px;
}

.feature-card h3{
    color:#08276d;
    margin-bottom:15px;
    font-size:22px;
}

.feature-card p{
    color:#666;
    font-size:15px;
}
/*==========================================
    INDUSTRIES
==========================================*/

.industries{
    padding:100px 0;
    background:#fff;
}

.industry-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.industry-card{
    background:#f8fbff;
    padding:35px;
    text-align:center;
    border-radius:18px;
    transition:.35s;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.industry-card:hover{
    background:#08276d;
    color:#fff;
    transform:translateY(-8px);
}

.industry-card:hover h3,
.industry-card:hover i{
    color:#fff;
}

.industry-card i{
    font-size:50px;
    color:#f7941d;
    margin-bottom:20px;
}

.industry-card h3{
    color:#08276d;
}

/*==========================================
    CONTACT
==========================================*/

#contact{
    padding:100px 0;
    background:#f5f8fc;
}

#contact .title{
    text-align:center;
    color:#08276d;
    font-size:42px;
    margin-bottom:40px;
}

.contact{
    display:flex;
    justify-content:center;
}

.contact-form{
    width:100%;
    max-width:950px;
    background:#fff;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    width:100%;
    padding:16px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    outline:none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
    border-color:#f7941d;
}

.contact-form button{
    background:#f7941d;
    color:#fff;
    border:none;
    padding:16px 35px;
    border-radius:35px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.contact-form button:hover{
    background:#d97706;
}

/*==========================================
    CTA
==========================================*/

.cta{
    padding:90px 20px;
    background:#08276d;
    color:#fff;
    text-align:center;
}

.cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta p{
    max-width:850px;
    margin:0 auto 35px;
    font-size:18px;
}

/* FOOTER */

footer{
      background:#061c54;
      color:#fff;
      padding:50px 8%;
    }

    .footer-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
      gap:30px;
    }

    footer h3{
      margin-bottom:20px;
      color:#08a6df;
    }

    footer p{
      margin-bottom:10px;
      line-height:28px;
    }
    .footer-bottom{
      margin-top:40px;
      text-align:center;
      border-top:1px solid rgba(255,255,255,0.2);
      padding-top:20px;
      color:#ccc;
    }

/*==========================================
    RESPONSIVE
==========================================*/

@media(max-width:992px){

.service-grid{
    grid-template-columns:1fr;
}

.service-grid.reverse{
    direction:ltr;
}

.features{
    grid-template-columns:repeat(2,1fr);
}

.amc-grid{
    grid-template-columns:1fr;
}

.industry-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1fr;
}

.feature-list{
    grid-template-columns:1fr;
}

}

@media(max-width:768px){

.services-hero{
    padding:90px 20px;
}

.services-hero h1{
    font-size:38px;
}

.services-hero p{
    font-size:16px;
}

.section-title h2{
    font-size:32px;
}

.service-content h2{
    font-size:32px;
}

.features{
    grid-template-columns:1fr;
}

.industry-grid{
    grid-template-columns:1fr;
}

.contact-form{
    padding:30px;
}

.cta h2{
    font-size:34px;
}

}

@media(max-width:576px){

.container{
    width:94%;
}

.services-hero h1{
    font-size:30px;
}

.service-content h2{
    font-size:28px;
}

.section-title h2{
    font-size:28px;
}

#contact .title{
    font-size:30px;
}

.feature{
    padding:12px;
}

.contact-form{
    padding:20px;
}

.contact-form button{
    width:100%;
}

.btn-primary,
.btn-outline{
    display:block;
    width:100%;
    text-align:center;
    margin:10px 0;
}

}
/* Scroll Animation */

.overview-card,
.service-section,
.feature-card,
.industry-card,
.amc-card{

opacity:0;

transform:translateY(40px);

transition:.8s ease;

}

.overview-card.show,
.service-section.show,
.feature-card.show,
.industry-card.show,
.amc-card.show{

opacity:1;

transform:translateY(0);

}

/* Sticky Header */

header.sticky{

position:fixed;

top:0;

left:0;

width:100%;

z-index:9999;

background:#fff;

box-shadow:0 5px 20px rgba(0,0,0,.12);

animation:slideDown .4s ease;

}

@keyframes slideDown{

from{

transform:translateY(-100%);

}

to{

transform:translateY(0);

}

}