

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section{
    overflow: hidden !important;
}
@media(max-width:765px){
   .sm_hide{
    display: none !important;
   }
}
@media(min-width:765px){
   .lg_hide{
    display: none !important;
   }
}

.navbar.scrolled{
    background: white !important;
}
.navbar {
    /* position: fixed !important; */
    top: 0; left: 0;
    width: 100%;
    background-color: transparent; /* Deep Theme Blue */
    z-index: 1000;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
    font-family: 'Poppins', sans-serif;
}

.nav-container {
   width: 100%;
    padding: 0 20px;
    height: 80px; /* Fixed height */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo --- */

/* --- Desktop Menu Layout --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}


.nav-links {
    list-style: none;
    display: flex !important;
    gap: 30px;
    margin: 0; padding: 0;
}
@media(max-width:765px){
    .nav-links{
        display: none !important;
    }
    .nav-menu{
        display: none !important;
    }
}

.nav-link {
    color: #021936 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700; /* Yellow hover */
}

/* --- Dropdown Styling --- */
.dropdown {
    position: relative;
    padding-bottom: 10px; /* Bridge gap for hover */
    margin-bottom: -10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 50%;
     left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    margin-top: 15px; /* Spacing from header */
    animation: fadeInUp 0.3s ease;
}

/* Small triangle pointer for dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px; left: 20px;
    width: 12px; height: 12px;
    background-color: white;
    transform: rotate(45deg);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    color: #333;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}
.dropdown-content li:last-child a { border-bottom: none; }

.dropdown-content li a:hover {
    background-color: #f0f8fc;
    color: #0086be;
    padding-left: 25px; /* Slide effect */
}
.sidenav{
    a{
        text-decoration: none;
    }
}
/* --- Navbar Button (Let's Talk) --- */
.btn-nav {
    padding: 10px 25px;
    background-color: #0086be;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
@media(max-width:765px){
    .btn-nav{
        display: none !important;
    }
}
.btn-nav:hover {
   background-color: transparent;
    border-color: #0086be;
    color: #0086be;
}

/* --- Mobile Icons --- */
/* .menu-icon, .close-icon {
    display: none;
    cursor: pointer;
    color: #021936;
} */
.menu-icon svg, .close-icon svg { width: 30px; height: 30px; }

@media(min-width:765px){
    .menu-icon, .close-icon {
        display: none !important;
    }
}

/* ==================================================================
      keyword ranking  END
==================================================================  */
.kywrd-rnk-scn {
    background: url(../webprojects/img/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;

.col-md-4{
    margin-bottom: 2rem;
}

    @media(max-width:765px){
        h2.title{
            font-size:37px !important;
            text-align:center;
        }
        .sub-title{
            text-align:justify !important;
        }
    }
    h2.title {
       font-size: 2.5rem;
        font-weight: 700;
        color: #021936;
        margin-bottom: 20px;
        text-transform: capitalize;
    }
    .sub-title{
        text-align:center;
    }
    .col-md-6{
        margin-bottom: 20px;
    }
  .card {
    /* padding: 10px; */
    /* background: linear-gradient(45deg, #134575, #0085be); */
    border-radius: 0;
    color: white;
     background: transparent;
    border: 0;
    .card-body{
       
        display: none;
      }
    .img-div {
      display: block;
      width: 100%;
      height: 350px;
      overflow: hidden;
      position: relative;
     
      /* border-radius: 10px; */
      margin: 0 auto;
      
      
    }
    .title{
       
        /* background: #22c784; */
        width: fit-content;
        color: white;
        padding: 5px 10px ;
        border-radius: 10px 10px 0 0;
        transition: 0.5s;
        cursor: pointer;
        /* display: none; */
        font-size: 16px;
            font-weight: 400;
      }

    .img-div img {
      display: block;
      width: 100%;
      height: auto;
      transform: translateY(0);   /* start from top */
      transition: transform 2s linear;
    }

    .img-div:hover{
        .title{
            letter-spacing: 1px;
        }
    }
    .img-div:hover img {
      transform: translateY(calc(-100% + 350px)); 
      transition: transform 11s linear; /* smooth */
      /* moves image up until its bottom touches container bottom */
    }
    a{
        color: #22c784;
        cursor: pointer;
    }
  }
}

/* ==================================================================
      keyword ranking  END
==================================================================  */
