/********** Emi-Solution Premium Style **********/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {

  /* CHANGE */
  --theme-primary: #0F0F0F;
  --theme-secondary: #E2C383;
  --theme-bg-footer: #0F0F0F;

  --theme-hero-gradient: linear-gradient(135deg,
      #FCD824 0%,
      #0F0F0F 30%,
      #0F172A 100%);

  --theme-accent: #44F4F4C;

  /* CHANGE */

  --theme-primary-rgb: 23, 61, 121;
  --theme-secondary-rgb: 71, 119, 245;
  --theme-accent-rgb: 0, 210, 180;

  /* Backgrounds & Canvas */
  --theme-bg-body: #f7faff;
  --theme-bg-card: #ffffff;
  --theme-bg-navbar-sticky: rgba(255, 255, 255, 0.85);

  /* Text Colors */
  --theme-text-primary: #1e293b;
  --theme-text-secondary: #64748b;
  --theme-text-light: #ffffff;

  /* Structure & Accents */
  --theme-border-color: rgba(23, 61, 121, 0.08);

  /* Spacings & Border Radii */
  --theme-radius-sm: 8px;
  --theme-radius-md: 16px;
  --theme-radius-lg: 24px;
  --theme-radius-full: 9999px;

  /* Shadows & Glows */
  --theme-shadow-sm: 0 4px 6px -1px rgba(23, 61, 121, 0.05);
  --theme-shadow-md:
    0 10px 20px -3px rgba(23, 61, 121, 0.08),
    0 4px 6px -2px rgba(23, 61, 121, 0.03);
  --theme-shadow-lg: 0 25px 50px -12px rgba(23, 61, 121, 0.12);
  --theme-glow: 0 0 25px rgba(var(--theme-secondary-rgb), 0.25);

  /* Fonts */
  --theme-font-headings: "Outfit", sans-serif;
  --theme-font-body: "Inter", sans-serif;
}

/* Base Adjustments */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* offset for sticky navbar */
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg-body);
  color: var(--theme-text-primary);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--theme-font-headings);
  color: var(--theme-primary);
  font-weight: 700;
}

p {
  line-height: 1.6;
  color: var(--theme-text-secondary);
}


/* Navbar Customization */
.navbar {
  transition: all 0.4s ease;
  z-index: 1000;
  background: #ffffff !important;
  box-shadow: var(--theme-shadow-sm);
  border-bottom: 1px solid var(--theme-border-color) !important;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.navbar-light .navbar-nav .nav-link {
  font-family: var(--theme-font-headings);
  font-weight: 500;
  color: var(--theme-text-primary) !important;
  margin-left: 25px;
  padding: 30px 0;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--theme-secondary);
  transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--theme-secondary) !important;
}

.navbar-brand img {
  height: 50px;
  transition: all 0.3s ease;
}

/* Sticky Class Additions */
.navbar.sticky-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--theme-shadow-sm);
  border-bottom: 1px solid var(--theme-border-color);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.navbar.sticky-top .navbar-nav .nav-link {
  color: var(--theme-text-primary) !important;
  padding: 20px 0;
}

.navbar.sticky-top .navbar-nav .nav-link::after {
  bottom: 12px;
  background-color: var(--theme-secondary);
}

.navbar.sticky-top .navbar-nav .nav-link:hover {
  color: var(--theme-secondary) !important;
}

.navbar.sticky-top .navbar-brand img {
  height: 40px;
}

@media (max-width: 991.98px) {
  .navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
    position: relative;
  }

  .navbar.sticky-top {
    background-color: #ffffff !important;
  }

  .navbar-collapse {
    background: transparent;
    padding: 15px 0;
  }

  .navbar-light .navbar-nav .nav-link {
    color: var(--theme-text-primary) !important;
    padding: 10px 0 !important;
    margin-left: 0;
  }

  .navbar.sticky-top .navbar-nav .nav-link {
    color: var(--theme-text-primary) !important;
  }

  .navbar-light .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-toggler {
    border-color: var(--theme-border-color);
    color: var(--theme-text-primary);
    padding: 6px 12px;
  }

  .navbar-toggler-icon {
    filter: none;
  }

  .navbar.sticky-top .navbar-toggler-icon {
    filter: none;
  }

  .navbar.sticky-top .navbar-toggler {
    border-color: var(--theme-border-color);
  }
}

/* Button Customizations */
.btn {
  font-family: var(--theme-font-headings);
  font-weight: 600;
  border-radius: var(--theme-radius-full);
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  color: var(--theme-text-light);
}

.btn-primary:hover {
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
  transform: translateY(-2px);
  box-shadow: var(--theme-shadow-md);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--theme-text-light);
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: var(--theme-text-light);
  color: var(--theme-primary);
  border-color: var(--theme-text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section Custom Style */
.hero-header {
  background: var(--theme-hero-gradient);
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  overflow: hidden;
  clip-path: ellipse(110% 80% at 50% 20%);
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px,
      transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-header .hero-circle {
  position: absolute;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-header .circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.hero-header .circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
}

.hero-header h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-header p {
  font-size: 1.15rem;
  opacity: 0.9;
}

.hero-header img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@media (max-width: 991.98px) {
  .hero-header {
    padding-top: 120px;
    padding-bottom: 60px;
    clip-path: none;
  }

  .hero-header h1 {
    font-size: 2.2rem;
  }

  .hero-header p {
    font-size: 1rem;
  }
}

/* Custom CSS Entrance Animations */
.fade-in-up {
  animation: fadeInUpAnim 0.8s ease-out forwards;
}

@keyframes fadeInUpAnim {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Title & Header Styling */
.section-title-container {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background-color: rgba(var(--theme-primary-rgb), 0.08);
  color: var(--theme-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--theme-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  font-family: var(--theme-font-headings);
}

.section-title-container h2 {
  font-size: 2.4rem;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-title-container h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--theme-secondary);
  border-radius: var(--theme-radius-full);
}

.section-title-left {
  margin-bottom: 30px;
}

.section-title-left h2 {
  font-size: 2.4rem;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-title-left h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--theme-secondary);
  border-radius: var(--theme-radius-full);
}

/* About Us Section Customization */
.about-section {
  padding: 100px 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--theme-bg-card);
  padding: 15px 25px;
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-sm);
  border: 1px solid var(--theme-border-color);
  transition: all 0.3s ease;
}

.about-feature-item:hover {
  transform: translateX(8px);
  border-color: var(--theme-secondary);
  box-shadow: var(--theme-shadow-md);
}

.about-feature-item i {
  font-size: 1.25rem;
  color: var(--theme-accent);
  background-color: rgba(var(--theme-accent-rgb), 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-item span {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--theme-text-primary);
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-wrapper img {
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow-lg);
  transition: all 0.3s ease;
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  border: 5px solid rgba(var(--theme-primary-rgb), 0.05);
  border-radius: var(--theme-radius-lg);
  z-index: -1;
  transform: translate(-15px, -15px);
}

@media (max-width: 991.98px) {
  .about-section {
    padding: 60px 0;
  }
}

/* Services Grid and Cards Styles */
.services-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.services-grid {
  margin-top: 50px;
}

.service-card {
  background-color: var(--theme-bg-body);
  border-radius: var(--theme-radius-md);
  border: 1px solid var(--theme-border-color);
  padding: 40px 30px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      var(--theme-primary) 0%,
      var(--theme-secondary) 100%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.service-card .service-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border-radius: var(--theme-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--theme-shadow-sm);
  margin-bottom: 25px;
  transition: all 0.4s ease;
  border: 1px solid var(--theme-border-color);
}

.service-card .service-icon-wrapper img {
  max-height: 40px;
  transition: all 0.4s ease;
}

.service-card .service-icon-wrapper i {
  font-size: 2rem;
  color: var(--theme-primary);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper i {
  color: var(--theme-text-light);
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  transition: all 0.4s ease;
}

/* Ensure the card content elements stand above the hover background */
.service-card .service-icon-wrapper,
.service-card h4,
.service-card p {
  position: relative;
  z-index: 2;
}

/* Hover States for Premium feel */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--theme-shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover h4 {
  color: var(--theme-text-light);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

/* Testimonial Section Styles */
.testimonial-section {
  padding: 100px 0;
  background-color: var(--theme-bg-body);
}

.testimonial-wrapper {
  position: relative;
  border-radius: var(--theme-radius-lg);
  background: var(--theme-hero-gradient);
  padding: 80px 50px;
  overflow: hidden;
}

.testimonial-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px,
      transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.testimonial-wrapper .testimonial-title {
  color: var(--theme-text-light);
  text-align: center;
  margin-bottom: 50px;
  z-index: 2;
  position: relative;
}

.testimonial-wrapper .testimonial-title h2 {
  color: var(--theme-text-light);
  font-size: 2.2rem;
}

/* Custom CSS Testimonial Slider styling */
.slider-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 24px;
}

.slider-item {
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.5s ease;
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--theme-radius-md);
  padding: 40px;
  height: 100%;
  position: relative;
  transition: all 0.5s ease;
}

.testimonial-item i.quote-icon {
  font-size: 2rem;
  color: var(--theme-accent);
  opacity: 0.3;
  position: absolute;
  top: 25px;
  left: 25px;
}

.testimonial-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.testimonial-item .reviewer-meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-item .reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--theme-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-text-light);
  font-family: var(--theme-font-headings);
  font-weight: 700;
}

.testimonial-item .reviewer-info h6 {
  color: var(--theme-text-light);
  margin-bottom: 2px;
  font-size: 1.1rem;
}

.testimonial-item .reviewer-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Custom active item highlighting */
.slider-item.center-item .testimonial-item {
  background-color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transform: scale(1.03);
}

.slider-item.center-item .testimonial-item i.quote-icon {
  color: var(--theme-primary);
}

.slider-item.center-item .testimonial-item p {
  color: var(--theme-text-primary);
}

.slider-item.center-item .testimonial-item .reviewer-avatar {
  background-color: var(--theme-primary);
  color: var(--theme-text-light);
  border-color: var(--theme-primary);
}

.slider-item.center-item .testimonial-item .reviewer-info h6 {
  color: var(--theme-primary);
}

.slider-item.center-item .testimonial-item .reviewer-info span {
  color: var(--theme-text-secondary);
}

/* Custom Dots styling */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
  position: relative;
  z-index: 2;
}

.slider-dot {
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
  background-color: var(--theme-accent);
  transform: scale(1.15);
  width: 25px;
  border-radius: 5px;
}

@media (max-width: 767.98px) {
  .testimonial-wrapper {
    padding: 50px 20px;
  }

  .testimonial-item {
    padding: 30px 20px;
  }
}

/* Footer Section Customization */
.footer {
  background-color: var(--theme-bg-footer);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 90px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h5 {
  color: var(--theme-text-light);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--theme-accent);
  border-radius: var(--theme-radius-full);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer i {
  color: var(--theme-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-links a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  color: var(--theme-accent);
}

.footer-links a:hover {
  color: var(--theme-text-light);
  padding-left: 5px;
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer .copyright {
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer .copyright a {
  color: var(--theme-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer .copyright a:hover {
  color: var(--theme-text-light);
}

/* Privacy Policy Layout Adjustments */
.policy-content-wrapper {
  padding: 180px 0 80px 0;
  background-color: #ffffff;
}

.policy-content {
  background-color: #ffffff;
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow-sm);
  padding: 50px;
  border: 1px solid var(--theme-border-color);
}

.policy-content h2 {
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--theme-border-color);
}

.policy-content h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-content ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
  color: var(--theme-text-secondary);
}

.policy-content li strong {
  color: var(--theme-text-primary);
}

@media (max-width: 767.98px) {
  .policy-content {
    padding: 30px 20px;
  }
}