/**
* Home Track - Dark Theme
* Modern dark design with blue accents
*/

/*--------------------------------------------------------------
# Font & Color Variables - DARK THEME
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Dark Theme Colors */
:root { 
  --background-color: #0a0e27; /* Deep dark blue-black */
  --default-color: #e0e6ed; /* Light gray text */
  --heading-color: #ffffff; /* White headings */
  --accent-color: #2196F3; /* Vibrant blue (logo color) */
  --accent-hover: #1976D2; /* Darker blue for hover */
  --surface-color: #141b2d; /* Card backgrounds */
  --contrast-color: #ffffff;
  --border-color: rgba(33, 150, 243, 0.2); /* Blue tinted borders */
  --muted-text: #8892a6; /* Muted text color */
}

/* Nav Menu Colors - Dark */
:root {
  --nav-color: #e0e6ed;
  --nav-hover-color: #2196F3;
  --nav-mobile-background-color: #0a0e27;
  --nav-dropdown-background-color: #141b2d;
  --nav-dropdown-color: #e0e6ed;
  --nav-dropdown-hover-color: #2196F3;
}

/* Light sections (inversions for contrast) */
.light-background {
  --background-color: #1a1f3a;
  --surface-color: #141b2d;
}

.dark-background {
  --background-color: #050816;
  --default-color: #e0e6ed;
  --heading-color: #ffffff;
  --surface-color: #0f1420;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header - Dark Theme
--------------------------------------------------------------*/
/* -------------------------------
   Header & Navbar Styling
----------------------------------*/
.header {
  --background-color: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(33, 150, 243, 0.2);
  color: #e0e6ed;
  padding: 10px 0;
  transition: all 0.4s ease;
  z-index: 997;
}

.header.scrolled {
  --background-color: rgba(10, 14, 39, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.header .logo {
  width: 164px;
  height: 70px;}
/* Logo */
.header .logo img {
  /* max-height: 50px; */
  
  transition: transform 0.3s ease;
}

.header .logo:hover img {
  transform: scale(1.05);
}

/* Desktop Nav */
@media (min-width: 1200px) {
  .navmenu {
    display: flex;
    align-items: center;
  }

  .navmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .navmenu li {
    margin: 0 16px;
    position: relative;
  }

  .navmenu a {
    font-size: 15px;
    color: #cfd8e3;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 4px;
    transition: color 0.3s ease;
    position: relative;
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 2px;
    width: 0%;
    background: #2196f3;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.6);
  }

  .navmenu a:hover::after,
  .navmenu .active::after {
    width: 100%;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: #ffffff;
  }
}

/* -------------------------------
   Mobile Navigation
----------------------------------*/
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    position: fixed;
    top: 18px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    padding: 6px 9px;
    z-index: 10001;
    transition: all 0.3s ease;
  }

  /* .mobile-nav-toggle:hover {
    transform: rotate(90deg);
  } */

  .navmenu ul {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(12px);
    padding: 80px 0 20px 0;
    margin: 0;
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu ul {
    transform: translateX(0);
  }

  .navmenu li {
    border-bottom: 1px solid rgba(33, 150, 243, 0.1);
  }

  .navmenu a {
    display: block;
    padding: 14px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #e0e6ed;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
  }
}
.logo-desktop{
  width: 100%;
  height: 100%;
}
/* -------------------------------
   Responsive Logos
----------------------------------*/
.logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: block;
    max-height: 48px;
  }
}

/*--------------------------------------------------------------
# Global Footer - Dark
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #050816;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
  border-top: 1px solid rgba(33, 150, 243, 0.2);
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15px;
  font-style: italic;
  color: var(--muted-text);
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.footer .social-links a:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(33, 150, 243, 0.5);
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid rgba(33, 150, 243, 0.2);
  color: var(--muted-text);
}

/*--------------------------------------------------------------
# Preloader - Dark
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: #0a0e27;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button - Dark
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Global Sections - Dark
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

/*--------------------------------------------------------------
# Section Titles - Dark
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #ffffff;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 2px 10px rgba(33, 150, 243, 0.5);
}

.section-title p {
  margin-bottom: 0;
  color: var(--muted-text);
}

/*--------------------------------------------------------------
# Hero Section - Dark
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Hero Image */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
  object-position: center; /* Centers the image within the container */
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 100%, rgba(5, 8, 22, 0.9) 100%); */
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 50px;
  z-index: 3;
  max-width: 700px;
}

.hero h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 18px;
  color: #e0e6ed;
  line-height: 1.6;
}

.hero .btn {
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero .btn-success {
  background-color: #25d366;
  border-color: #25d366;
}

.hero .btn-success:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.hero .btn-outline-light {
  border-color: #2196F3;
  color: #2196F3;
}

.hero .btn-outline-light:hover {
  background: #2196F3;
  border-color: #2196F3;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .hero-content {
    left: 30px;
    right: 30px;
    bottom: 60px;
    max-width: 90%;
  }
  .hero h2 {
    font-size: 36px;
  }
  .hero p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 40px;
    max-width: calc(100% - 40px);
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 1rem !important;
  }
  .hero .d-flex {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  .hero .btn {
    width: 100%;
    text-align: center;
  }
  .hero-image {
    object-position: 70% center; /* Adjusts the image focus for mobile */
  }
}

/*--------------------------------------------------------------
# About Section - Dark
--------------------------------------------------------------*/
.about {
  background-color: #0a0e27;
}

.container p {
  text-align: justify;
  line-height: 1.6;
  color: var(--default-color);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #2196F3;
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.read-more-btn:hover {
  transform: translateX(5px);
  background-color: #1976D2;
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
  color: white;
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# Services Section - Dark
--------------------------------------------------------------*/
.services {
  background: linear-gradient(135deg, #0a0e27 0%, #141b2d 100%);
}

.services .service-item {
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  padding: 60px 30px;
  transition: all 0.3s ease;
  border-radius: 18px;
  border: 1px solid rgba(33, 150, 243, 0.2);
  height: 100%;
}

.services .service-item .icon {
  color: #ffffff;
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  color: #ffffff;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--muted-text);
}

/* Adjustments for large screens only */
@media (min-width: 1365px) {
  /* Default state: Slight upward shift for service cards */
  .services .service-item {
    transform: translateY(-8px); /* Adjust this value (e.g., -5px to -12px) to control the shift */
  }

  /* Hover state: More pronounced upward shift */
  .services .service-item:hover {
    transform: translateY(-18px); /* Ensure this is larger than the default shift */
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(33, 150, 243, 0.3);
  }

  .services .service-item:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Features Section - Dark
--------------------------------------------------------------*/
.features {
  background-color: #0a0e27;
}

.features .features-image {
  position: relative;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 12px;
  filter: brightness(0.9);
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #ffffff;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
  filter: drop-shadow(0 4px 10px rgba(33, 150, 243, 0.4));
}

.features .features-item p {
  font-size: 15px;
  color: var(--muted-text);
  margin: 0;
  max-width: 450px; /* limits paragraph width */
  line-height: 1.6; /* improves readability */
}


/*--------------------------------------------------------------
# Stats Section - Dark
--------------------------------------------------------------*/
.stats {
  position: relative;
  background: linear-gradient(135deg, #0a0e27 0%, #050816 100%);
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.3);
}

.stats:before {
  content: "";
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 8, 22, 0.9) 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats .subheading h3 {
  font-weight: 700;
  font-size: 36px;
  color: #ffffff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
  background: rgba(33, 150, 243, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(33, 150, 243, 0.2);
  transition: all 0.3s ease;
}

.stats .stats-item:hover {
  transform: translateY(-5px);
  background: rgba(33, 150, 243, 0.1);
  box-shadow: 0 8px 30px rgba(33, 150, 243, 0.3);
}

.stat-number {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-size: 2rem;
  color: #2196F3;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.stat-number .purecounter {
  font-weight: bold;
}

.stat-number .plus {
  font-size: 1rem;
  margin-left: 2px;
  line-height: 1;
  display: inline-block;
  color: inherit;
}

.stats .stats-item p {
  padding: 0;
  margin: 10px 0 0 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: #e0e6ed;
}

/*--------------------------------------------------------------
# Portfolio Section - Dark
--------------------------------------------------------------*/
.portfolio {
  background: linear-gradient(135deg, #0a0e27 0%, #141b2d 100%);
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 20px;
  padding: 0 50px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(33, 150, 243, 0.2);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 40px rgba(33, 150, 243, 0.3);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
  filter: brightness(0.8);
}

.portfolio-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.9) 0%, rgba(25, 118, 210, 0.95) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 12px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.portfolio-overlay p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #e0e6ed;
}

.portfolio-overlay .view-morep {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid #ffffff;
  padding: 8px 16px;
  border-radius: 5px;
  transition: 0.3s;
}

.portfolio-overlay .view-morep:hover {
  background: #ffffff;
  color: #2196F3;
}

/*--------------------------------------------------------------
# FAQ Section - Dark
--------------------------------------------------------------*/
.faq {
  background-color: #0a0e27;
}

.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
  color: #ffffff;
}

.faq .content h3 span {
  color: var(--accent-color);
}

.faq .content p {
  color: var(--muted-text);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq .faq-container .faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0px 8px 30px rgba(33, 150, 243, 0.3);
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
  color: #ffffff;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted-text);
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
  color: var(--muted-text);
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Recent Posts Section - Dark
--------------------------------------------------------------*/
.recent-posts {
  background: linear-gradient(135deg, #0a0e27 0%, #141b2d 100%);
}

.recent-posts article {
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(33, 150, 243, 0.2);
  transition: all 0.3s ease;
}

.recent-posts article:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(33, 150, 243, 0.3);
  border-color: var(--accent-color);
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.recent-posts .post-img img {
  filter: brightness(0.9);
  transition: all 0.3s ease;
}

.recent-posts article:hover .post-img img {
  transform: scale(1.05);
  filter: brightness(1);
}

.recent-posts .post-category {
  font-size: 16px;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: #ffffff;
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--accent-color);
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--default-color);
}

.recent-posts .post-date {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section - Dark
--------------------------------------------------------------*/
.contact {
  background-color: #0a0e27;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: #ffffff;
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted-text);
}

.contact .info-item:hover i {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

.contact iframe {
  border-radius: 12px;
  filter: brightness(0.9) contrast(1.1);
}

/*--------------------------------------------------------------
# Floating Action Buttons - Dark
--------------------------------------------------------------*/

/* Adjust your existing call button if needed */
.call_float {
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #2196F3;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(33,150,243,.45);
  z-index: 1000;
  transition: transform .2s ease, box-shadow .2s ease;
}
.call_float:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(33,150,243,.6); }

/* New WhatsApp button */
.whatsapp_float {
  position: fixed;
  bottom: 90px;            /* sits above the scroll-to-top button */
  right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(37,211,102,.45);
  z-index: 1000;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.whatsapp_float:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.6); opacity: .95;
  color: #fff;
 }

@media (max-width: 575px) {
  .call_float { bottom: 140px; right: 16px; }
  .whatsapp_float { bottom: 84px; right: 16px; }
}

/*--------------------------------------------------------------
# Team Section - Dark
--------------------------------------------------------------*/
.team-section {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #0a0e27 0%, #141b2d 100%);
}

.team-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #ffffff;
}

.team-section h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  box-shadow: 0 2px 10px rgba(33, 150, 243, 0.5);
}

.team-section p {
  margin-bottom: 40px;
  font-size: 16px;
  color: var(--muted-text);
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 10px;
  padding: 30px 20px;
  max-width: 300px;
  flex: 1 1 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(33, 150, 243, 0.3);
  border-color: var(--accent-color);
}

.team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.team-member h3 {
  margin: 5px 0;
  font-size: 16px;
  color: #ffffff;
}

.team-member span {
  font-size: 13px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.team-member p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
  width: 100%;
}

.highlight {
  color: var(--accent-color);
  font-weight: bold;
}

/*--------------------------------------------------------------
# Process Section - Dark
--------------------------------------------------------------*/
.process-step {
  text-align: center;
  height: 100%;
  padding: 1.2rem;
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(33, 150, 243, 0.3);
  border-color: var(--accent-color);
}

.process-step i {
  font-size: 1.7rem;
  color: #2196F3;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 4px 10px rgba(33, 150, 243, 0.4));
}

.process-step h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0;
  line-height: 1.3;
}

/*--------------------------------------------------------------
# Portfolio Detail Page - Dark
--------------------------------------------------------------*/
.containerportdet {
  max-width: 900px;
  margin: 80px auto 0;
  text-align: center;
  background-color: #0a0e27;
}

.containerportdet__img-holder {
  max-width: 280px;
  display: inline-block;
  vertical-align: top;
  margin-bottom: 20px;
  margin-left: 16px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(33, 150, 243, 0.2);
  transition: all 0.3s ease;
}

.containerportdet__img-holder:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(33, 150, 243, 0.3);
  border-color: var(--accent-color);
}

.containerportdet .containerportdet__img-holder:nth-child(3n+1) {
  margin-left: 0;
}

.containerportdet__img-holder img {
  width: 100%;
  height: 350px;
  display: block;
  filter: brightness(0.9);
  transition: all 0.3s ease;
}

.containerportdet__img-holder:hover img {
  filter: brightness(1);
}

.img-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 14, 39, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  backdrop-filter: blur(10px);
  z-index: 10000;
}

.img-popup img {
  max-width: 900px;
  width: 100%;
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(33, 150, 243, 0.3);
}

.close-btn {
  width: 35px;
  height: 30px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 10001;
}

.close-btn .bar {
  height: 4px;
  background: #2196F3;
  box-shadow: 0 2px 10px rgba(33, 150, 243, 0.5);
}

.close-btn .bar:nth-child(1) {
  transform: rotate(45deg);
}

.close-btn .bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.close-btn:hover .bar {
  background: #1976D2;
}

.opened {
  display: flex;
}

.opened img {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Refer and Earn Form - Dark
--------------------------------------------------------------*/
.form-container {
  display: flex;
  max-width: 900px;
  margin: 50px auto;
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(33, 150, 243, 0.2);
  font-family: Arial, sans-serif;
}

.form-info {
  flex: 1;
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  color: white;
  padding: 20px;
  border-radius: 10px 0 0 10px;
}

.form-info h2 {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

.form-info h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  color: #ffffff;
}

.form-info p {
  font-size: 14px;
  line-height: 1.5;
  color: #e0e6ed;
}

form {
  flex: 1;
  background: #1a1f3a;
  padding: 20px;
  border-radius: 0 10px 10px 0;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 5px;
  font-size: 16px;
  background: #141b2d;
  color: #e0e6ed;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #2196F3;
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
}

input::placeholder, textarea::placeholder {
  color: var(--muted-text);
}

textarea {
  height: 100px;
  resize: vertical;
}

button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

button:hover {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

/*--------------------------------------------------------------
# Banner Section - Dark
--------------------------------------------------------------*/
.banner {
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.4);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(5, 8, 22, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  color: #fff;
  font-size: 2rem;
  text-align: center;
  padding: 1rem 2rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .banner-text {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
  }
}

/*--------------------------------------------------------------
# Carousel Image
--------------------------------------------------------------*/
.carousleimage {
  height: 650px;
  filter: brightness(0.7);
}

/*--------------------------------------------------------------
# Mission List - Dark
--------------------------------------------------------------*/
.mission-list {
  list-style: none;
  padding: 0;
}

.mission-list li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--default-color);
}

.mission-list i {
  font-size: 18px;
}

.service-icon {
  color: #2196F3;
  transition: color 0.3s ease, transform 0.3s ease;
}

.services .border,
#process .border {
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  border: 1px solid rgba(33, 150, 243, 0.2) !important;
}

.services .border:hover,
#process .border:hover {
  transform: translateY(-6px);
  border-color: #2196F3 !important;
  box-shadow: 0 6px 30px rgba(33, 150, 243, 0.3);
}

.services .border:hover .service-icon,
#process .border:hover .service-icon {
  color: #1976D2;
  transform: scale(1.15);
}

/*--------------------------------------------------------------
# Text Center Paragraph
--------------------------------------------------------------*/
.text-centep p {
  white-space: normal;
  word-spacing: normal;
  letter-spacing: normal;
  text-align: center;
  display: inline-block;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# PHP Email Form Messages - Dark
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #dc3545;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #28a745;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media screen and (max-width: 880px) {
  .containerportdet .portdet__img-holder:nth-child(3n+1) {
    margin-left: 16px;
  }
}

@media screen and (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }
  
  .team-member {
    max-width: 350px;
    margin: 0 auto;
  }

  .process-step {
    padding: 1rem;
    min-height: 120px;
  }
  
  .process-step i {
    font-size: 1.5rem;
  }
  
  .process-step h4 {
    font-size: 0.9rem;
  }

  .form-container {
    flex-direction: column;
  }

  .form-info {
    border-radius: 10px 10px 0 0;
  }

  form {
    border-radius: 0 0 10px 10px;
  }
}

@media (max-width: 600px) {
  .testimonial {
    padding: 15px;
  }

  .testimonial p {
    font-size: 0.95rem;
  }
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 57px;
  }
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Additional Dark Theme Enhancements
--------------------------------------------------------------*/

/* Glowing effects for interactive elements */
.btn, .cta-btn, button {
  position: relative;
  overflow: hidden;
}

.btn::before, .cta-btn::before, button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before, .cta-btn:hover::before, button:hover::before {
  width: 300px;
  height: 300px;
}

/* Scrollbar styling for dark theme */
::-webkit-scrollbar {
  width: 10px;
  background: #0a0e27;
}

::-webkit-scrollbar-track {
  background: #141b2d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
}

/* Selection color */
::selection {
  background: rgba(33, 150, 243, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(33, 150, 243, 0.3);
  color: #ffffff;
}
/* Testimonials Slider */
.testimonials-slider { padding-bottom: 48px; }
.testimonials-slider .swiper-wrapper { align-items: stretch; }
.testimonials-slider .swiper-slide { height: auto; }

/* Card */
.testimonial-card {
  background: linear-gradient(145deg, #141b2d 0%, #1a1f3a 100%);
  border: 1px solid rgba(33,150,243,0.2);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: .35s ease;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(33,150,243,.1) 0%, transparent 100%);
  transition: top .35s ease;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(33,150,243,.45); box-shadow: 0 14px 36px rgba(33,150,243,.22); }
.testimonial-card:hover::before { top: 0; }

/* Quote + text */
.testimonial-quote {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(33,150,243,.12); color: var(--primary-blue);
  margin-bottom: .9rem; font-size: 1.4rem;
}
.testimonial-text {
  color: var(--text-light); line-height: 1.75; margin: 0 0 1rem; font-size: 1rem;
}

/* Rating */
.testimonial-rating { color: #f5c542; margin-bottom: 1rem; }
.testimonial-rating .bi { margin-right: 2px; font-size: 1rem; }

/* Client */
.testimonial-client { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-client .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; border: 3px solid #0a0e27; position: relative;
}
.testimonial-client .avatar::before {
  content: ''; position: absolute; inset: -4px;
  background: linear-gradient(135deg, #2196F3, #64B5F6);
  border-radius: 50%; z-index: -1; filter: blur(6px); opacity: .35;
}
.testimonial-client img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.client-name { color: #fff; font-weight: 700; margin: 0; font-size: 1.05rem; }
.client-role { color: #8892a6; font-size: .92rem; }

/* Nav buttons (can reuse your team-nav-btn; included here as standalone) */
.testi-nav-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, #2196F3, #1976D2);
  color: #fff; box-shadow: 0 8px 20px rgba(33,150,243,.35);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.testi-nav-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(33,150,243,.5); opacity: .95; }
.testi-nav-btn i { font-size: 1.1rem; }

/* Pagination */
.testimonials-slider .swiper-pagination-bullets { position: relative; bottom: 0; }
.testimonials-slider .swiper-pagination-bullet { background: var(--primary-blue-light, #64B5F6); opacity: .5; }
.testimonials-slider .swiper-pagination-bullet-active { background: var(--primary-blue, #2196F3); opacity: 1; }

/* Responsive tweaks */
@media (max-width: 575px) {
  .testimonial-card { padding: 1.35rem; }
  .testimonial-quote { width: 50px; height: 50px; font-size: 1.25rem; }
}
.service-points li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #6c757d;
  transition: all 0.3s ease;
}

.service-points li:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.service-item:hover .service-points li {
  color: #495057;
}
.whats {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 140px;
  right: 15px;
  background: rgb(51, 224, 51);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whats:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 30px rgba(111, 255, 128, 0.7);
  color: white;
  text-decoration: none;
}