/* Personal Website Styles for Umesh Air
   Clean, optimized CSS - compiled from SCSS */

/* Font faces */
@font-face { font-family: bol; src: url('fonts/grbold.otf'); font-display: swap; }
@font-face { font-family: boo; src: url('fonts/grbook.otf'); font-display: swap; }
@font-face { font-family: med; src: url('fonts/grmedium.otf'); font-display: swap; }
@font-face { font-family: lig; src: url('fonts/grlight.otf'); font-display: swap; }
@font-face { font-family: nep; src: url('fonts/nepali.ttf'); font-display: swap; }

/* Screen Reader Only - for SEO H1 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skills Title - SEO H2 */
.skills-title {
  font-size: 18px;
  font-family: med;
  color: #5fcf80;
  text-align: center;
  margin: 1.5rem 0 0.5rem 0;
  padding: 0.5rem;
  background: linear-gradient(135deg, #f8fdf9 0%, #ebf9ef 100%);
  border-radius: 10px;
  border: 1px solid rgba(95, 207, 128, 0.2);
}

/* Basic Styles */
html, body {
  padding: 0;
  margin: 0;
}

.centered {
  text-align: center;
}

.fa-center {
  text-align: center;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}

.brand-green {
  color: #5fcf80 !important;
}

.inline-link {
  color: #333;
  text-decoration: none !important;
}

.inline-link:hover {
  color: #5fcf80;
}

/* Global Container */
.global {
  max-width: 1440px;
}

/* Sticky Navigation */
.global .sticky-nav {
  height: 100vh;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
}

.global .sticky-nav nav.nav {
  height: 80vh;
  width: 100%;
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global .sticky-nav nav.nav ul.nav-list {
  background: #fff;
  border-radius: 5px;
  border: 1px solid #f2f2f2;
  box-shadow: 0 0 1px rgba(0,65,94,0.2);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  list-style: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 !important;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item {
  border-top: 1px solid #f2f2f2;
  margin: 0;
  text-align: center;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item a.nav-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #7b8b8e;
  font-size: 17px;
  font-family: med;
  transition: color 300ms 0s ease;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item a.nav-link:hover {
  color: #5fcf80;
  background: #ebf9ef;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item.active a.nav-link {
  color: #5fcf80;
  background: #ebf9ef;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item.brand {
  border-top: none;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item.brand a.nav-link {
  font-size: 22px;
  font-family: bol;
  color: #5fcf80 !important;
  display: block;
  margin: 0 auto;
  text-decoration: none;
}

.global .sticky-nav nav.nav ul.nav-list .nav-item.brand a.nav-link img {
  height: 35px;
  width: 35px;
  margin-top: -4px;
}

/* Navigation Responsive Styles */
@media (max-width: 1199.98px) {
  .global .sticky-nav {
    height: auto;
    display: flex;
    justify-content: center;
  }

  .global .sticky-nav nav.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    height: auto;
    width: auto;
  }

  .global .sticky-nav nav.nav ul.nav-list {
    flex-direction: row;
    justify-content: space-around;
  }

  .global .sticky-nav nav.nav ul.nav-list .nav-item a.nav-link {
    height: 100%;
  }
}

@media (max-width: 675.98px) {
  .global nav.nav {
    width: 100% !important;
  }

  .global nav.nav ul.nav-list {
    flex-direction: column !important;
  }

  .global nav.nav ul.nav-list.closed .nav-item {
    display: none !important;
    width: 100%;
  }

  .global nav.nav ul.nav-list.closed .nav-item a.nav-link {
    width: 100%;
  }

  .global nav.nav ul.nav-list.closed .nav-item.active {
    display: block !important;
  }
}

/* Main Content Area */
.global .main {
  min-height: 100vh;
  overflow-x: hidden;
}

/* Home Section */
.global .main .home .video {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 0 1px rgba(0,65,94,0.2);
}

.global .main .home .video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(95, 207, 128, 0),
    rgba(95, 207, 128, .9) 70%,
    rgba(95, 207, 128, 1) 90%,
    rgba(95, 207, 128, 1)
  );
  z-index: 1;
}

.global .main .home .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.global .main .home .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
}

.global .main .home h1 {
  font-family: bol;
  margin-bottom: 0;
  font-size: 50px;
  text-align: center;
  text-shadow: 2px 4px 3px rgba(0,0,0,0.1);
}

.global .main .home p {
  font-size: 27px;
  font-family: boo;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
}

.global .main .home p i {
  margin-right: 10px;
}

.global .main .home .brands {
  width: 100%;
  overflow: hidden;
  border: 1px solid #f2f2f2;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 0 1px rgba(0,65,94,0.2);
}

.global .main .home .brands img {
  height: auto;
  width: 100%;
  opacity: .6;
}

/* About Section */
.global .main .about {
  padding: 3rem 0;
}

.global .main .about .about-container {
  background: linear-gradient(135deg, #f8fdf9 0%, #ebf9ef 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(95, 207, 128, 0.15);
  border: 1px solid rgba(95, 207, 128, 0.2);
  margin-bottom: 2rem;
}

.global .main .about .about-title {
  font-size: 32px;
  font-family: bol;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.global .main .about .about-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5fcf80, #3db367);
  border-radius: 2px;
}

.global .main .about .about-intro {
  margin-bottom: 1.5rem;
}

.global .main .about .about-intro .greeting {
  font-size: 16px;
  font-family: boo;
  color: #6e7e83;
  display: block;
  margin-bottom: 0.3rem;
}

.global .main .about .about-intro .name-highlight {
  font-size: 28px;
  font-family: bol;
  color: #5fcf80;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(95, 207, 128, 0.2);
}

.global .main .about .about-text {
  font-size: 17px;
  font-family: boo;
  text-decoration: none;
  color: #40484a;
  display: block;
  transition: all .2s ease-in-out;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.global .main .about .highlight {
  color: #5fcf80;
  font-weight: bold;
}

.global .main .about .tech-tag {
  display: inline-block;
  background: linear-gradient(135deg, #5fcf80, #3db367);
  color: #fff;
  padding: 2px 10px;
  border-radius: 15px;
  font-size: 14px;
  font-family: med;
  margin: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.global .main .about .tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(95, 207, 128, 0.4);
}

.global .main .about .inline-link-green {
  color: #5fcf80;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

.global .main .about .inline-link-green::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5fcf80;
  transition: width 0.3s ease;
}

.global .main .about .inline-link-green:hover::after {
  width: 100%;
}

.global .main .about .mission-box {
  background: linear-gradient(135deg, #5fcf80, #3db367);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 8px 25px rgba(95, 207, 128, 0.3);
}

.global .main .about .mission-box .mission-icon {
  font-size: 2.5rem;
  color: #fff;
  animation: float 3s ease-in-out infinite;
}

.global .main .about .mission-box .mission-content {
  flex: 1;
}

.global .main .about .mission-box .mission-content h4 {
  color: #fff;
  font-family: bol;
  font-size: 18px;
  margin: 0 0 0.5rem 0;
}

.global .main .about .mission-box .mission-content p {
  color: rgba(255, 255, 255, 0.95);
  font-family: boo;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.global .main .about .skills-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.global .main .about .skills-showcase .skill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.global .main .about .skills-showcase .skill-item i {
  color: #5fcf80;
  font-size: 1.2rem;
}

.global .main .about .skills-showcase .skill-item span {
  font-family: med;
  font-size: 14px;
  color: #40484a;
}

.global .main .about .skills-showcase .skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(95, 207, 128, 0.2);
  border-color: #5fcf80;
}

.global .main .about .resume-link {
  text-align: center;
  font-family: med;
  color: #6e7e83;
}

.global .main .about .resume-link i {
  margin-right: 0.5rem;
  color: #5fcf80;
}

@media (max-width: 767.98px) {
  .global .main .about .about-container {
    padding: 1.5rem;
  }

  .global .main .about .about-title {
    font-size: 26px;
  }

  .global .main .about .about-intro .name-highlight {
    font-size: 24px;
  }

  .global .main .about .mission-box {
    flex-direction: column;
    text-align: center;
  }

  .global .main .about .mission-box .mission-icon {
    font-size: 2rem;
  }

  .global .main .about .skills-showcase {
    justify-content: center;
  }

  .global .main .about .skills-showcase .skill-item {
    padding: 0.6rem 1rem;
  }
}

/* Resume Section */
.global .main .resume {
  margin-bottom: 4rem;
}

.global .main .resume .resume-doc {
  width: 100%;
  opacity: .5;
  transition: opacity .1s ease-in-out;
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.13);
  -webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.13);
  position: relative;
}

.global .main .resume .resume-doc:hover {
  opacity: 1;
}

.global .main .resume .resume-doc a {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: inline-block;
}

.global .main .resume .resume-doc a .btn {
  width: 100%;
  color: #fff !important;
  background: #5fcf80;
  padding: .7rem 1.3rem;
  transition: all .1s ease;
  font-size: 13px;
  font-family: med;
  border: none;
}

.global .main .resume .resume-doc a:hover .btn,
.global .main .resume .resume-doc a:focus .btn {
  text-decoration: none;
}

.global .main .resume .resume-doc iframe {
  width: 100%;
  border: none;
  min-height: 1300px;
}

@media (max-width: 767.98px) {
  .global .main .resume .resume-doc {
    opacity: 1;
  }

  .global .main .resume .resume-doc a {
    position: static;
    width: 100%;
  }

  .global .main .resume .resume-doc a .btn {
    padding: 1.3rem;
    font-size: 17px;
  }

  .global .main .resume .resume-doc iframe {
    display: none;
  }
}

/* Library Section */
.global .main .library {
  padding-bottom: 3rem;
}

.global .main .library .library-title {
  font-size: 25px;
  font-family: bol;
  color: #333;
  margin-bottom: 2rem;
}

.global .main .library .library-text {
  font-size: 17px;
  font-family: boo;
  text-decoration: none;
  color: #40484a;
  display: block;
  transition: all .2s ease-in-out;
}

.global .main .library .object {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global .main .library .object .image {
  max-width: 41.666666667%;
}

.global .main .library .object .image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.13);
  -webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.13);
}

.global .main .library .object .description .object-text {
  font-size: 15px;
  font-family: boo;
  text-decoration: none;
  color: #6e7e83;
  display: block;
  transition: all .2s ease-in-out;
}

.global .main .library .object .description .object-action {
  width: 100%;
  display: inline-block;
}

.global .main .library .object .description .object-action .btn {
  width: 100%;
  color: #5fcf80 !important;
  background: #d8f3e0;
  padding: .7rem 1.3rem;
  transition: all .1s ease;
  font-size: 13px;
  font-family: med;
  border: none;
}

.global .main .library .object .description .object-action:hover .btn,
.global .main .library .object .description .object-action:focus .btn {
  color: #fff !important;
  background: #5fcf80;
}

@media (max-width: 575.98px) {
  .global .main .library .object {
    flex-direction: column;
  }

  .global .main .library .object .image {
    max-width: 80%;
    margin-bottom: 1rem;
  }
}

.global .main .library .courses .channel-container {
  width: 100%;
  padding: 50px 0;
}

.global .main .library .courses .channel-container a {
  text-decoration: none;
}

.global .main .library .courses .channel-container a img {
  width: 100%;
}

.global .main .library .testimonial-box {
  max-width: 80%;
  padding: 20px;
  margin: 2rem auto;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), -4px -4px 6px rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  text-align: center;
  color: #333;
}

.global .main .library .testimonial-box .quote {
  font-size: 2.5rem;
  color: #5fcf80;
  margin-bottom: 10px;
}

.global .main .library .testimonial-box .review {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.global .main .library .testimonial-box .reviewer {
  font-weight: bold;
  font-size: 1.5rem;
  color: #444;
}

.global .main .library .testimonial-box .role {
  font-size: 0.9rem;
  color: #666;
}

/* Contact Section */
.global .main .contact {
  padding: 2rem 0;
}

.global .main .contact .contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.global .main .contact .contact-title {
  font-size: 32px;
  font-family: bol;
  color: #333;
  margin: 0 0 0.5rem 0;
  position: relative;
  display: inline-block;
}

.global .main .contact .contact-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5fcf80, #3db367);
  border-radius: 2px;
}

.global .main .contact .contact-subtitle {
  font-size: 17px;
  font-family: boo;
  color: #6e7e83;
  margin-top: 1rem;
}

.global .main .contact .contact-topics {
  background: linear-gradient(135deg, #f8fdf9 0%, #ebf9ef 100%);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(95, 207, 128, 0.2);
}

.global .main .contact .contact-topics .topics-title {
  font-family: med;
  font-size: 16px;
  color: #333;
  margin-bottom: 1rem;
}

.global .main .contact .contact-topics .topics-title i {
  color: #5fcf80;
  margin-right: 0.5rem;
}

.global .main .contact .contact-topics .topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.global .main .contact .contact-topics .topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #40484a;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  font-size: 13px;
  font-family: med;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.global .main .contact .contact-topics .topic-tag i {
  color: #5fcf80;
  font-size: 14px;
}

.global .main .contact .contact-topics .topic-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(95, 207, 128, 0.25);
  border-color: #5fcf80;
  background: linear-gradient(135deg, #5fcf80, #3db367);
  color: #fff;
}

.global .main .contact .contact-topics .topic-tag:hover i {
  color: #fff;
}

.global .main .contact .contact-info-box {
  text-align: center;
  margin-bottom: 2rem;
}

.global .main .contact .contact-info-box .email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #5fcf80, #3db367);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: med;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(95, 207, 128, 0.35);
  transition: all 0.3s ease;
}

.global .main .contact .contact-info-box .email-link i {
  font-size: 1.2rem;
}

.global .main .contact .contact-info-box .email-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(95, 207, 128, 0.45);
}

.global .main .contact .contact-form {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.global .main .contact .contact-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

.global .main .contact .contact-form .form-group {
  flex: 1;
  margin-bottom: 1rem;
}

.global .main .contact input[type=text],
.global .main .contact input[type=email],
.global .main .contact select,
.global .main .contact textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  background: #fafafa;
  box-sizing: border-box;
  font-family: boo;
  font-size: 15px;
  transition: all 0.3s ease;
}

.global .main .contact input[type=text]:focus,
.global .main .contact input[type=email]:focus,
.global .main .contact select:focus,
.global .main .contact textarea:focus {
  border-color: #5fcf80;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(95, 207, 128, 0.15);
  outline: none;
}

.global .main .contact input[type=text]::placeholder,
.global .main .contact input[type=email]::placeholder,
.global .main .contact textarea::placeholder {
  color: #aaa;
}

.global .main .contact textarea {
  resize: vertical;
  min-height: 100px;
}

.global .main .contact .submit-btn {
  background: linear-gradient(135deg, #5fcf80, #3db367);
  color: white;
  padding: 14px 30px;
  border: none;
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  font-family: med;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
  box-shadow: 0 8px 25px rgba(95, 207, 128, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.global .main .contact .submit-btn i {
  transition: transform 0.3s ease;
}

.global .main .contact .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(95, 207, 128, 0.45);
}

.global .main .contact .submit-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 767.98px) {
  .global .main .contact .contact-form {
    padding: 1.5rem;
  }

  .global .main .contact .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .global .main .contact .contact-topics .topic-tags {
    justify-content: center;
  }

  .global .main .contact .contact-info-box .email-link {
    padding: 0.8rem 1.5rem;
    font-size: 14px;
  }
}

/* Footer */
.global .main footer {
  padding: 4rem 0;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 1px rgba(0,65,94,0.4);
}

.global .main footer .col-md-12 {
  padding: 50px;
  text-align: center;
}

.global .main footer p.at-text {
  font-family: lig;
  font-size: 13px;
  margin-top: 1rem;
  font-weight: bold;
  color: #737373;
}

.global .main footer ul.footer-icons {
  list-style: none;
  padding: 0;
  color: #576366;
  font-size: inherit;
  line-height: 1.6;
  font-family: lig;
}

.global .main footer ul.footer-icons li {
  padding: .2rem .4rem;
  display: inline;
}

.global .main footer ul.footer-icons li:first-of-type {
  padding-left: 0;
}

.global .main footer ul.footer-icons li a {
  text-decoration: none;
  color: #576366;
  transition: .3s ease;
}

.global .main footer ul.footer-icons li a:hover {
  color: #5fcf80;
}

/* Performance optimizations */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
