/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #3559e0;
  --secondary-color: #7091f5;
  --accent-color: #97feed;
  --dark-color: #132043;
  --light-color: #f8f9fa;
  --text-color: #444444;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: #fff;
  /* Removed top padding here as we'll handle it in each section */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

section {
  padding: 80px 0;
  overflow: hidden;
}

/* First section after header on inner pages should have additional top padding */
section:first-of-type:not(#hero) {
  padding-top: 130px; /* Increased padding for inner pages first sections */
}

.section-bg {
  background-color: #f6f9fe;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: var(--transition);
  z-index: 997;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#header .navbar {
  padding: 0;
  min-height: auto;
}

#header .container {
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-brand .logo-img {
  height: 70px;
  width: auto;
  display: block;
  background: transparent;
  object-fit: contain;
}

/* Tablet and medium screens */
@media (max-width: 991px) {
  .navbar-brand .logo-img {
    height: 60px;
  }
}

/* Mobile screens */
@media (max-width: 576px) {
  .navbar-brand .logo-img {
    height: 50px;
  }
}

.navbar-brand .logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 15px;
  color: var(--dark-color);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active:after {
  content: '';
  position: absolute;
  width: 25%;
  height: 2px;
  bottom: 3px;
  left: 15px;
  background-color: var(--primary-color);
}

/* Header when scrolled */
#header.header-scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 85vh; /* Maintain reasonable height */
  position: relative;
  padding-top: 80px; /* Add padding equal to header height */
  margin-top: 0;
  overflow: hidden;
  background-color: var(--dark-color); /* Fallback color if video doesn't load */
}

/* Background image container */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Background image styling */
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: scale-bg 20s ease-in-out infinite alternate;
}

/* Animation for subtle background image scaling */
@keyframes scale-bg {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Background video styling */
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center center;
}

/* Dark overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(19, 32, 67, 0.85) 0%, rgba(53, 89, 224, 0.7) 100%);
  z-index: 2;
}

/* Text container with z-index to place it above the background */
.hero-text {
  color: #fff;
  z-index: 10;
  padding: 20px;
  margin-top: 80px; /* Account for header height */
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero h1 span {
  color: #97feed; /* Keep accent color for typed text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero h2 {
  color: rgba(255, 255, 255, 0.95);
  margin: 20px 0 30px 0;
  font-size: 22px;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons container - centered */
.hero-buttons {
  margin-top: 30px;
  justify-content: center;
}

#hero .btn-get-started {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin: 10px 10px 10px 0;
  color: #fff;
  background: #3559e0;
  border: 2px solid #3559e0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

#hero .btn-get-started:hover {
  background: transparent;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

#hero .btn-watch-video {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  padding: 12px 30px 12px 25px;
  transition: all 0.3s ease-in-out;
  margin: 10px 0 0 10px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#hero .btn-watch-video i {
  font-size: 32px;
  transition: all 0.3s ease-in-out;
  margin-right: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

#hero .btn-watch-video:hover i {
  color: #97feed;
  transform: scale(1.1);
}

/* Video Play Button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Request Demo Button */
.btn-request-demo {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: var(--secondary-color);
  padding: 10px 30px;
  margin-left: 20px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-request-demo:hover {
  background-color: #5f7ce5;
  transform: scale(1.05);
  color: #fff;
  text-decoration: none;
}

.btn-request-demo i {
  font-size: 18px;
  margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  #hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 991px) {
  #hero {
    height: 80vh;
  }
  
  .hero-text {
    padding: 0 15px;
  }
  
  #hero h1 {
    font-size: 36px;
  }
  
  #hero h2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 70vh;
  }
  
  #hero h1 {
    font-size: 30px;
  }
  
  #hero h2 {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  #hero .btn-get-started,
  #hero .btn-watch-video {
    margin: 5px;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 26px;
  }
  
  #hero h2 {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  color: var(--dark-color);
}

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

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--primary-color);
}

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

.about .btn-learn-more {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  margin-top: 20px;
  color: var(--primary-color);
  background: #fff;
  border: 2px solid var(--primary-color);
}

.about .btn-learn-more:hover {
  background: var(--primary-color);
  color: #fff;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .service-box {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  border-radius: 8px;
  transition: var(--transition);
  height: 100%;
  background-color: #fff;
}

.services .service-box .icon {
  font-size: 36px;
  padding: 20px;
  border-radius: 10px;
  background: #f0f3fa;
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.services .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.services .service-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 20px;
}

.services .service-box .read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
}

.services .service-box .read-more i {
  transition: var(--transition);
  margin-left: 5px;
}

.services .service-box .read-more:hover i {
  transform: translateX(5px);
}

.services .service-box:hover {
  transform: scale(1.02);
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.15);
}

.services .service-box:hover .icon {
  background: var(--primary-color);
  color: #fff;
}

/*--------------------------------------------------------------
# Solutions
--------------------------------------------------------------*/
.solutions .solution-card {
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  transition: var(--transition);
  margin-bottom: 30px;
  height: 100%;
  position: relative;
}

.solutions .solution-card .solution-img {
  overflow: hidden;
  position: relative;
}

.solutions .solution-card .solution-img img {
  transition: var(--transition);
}

.solutions .solution-card .solution-info {
  padding: 20px 30px;
}

.solutions .solution-card .solution-info h4 {
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-color);
}

.solutions .solution-card:hover {
  transform: translateY(-10px);
}

.solutions .solution-card:hover .solution-img img {
  transform: scale(1.1);
}

.solutions .btn-view-all {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  color: #fff;
  background: var(--primary-color);
  transition: var(--transition);
  font-weight: 600;
}

.solutions .btn-view-all:hover {
  background: var(--secondary-color);
}

/*--------------------------------------------------------------
# Case Studies
--------------------------------------------------------------*/
.case-studies {
  padding: 80px 0;
  overflow: hidden;
  background-color: #fff;
}

.case-study-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 300px; /* Fixed height for consistency */
}

.case-study-item img {
  width: 100%;
  height: 70%; /* Reduced height to make room for info */
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

/* Make info visible by default instead of on hover */
.case-study-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  z-index: 2;
  opacity: 1; /* Always visible */
  border-top: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

/* Keep the image zoom effect on hover */
.case-study-item:hover img {
  transform: scale(1.05);
}

/* Add a subtle highlight effect on hover instead */
.case-study-item:hover .case-study-info {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.case-study-info h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.case-study-info p {
  color: #555;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.case-study-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  transition: 0.3s;
}

.case-study-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
  transform: translateX(5px);
}

/* Case Studies Button Style */
.case-studies .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.case-studies .btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(40, 58, 90, 0.9), rgba(40, 58, 90, 0.9)), url("../images/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 80px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
  margin-bottom: 30px;
}

.cta .cta-btn {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  color: #fff;
  background: var(--primary-color);
}

.cta .cta-btn:hover {
  background: var(--secondary-color);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.contact .info i {
  font-size: 20px;
  color: var(--primary-color);
  float: left;
  width: 44px;
  height: 44px;
  background: #f0f3fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: var(--transition);
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-color);
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: var(--primary-color);
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.contact .php-email-form .form-group {
  padding-bottom: 20px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

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

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: var(--primary-color);
}

.contact .php-email-form input {
  height: 44px;
}

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

.contact .php-email-form button[type="submit"] {
  background: var(--primary-color);
  border: 0;
  padding: 12px 34px;
  color: #fff;
  transition: var(--transition);
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--secondary-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  font-size: 14px;
  background: var(--dark-color);
  color: #fff;
}

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

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

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

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

#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: var(--accent-color);
  font-size: 12px;
  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: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
  line-height: 1;
}

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

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

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

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 14px;
  padding: 0 20px;
  background: var(--primary-color);
  color: #fff;
  transition: var(--transition);
  border-radius: 50px;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: var(--secondary-color);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: var(--transition);
}

#footer .footer-top .social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}

#footer .footer-bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
}

#footer .copyright {
  text-align: center;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: var(--transition);
}

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

.back-to-top:hover {
  background: var(--secondary-color);
  color: #fff;
}

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

/*--------------------------------------------------------------
# Featured Service Box
--------------------------------------------------------------*/
.featured-service {
  border: 1px solid #eee;
  border-left: 5px solid var(--primary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  background-color: #fff;
}

.featured-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-service .icon-large {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.featured-service .icon-large i {
  font-size: 40px;
  color: #fff;
}

.featured-service h3 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.featured-service .badges .badge {
  font-size: 12px;
  padding: 6px 12px;
  margin: 0 3px;
}

.featured-service .feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.featured-service .feature-list li {
  padding: 5px 0;
}

.featured-service .feature-list li i {
  color: var(--primary-color);
  margin-right: 10px;
}

/*--------------------------------------------------------------
# Vision Section
--------------------------------------------------------------*/
.vision {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.vision-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.vision-process {
  position: relative;
}

.vision-process::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background-color: var(--primary-color);
  opacity: 0.3;
}

.process-item {
  display: flex;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.process-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.process-icon i {
  font-size: 28px;
  color: #fff;
}

.process-content {
  flex-grow: 1;
}

.process-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.process-content p {
  margin-bottom: 0;
  line-height: 1.6;
}

.service-badges .badge {
  margin: 0 5px;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Responsive Styles for Added Sections
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .featured-service .row {
    text-align: center;
  }

  .vision-process::before {
    display: none;
  }
  
  .process-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .process-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .featured-service {
    padding: 20px;
  }
  
  .featured-service h3 {
    font-size: 20px;
  }
  
  .vision-content h3 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Page Banner
--------------------------------------------------------------*/
.page-banner {
  background-color: var(--light-color);
  padding: 120px 0 60px; /* Increased top padding to account for fixed header */
  position: relative;
  margin-top: 0; /* Ensure no additional margins are affecting the layout */
}

.page-banner h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.page-banner .breadcrumb {
  background: transparent;
  margin-bottom: 0;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: var(--dark-color);
}

.page-banner .breadcrumb-item a {
  color: var(--primary-color);
}

.page-banner .breadcrumb-item.active {
  color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Sitemap Styles
--------------------------------------------------------------*/
.sitemap-content {
  padding: 60px 0;
}

.sitemap-section {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sitemap-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e2e2;
}

.sitemap-list {
  list-style: none;
  padding-left: 0;
}

.sitemap-list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.sitemap-list i {
  margin-right: 10px;
  color: var(--primary-color);
}

.sitemap-list a {
  color: var(--dark-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sitemap-list a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq {
  padding: 80px 0;
  background-color: #f8fbfe;
}

.faq .section-title h2 {
  color: var(--primary-color);
}

.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  text-decoration: none;
  padding-right: 40px;
}

.faq .faq-list i {
  font-size: 20px;
}

.faq .faq-list .icon-help {
  color: var(--primary-color);
  margin-right: 10px;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  color: var(--primary-color);
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 15px 0 0 35px;
  color: #333;
}

.faq .faq-list .icon-show {
  display: inline-block;
}

.faq .faq-list .icon-close {
  display: none;
}

.faq .faq-list .collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list .collapsed .icon-close {
  display: none;
}

.faq .faq-list [aria-expanded="true"] .icon-show {
  display: none;
}

.faq .faq-list [aria-expanded="true"] .icon-close {
  display: inline-block;
}

@media (max-width: 992px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Blog Styles
--------------------------------------------------------------*/
.blog-listing {
  padding: 80px 0;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-img {
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: #555;
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more i {
  margin-left: 8px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

.read-more.disabled {
  color: #aaa;
  cursor: not-allowed;
}

.read-more.disabled:hover i {
  transform: none;
}

/* Blog Post Styles */
.blog-post {
  padding: 80px 0;
}

.blog-header {
  margin-bottom: 40px;
}

.blog-header img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.blog-content h2 {
  color: var(--dark-color);
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.blog-content h3 {
  color: var(--dark-color);
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.blog-content h4 {
  color: var(--primary-color);
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.blog-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-content .lead {
  font-size: 18px;
  color: #333;
  font-weight: 500;
}

.blog-content ul, .blog-content ol {
  margin-bottom: 25px;
  color: #444;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 30px 0;
  background: #f8f9fa;
  font-style: italic;
}

.blog-content blockquote p {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.blog-image-container {
  margin: 30px 0;
  text-align: center;
}

.image-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #777;
  font-style: italic;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.tag {
  display: inline-block;
  padding: 5px 15px;
  background: #f1f1f1;
  border-radius: 20px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary-color);
  color: #fff;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f1f1;
  color: #555;
  transition: all 0.3s ease;
}

.social-share:hover {
  background: var(--primary-color);
  color: #fff;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
}

.author-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}

.author-info p {
  margin: 0;
  color: #555;
}

.related-posts {
  margin-top: 60px;
}

.related-posts h3 {
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  font-size: 24px;
}

.related-post-card {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  height: 100%;
}

.related-post-card h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.related-post-card h5 a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-post-card h5 a:hover {
  color: var(--primary-color);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.cta-box h4 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.table-responsive {
  margin: 30px 0;
}

.table th {
  background-color: var(--primary-color);
  color: #fff;
}

@media (max-width: 768px) {
  .blog-post {
    padding: 60px 0;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .blog-content h2 {
    font-size: 28px;
  }
  
  .blog-content h3 {
    font-size: 22px;
  }
  
  .blog-author {
    flex-direction: column;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Responsive Header Fixes
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
  }
  
  .navbar-nav {
    padding-top: 10px;
  }
  
  #header {
    height: auto;
  }
  
  .page-banner {
    padding: 140px 0 60px; /* Even more padding on mobile */
  }
  
  section:first-of-type:not(#hero) {
    padding-top: 140px; /* More padding for mobile */
  }
}

/* Contact form highlight animation */
@keyframes highlight-form {
  0% {
    box-shadow: 0 0 0 0 rgba(112, 145, 245, 0);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(112, 145, 245, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(112, 145, 245, 0);
  }
}

.highlight-form {
  animation: highlight-form 1.5s ease-in-out;
}

/*--------------------------------------------------------------
# Dark Theme
--------------------------------------------------------------*/
:root {
  --bg-color: #0b1220;
  --surface-color: #0f1a33;
  --surface-alt-color: #111f3d;
  --border-color: rgba(255, 255, 255, 0.12);
  --text-muted-color: rgba(255, 255, 255, 0.7);

  /* Override existing theme tokens for dark UI */
  --text-color: rgba(255, 255, 255, 0.82);
  --dark-color: #f3f6ff;
  --light-color: var(--surface-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.section-bg,
.faq {
  background-color: var(--surface-color);
}

.section-title h2 {
  color: var(--text-muted-color);
}

.section-title p {
  color: var(--dark-color);
}

#header,
#header.header-scrolled {
  background: rgba(11, 18, 32, 0.92);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link {
  color: var(--dark-color);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(11, 18, 32, 0.98);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  }
}

.navbar-toggler {
  border-color: var(--border-color);
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(1.6);
}

#hero {
  background-color: var(--bg-color);
}

.page-banner {
  background-color: var(--surface-color);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted-color);
}

.page-banner .breadcrumb-item.active {
  color: var(--text-muted-color);
}

.about .btn-learn-more,
.services .service-box,
.solutions .solution-card,
.contact .info,
.contact .php-email-form,
.faq .faq-list li,
.blog-card,
.sitemap-section,
#footer .footer-top .footer-newsletter form {
  background: var(--surface-alt-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

.services .service-box .icon,
.contact .info i {
  background: rgba(255, 255, 255, 0.06);
}

.sitemap-section h2 {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.faq .faq-list p {
  color: var(--text-color);
}

.blog-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.contact .php-email-form input,
.contact .php-email-form textarea,
.form-control,
#footer .footer-top .footer-newsletter form input[type="email"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dark-color);
  border-color: var(--border-color);
}

.contact .php-email-form label {
  color: var(--text-muted-color);
}

.contact .info p {
  color: var(--text-color);
}

#footer {
  background: rgba(11, 18, 32, 1);
}

#footer .footer-top {
  background: var(--surface-color);
}

.blog-date,
.post-meta {
  color: var(--text-muted-color);
}

.blog-card p,
.blog-content p,
.blog-content ul,
.blog-content ol {
  color: var(--text-color);
}

.blog-content .lead,
.blog-content blockquote p {
  color: var(--dark-color);
}

.blog-content blockquote {
  background: rgba(255, 255, 255, 0.05);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.blog-author {
  background: var(--surface-alt-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-author .author-info h4 {
  color: var(--dark-color);
}

.blog-author .author-info p {
  color: var(--text-color);
}

.related-posts h3 {
  color: var(--dark-color);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.related-post-card {
  background: var(--surface-alt-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.related-post-card h5 a {
  color: var(--dark-color);
}

.related-post-card p {
  color: var(--text-color);
}
