/* Font Family */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@300;400;500;600;700&display=swap');

/* Bootstrap Framwork */
@import url('../vendor/bootstrap/dist/css/bootstrap.min.css');
@import url('../vendor/fancybox/jquery.fancybox.min.css');
/* Page Slider */
@import url('../vendor/owl-carousel/css/owl.css');
@import url('../vendor/swiper/swiper-bundle.min.css');
/* Magnific Popup */
@import url('../vendor/magnific-popup/magnific-popup.min.css');
/* Youtube */
@import url('../vendor/youtube/video.css');
/* Icons */
@import url('../vendor/bootstrap-icons/font/bootstrap-icons.min.css');
@import url('../vendor/remixicons/remixicon.css');

:root {
  --fontInter: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --fontNoto: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif;
  /* Color System */
  --primary-gradient: linear-gradient(135deg, var(--light-navy), var(--light-blue));
  --secondary-gradient: linear-gradient(135deg, var(--baseColor), var(--light-navy));
  --baseColor: #2064D2;
  --baseColor-rgb: 32, 100, 210;
  --navy: #003366;
  --red: #f70000;
  --orange: #FF6B35;
  --darkColor: #000000;
  --darkColor-rgb: 0,0,0;
  --light-navy: #0047FF;
  --light-blue: #007BFF;
  --text-dark: #333;
  --light-gray: #ebecef;
  --text-light: #fff;
  --border-thin: 1px;
  --border-regular: 2px;
  --border-md: 5px;
  --solid: solid;
  --hidden: hidden;
  --transition: all ease .5s;
  --transition-light: all ease .3s;
  --linear-light: all 0.3s linear;

  /* Shadows */
  --card-shadow: 0 10px 30px rgba(0, 0, 102, 0.1);
  --hover-shadow: 0 15px 35px rgba(0, 0, 102, 0.15);

  /* Spacing */
  --section-padding: 80px 0;
  --card-padding: 30px;
  --border-radius: 10px;

  /* font weight */
  --bsd-font-thin: 100;
  --bsd-font-extralight: 200;
  --bsd-font-light: 300;
  --bsd-font-normal: 400;
  --bsd-font-medium: 500;
  --bsd-font-semibold: 600;
  --bsd-font-bold: 700;
  --bsd-font-extrabold: 800;
  --bsd-font-black: 900;

  /* font size */
  --bsd-text-xs: 0.75rem;
  /* 12px */
  --bsd-text-xsm: 0.813rem;
  /* 13px */
  --bsd-text-sm: 0.875rem;
  /* 14px */
  --bsd-text-base: 1rem;
  /* 16px */
  --bsd-text-lg: 1.125rem;
  /* 18px */
  --bsd-text-xl: 1.25rem;
  /* 20px */
  --bsd-text-1xl: 1.375rem;
  /* 22px */
  --bsd-text-2xl: 1.5rem;
  /* 24px */
  --bsd-text-3xl: 1.875rem;
  /* 30px */
  --bsd-text-4xl: 2.25rem;
  /* 36px */
  --bsd-text-5xl: 3rem;
  /* 48px */
  --bsd-text-6xl: 3.75rem;
  /* 60px */
  --bsd-text-7xl: 4.5rem;
  /* 72px */
  --bsd-text-8xl: 6rem;
  /* 96px */

  /* line height */
  --bsd-leading-3: .75rem;
  /* 12px */
  --bsd-leading-4: 1rem;
  /* 16px */
  --bsd-leading-5: 1.25rem;
  /* 20px */
  --bsd-leading-6: 1.5rem;
  /* 24px */
  --bsd-leading-7: 1.75rem;
  /* 28px */
  --bsd-leading-8: 2rem;
  /* 32px */
  --bsd-leading-9: 2.25rem;
  /* 36px */
  --bsd-leading-10: 2.5rem;
  /* 40px */
  --bsd-leading-11: 3.125rem;
  /* 50px */
  --bsd-leading-12: 3.75rem;
  /* 60px */
  --bsd-leading-none: 1;
  --bsd-leading-tight: 1.25;
  --bsd-leading-snug: 1.375;
  --bsd-leading-normal: 1.5;
  --bsd-leading-relaxed: 1.625;
  --bsd-leading-loose: 2;

  /* border radius */
  --bsd-rounded-none: 0;
  --bsd-rounded-sm: 0.125rem;
  /* 2px */
  --bsd-rounded: 0.25rem;
  /* 4px */
  --bsd-rounded-md: 0.375rem;
  /* 6px */
  --bsd-rounded-lg: 0.5rem;
  /* 8px */
  --bsd-rounded-xl: 0.75rem;
  /* 12px */
  --bsd-rounded-2xl: 1rem;
  /* 16px */
  --bsd-rounded-3xl: 1.5rem;
  /* 24px */
  --bsd-rounded-4xl: 1.875rem;
  /* 30px */
  --bsd-rounded-full: 100%;
}

/* Base Styles */
body {
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  font-family: var(--fontNoto);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

[lang="en-GB"] body {
  font-family: var(--fontInter)
}

.nepali-text,
[lang="en-US"] body {
  font-family: var(--fontNoto)
}

ul,
li {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}


a {
  text-decoration: none;
}

input:focus-visible,
textarea:focus-visible {
  outline: 0;
}

::selection {
  background: #2064D2;
  text-shadow: none;
  color: #ffffff;
}

/***

====================================================================
	Counter listing
====================================================================

 ***/

.counter-list {
  background: var(--text-light);
  border-radius: var(--bsd-rounded-3xl);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 30px;
  list-style: none;
  margin: 0;
  counter-reset: counter-listing;
}

.counter-list li {
  padding-bottom: 25px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
}

.counter-list li:last-child {
  padding-bottom: 0;
}

.counter-list li:before {
  content: counter(counter-listing) ".";
  counter-increment: counter-listing;
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/***

====================================================================
	Section General
====================================================================

 ***/

section {
  padding: var(--section-padding);
}

@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
}

/***

====================================================================
	Pre-loader Starts
====================================================================

 ***/

#pre-load {
  background-color: #fff;
  height: 100%;
  width: 100%;
  position: fixed;
  margin-top: 0px;
  top: 0px;
  z-index: 9999;
}

.loader .loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 3px solid #ebebec;
  border-radius: 50%;
}

.loader .loader-container:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--theme-color);
  border-radius: 50%;
  animation: loaderspin 1.8s infinite ease-in-out;
  -webkit-animation: loaderspin 1.8s infinite ease-in-out;
}

.loader .loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  text-align: center;
}

.loader .loader-icon img {
  animation: loaderpulse alternate 900ms infinite;
  width: 40px;
}

@keyframes loaderspin {
  0% {
      transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}

@-webkit-keyframes loaderspin {
  0% {
      transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes loaderpulse {
  0% {
      transform: scale(1);
  }

  100% {
      transform: scale(1.2);
  }
}

/***

====================================================================
	Newsletter
====================================================================

 ***/
 
.modal {
	position: fixed;
	/*top: 25%;*/
	top:0;
	left: 0;
	z-index: 9999;
	display: none;
	width: 100%;
	height: 100%;
	overflow: hidden;
	outline: 0;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 1rem 1rem;
	border-bottom: none;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}
.home-modal .modal-header .close {
  padding: 0;
  margin: -1rem -1rem -1rem auto;
}
.home-modal button.close {
	padding: 0 5px;
	background-color: #000;
	border: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: absolute;
	right: 0px;
	width: 40px;
	height: 40px;
	line-height: 10px;
	border-radius: 100%;
	top: 0px;
	z-index: 9;
}
.home-modal button.close span {
  display: inline-block;
  font-weight: 300;
  height: 30px;
  line-height: 1;
}
.home-modal .close {
	float: right;
	font-size: 1.625rem;
	font-weight: 500;
	/*line-height: 1;*/
	color: #fff;
	text-shadow: none;
	opacity: 1;
}
.home-modal .close:hover {
	background-color: var(--red);
  color: #ffffff;
  text-decoration: none;
  opacity: 1 !important;
}

.home-modal .modal-content{
  width: 115% !important;
}

@media (max-width: 767px) {
  .home-modal .modal-content{
    width: 100% !important;
    margin-left: 0;
  }

}

@media (max-width: 575px) {
  .home-modal .modal-dialog {
    margin: 1rem;
  }

  .home-modal .modal-header .close {
      padding: 0;
  }

  .home-modal button.close {
    width: 35px;
    height: 35px;
    right: 5px;
    top: 5px;
  }
}

/***

====================================================================
	Magnifier
====================================================================

 ***/

.mfp-zoom-out-cur .mfp-bg {
  opacity: 0.8;
  background-color: #0b0b0b;
}

button.mfp-close {
  position: absolute;
  top: 1px;
  right: 10px;
  overflow: visible;
  opacity: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-indent: -9999px;
  transform: rotateZ(45deg);
  color: #fff;
  border-radius: 100px;
}

button.mfp-close:hover {
  opacity: 1
}

.mfp-image-holder button.mfp-close {
  width: 41px;
  color: #fff;
  text-align: left
}

button.mfp-close:after {
  content: "";
  position: absolute;
  height: 17px;
  top: 12px;
  left: 21px;
  border-left: 1px solid;
}

button.mfp-close:before {
  content: "";
  position: absolute;
  width: 17px;
  top: 20px;
  left: 13px;
  border-top: 1px solid;
}

/***

====================================================================
	Forms General
====================================================================

 ***/

 :focus,
button:focus,
.btn:focus {
    outline: 0;
    box-shadow: none
}

.form-control:focus {
    box-shadow: none
}

form .form-group {
    margin-bottom: 1.5rem
}

form input[type="search"]:focus, 
form input[type="text"]:focus, 
form input[type="email"]:focus, 
form input[type="password"]:focus, 
form input[type="tel"]:focus, 
form input[type="number"]:focus, 
form input[type="file"]:focus, 
form select:focus, 
form textarea:focus {
    border-color: var(--baseColor) !important
}

form input[type="search"], 
form input[type="text"], 
form input[type="date"], 
form input[type="email"], 
form input[type="password"], 
form input[type="tel"], 
form input[type="number"], 
form input[type="file"], 
form select, form textarea {
    width: 100%;
    height: 50px;
    background: rgb(255, 255, 255);
    padding: 0px 15px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(229, 229, 229);
    border-image: initial;
    transition: 0.5s
}

form textarea,
form textarea.form-control {
    padding: 15px
}

form select, form textarea {
    height: inherit
}

a,
button,
input[type=submit] {
    cursor: pointer
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0
}

input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield
}

input,
textarea,
select {
    background-color: transparent;
    border: var(--border-thin) var(--solid) rgba(0, 0, 0, .15);
    padding: 12px 15px;
    width: 100%;
    font-size: 0.875rem
}

select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../images/down-arrow.webp);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: calc(100% - 15px) 50%
}

.form-group {
  margin-bottom: 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.4rem;
}

h6 {
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  background: var(--baseColor);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(32, 100, 210, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  gap: 15px;
  background: var(--navy);
  box-shadow: 0 6px 25px rgba(0, 51, 102, 0.4);
  transform: translateY(-2px);
}

.btn-primary i {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}


/* Cards */
.card-base {
  background: white;
  border-radius: var(--bsd-rounded-lg);
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.card-base:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease;
}

.section-heading h2 {
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  line-height: var(--bsd-leading-none);
}

/* .section-heading h2:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background: var(--primary-gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--bsd-rounded-sm);
} */

.section-heading p {
  color: #666;
  max-width: 700px;
  margin: 8px auto 0;
  line-height: var(--bsd-leading-none);
}

@media (max-width: 768px) {
  .section-heading h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .section-heading h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .section-heading h2 {
    font-size: 1.5rem;
  }

  .section-heading p {
    font-size: 0.85rem;
  }
}

.news-item-details h5 a, .recent-news-widget-item-title a{
  color: #0f1011;
  background-image: linear-gradient(transparent calc(100% - 1px), #20282d 1px);
  background-repeat: no-repeat;
  background-position-y: -1px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: 1s cubic-bezier(.215,.61,.355,1) underline forwards;
}

.news-item-details h5 a:hover, .recent-news-widget-item-title a:hover {
  animation: 1s cubic-bezier(.215,.61,.355,1) underline-hover forwards;
}

.btn-link{
  border: 1px solid var(--navy);
  width: 50px;
  height: 50px;
  display: flex;
  color: var(--navy);
  border-radius: 100%;
  align-items: center;
  justify-content: center;
}

.btn-link i{
  line-height: 0;
  font-size: 20px;
  transition: all 0.5s;
}


/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes underline {
  0% {
      background-size: 100% 100%;
      background-position-x: 100%
  }

  100% {
      background-size: 0 100%;
      background-position-x: 100%
  }
}
@keyframes underline-hover {
  0% {
      background-position-x: 0;
      background-size: 0 100%
  }

  100% {
      background-position-x: 0;
      background-size: 100% 100%
  }
}

/* Utility Classes */
.text-navy {
  color: var(--baseColor);
}

.text-light-blue {
  color: var(--light-blue);
}

.bg-gradient-primary {
  background: var(--primary-gradient);
}

.bg-gradient-secondary {
  background: var(--secondary-gradient);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  h6 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}