/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #128fff;
  text-decoration: none;
}

a:hover {
  color: #e76668;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left  : 15px;
  bottom: 15px;
  z-index: 996;
  background: #128fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #128fff;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

#header.header-scrolled {
  padding: 12px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #111111;
}

#header .logo a span {
  color: #128fff;
}

#header .logo img {
  max-height: 60px;
}

/*--------------------------------------------------------------
# Get Startet Button
--------------------------------------------------------------*/

#quiz {
  margin-left: 60px;
  background: #128fff;
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

#quiz:hover {
  background: #a940e2;
  color: #fff;
}


@media (max-width: 992px) {
  .get-started-btn {
    margin: 0 5px 0 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  margin-right: 50px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 20px;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #128fff;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 30px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #128fff;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #111111;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #111111;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #128fff;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #128fff;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* ===== Header safe space to avoid overlap with fixed header ===== */
/* Set body padding to match header height so fixed header doesn't overlap content */
body {
  padding-top: 88px; /* desktop header height */
}

/* If your header is smaller on mobile, adapt with media query below */
@media (max-width: 768px) {
  body { padding-top: 64px; } /* mobile header height */
}


/* ===== Hero Section Styling (responsive) ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 88px); /* full screen minus header */
  padding: 40px 16px;
  color: #ffffff;
  box-sizing: border-box;
}

/* mobile adjustment for hero height */
@media (max-width: 768px) {
  .hero-section {
    min-height: calc(100vh - 640px);
    padding: 56px 16px; /* more breathing space on mobile */
  }
}

/* background layer (image + blur + darken) */
.hero-bg {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-image: url('./assets/img/about-us-hero.png'); /* change path if needed */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(4px) brightness(0.55);
  transform: scale(1.05); /* prevent blurred edges */
  z-index: 1;
}

/* content sits above background */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  padding: 200px 10px 0 10px;
}

/* responsive heading sizes (clamp for smooth resizing) */
.hero-title {
  font-weight: 700;
  margin: 0 auto 12px auto;
  line-height: 1.08;
  color: #ffffff;
  font-size: clamp(1.25rem, 3.4vw, 2.2rem); /* small -> large */
  word-break: break-word;
}

/* subtitle */
.hero-subtitle {
  margin: 8px 0 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
}

/* CTA button */
.hero-cta {
  display: inline-block;
  background: linear-gradient(90deg,#128fff,#06a6ff);
  color: #fff;
  padding: 10px 28px;
  border-radius: 26px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(18,143,255,0.14);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  -webkit-tap-highlight-color: transparent;
}

/* stronger hover state on devices with hover */
@media (hover: hover) {
  .hero-cta:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 30px rgba(18,143,255,0.22);
    background: linear-gradient(90deg,#0d6efd,#128fff);
  }
}

/* small screen tweaks for long headlines so CTA shows */
@media (max-width: 768px) {
  .hero-title { font-size: 1.15rem; line-height: 1.15; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-cta { padding: 10px 20px; font-size: 0.95rem; }
    .hero-content {
        padding: 80px 10px 0 10px;
    }
}

/* ensure header covers on top (so hero sits below it) */
#header.fixed-top {
  z-index: 9999; /* higher than hero-bg */
}

/* header logo adjustments */
#header .logo img {
  height: auto;
  max-height: 56px;
}
@media (max-width: 768px) {
  #header .logo img { max-height: 40px; }
}

/* ===== About Us Cards ===== */
#about-content .card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  padding: 20px;
    background: #141414;
    color: #fff;
}

#about-content .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: #128fff;
    color: #fff;
}

#about-content .card-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

#about-content .card-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== Founder Section ===== */
#founder {
  background-color: #f8f9fa;
}

#founder .founder-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

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

#founder h2 {
  font-weight: 700;
  margin-bottom: 5px;
}

#founder h5 {
  font-weight: 500;
  color: #555;
  margin-bottom: 20px;
}

#founder p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  #founder .row {
    flex-direction: column-reverse; /* text above image if preferred */
    text-align: center;
  }

  #founder .founder-img {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
  }
}

/* Contact Form */
.php-email-form input,
.php-email-form textarea,
.php-email-form select {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

.php-email-form button {
  border-radius: 26px;
  padding: 10px 28px;
  background: linear-gradient(90deg,#128fff,#06a6ff);
  color: #fff;
  font-weight: 700;
  border: none;
  transition: all 0.25s ease;
}

.php-email-form button:hover {
  background: linear-gradient(90deg,#0d6efd,#128fff);
  transform: translateY(-3px) scale(1.02);
}

/* Responsive Adjustments for Cards */
@media (max-width: 768px) {
  #about-content .card-title { font-size: 1.2rem; }
  #about-content .card-text { font-size: 0.9rem; }
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #141414;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px 0 32px 0;
  border-radius: 4px;
}

.contact .info-box i {
  font-size: 32px;
  color: #128fff;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #141414;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #141414;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  border-radius: 4px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: red;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 25px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #111111;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #128fff;
  border: 0;
  padding: 10px 32px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #141414;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: #141414;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #141414;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: #128fff;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #128fff;
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: white;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #aaaaaa;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #fff;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #128fff;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #128fff;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #141414;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #128fff;
  color: #fff;
  text-decoration: none;
}