/* Template CSS */
:root {
  --primary: #007bff;
  --secondary: #e93c05;
  --tertiary: #343a40;
  --light: #ccc;
  --dark: #011a41;
  --text-gray: #505050;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  color: white;
  background-color: var(--primary);
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* GLASS NAVBAR */
.fixed-top {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  transition: 0.4s;
  z-index: 999;
}

/* NAVBAR */
.navbar {
  height: 6.5rem;
  transition: all 0.4s ease;
}

/* SCROLL EFFECT ONLY FOR DESKTOP */
@media (min-width: 992px) {
  .navbar.scrolled {
    height: 6rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: white;
  }
}

/* DEFAULT */
.logo {
  height: 6rem;
  transition: .3s;
}

.logo:hover {
  transform: scale(1.06);
}

@media (max-width: 991px) {
  .navbar.scrolled {
    height: 5.5rem;
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.1);
    background: white;
  }

  .logo {
    height: 5rem;
    transition: .3s;
  }
}

/* NAV LINKS */
.navbar-nav .nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  padding: 25px 18px;
  color: #222;
  transition: .3s;
}

/* GRADIENT UNDERLINE */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d4ff);
  transition: .4s;

}

/* MOBILE FIX */
@media (max-width: 991px) {
  .navbar-nav .nav-link::after {
    bottom: 5px;
    height: 2px;
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 40%;
  }
}

/* DESKTOP */
@media (min-width: 992px) {

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 100%;
  }
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

/* CTA BUTTON */
.nav-cta {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  transition: .3s;
}

@media (max-width: 991px) {
  .nav-cta {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    padding: 8px 20px;
  }
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.35);
  color: white;
}

/* SOCIAL ICONS */
.social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #007bff;
  color: white;
  margin-left: 10px;
  transition: .3s;
}

.social-icons a:hover {
  transform: translateY(-4px);
  background: #0056d2;
  box-shadow: 0 6px 20px rgba(0, 123, 255, .45);
}

/* HAMBURGER ANIMATION */
.custom-toggler {
  border: none;
}

.custom-toggler span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px;
  background: #333;
  transition: .3s;
}

/* MOBILE MENU */
@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    background: white;
    margin-top: 0;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  @keyframes slideMenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
  }
}

/* RESOURCE SECTION */

.resource-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
}

/* COLUMN */

.section-column {
  padding: 25px;
}

/* TITLE */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #222;
  position: relative;
}

.section-title:after {
  content: '';
  width: 50px;
  height: 3px;
  background: #007bff;
  position: absolute;
  left: 0;
  bottom: -10px;
}

/* MODERN CARD */
.modern-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

/* CARD HOVER */
.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

/* ICON */

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #007bff, #5ea8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 15px;
}

/* TITLE */

.card-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  margin-bottom: 8px;
}

.card-title:hover {
  color: #007bff;
}

/* TEXT */

.card-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CARD SHINE EFFECT */
.modern-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transition: 0.6s;
}

.modern-card:hover:before {
  left: 100%;
}

/* MOBILE */

@media (max-width:768px) {

  .resource-section {
    padding: 70px 15px;
  }

  .section-title {
    font-size: 22px;
  }
}

/*** Footer ***/
#footerSection {
  background: #3a3a3b;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 18px;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: #ffffff;
  letter-spacing: 1px;
  box-shadow: none;
}

#footerFrameworksLink,
#footerIndustriesLink {
  display: block;
  color: var(--light);
}

#footerSection p {
  font-size: 18px;
}

#footerFrameworksLink:hover,
#footerIndustriesLink:hover {
  color: #ffffff;
  text-decoration: underline;
}

.copyright {
  color: var(--light);
  background: #3a3a3b;
}

.copyright a {
  color: var(--light);
}

.copyright a:hover {
  color: #ffffff;
}