/*
  Theme Name: SafeTrack - Child & Disability Tracking
  Modern Design with Safety Focus
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #053F5C;
  font-family: "Inter", "Open Sans", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: #429EBD;
  transition: all 0.3s ease;
}

a:hover, a:active, a:focus {
  color: #053F5C;
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

p {
  padding: 0;
  margin: 0 0 24px 0;
  color: #053F5C;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-weight: 600;
  margin: 0 0 20px 0;
  padding: 0;
  color: #053F5C;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: linear-gradient(135deg, #F7AD19, #429EBD);
  color: #fff;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 50px;
  right: 20px;
  bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 173, 25, 0.3);
}

.back-to-top:focus {
  background: linear-gradient(135deg, #F7AD19, #429EBD);
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #429EBD, #9FE7F5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 158, 189, 0.4);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  padding: 20px 0;
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.4s ease;
  z-index: 997;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(159, 231, 245, 0.2);
}

#header #logo {
  float: left;
}

#header #logo h1 {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#header #logo h1 a, #header #logo h1 a:hover {
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#header #logo img {
  padding: 0;
  margin: 0;
  max-height: 50px;
}

@media (max-width: 768px) {
  #header #logo h1 {
    font-size: 24px;
    margin-top: 0;
  }
  #header #logo img {
    max-height: 35px;
  }
}

#header.header-fixed {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  padding: 15px 0;
  height: 70px;
  box-shadow: 0 2px 20px rgba(5, 63, 92, 0.1);
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(159, 231, 245, 0.9), rgba(66, 158, 189, 0.8)), url("../img/intro-bg.jpg") center top no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

#intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(247, 173, 25, 0.1) 0%, transparent 50%);
}

@media (min-width: 1024px) {
  #intro {
    background-attachment: fixed;
  }
}

#intro .intro-text {
  position: absolute;
  left: 0;
  top: 50px;
  right: 0;
  height: calc(60% - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  z-index: 2;
}

#intro h2 {
  margin: 30px 0 20px 0;
  padding: 0 20px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(5, 63, 92, 0.3);
}

@media (max-width: 768px) {
  #intro h2 {
    font-size: 32px;
    line-height: 1.3;
  }
}

#intro p {
  color: #fff;
  margin-bottom: 30px;
  padding: 0 20px;
  font-size: 22px;
  font-weight: 400;
  text-shadow: 0 1px 5px rgba(5, 63, 92, 0.2);
}

@media (max-width: 768px) {
  #intro p {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 25px;
  }
}

#intro .btn-get-started {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  transition: all 0.4s ease;
  margin: 15px 10px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

#intro .btn-get-started:hover {
  color: #053F5C;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

#intro .btn-get-started.btn-primary {
  background: linear-gradient(135deg, #F7AD19, #429EBD);
  border: 2px solid transparent;
  color: #fff;
}

#intro .btn-get-started.btn-primary:hover {
  background: linear-gradient(135deg, #429EBD, #9FE7F5);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(247, 173, 25, 0.4);
}

#intro .product-screens {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  text-align: center;
  width: 100%;
  height: 40%;
}

#intro .product-screens img {
  box-shadow: 0 10px 40px rgba(5, 63, 92, 0.3);
  border-radius: 20px;
  transition: all 0.4s ease;
}

#intro .product-screens img:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(5, 63, 92, 0.4);
}

#intro .product-screens .product-screen-1 {
  position: absolute;
  z-index: 30;
  left: calc(50% + 54px);
  bottom: 0;
  top: 30px;
}

#intro .product-screens .product-screen-2 {
  position: absolute;
  z-index: 20;
  left: calc(50% - 154px);
  bottom: 0;
  top: 90px;
}

#intro .product-screens .product-screen-3 {
  position: absolute;
  z-index: 10;
  left: calc(50% - 374px);
  bottom: 0;
  top: 150px;
}

@media (max-width: 767px) {
  #intro .product-screens .product-screen-1 {
    position: static;
    padding-top: 30px;
  }
  #intro .product-screens .product-screen-2, #intro .product-screens .product-screen-3 {
    display: none;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
  padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 15px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Menu Container */
#nav-menu-container {
  float: right;
  margin: 0;
}

@media (max-width: 768px) {
  #nav-menu-container {
    display: none;
  }
}

/* Nav Menu Styling */
.nav-menu a {
  padding: 8px 15px;
  text-decoration: none;
  display: inline-block;
  color: #053F5C;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  outline: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #429EBD;
  background: rgba(66, 158, 189, 0.1);
}

.nav-menu > li {
  margin-left: 8px;
}

.nav-menu ul {
  margin: 8px 0 0 0;
  padding: 15px;
  box-shadow: 0 8px 30px rgba(5, 63, 92, 0.15);
  background: #fff;
  border-radius: 15px;
  border: 1px solid rgba(159, 231, 245, 0.2);
}

.nav-menu ul li {
  transition: 0.3s;
  border-radius: 8px;
}

.nav-menu ul li a {
  padding: 12px 15px;
  color: #053F5C;
  transition: 0.3s;
  display: block;
  font-size: 14px;
  border-radius: 8px;
}

.nav-menu ul li:hover > a {
  color: #429EBD;
  background: rgba(159, 231, 245, 0.1);
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 999;
  border: 0;
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  font-size: 20px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(66, 158, 189, 0.3);
}

#mobile-nav-toggle i {
  color: #fff;
  line-height: 50px;
}

#mobile-nav-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(66, 158, 189, 0.4);
}

@media (max-width: 768px) {
  #mobile-nav-toggle {
    display: inline;
  }
}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 80px;
  bottom: 0;
  z-index: 998;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  left: -300px;
  width: 300px;
  overflow-y: auto;
  transition: 0.4s;
  border-right: 1px solid rgba(159, 231, 245, 0.2);
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
  margin: 5px 15px;
  border-radius: 10px;
}

#mobile-nav ul li a {
  color: #053F5C;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  padding: 12px 20px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

#mobile-nav ul li a:hover {
  color: #429EBD;
  background: rgba(159, 231, 245, 0.1);
}

#mobile-nav ul li li {
  padding-left: 20px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #053F5C;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #429EBD;
}

#mobile-nav ul .menu-item-active {
  color: #429EBD;
  background: rgba(159, 231, 245, 0.1);
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(5, 63, 92, 0.8);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header */
.section-header .section-title {
  font-size: 36px;
  color: #053F5C;
  text-align: center;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header .section-description {
  text-align: center;
  padding-bottom: 40px;
  color: #429EBD;
  font-size: 18px;
  font-weight: 400;
}

.section-header .section-divider {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  margin: 0 auto;
  margin-bottom: 30px;
  border-radius: 50px;
}

/* Section with background */
.section-bg {
  background: linear-gradient(135deg, rgba(159, 231, 245, 0.05), rgba(247, 173, 25, 0.02));
}

/* About Us Section */
#about {
  padding: 80px 0;
  overflow: hidden;
}

#about .about-img {
  height: 550px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(5, 63, 92, 0.1);
}

#about .about-img img {
  max-width: 100%;
  transition: all 0.4s ease;
}

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

@media (max-width: 768px) {
  #about .about-img {
    height: auto;
    margin-bottom: 30px;
  }
  #about .about-img img {
    margin-left: 0;
    padding-bottom: 30px;
  }
}

#about .content .h2 {
  color: #053F5C;
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 15px;
}

#about .content h3 {
  color: #429EBD;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
}

#about .content p {
  line-height: 1.7;
  color: #053F5C;
  font-size: 16px;
}

#about .content p:last-child {
  margin-bottom: 0;
}

#about .content i {
  font-size: 22px;
  padding-right: 8px;
  color: #F7AD19;
}

#about .content ul {
  list-style: none;
  padding: 0;
}

#about .content ul li {
  padding-bottom: 15px;
  color: #053F5C;
  font-size: 16px;
}

/* Features Section */
#features {
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
}

#features .features-img {
  text-align: center;
  padding-top: 40px;
}

@media (min-width: 769px) {
  #features .features-img {
    padding-top: 120px;
    margin-top: -150px;
  }
}

#features .features-img img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(5, 63, 92, 0.15);
}

#features .box {
  margin-bottom: 40px;
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(5, 63, 92, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(159, 231, 245, 0.1);
}

#features .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(5, 63, 92, 0.15);
  border-color: rgba(66, 158, 189, 0.2);
}

#features .icon {
  margin-bottom: 20px;
}

#features .icon i {
  font-size: 50px;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#features .box:hover .icon i {
  transform: scale(1.1);
}

#features .title {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 24px;
  color: #053F5C;
}

#features .title a {
  color: #053F5C;
}

#features .title a:hover {
  color: #429EBD;
}

#features .description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
  color: #429EBD;
}

/* Call To Action Section */
#call-to-action {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(66, 158, 189, 0.9), rgba(159, 231, 245, 0.8)), url(../img/call-to-action-bg.jpg) fixed center center;
  background-size: cover;
  padding: 100px 0;
  position: relative;
}

#call-to-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(247, 173, 25, 0.15) 0%, transparent 50%);
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(5, 63, 92, 0.3);
}

#call-to-action .cta-text {
  color: #fff;
  font-size: 18px;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(5, 63, 92, 0.2);
}

@media (min-width: 769px) {
  #call-to-action .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

#call-to-action .cta-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  transition: all 0.4s ease;
  margin: 15px 10px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

#call-to-action .cta-btn:hover {
  background: #fff;
  color: #053F5C;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

#call-to-action .cta-btn.btn-primary {
  background: linear-gradient(135deg, #F7AD19, #429EBD);
  border: 2px solid transparent;
}

#call-to-action .cta-btn.btn-primary:hover {
  background: linear-gradient(135deg, #429EBD, #9FE7F5);
  color: #fff;
}

/* Contact Section */
#contact {
  box-shadow: 0 0 30px rgba(5, 63, 92, 0.1);
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(159, 231, 245, 0.03), rgba(247, 173, 25, 0.01));
}

#contact .contact-about h3 {
  font-size: 32px;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#contact .contact-about p {
  font-size: 16px;
  line-height: 1.6;
  color: #053F5C;
}

#contact .social-links {
  padding-bottom: 30px;
}

#contact .social-links a {
  font-size: 18px;
  display: inline-block;
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  color: #fff;
  line-height: 1;
  padding: 12px;
  margin-right: 8px;
  border-radius: 50%;
  text-align: center;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 158, 189, 0.3);
}

#contact .social-links a:hover {
  background: linear-gradient(135deg, #F7AD19, #9FE7F5);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(247, 173, 25, 0.4);
}

#contact .info {
  color: #053F5C;
}

#contact .info i {
  font-size: 32px;
  color: #F7AD19;
  float: left;
  line-height: 1;
  margin-right: 15px;
}

#contact .info p {
  padding: 0 0 15px 50px;
  line-height: 1.6;
  font-size: 16px;
  color: #053F5C;
}

#contact .form input, #contact .form textarea {
  border-radius: 10px;
  box-shadow: none;
  font-size: 16px;
  border: 2px solid rgba(159, 231, 245, 0.3);
  padding: 15px;
  transition: all 0.3s ease;
}

#contact .form input:focus, #contact .form textarea:focus {
  border-color: #429EBD;
  box-shadow: 0 0 20px rgba(66, 158, 189, 0.1);
}

#contact .form button[type="submit"] {
  background: linear-gradient(135deg, #429EBD, #F7AD19);
  border: 0;
  border-radius: 50px;
  padding: 15px 40px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 158, 189, 0.3);
}

#contact .form button[type="submit"]:hover {
  background: linear-gradient(135deg, #F7AD19, #429EBD);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 173, 25, 0.4);
  cursor: pointer;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(135deg, #053F5C, #429EBD);
  color: #fff;
  padding: 50px 0 30px 0;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(247, 173, 25, 0.1) 0%, transparent 50%);
}

#footer .footer-content {
  position: relative;
  z-index: 2;
}

#footer h4 {
  color: #9FE7F5;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

#footer p, #footer li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

#footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  padding-left: 15px;
  transition: all 0.3s ease;
}

#footer .footer-links a:first-child {
  padding-left: 0;
}

#footer .footer-links a:hover {
  color: #9FE7F5;
}

#footer .credits {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(159, 231, 245, 0.2);
  margin-top: 30px;
}