*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family: "Inter", sans-serif; */
    color: #0A0A0A;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p{
    padding: 0;
    margin: 0;
}

/* header */
.language{
    position: relative;
}
.language:hover ul{
    opacity: 1;
    visibility: visible;
    transition: 0.3s;
    padding: 10px 0;
}
.language:hover ul li{
    width: 100%;
}
.language:hover ul li a{
    width: 100%;
    padding: 0 10px;

}
.language ul li a{
    color: #000;
}
.language ul{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
    background-color: #fff;
    width: 100px;
    right: -10px;
    opacity: 0;
    visibility: hidden;
    top: 25px;
}
.home header{
    position: relative;
    z-index: 80;
}
.home header .top-header{
    padding: 10px 0;
}
.home header .top-header .heading{
    text-align: center;
}
.home header .top-header .heading p{
    padding-top: 5px;
}
.home header .top-header .three-bar{
    float: right;
}
.home header .top-header .three-bar ul{
    display: flex;
    align-items: center;
    gap: 10px;
}
.home header .top-header .row{
    align-items: center;
}
.home header .top-header .three-bar ul img{
    width: 27px;
}
.home header nav .wrapprt .icon-wrapper i {
    font-size: 0px;
    color: #ffff;
    opacity: 0;
    visibility: hidden;
}
.home header nav .icon-wrapper{
    position: absolute;
}
/*----------------------------------- dropdown ------------------------------------- */
.dropdown-2{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-2:hover .dropdown-two{
    opacity: 1 !important;
    visibility: visible !important;
}
.dropdown-2 .dropdown-two{
    position: absolute;
    top: -20px !important;
    left: 160px !important;
    opacity: 0 !important;
    visibility: hidden !important;
   
}
.dropdown-1 ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: #174973;
    align-items: start !important;
    gap: 15px !important;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 0px 6px 0px #88888827;
    top: 25px;
    left: 0;
    width: 200px;       /* keep width fixed */
    height: auto;       /* let height adjust automatically */
    max-height: none;   /* remove any restriction */
}

.dropdown-1 ul li {
   width: 100%;         /* fit inside */
}

.dropdown-1{
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dropdown-1 i{
    color: #fff;
    font-size: 22px;
}

.dropdown-1 ul{
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: #174973;
    /* width: 200px;
    height: 100px; */
    align-items: start !important;
    gap:15px !important;
    padding: 20px 20px 20px 20px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 0px 6px 0px #88888827;
    top: 25px;
    left: 0;
}
.dropdown-1 ul li{
   width: 160px;
}
.dropdown-1:hover ul{
    opacity: 1;
    visibility: visible;
    transition: 0.4s;
}
.home .banner .right-content .advertisement{
    background-color: #ffffff;
    height: 240px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.home .banner .right-content .advertisement p{
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;

}
.advertisement .content{
    height: 300px;
    background-color: #ffffff;
    margin: 0 -12px;
    position: relative;
}
.advertisement .content p{
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 4;
    text-align: left;
}
/* -------------------------------00000------------------------------ */
@media (min-width: 300px) and (max-width: 767px){
   /* .dropdown-1 ul{
    
   } 
     .dropdown-1 i{
    display: none !important;
   } 
   .dropdown-2 ul{
    display: none !important;
   }  */
    .home header nav .icon-wrapper{
    position: relative;
}
        footer {
            text-align: center;
        }
    footer .gap{
        padding-bottom: 30px;
    }
    .content-wrapper .wrapper{
    margin-bottom: 15px;
}
    .advertisement{
        display: none !important;
    }
    .home .one .wrapper{
    display: flex;
    flex-direction: column !important;
    }
    .home .one .wrapper .image{
        width: 100%;
    }
    .home .one .wrapper .text{
        padding: 15px !important;
    }
    .home .one .wrapper .image img{
        width: 100%;
        height: 500px ;
    }
    .home .one .row .content-wrapper .one-content .text h4{
    width: 100% !important;
    }
    header .social-icons{
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    header .three-bar{
        display: block;
    }
    .home header nav .wrapprt .icon-wrapper i{
    font-size: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    }
    .home header nav{
        position: relative;
    }
    .home header nav .wrapprt ul{
    flex-direction: column !important;
    gap: 13px !important;
    position: absolute;
    background-color: #174973;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: start;
    align-items: start !important;
    padding: 50px 30px 20px 30px;
    opacity: 0;
    visibility: hidden;
    height: 100vh;
    /* ---------------------------------------------------------------------------- */
    z-index: 30 !important;
    }
    .home header.active .icon-wrapper{
        z-index: 40 !important;
        padding-left: 5%;
        padding-top: 15px;
    }
    .home header.active nav .wrapprt ul{
    opacity: 1;
    visibility: visible;
    }
}

@media (min-width: 768px) and (max-width: 991px){
   .dropdown-1 ul{
    display: none !important;
   } 
     .dropdown-1 i{
    display: none !important;
   } 
   .dropdown-2 ul{
    display: none !important;
   } 
    .home header nav .icon-wrapper{
    position: relative;
}
        footer {
            text-align: center;
        }
    footer .gap{
        padding-bottom: 30px;
    }
    .content-wrapper .wrapper{
    margin-bottom: 15px;
}
    .advertisement{
        display: none !important;
    }
    .home .one .wrapper{
    display: flex;
    flex-direction: column !important;
    }
    .home .one .wrapper .image{
        width: 100%;
    }
    .home .one .wrapper .text{
        padding: 15px !important;
    }
    .home .one .wrapper img{
        width: 100% !important;
        height: 300px !important;
    }
    .home .one .row .content-wrapper .one-content .text h4{
    width: 100% !important;
    }
    header .social-icons{
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    .home header nav .wrapprt .icon-wrapper i{
    font-size: 20px;
    opacity: 1;
    visibility: visible;
    position: relative;
    }
    .home header nav{
        position: relative;
    }
    .home header nav .wrapprt ul{
    flex-direction: column !important;
    gap: 13px !important;
    position: absolute;
    background-color: #174973;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: start;
    align-items: start !important;
    padding: 50px 30px 20px 30px;
    opacity: 0;
    visibility: hidden;
    height: 100vh;
    }
    .home header.active .icon-wrapper{
        z-index: 30 !important;
        padding-left: 5%;
        padding-top: 15px;
    }
    .home header.active nav .wrapprt ul{
    opacity: 1;
    visibility: visible;
    z-index: 50;
    }
    .home .state .wrapper .image img{
        height: 300px !important;
    }
    /* -------------------------------------------------------------------- */
}
.home header nav{
    background-color: #174973;
    padding: 10px 0;
}
.home header nav .wrapprt{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home header nav .wrapprt ul{
    display: flex;
    align-items: center;
    gap: 35px;
}
.home header nav .wrapprt ul .color a{
    color: #ff1a1aca;
}
.home header nav .wrapprt ul li a:hover{
    color: #ff1a1aca;
    transition: 0.3s;
}
.home header nav .wrapprt ul li a{
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
.home header nav .wrapprt input{
    width: 130px;
    outline: none;
    border-radius: 10px;
    height: 25px;
    border: none;
    padding: 0 5px 0 10px;
    font-size: 10px;
}

/* banner */
@media (min-width: 301px) and (max-width: 1199px){
.home .banner .right-content .wrapper .text h4{
    width: 100% !important;
}
.home .banner .right-content .text{
    padding: 5px 15px 30px 15px;
}
.home .banner .right-content .wrapper{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding: 0;
}
.home .banner .right-content .wrapper .image img{
    width: 100% !important;
    height: 300px !important;
}
.home .banner .right-content .wrapper .image{
    width: 100% !important;
}
}
.home .banner{
    padding: 25px 0;
}
.home .banner .wrapper .content{
    display: flex;
    gap: 15px;
    align-items: center;
}
.home .banner .wrapper{
    border: 1px solid #1B1B1B;
    padding: 0 12px 0 0;
}
.margin-bottom-15px{
    margin-bottom: 15px;
}
.home .banner .wrapper .content .text p{
    font-size: 16px;
    line-height: 22px;
    color: #000;
}
.bg-color{
    background-color: #EFEBEA;
}
.home .banner .bg-color{
    padding: 12px;
}
.home .banner .right-content .wrapper{
    display: flex;
    align-items: center;
    gap: 15px;
}
.home .banner .right-content .wrapper .text h4{
    width: 345px;
    font-size: 29px;
    line-height: 37px;
    padding-bottom: 7px;
}
.home .banner .right-content .wrapper .text p{
    font-size: 16px;
    line-height: 22px;
    text-align: left;
}

.home .banner .right-content .advertisement p{
    color: #fff;
    text-align: left;
}


/* one */
.home .one{
    padding: 0 0 25px 0;
}
.home .one .heading{
    background-color: #335F84;
    margin: 0 -12px;
}
.home .one .heading h3{
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    padding: 10px 15px 7px 15px;
    border-bottom: 1px solid #000;
}
.all-content
.home .one .row .content-wrapper .one-content .text{
    padding: 15px 18px;
}
.home .one .row .content-wrapper .one-content .text h4{
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 10px;
}
.home .one .row .content-wrapper .one-content .text p{
    font-size: 16px;
    line-height: 25px;
    text-align: left;
}
.home .one .row .content-wrapper .one-content{
    border: 1px solid #1B1B1B;
}
.home .one .row .content-wrapper .one-content .image img{
    width: 100%;
}
.home .one .wrapper{
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #1B1B1B;
}
.home .one .background-color{
    background-color: #EFEBEA;
    padding: 12px;
}
.home .one .wrapper .text h5{
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    padding-bottom: 5px;
}
.home .one .wrapper .text p{
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    text-align: left;
}
.home .one .wrap{
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* state */
.home .state{
    padding-bottom: 25px;
}
.home .state .heading{
    background-color: #335F84;
    margin: 0 -12px;
}
.home .state .heading h3{
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    padding: 10px 15px 7px 15px;
    border-bottom: 1px solid #000;
}
.home .state .content-wrapper .wrapper{
    border: 1px solid #1B1B1B;
}
.home .state .content-wrapper .wrapper .image img{
    width: 100%;
}
.home .state .bg-color{
    background-color: #EFEBEA;
    padding: 12px;
}
.home .state .content-wrapper .wrapper .text p{
    font-size: 20px;
    line-height: 24px;
    padding: 10px 10px 10px 10px;
    text-align: left;
}


/* advertisement */
.advertisement{
    padding-bottom: 25px;
}
.advertisement .content p{
    color: #fff;
    font-size: 20px;
    text-align: left;
}

/* footer */
footer a{
    color: #fff;
}
footer{
    background-color: #093051;
    padding: 60px 0;
}
footer p{
    padding-bottom: 45px;
    width: 350px;
    color: #fff;
    text-align: left;
}
footer h5{
    padding-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
footer ul{
    display: flex;
    flex-direction: column;
    gap: 13px;
}






/* ------------------------------------------------------------------------ */
.pareant-wrapper{
    padding: 20px 0;
}
.pareant-wrapper .heading{
    background-color: #335F84;
}
.pareant-wrapper .heading h5{
    color: #fff;
    padding: 10px 10px;
    font-size: 18px;
    font-weight: 700;
}
.pareant-wrapper .wrapper{
    display: flex;
    border: 1px solid #000;
    align-items: center;
}
.pareant-wrapper .wrapper p{
    font-size: 20px;
    padding: 0 15px;
    font-weight: 700;
    text-align: left;
}
.pareant-wrapper .wrapper img{
    width: 125px;
}
.px-10-b{
    margin-bottom: 10px;
}
.px-20-b{
    margin-bottom: 20px;
}
.pareant-wrapper .wrapper-1 .img-wrap{
    width: 100%;
}
.pareant-wrapper .wrapper-1 .img-wrap img{
    width: 100%;
}
.pareant-wrapper .contene-wrapper .wrap{
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #000;
}
.pareant-wrapper .contene-wrapper .wrap p{
    font-size: 18px;
    font-weight: 700;
    padding-right: 10px;
    text-align: left;
}
.pareant-wrapper .contene-wrapper .wrap img{
    width: 400px;
}
.pareant-wrapper .header-wrapper h5{
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #335F84;
    padding: 10px 0;
}
.pareant-wrapper .header-wrapper{
    padding-bottom: 20px;
}
.pareant-wrapper .all-content .inner-box{
    border: 1px solid #000;
    padding-bottom: 20px;
}
.pareant-wrapper .all-content .inner-box img{
    width: 100%;
}
.pareant-wrapper .all-content .inner-box p{
    padding: 15px 15px 0 15px;
    font-size: 20px;
    font-weight: 700;
    text-align: left;

}
.pareant-wrapper .all-content{
    padding-top: 20px;
}
.content-details .image-wrapper img{
    width: 100%;
}
.content-details{
    border: 1px solid #000;
}
.content-details .text-wrapper h5{
    font-size: 23px;
    font-weight: 700;
    padding-bottom: 15px;
}
.content-details .text-wrapper{
    padding: 30px 30px 15px 30px;
}
.content-details .text-wrapper p{
    font-size: 16px;
    padding-bottom: 15px;
    line-height: 27px;
    text-align: left;
}


.home .banner .lefy-content .wrapper .content .image img{
    width: 95px;
    height: 69px;
}
.home .banner .right-content .wrapper .image img{
    width: 350px;
    height: 245px;
}
.home .one .content-wrapper .one-content .image img{
    width: 100%;
    height: 240px;
}
.home .one .wrapper .image img{
    width: 200px;
    height: 133px;
} 
.home .state .content-wrapper .wrapper .image img{
    width: 100%;
    height: 155px;
}
.home .state .content-wrapper .wrapper .text p{
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    padding: 10px 10px 15px 15px;
    text-align: left;
}



/* o   ----- */
@media (min-width: 300px) and (max-width: 991px){
    .pareant-wrapper .contene-wrapper .wrap{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
 .pareant-wrapper .contene-wrapper .wrap img{
    width: 100%;
 }
  .pareant-wrapper .contene-wrapper .wrap .text{
    padding: 0 20px;
  }
  footer .wrapper p{
    width: 100%;
  }
}
.category-wrapper .wrapper .image img{
    width: 150px !important;
    height: 120px !important;
}
/* .category-wrapper .wrapper .image img{
    height: 100%;
    width: 100%;
} */
.category-wrapper .wrapper .text p{
    font-size: 15px;
    font-weight: 700;
    padding: 5px 10px;
    text-align: left;
}
.category-wrapper .wrapper{
    margin-bottom: 20px;
}
.category-wrapper .nav-link{
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
}
.category-wrapper .nav-pills{
    background-color: #335F84;
    padding: 3px 0 !important;
}
.category-wrapper .nav-link.active{
    background-color: transparent;
    color: #ff1a1aca !important;
}
.category-wrapper .nav{
    gap: 10px !important;
}




input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.search-box {
  position: relative;
  display: inline-block;
}
.search-box input[type="search"] {
  padding-right: 40px; 
}
.search-box button{
  position: absolute;
  z-index: 5;
  right: 5px;
  top: 52%;
  transform: translateY(-50%);
  border: none;
  color: #335F84;
  font-size: 10px;
  background-color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.background-color .content-wrapper .text{
    padding: 20px 20px;
}
 /* .home .one .wrapper .image img{
        width: 100% !important;
        height: 220px !important;
    } */
    @media (min-width: 300px) and (max-width: 991px){
        .home .state .content-wrapper .wrapper .image img{
            width: 100% !important;
            height:220px !important;
        }
    }
   .one .wrapper{
  display: flex;
  /* justify-content: space-between; */
}
.one .content-wrapper .wrapper{
  display: flex;
  /* justify-content: space-between; */
}
.one .wrapper .image img{
  width: 180px;
}

.one .content-wrapper .wrapper .image img{
  width: 180px;
}
@media (min-width: 300px) and (max-width: 991px){
.one .wrapper .text{
  width: 400px;
}
.one .content-wrapper .wrapper .text{
  width: 100%;
}}

.copyrights .wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin-top: 50px;
}
.copyrights{
    background-color: #04213a;
}
.copyrights .wrapper p a{
    font-weight: 700;
}
.copyrights .wrapper p{
    width: fit-content;
    padding-bottom: 0;
}
footer{
    padding: 60px 0 0 0;
}
footer .contact ul li{
    color: #fff;
}
footer .contact ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    flex-direction: row;
    padding-top: 40px;
}
footer .left{
    padding-left: 20px;
    color: #fff;
}
footer .right{
    padding-right: 20px;
    color: #fff;
}
footer .wrapper .logo img{
    width: 60%;
    padding-top: 70px;
}
.btn{text-align: left;}
.marquee-1 marquee ul{
    display: flex;
    align-items: center;
    gap: 10px;
}
.marquee-1 marquee i{
    color: rgb(184, 21, 21);
}
.marquee-1 marquee p{
    padding-top: 5px;
}
.marquee-1 marquee{
    overflow: hidden;
}

.marquee-1 .wrap{
    position: relative;
    overflow: hidden !important;
    border-bottom: 1px solid rgb(0, 0, 0);
        padding: 5px 0;
}
.marquee-1 .wrap .position{
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fcc804(214, 25, 25);
    color: #2b0202;
    height: 100%;
    padding: 10px 15px 5px 15px;
    font-size: 14px;
}
.bg-color {
  padding: 0 !important;
  background-color: transparent;
}
.home .banner{
    padding: 10px 0 10px 0;
}
.advertisement .image {
    width: 100%;
    max-width: 300px;   
    height: 200px;      
    overflow: hidden;   
}

.advertisement .content img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* keeps proportions while filling box */
}
.advertisement .content img {
    max-width: 100%;
    height: auto;
}
.marquee-1 .wrap .position{
    animation: example linear 0.5s infinite alternate;
}
@keyframes example{
    0%{
        background-color:  #fcc804(214, 25, 25);
    }
    100%{
        background-color: #fcc804(255, 0, 0);
    }
}
.marquee-1{
    background-color: #4d0505;
}
.marquee-1 {
  position: relative;
  background: #fcc804;
  border-top: 2px solid #fcc804;
  border-bottom: 2px solid #fcc804;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.marquee-1 .container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-1 .wrap {
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}

.ticker.paused {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 50px;
  font-size: 16px;
  color: #ffffff;
}

.ticker-item i {
  color: rgb(255, 255, 255);
  margin-right: 6px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-1 .wrap {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden !important;
}

.position {
  flex-shrink: 0;
  background: #fcc804;
  color: #fff;   /* make text visible */
  font-weight: bold;
  padding: 5px 10px;
  margin-right: 15px;
  z-index: 2;
}

.ticker {
  flex: 1;
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 60s linear infinite;
}

.ticker.paused {
  animation-play-state: paused;
}
.marquee-1{
    background-color:#910000;
}
/* .home .one .wrapper .image img {
   width: 210px !important;
    height: 133px !important;
} */
/* .img-fluid{
    width: 170px !important;
    height: 133px !important;
} */
 .dropdown-1{z-index:  20;}
 .home header .top-header .three-bar{
    position: relative;
}
.marquee-1 .ticker-item a{
    color: #fff;
    font-weight: 600;
}
.marquee-1 .ticker-item a i{
    color: #c40e0e;
}
/* Header Small Weather */
.weather-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #007BFF;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.2s;
}

.weather-header:hover {
  background: rgba(0, 123, 255, 0.1);
}

.weather-header-icon {
  width: 28px;
  height: 28px;
}


/* Modal Background */
.weather-modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

/* Modal Box */
.weather-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.weather-modal .close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.weather-modal .close:hover {
  color: #000;
}

/* Weather Content */
.weather-modal-main {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.weather-icon-lg {
  width: 60px;
  height: 60px;
}
.weather-modal-main h2 {
  margin: 0;
  color: #007BFF;
}

.weather-extra p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.weather-stick {
  display: inline-block;
  padding: 8px 18px;
  background: #0077b6;
  color: #fff;
  border-radius: 50px; /* round stick */
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.weather-stick strong {
  color: #ffd166;
}
.weather-modal-content {
  max-width: 90%;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  font-family: sans-serif;
}

.weather-modal-main {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.weather-icon-lg {
  width: 80px;
  height: 80px;
}

.weather-extra {
  display: flex;
  flex-wrap: wrap;   /* ✅ ensures responsive wrap on smaller screens */
  gap: 20px;
  justify-content: space-between;
}

.weather-section {
  flex: 1;
  min-width: 220px;
  padding: 15px;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.weather-section h2 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

/* .last-update {
  display: block;
  margin-top: 15px;
  font-size: 0.8rem;
  color: #666;
  text-align: right;
} */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 50px;
  height: 50px;
  font-size: 22px;
  font-weight: bold;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease-in-out;
}

#scrollTopBtn:hover {
  background: linear-gradient(135deg, #0056b3, #008cff);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
  transform: scale(1.1) rotate(10deg);
}

#scrollTopBtn:active {
  transform: scale(0.95);
}
/* Modal background */
.weather-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.6);
}

/* Modal content */
/* .weather-modal-content {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 20px;
  margin: 5% auto;
  padding: 25px;
  width: 80%;
  max-width: 800px;
  color: white;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: fadeIn 0.6s ease-in-out;
} */

/* Close button */
.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}
.close:hover {
  color: #ffcccc;
}

/* Main weather section */
.weather-modal-main {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.weather-icon-lg {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.weather-modal-main h2 {
  font-size: 2.5rem;
  margin: 0;
}
.weather-modal-main p {
  margin: 3px 0;
}

/* Extra weather info */
.weather-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.weather-section {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease-in-out;
}
.weather-section:hover {
  transform: translateY(-5px);
}

.weather-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.weather-section p {
  margin: 5px 0;
  font-size: 0.95rem;
}

/* Last update */
.last-update {
  display: block;
  margin-top: 15px;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: right;
}

/* Day Weather Conditions */
.weather-sunny {
  background: linear-gradient(135deg, #f9d423, #ff4e50) !important;
}

.weather-cloudy {
  background: linear-gradient(135deg, #bdc3c7, #2c3e50) !important;
}

.weather-rainy {
  background: linear-gradient(135deg, #00c6ff, #0072ff) !important;
}

.weather-stormy {
  background: linear-gradient(135deg, #232526, #414345) !important;
}

.weather-snow {
  background: linear-gradient(135deg, #83a4d4, #b6fbff) !important;
}

/* Night Weather Conditions */
.weather-night {
  background: linear-gradient(135deg, #0c0c0c, #1a1a2e, #16213e) !important;
  position: relative;
}

.weather-night-clear {
  background: linear-gradient(135deg, #000428, #004e92) !important;
  position: relative;
}

.weather-night-cloudy {
  background: linear-gradient(135deg, #2c3e50, #34495e, #1a1a2e) !important;
}

.weather-night-rainy {
  background: linear-gradient(135deg, #1e3c72, #2a5298, #0f2027) !important;
}

.weather-night-stormy {
  background: linear-gradient(135deg, #000000, #434343, #1a1a2e) !important;
}

.weather-night-snow {
  background: linear-gradient(135deg, #4b79a1, #283e51, #0f2027) !important;
}

/* Add stars effect for clear nights */
.weather-night-clear::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #eee, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: stars 20s linear infinite;
  pointer-events: none;
  border-radius: 20px;
}

@keyframes stars {
  from { transform: translateX(0); }
  to { transform: translateX(-200px); }
}

/* Add moon effect for night conditions */
.weather-night::after,
.weather-night-clear::after,
.weather-night-cloudy::after {
  content: '🌙';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  opacity: 0.7;
  animation: moonGlow 3s ease-in-out infinite alternate;
}

@keyframes moonGlow {
  from { opacity: 0.5; text-shadow: 0 0 5px rgba(255,255,255,0.3); }
  to { opacity: 0.8; text-shadow: 0 0 20px rgba(255,255,255,0.6); }
}

/* Time indicator styles */
.time-indicator {
  position: absolute;
  top: 10px;
  left: 20px;
  background: rgba(0,0,0,0.3);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

.time-indicator.night {
  background: rgba(25,25,112,0.4);
}

.time-indicator.day {
  background: rgba(255,165,0,0.4);
}

/* Fallback styles without modal wrapper for testing */
.weather-sunny {
  background: linear-gradient(135deg, #f9d423, #ff4e50) !important;
}

.weather-cloudy {
  background: linear-gradient(135deg, #bdc3c7, #2c3e50) !important;
}

.weather-rainy {
  background: linear-gradient(135deg, #00c6ff, #0072ff) !important;
}

.weather-stormy {
  background: linear-gradient(135deg, #232526, #414345) !important;
}

.weather-snow {
  background: linear-gradient(135deg, #83a4d4, #b6fbff) !important;
}

.weather-night {
  background: linear-gradient(135deg, #141E30, #243B55) !important;
}

@media (max-width: 600px) {
  .weather-modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }

  .weather-modal-main {
    flex-direction: column;
    text-align: center;
  }

  .weather-icon-lg {
    width: 80px;
    height: 80px;
  }

  .weather-extra {
    grid-template-columns: 1fr; /* stack sections */
  }
}
.weather-modal {
  z-index: 9999;
}
.weather-header, .weather-stick {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: white;
  padding: 10px;
  font-size: 16px;
  z-index: 9999;
}
.weather-header-icon {
  width: 40px;
  height: 40px;
}
/* Remove the old rule that hides it */
@media (max-width: 768px) {
  .weather-header, 
  .weather-stick {
    display: flex !important;   /* make sure it shows */
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 6px 10px;
    margin-top: 8px;            /* space below logo */
    
    border-radius: 8px;
  }

  .weather-header {
    gap: 6px;
  }

  .weather-header-icon {
    width: 22px;
    height: 22px;
  }

  .weather-stick {
    font-size: 13px;
    flex-wrap: wrap;
    text-align: center;
  }
}
/* Desktop weather display (default visible) */
.desktop-weather {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hide mobile icon by default */
.weather-mobile-icon {
  display: none;
  cursor: pointer;
}

/* ✅ On mobile, show only the icon */
@media (max-width: 768px) {
  .desktop-weather {
    display: none !important; /* hide big version */
  }

  .weather-mobile-icon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 6px;
  }

  .weather-header-icon {
    width: 28px;
    height: 28px;
  }
}
