/*---------------------------------------------------------------

        Template Name: Weather Mate - Accurate Weather Forecasts and Climate Updates
        Description: Weather Mate provides accurate weather forecasts, live updates, climate change insights, and much more. Stay prepared with our detailed reports and analysis.
        Author: Lucid ThemesLab
        Author URL: https://www.templatemonster.com/store/lucid_themeslab/
        Version: 2.0.0

    -----------------------------------------------------------------

        CSS INDEX
        ==================

        01.   Basic Styles
        02.   Preloader Style 
        03.   Theme Switcher 
        04.   Navigation Section Styles
        05.   Home Banner Styles
        06,   About Section  Styles
        07.   Today's Weather Forecast Section Styles
        08.   Weekly Weather History Section Styles
        09.   Recent Search Weather Section Styles
        10.   Top Weather Forecast Section Styles
        11.   Weather Highlights Section Styles  
        12.   Subscribe Section Styles
        13.   Contact Section Styles
        14.   Footer Section Styles
        15.   Back to top Styles
     
----------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


/* ==================
   Basic Styles 
================== */

[data-theme="wm_light"] {
  --body-color: #FFFFFF;
  --primary-gradient: linear-gradient(to bottom, #AD2F87 0%, #2E2070 100%);
  --secondary-gradient: linear-gradient(to bottom, rgba(62, 45, 143), rgba(157, 82, 172, 0.7));
  --button-gradient: linear-gradient(to bottom, #FD7600 0%, #FFA805 100%);
  --light-gradient: linear-gradient(145deg, #ffffff, #e6e6e6);
  --primary-color: #ff8418;
  --secondary-color: #2E2070;
  --dark-rgb: 61, 64, 115;
  --color-5: #FD7600;
  --secondary-overlay: 46, 32, 112;
  --alt-color: #f7f2ff;
  --white-color: #ffffff;
  --form-color: #ffffff;
  --card-color: #ffffff;
  --danger-color: #fa5050;
  --mode-bg-color:#222222;

  /* text-colors */
  --heading-text: #3E2D8F;
  --secondary-text: #AD2F87;
  --para-text: #6B6B6B;
  --white-text: #ffffff;
  --form-text: #6B6B6B;
  --danger-text: #fa5050;


  /* font family */
  --primaryfont: "Roboto", sans-serif;
}

[data-theme="wm_dark"] {
  --body-color: #080213;
  --primary-gradient: linear-gradient(to bottom, #AD2F87 0%, #2E2070 100%);
  --secondary-gradient: linear-gradient(to bottom, rgba(62, 45, 143), rgba(157, 82, 172, 0.7));
  --button-gradient: linear-gradient(to bottom, #FD7600 0%, #FFA805 100%);
  --light-gradient: linear-gradient(145deg, #806ea7, #3f384e);
  --primary-color: #ff8418;
  --secondary-color: #2E2070;
  --dark-rgb: 61, 64, 115;
  --color-5: #FD7600;
  --secondary-overlay: 46, 32, 112;
  --alt-color: #1D1334;
  --white-color: #ffffff;
  --form-color: #3d3157;
  --card-color: #322355;
  --danger-color: #fa5050;
  --mode-bg-color:#ffffff;

  /* text-colors */
  --heading-text: #ffffff;

  --secondary-text: #AD2F87;
  --para-text: #E4E4E4;
  --white-text: #ffffff;
  --form-text: #C8C8C8;
  --danger-text: #fa5050;

  /* font family */
  --primaryfont: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
  font-family: var(--primaryfont) !important;
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  outline: none;
}

a:hover {
  text-decoration: none;
}

.fs-0 {
  font-size: 0px;
}

/* Background-Color*/

.body-color {
  background-color: var(--body-color) !important;
}

.primary-gradient {
  background: var(--primary-gradient) !important;
}

.secondary-gradient {
  background: var(--secondary-gradient)
}

.primary-color {
  background-color: var(--primary-color) !important;
}

.secondary-color {
  background-color: var(--secondary-color) !important;
}

.secondary-overlay {
  background-color: var(--secondary-overlay) !important;
}

.alt-color {
  background-color: var(--alt-color) !important;
}

.white-color {
  background-color: var(--white-color) !important;
}

.form-color {
  background-color: var(--form-color) !important;
}

.card-color {
  background-color: var(--card-color) !important;
}

.danger-color {
  background-color: var(--danger-color) !important;
}

/* Text-Color*/

.primary-font {
  font-family: var(--primaryfont) !important;
}

.color-5 {
  color: var(--color-5);
}

.primary-text {
  color: var(--primary-color);
}

.heading-text {
  color: var(--heading-text);
}

.para-text {
  color: var(--para-text);
}

.white-text {
  color: var(--white-text);
}

.form-text {
  color: var(--form-text);
}

.secondary-text {
  color: var(--secondary-text);
}

.danger-text {
  color: var(--danger-text);
}

/* Button Style */
.mx-70 {
  max-width: 750px;
}

.primary-btn {
    border: 1px solid var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    font-size: var(--fs-7) !important;
    padding: 15px 30px;
    border-radius: 100px;
    text-transform: capitalize;
}

.primary-btn:hover
 {
    border: 1px solid var(--secondary-color) !important;
    background-color: var(--secondary-color) !important;
    color: var(--white-color) !important;
    font-size: var(--fs-7) !important;
    padding: 15px 30px;
    border-radius: 100px;
    text-transform: capitalize;
}

/* ==================
  Preloader Style
================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c1a2c;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Cloud */
.cloud-container {
  position: relative;
  text-align: center;
}

.cloud {
  width: 140px;
  height: 60px;
  background: var(--white-color);
  border-radius: 50%;
  position: relative;
  margin: 0 auto 20px;
  box-shadow: 30px 0 0 0 #ffffff, 60px 0 0 0 #ffffff;
}

.cloud::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 20px;
  width: 100px;
  height: 100px;
  background: var(--white-color);
  border-radius: 50%;
  z-index: -1;
}

/* Rain Drops */
.rain {
  position: absolute;
  top: 60px;
  left: 40px;
  width: 2px;
  height: 15px;
  background: #38bdf8;
  animation: rainDrop 0.6s linear infinite;
  opacity: 0.8;
}

.rain2 {
  left: 80px;
  animation-delay: 0.2s;
}

.rain3 {
  left: 100px;
  animation-delay: 0.4s;
}

/* Rain Drop Animation */
@keyframes rainDrop {
  0% {
    top: 60px;
    opacity: 0.9;
  }
  100% {
    top: 90px;
    opacity: 0;
  }
}

/* Text */
.loading-text {
  color: var(--white-color);
  font-size: 1.1rem;
  margin-top: 20px;
  animation: fadeText 1.5s ease-in-out infinite alternate;
}

@keyframes fadeText {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

/* ==================
  Theme Switcher
================== */
.switchbtn {
  position: fixed;
  top: 150px;
  right: 0;
  z-index: 99;
  padding: 0;
  border: none;
  background: var(--mode-bg-color);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

@media (max-width: 576px) {
  .switchbtn {
      top: 120px;
  }
}

.mode-icon-bg {
  font-size: 22px;
}


/* Theme-specific */
[data-theme="wm_light"] .mode-icon-bg {
  color: var(--white-color);
}

[data-theme="wm_dark"] .mode-icon-bg {
  color: #f1c40f;
}

.logo {
  display: none;
 }

  [data-theme="wm_light"] .logo-light {
      display: inline-block;
  }

    [data-theme="wm_dark"] .logo-dark {
      display: inline-block;
  }

/*================================================
   Navigation Section Styles
=================================================*/

.nav-link {
  position: relative;
}

.nav-item.active .nav-link {
  color: var(--primary-color)!important;
}

.btn-close {
  background: unset;
}

.nav-item .nav-link {
  position: relative;
  display: inline-block;
}

.nav-item .nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 1px;
  width: 0%;
  border-bottom: 2px solid var(--primary-color);
  transition: width 0.3s ease;
}

/* Show underline for active */
.nav-item.active .nav-link::after {
  width: 100%;
}

/* Show underline on hover */
.nav-item .nav-link:hover::after {
  width: 100%;
}

@media (max-width: 576px) {
  .nav-item.active .nav-link::after {
    border-bottom: 0.5px solid var(--primary-color);
  }
}

.navbar-nav .nav-link {
  color: var(--heading-text);
  transition: color 0.3s ease;
}

/* Responsive spacing */
@media (min-width: 992px) {
  .offcanvas.offcanvas-end {
    position: static;
    transform: none;
    visibility: visible !important;
    background-color: transparent;
    border: none;
    display: flex !important;
    flex-grow: 1;
    padding: 0;
  }

  .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .offcanvas-header {
    display: none;
  }

  .navbar-toggler {
    display: none;
  }
}

/* Sticky Navbar */
nav.navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: var(--body-color);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: all 0.5s;
}

/*================================================
 Home Banner Styles
=================================================*/

.banner-main .splide__slide {
  background-size: cover;
  background-position: center;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-main .slide-1 {
  background: linear-gradient(0deg, rgba(var(--dark-rgb), 0.7), rgba(var(--dark-rgb), 0.7)),
    url("../../assets/banner_img/bg-1.webp");
  background-size: cover;
  background-position: center;
}

.banner-main .slide-2 {
  background: linear-gradient(0deg, rgba(var(--dark-rgb), 0.7), rgba(var(--dark-rgb), 0.7)),
    url("../../assets/banner_img/bg-2.webp");
  background-size: cover;
  background-position: center;
}

.banner-main .slide-3 {
  background: linear-gradient(0deg, rgba(var(--dark-rgb), 0.7), rgba(var(--dark-rgb), 0.7)),
    url("../../assets/banner_img/bg-3.webp");
  background-size: cover;
  background-position: center;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px){
.banner-text {width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
}

@media (max-width: 991px) {
  .banner-main .splide__slide {
    min-height: 400px;
  }

  .banner-text.display-1 {
    font-size: 2rem;
  }

  .banner-text.fs-1 {
    font-size: 1rem;
  }
}

.splide__arrow{
  background-color: var(--primary-color);
  height: 40px;
  width: 40px;
  opacity: 1;
}

@media (max-width: 576px) {
  .splide__arrow {
    top: 70%;
  }
}

.splide__arrow:hover{
  background-color: var(--secondary-color);
  transition: 0.3s ease-in;
}

.splide__arrow svg {
    fill: var(--white-color);
}

@media (max-width: 991.98px) {
  .offcanvas-header {
    background-color: var(--card-color);
    color: var(--white-color);
  }

  .offcanvas-body {
    background-color: var(--alt-color);
  }

  .offcanvas-header .btn-close {
    all: unset;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
    color: var(--white-color);
  }

  .offcanvas-header .btn-close:hover {
    background-color: #ffffff33;
  }

  #offcanvasbutton {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    padding: 0;
    color: var(--white-color);
  }
}

#offcanvasbutton:hover {
  background-color: #ffffff33;
}

#offcanvasbutton i {
  font-size: 1.25rem;
  color: var(--white-color);
}

.site-logo {
width: 150;
height: 104;
height: auto;
display: block;
}

/* =============================
  About Section  Styles
============================== */

.about-weather .weather-feature {
  background: var(--alt-color);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  border-radius: 1rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 1rem;
  width: 100%;
  height: 100%; 
}

.about-weather .weather-feature {
  max-width: 500px;
  margin: 0 auto;
}

@media(max-width:576px) {
  .about-weather .weather-feature {
      max-width: 300px!important; 
  }
}

.about-weather .weather-feature:hover {
  transform: translateY(-4px);
  border-left: 4px solid var(--primary-color);
  background: var(--secondary-color);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.1);
  color: var(--white-color)!important;
}

.about-weather .weather-feature:hover h6,
.about-weather .weather-feature:hover p {
  color: var(--white-color)!important;
}

.about-weather .icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--card-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
  margin-right: 1rem;
}

.weather-feature:hover .icon-box {
  background: var(--primary-color);
  color:var(--white-color);
  transform: rotate(10deg);
}

.about-weather .weather-feature h6,
.about-weather .weather-feature p {
  margin: 0;
  line-height: 1.4;
}

.about-weather .about-image {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.about-weather .about-image:hover {
  transform: scale(1.03);
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .about-weather .weather-feature {
    min-height: auto;
    padding: 1rem 0.75rem;
    flex-direction: row;
    align-items: flex-start;
  }

  .about-weather .icon-box {
    width: 45px;
    height: 45px;
    margin-right: 0.75rem;
  }

  .about-weather .weather-feature h6,
  .about-weather .weather-feature p {
    font-size: 0.95rem;
  }
}

/* =======================================
   Today's Weather Forecast Section Styles
=========================================== */

.search-group {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

#search-form .input-group .error:not(.form-control) {
  position: absolute;
  top: 80%; 
}

/* Small Card Styling */
.today-weather .small-card {
  background: var(--card-color);
  transition: all 0.3s ease;
}

.today-weather .small-card:hover h6,
.weather-card:hover p {
  color: var(--white-color);
}

.today-weather .small-card:hover {
  background: var(--primary-gradient);
  transform: scale(1.05);
  cursor: pointer;
  color: var(--white-color);
}

/* Icon Circle Styling */
.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--light-gradient);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 20px;
}

.weather-card:hover .icon-circle {
  background: var(--primary-color);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.2);
  transform: rotate(5deg);
  color: var(--white-color);
}

/* Shine Effect Overlay */
.shine-effect {
  content: '';
  position: absolute;
  top: -60%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 65%);
  transform: rotate(25deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

/* Glowing Icon Animation */
@keyframes pulse-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 0 0 25px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.8);
  }
}

/* Shine Animation */
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

/* ====================================
   Weekly Weather History Section Styles
======================================== */

.icon {
  width: 150px;
  height: 150px;
  line-height: 150px;
  align-items: center;
  text-align: center;
}

.weather-icon {
  animation: zoomInOut 2s infinite ease-in-out;
}

@keyframes zoomInOut {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.7);
  }
}

.weekly-weather .weather-card {
  position: relative;
  overflow: hidden;
}

.weekly-weather .weather-card::after {
  content: '';
  width: 100%;
  height: 100%;
  bottom: 100%;
  left: 0;
  background-image: var(--primary-gradient);
  position: absolute;
  z-index: 0;
  opacity: 0;
  transition: 0.3s ease;
}

.weekly-weather .weather-card .card-inner {
  position: relative;
  z-index: 2;
}

.weekly-weather .weather-card:hover::after {
  opacity: 1;
  bottom: 0;
}

.weekly-weather .weather-card:hover p {
  color: var(--white-color);
}

.weekly-weather .day-card {
  background: var(--alt-color);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.weekly-weather .day-card:hover {
  background: var(--primary-gradient);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
  cursor: pointer;
  color: var(--white-color);
}

.weekly-weather .icon-circle-sm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--light-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.weekly-weather .day-card:hover .icon-circle-sm {
  background: var(--primary-color);
  transform: rotate(10deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--white-color);
}

.weekly-weather .day-card h6,
.weekly-weather .day-card p {
  margin: 0;
  transition: color 0.3s ease;
}

.weekly-weather .day-card:hover h6,
.weekly-weather .day-card:hover p {
  color: var(--white-color);
}

.weather-card.featured {
  background: var(--primary-gradient);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.weather-card.featured:hover .weather-icon i {
  transform: rotate(8deg) scale(1.1);
}

.weather-card h3 {
  color: var(--white-color);
  transition: color 0.3s;
}

.weather-card .white-text {
  color: var(--white-color);
  font-weight: 500;
  transition: color 0.3s;
}

.weather-card.featured:hover h3,
.weather-card.featured:hover .primary-text,
.weather-card.featured:hover .white-text {
  color: var(--white-color);
}

/* ====================================
   Recent Search Weather Section Styles
======================================== */

.slick-initialized .slick-slide {
  color: var(--white-color);
  margin: 0 15px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-next,
.slick-prev {
  z-index: 5;
}

.slick-next {
  right: 15px;
}

.slick-prev {
  left: 15px;
}

.slick-next:before,
.slick-prev:before {
  color: var(--card-color);
  font-size: 26px;
}

.slick-slide {
  outline: none;
}

.slick-prev,
.slick-next {
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  width: 35px;
  height: 35px;
}

.img-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.img-overlay img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.img-overlay:hover img {
  transform: scale(1.1);
}

.img-overlay .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(var(--secondary-overlay), 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.img-overlay:hover .overlay {
  opacity: 1;
}

.img-overlay .overlay .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slick-arrow {
  background: var(--card-color) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.slick-next {
  box-shadow: unset;
  width: 35px;
  height: 35px;
  right: -10px !important;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.slick-prev {
  box-shadow: unset;
  width: 25px;
  height: 25px;
  left: -10px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.slick-next::before {
  content: '\f054';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: var(--heading-text) !important;
}

.slick-prev::before {
  content: '\f053';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: var(--heading-text) !important;
}

@media(max-width:576px) {
.btn-close.contact-msg {
  background: unset;
}
}

/* ===================================
   Top Weather Forecast Section Styles
======================================= */
.forecast-card {
  background-color: var(--secondary-color);
  padding: 2rem 1rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forecast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-color);
}

.city-card {
  max-width: 150px;
  height: 100px;
  line-height: 100px;
  text-align: center;
}

@media(max-width:576px) {
 .forecast-card {
    max-width: 300px;
    margin: auto;
    padding: 16px 16px;
  }
}

/* =================================
   Weather Highlights Section Styles
==================================== */

.blog-section {
  padding: 4rem 1rem;
  background-color:var(--white-color);
}

.blog-card {
  border: none;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

.blog-card img {
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.5rem;
}

/* =========================
   Subscribe Section Styles
============================= */

#newsletter  .input-group button {
  top: 4px;
  right: 4px;
  z-index: 9 !important;
}

.search-icon{
  background-color: var(--primary-color);
  color: var(--white-color);
}

.search-icon:hover{
  background-color: var(--secondary-color);
  color: var(--white-color);
  transition: 0.3s ease-in;
}

#search-form .input-group input {
    padding: 15px 80px 15px 14px !important;
}

.newsletter-main {
  background: url('../../assets/backround_img/hero_bg.webp') no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 120px 0;
}

.newsletter-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65); /* dark overlay for contrast */
  z-index: 1;
}

.newsletter-main .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .newsletter-main {
      padding: 50px 0;
  }
}

#newsletter .input-group {
  height: 52px; 
}

#newsletter .input-group .form-control {
  border: none;
  border-radius: 50px;
  padding-right: 140px;
  padding-left: 20px;
  height: 100%;
  font-size: 15px;
}

#newsletter .input-group .form-control:focus {
  box-shadow: none;
  border-color: transparent;
}

#newsletter .input-group .btn {
  top: 4px;
  right: 4px;
  bottom: 4px;
  height: auto;
  padding: 8px 20px;
  border-radius: 50px;
  position: absolute;
  z-index: 2;
  font-size: 15px;
}

#newsletter .input-group .error:not(.form-control) {
  position: absolute;
  top: 100%;
  left: 3%;
}

/* =========================
   Contact Section Styles
=========================== */

.contact-iconbg {
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  outline: 2px dashed var(--secondary-color);
  color: var(--white-color)!important;
  outline-offset: 6px;
}

.form-control:focus {
  border-color: var(--color-5) !important;
  box-shadow: 0 0 5px var(--border-color-light);
  color: var(--form-text);
}

.form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--form-text) !important;
}

.form-control::placeholder {
  color: var(--form-text);
}

.error {
  color: var(--danger-text) !important;
  padding: 8px;
  font-family: var(--secondaryfont) !important;
}

/* ======================
  Footer Section Styles
======================== */

.footer-section {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.9), rgba(var(--secondary-overlay), 0.5)), url(../../assets/backround_img/Footer-bg.webp) no-repeat;
  background-size: cover;
}

.footer-links a:hover,
.footer-links a.active,
.footer-links a:focus {
  color: var(--primary-color) !important;
  box-shadow: none;
  transition: 0.3s ease;
}

.footer-links a {
  position: relative;
  padding-bottom: 5px;
}

.footer-links a:hover,
.footer-links.active {
  color: var(--primary-color);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-links.active::after {
  width: 100%;
}

.footer-social-links {
  background-color: var(--card-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 500ms ease;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin-right: 15px;
  font-size: 20px;
  color: var(--para-text);
  transition: 0.5s;
}

.footer-social-links:hover {
  background: var(--primary-gradient);
  color: var(--white-color);
  transition: 0.5s;
}

/* ==================
  Back to top Styles
================== */

#backtotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border-radius: 50%;
  border: 2px dotted var(--white-color);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: move 1.1s infinite ease-in-out;
  transition: 0.9s ease;
}

#backtotop .fa-angle-up {
  font-size: 30px;
  color: var(--white-color);
  animation: upDown 1s ease-in-out infinite;
}

@keyframes upDown {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

#backtotop:hover {
  cursor: pointer;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}


.city-card {
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center;     /* Vertical center */
  height: 120px; /* Or your desired card height */
  background-color: #2c1c78; /* example background */
  border-radius: 1rem;
}

.city-card img {
  height: 65px;
  width: auto;
}
.alertmsg{
  z-index: 9995;
}