.custom-bg {
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}
.custom-white-bg {
    background-color: rgba(255, 255, 255, 0.5); /* 50% transparent white */
}

.ff-pt{
    font-family: 'PT-Bold' !important;
}

/* starts*/
@media (min-width: 1400px) {
    .container-custom {
        max-width: 1400px !important;
    }
}

/*.form-weather{*/


/*    .form-control, .form-select {*/
/*        border: none !important;*/
/*        border-radius: 0 !important;*/
/*        background-color: #f0f0f0 !important; !* Light gray background *!*/
/*        box-shadow: none !important;*/
/*    }*/
/*    .form-control:focus, .form-select:focus {*/
/*        border: none !important;*/
/*        box-shadow: none !important;*/
/*    }*/
/*    .input-group-text {*/
/*    // background-color: #f0f0f0;*/
/*        border: none;*/
/*        border-radius: 0;*/
/*    }*/

/*}*/

.form-weather .form-control, .form-weather .form-select {
    border: none !important;
    border-radius: 0 !important;
    background-color: #f0f0f0 !important;
    /* Light gray background */
    box-shadow: none !important; }

.form-weather .form-control:focus, .form-weather .form-select:focus {
    border: none !important;
    box-shadow: none !important; }

.form-weather .input-group-text {
    border: none;
    border-radius: 0; }

.climate-container {
    min-height: 35rem;
    position: relative;
    /*border-bottom: 20px solid #80808021;*/
    /*border-radius: 10rem;*/
    transition: box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); }

/* Move the container up slightly on hover */
.climate-container:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }

.climate-container .rounded {
    transition: -webkit-transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), -webkit-transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1); }


.input-group-text {
// background-color: #f0f0f0;
    border: none;
    border-radius: 0;
}

.options {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-width: 600px;
    /*height: 120px;*/

}
@media screen and (max-width: 1100px) {
    .options {
        flex-direction: column !important;
         }
    .options .option.active {
        /*flex-grow: unset !important;*/
        flex-grow: 1 !important;
    }
    .options .option:not(.active) .label .info > div {
        opacity: 1 !important; } }
@media screen and (max-width: 718px) {
    .options {
        min-width: 520px; } }
@media screen and (max-width: 638px) {
    .options {
        min-widtheight: 500px;h: 440px; } }
@media screen and (max-width: 558px) {
    .options {
        min-width: 360px; } }
@media screen and (max-width: 478px) {
    .options {
        min-width: 280px; } }
.options .option {
    position: relative;
    overflow: hidden;
    min-width: 150px;
    margin: 5px;
    background: white;
    background-size: auto 120%;
    box-shadow: -3px 1px 5px #00000024;
    background-position: center;
    height: 110px;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95); }

.options .option.active {
    flex-grow: 10000;
    -webkit-transform: scale(1);
    transform: scale(1);
    /*margin: 0px;*/
    border-radius: 40px;
    background-size: auto 100%;
}
.options .option:hover {
    /*background-color: rgba(255, 188, 13, 0.7);          !* Light gray hover *!*/
    border: 2px solid rgba(255, 188, 13, 0.7);
}
.options .option.active .label {
    bottom: 20px;
    left: 20px; }
.options .option.active .label .info > div {
    left: 0px;
    opacity: 1; }
.options .option.active:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9); }
.options .option:not(.active) {
    flex-grow: 1;
    border-radius: 30px; }
.options .option:not(.active) .label {
    bottom: 10px;
    left: 10px; }
.options .option:not(.active) .label .info > div {
    left: 20px;
    opacity: 0; }
.options .option .label {
    display: flex;
    position: absolute;
    right: 0px;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95); }
.options .option .label .icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    border-radius: 100%;
    background-color: white;
    color: black; }
.options .option .label .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    white-space: pre; }
.options .option .label .info > div {
    position: relative;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out; }
.options .option .label .info .main {
    font-weight: bold;
    font-size: 1.2rem;
    padding-left: 10px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding-bottom: 10px;
    border-bottom: 1px solid #8080804f; }
.options .option .label .info .sub {
    transition-delay: .1s;
    padding-left: 10px; }
.options .option .label .info .sub .sun {
    font-weight: 400;
    font-style: italic;
    color: #424242;
    font-size: 0.9rem; }
.options .option .label .info::before {
    content: "";
    height: 5rem;
    background: #8080804f;
    width: 1px;
    position: absolute; }
.options .option .weather-day {
    font-weight: 100;
    font-size: 0.9rem;
    color: #555; }
.options .option .weather-head i {
    font-size: 2.2rem; }
.options .option .weather-number .down {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555; }

.social-icons-m {
    position: fixed;
    top: 60%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
}

.social-icons-m li {
    display: block;
}

.social-icons-m li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #ffbc0d;
    background: #fff;
    color: #fff;
    font-size: 18px;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons-m li a:hover {
    width: 60px;
    background: #1b6d91;
}

.hover-newss {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.hover-newss:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Image zoom on hover */
.hover-newss img {
    transition: transform 0.4s ease;
}

.hover-newss:hover img {
    transform: scale(1.05);
}

/* Title overlay */
.overlay-title {
    background: rgba(37, 150, 190, 0.6);
    transition: background 0.3s ease;
}

.hover-newss:hover .overlay-title {
    background: rgba(37, 150, 190, 0.85);
}
.new-content{
    background-color: #2596be;
    p, span {
        color: #fff !important;
    }
}

/*.hover-newss:hover .new-content {*/
/*    background-color: #2596be;*/
/*    p, span {*/
/*        color: #fff !important;*/
/*    }*/
/*}*/

/*.new-content:hover p,*/
/*.new-content:hover span {*/
/*    color: #fff !important;*/
/*}*/

/*.carousel-control-prev,*/
/*.carousel-control-next {*/
/*    bottom: -50px;  !* push below slider *!*/
/*    top: auto;      !* disable vertical centering *!*/
/*    border: none;*/
/*}*/
/*.carousel-control-prev {*/
/*    left: 30%;      !* position left button *!*/
/*}*/
/*.carousel-control-next {*/
/*    right: 30%;     !* position right button *!*/
/*}*/

.ega-svg2 {
    width: 100%;
    position: relative;
    bottom: -0.5px;
    background: white;
    left: 13px;
    cursor: default !important;
}


.r1{
    background-color:#6699ff;
}
.r2{
    background-color:#94a8d1;
}
.r3{
    background-color:#d1bd94;
}
.r4{
    background-color:#e0c285 ;
}
.r5{
    background-color:#f0c775;
}
.r6{
    background-color:#ffc461;
}
.r7{
    background-color: #ffad52;
}
.r8{
    background-color:#ff8738;
}

.region-label {
    color: #000;
    font-size: 12px;
    text-align: center;
    /*font-weight: bold;*/
    /*text-shadow: 1px 1px 2px #fff;*/
}

.image-height {
    height: 620px;
}

@media (max-width: 767px) {
    .image-height {
        height: auto;
    }
    
}

.alert-card {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    color: #fff;
}

.alert-card.low { background: #4caf50; }
.alert-card.moderate { background: #ff9800; }
.alert-card.high { background: #f44336; }
.alert-card.extreme { background: #b71c1c; }

.alert-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.five-days-container {
    margin-top: 100px;
}
@media (max-width: 767px) {
    .five-days-container {
        margin-top: 1px;
    }

}

.weather-banner {
    text-align: center;
    /*margin: 10px 0;*/
}

.weather-banner a {
    text-decoration: none;
    color: red;
    font-size: 1.1rem;
    animation: blink 2.2s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.weather-hero {
    position: relative;
    overflow: hidden;
}

.weather-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25); /* Adjust darkness: 0.2 light, 0.5 strong */
    z-index: 1;
}
.weather-hero .image-height,
.weather-hero .five-days-container {
    position: relative;
    z-index: 2;
}
.weather-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.weather-hero .container {
    position: relative;
    /*z-index: 2;*/
}




header .top-bottom .navbar .navbar-nav .dropdown-menu {
    display: block !important;         /* keep layout, but hide via visibility */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;              /* prevents accidental flicker */
}

/* Show dropdown when hovered */
header .top-bottom .navbar .navbar-nav > li.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* IMPORTANT: Close all other dropdowns when hovering a new menu */
header .top-bottom .navbar .navbar-nav:hover
> li.dropdown:not(:hover) > .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

/* Prevent hover gap (fixes flickering) */
header .top-bottom .navbar .navbar-nav > li > a {
    padding-bottom: 12px;
}

