/*-----------------------------------Loading Wrapper Styles-----------------------------------*/
.loading-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.loading-wrapper.done {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  max-width: 500px;
  padding: 2rem;
  animation: fadeIn 0.6s ease-out;
}

/* Logo Styling */
.loading-logo {
  margin-bottom: 2rem;
}

.logo-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  border: 3px solid var(--primary);
  padding: 8px;
  box-shadow: 0 4px 15px rgba(122, 21, 21, 0.2);
  transition: all 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(122, 21, 21, 0.3);
}

/* BRAINS Text Animation */
.brains-text {
  font-family: "Poppins", sans-serif;
  margin-bottom: 3rem;
  position: relative;
}

.letter {
  display: inline-block;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0 3px;
  opacity: 0;
  transform: translateY(20px);
  animation: letterReveal 0.5s ease forwards;
  text-shadow: 0 2px 10px rgba(122, 21, 21, 0.1);
}

/* Individual letter colors and delays */
.letter-b {
  animation-delay: 0.1s;
}
.letter-r {
  animation-delay: 0.2s;
}
.letter-a {
  animation-delay: 0.3s;
}
.letter-i {
  animation-delay: 0.4s;
}
.letter-n {
  animation-delay: 0.5s;
}
.letter-s {
  animation-delay: 0.6s;
}

.accounting-text {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 3px;
  margin-top: 0.5rem;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards 1s;
}

/* Simple Progress Bar */
.simple-progress {
  width: 300px;
  max-width: 90vw;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--light-gray);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shine 1.5s ease-in-out infinite;
}

.loading-status {
  font-size: var(--text-sm);
  color: var(--gray);
  font-weight: 500;
  min-height: 24px;
  transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Main Content Transition */
.main-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.main-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dark Mode Support */
[data-theme="dark"] .loading-wrapper {
  background: black;
}

[data-theme="dark"] .logo-image {
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.2);
}

[data-theme="dark"] .letter {
  color: var(--primary-light);
  text-shadow: 0 2px 10px rgba(229, 62, 62, 0.2);
}

[data-theme="dark"] .accounting-text {
  color: var(--light-gray);
}

[data-theme="dark"] .progress-bar {
  background: var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .letter {
    font-size: 3rem;
    margin: 0 2px;
  }

  .accounting-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .logo-image {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .letter {
    font-size: 2.5rem;
    margin: 0 1px;
  }

  .accounting-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .loading-content {
    padding: 1rem;
  }
}

/* Smooth exit animation */
@keyframes slideUpFade {
  to {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
}

.loading-wrapper.done .loading-content {
  animation: slideUpFade 0.6s ease forwards;
}

/*-----------------------------------section-----------------------------------*/
section {
  min-height: 100vh;
  padding: 5rem 5% 5em 5%;
}

/*-----------------------------------Home Section-----------------------------------*/
.home {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--second-bg-color);
  padding: 0;
  overflow: hidden;
}

[data-theme="dark"] .home {
  background: var(--second-bg-color);
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures video covers entire area */
  object-position: center center;
  filter: brightness(0.3);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(122, 21, 21, 0.1) 100%
  );
  z-index: 1;
}

[data-theme="dark"] .bg-video video {
  filter: brightness(0.4) contrast(1.2);
}

[data-theme="dark"] .video-overlay {
  background: linear-gradient(
    135deg,
    rgba(229, 62, 62, 0.1) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(229, 62, 62, 0.1) 100%
  );
}

.home-content h3 span {
  color: var(--redis-red);
}

.home-content,
.home-img {
  position: relative;
  z-index: 2;
}

.home-content h1,
.home-content h3 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.home .absolute {
  position: absolute !important;
  z-index: 2 !important;
}

.gradient-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1%;
  overflow: visible;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.effect-gradient {
  position: absolute;
  width: 400px;
  height: 400px;
  background-image: linear-gradient(
    136deg,
    var(--primary),
    var(--primary-light)
  );
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0) scale(0.5);
  mix-blend-mode: overlay;
  transition: opacity 0.4s ease, transform 0.25s ease;
}

.gradient-card-wrapper:hover .effect-gradient {
  opacity: 0.35;
}

[data-theme="dark"] .effect-gradient {
  background-image: linear-gradient(
    136deg,
    var(--primary-light),
    var(--primary)
  );
  mix-blend-mode: screen;
  opacity: 0.2;
}

.gradient-card {
  position: relative;
  width: 100%;
  border-radius: 2em;
  background: radial-gradient(
    circle closest-corner at 50% 50%,
    #190a0a,
    #49212100 30%
  );
  padding: 1px;
  overflow: hidden;
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gradient-card:hover {
  background: rgba(0, 0, 0, 0.2);
}

.gradient-card-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2em;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gradient-card-content .home-content {
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 3;
}

.gradient-card-content .home-content h1,
.gradient-card-content .home-content h3 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  color: white;
}

.gradient-card-content .home-content h3 {
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.9;
}

.gradient-card-content .home-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.gradient-card-content .home-content h3:last-of-type {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.gradient-card-content .social-media a {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.gradient-card-content .social-media a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.gradient-card-content .btns {
  backdrop-filter: blur(10px);
}

.gradient-card-content .btns:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(122, 21, 21, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gradient-card-content .home-img {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.gradient-card-content .home-img img {
  max-width: 600px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: floatImage 4s ease-in-out infinite;
}

[data-theme="dark"] .gradient-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .gradient-card-content {
  background: rgba(0, 0, 0, 0.15);
}

.scroll-indicator {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  animation: bounce 1s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  animation: pulseDot 2s infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-main {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

.hero-lead {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
  min-height: 80px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-top: 0.5rem;
}

.multiple-text {
  font-weight: 600;
}

/* Style for icons in the typed text */
.multiple-text i {
  margin-right: 10px;
  margin-left: 10px;
  font-size: 1.1em;
  display: inline-block;
  animation: pulse-icon 2s infinite;
}

/* Subtle animation for the icons */
@keyframes pulse-icon {
  0%,
  100% {
    opacity: 1;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15);
  }
}

@media (max-width: 768px) {
    .scroll-indicator {
    bottom: 20px;
  }
}

@media (max-height: 450px) {
  .home {
    height: auto;
  }

  .home-img img {
    width: 40vw;
  }

  .home-content h1 {
    font-size: 2.6rem;
  }

  .home-content h3 {
    font-size: 1.6rem;
    margin: auto;
  }
}
/* landscape mobile */
@media (max-width: 1140px) and (min-width: 769px) {
  .home-img img {
    width: 60vw;
  }
}

/* ==================== LAPTOP MOCKUP STYLES ==================== */

.laptop-mockup {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.laptop-body {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
  animation: floatImages 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

/* Laptop screen overlay */
.laptop-screen {
  position: absolute;
  top: 5.8%;
  left: 16%;
  width: 68%;
  height: 80%;
  border-radius: 8px;
  overflow: hidden;
  z-index: 3;
  animation: floatImages 4s ease-in-out infinite;
}

/* Screen content */
.screen-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Logo on screen */
.screen-logo {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  animation: fadeInDown 1s ease;
}

.screen-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(122, 21, 21, 0.5));
}

.brains-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Screen text */
.screen-text {
  text-align: center;
  animation: fadeInUp 1s ease 0.3s both;
}

.text-line {
  font-family: "Segoe UI", "Consolas", monospace;
  margin: 0.5rem 0;
  line-height: 1.1;
}

.line-1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #e2e8f0;
  text-shadow: 0 0 10px rgba(122, 21, 21, 0.3);
}

.line-2 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-light-super), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.8rem 0;
  text-shadow: 0 0 20px rgba(122, 21, 21, 0.2);
}

.line-3 {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-top: 1.2rem;
}

.line-4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #38bdf8;
  font-family: "Consolas", "Courier New", monospace;
}

/* Loading indicator */
.screen-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease 0.6s both;
}

.indicator-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.indicator-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDots 1.5s infinite;
}

.indicator-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
  background: var(--primary-light);
}

.indicator-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
  background: var(--primary-light-super);
}

/* Reflection effect */
.laptop-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
}

/* Floating elements around laptop */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.floating-element {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(122, 21, 21, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-light-super);
  border: 1px solid rgba(122, 21, 21, 0.3);
  animation: floatAround 8s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.el-1 {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.el-2 {
  top: 60%;
  right: -15px;
  animation-delay: 2s;
}

.el-3 {
  bottom: 1%;
  left: 30%;
  animation-delay: 4s;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseDots {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes floatAround {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -15px) rotate(5deg);
  }
  50% {
    transform: translate(-5px, -5px) rotate(-5deg);
  }
  75% {
    transform: translate(-10px, 10px) rotate(3deg);
  }
}

@keyframes floatImages {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* RTL support for laptop screen */
[dir="rtl"] .screen-text {
  direction: rtl;
}

[dir="rtl"] .screen-logo {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .laptop-mockup {
    max-width: 600px;
  }

  .line-1 {
    font-size: 1.4rem;
  }

  .line-2 {
    font-size: 1.8rem;
  }

  .line-3 {
    font-size: 1.1rem;
  }

  .line-4 {
    font-size: 1.2rem;
  }

  .screen-logo img {
    width: 40px;
    height: 40px;
  }

  .brains-logo-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .laptop-mockup {
    max-width: 500px;
  }

  .screen-content {
    padding: 1.5rem;
  }

  .line-1 {
    font-size: 1.2rem;
  }

  .line-2 {
    font-size: 1.6rem;
  }

  .line-3 {
    font-size: 1rem;
  }

  .line-4 {
    font-size: 1.1rem;
  }

  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .laptop-mockup {
    max-width: 400px;
  }

  .screen-content {
    padding: 1rem;
  }

  .line-1 {
    font-size: 1rem;
  }

  .line-2 {
    font-size: 1.2rem;
    margin: 0.1rem 0;
  }

  .line-3 {
    font-size: 0.9rem;
  }

  .line-4 {
    font-size: 0.9rem;
  }

  .indicator-dots .dot {
    width: 3px;
    height: 3px;
  }

  .screen-logo img {
    width: 25px;
    height: 25px;
  }

  .brains-logo-text {
    font-size: 1.2rem;
  }

  .floating-element {
    display: none; /* Hide on very small screens */
  }
}

[data-theme="dark"] .line-1 {
  color: #d1d5db;
}

[data-theme="dark"] .line-3 {
  color: #9ca3af;
}


/*-----------------------------------About-----------------------------------*/
.about {
  padding: 6rem 0;
  background: var(--second-bg-default);
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.about-content {
  max-width: 100%;
}

.about-intro {
  font-size: 1.3rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 3rem;
  margin-top: 3rem;
  font-weight: 500;
}

.about-intro h4 {
  margin-bottom: 1rem;
}

.about-intro p {
  margin: 0.75rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.about-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.about-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-number-about {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0;
}

.about-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.about-feature-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.about-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.about-feature-content h4 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.about-feature-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

.modules-section {
  margin-top: 4rem;
}

.modules-section h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.module-tag {
  padding: 0.75rem 1.5rem;
  background: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 25px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.module-tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.about-visual {
  position: relative;
}

.about-img {
  position: relative;
  text-align: center;
}

.about-img img {
  width: 100%;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

/*.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 1.5rem;
  color: var(--primary);
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}*/

.element-1 {
  top: -20px;
  right: 30px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 40px;
  left: -20px;
  animation-delay: 1s;
}

.element-3 {
  bottom: -20px;
  right: 0;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  /*.floating-element {
    display: none;
  }*/
}

/*-----------------------------------Services-----------------------------------*/
.services {
  background: var(--second-bg-default-reversed);
  box-shadow: var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #7a1515, #c53030);
}

.wrapper {
  position: relative;
  width: 100%;
  padding: 10px;
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cardw {
  position: relative;
  max-width: 95%;
  width: 400px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.cardw:nth-child(1) {
  animation-delay: 0.1s;
}
.cardw:nth-child(2) {
  animation-delay: 0.3s;
}
.cardw:nth-child(3) {
  animation-delay: 0.5s;
}
.cardw:nth-child(4) {
  animation-delay: 0.7s;
}

.cardw .poster {
  position: revert;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  background: var(--card-bg);
  transition: transform ease-in-out 0.2s;
  padding: 2.5em 0.5em;
  text-align: center;
}

.cardw .poster .preview {
  width: 350px;
}

.poster::before {
  content: "";
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: 0.3s;
}

.cardw:hover .poster::before {
  bottom: 0;
}

.cardw:hover .poster {
  transform: scale(1.1);
}

.details {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: auto;
  padding: 1.2em 1.2em 1.7em;
  background: #000a;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: 0.3s;
  color: #fff;
  z-index: 2;
}

.cardw:hover .details {
  bottom: 0;
}

.details h1,
.details h2 {
  font-weight: 700;
}

.details h1 {
  font-size: 1.75em;
  margin-bottom: 5px;
}

.details h2 {
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #ef5353;
}

/*.details .rating {
  position: relative;
  margin-bottom: 15px;
  display: flex;
  gap: 0.25em;
}

.details .rating i {
  color: #e31414;
}

.details .rating span {
  margin-left: 0.25em;
}
  .details .desc {
  color: #fff;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1em;
}
  */

.details .tags {
  display: flex;
  gap: 0.375em;
  margin-bottom: 0.875em;
  font-size: 0.7em;
}

.details .tags span {
  padding: 0.45rem 1rem;
  color: #fff;
  border: 2.5px solid rgba(255 255 255 / 0.4);
  border-radius: 4px;
  border-radius: 50px;
}

.details .cardfeatures h3 {
  font-size: 1.25em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.details .cardfeatures ul {
  padding-left: 1.5em;
}

.details .cardfeatures ul li::marker {
  color: #e31414;
}

/* Front Card Styles */
.product-icon {
  position: relative;
  margin-bottom: 2rem;
}

.product-icon i {
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.icon-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.1),
    rgba(197, 48, 48, 0.1)
  );
  border-radius: 50%;
  z-index: 1;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--gray);
  line-height: 1.6;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Feature Highlights */
.feature-highlights {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.feature-tag {
  padding: 0.4rem 0.8rem;
  background: rgba(122, 21, 21, 0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(122, 21, 21, 0.2);
}

[data-theme="dark"] .cardw {
  box-shadow: 0 5px 15px var(--shadow-color);
}

[data-theme="dark"] .cardw .poster {
  background: linear-gradient(
    45deg,
    rgba(45, 55, 72, 0.7),
    rgba(74, 85, 104, 0.7)
  );
}

/*-----------------------------------Features Section-----------------------------------*/
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-gray);
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(122, 21, 21, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.1),
    rgba(197, 48, 48, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
}

[data-theme="dark"] .features {
  background: var(--bg-color);
}

[data-theme="dark"] .feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
}

[data-theme="dark"] .feature-card h3 {
  color: var(--text-color);
}

[data-theme="dark"] .feature-card p {
  color: var(--gray);
}

/*--------------------------------TRUST SECTION - CLIENT LOGOS SLIDER--------------------------------*/
.trust-section {
  padding: 80px 0;
  background: var(--second-bg-default-reversed);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%237a1515" opacity="0.02" d="M0,0 L100,0 L100,100 Z"/></svg>');
  background-size: cover;
  pointer-events: none;
}

/* Client Logos Container */
.clients-logos-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Logo Slider */
.logos-slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0;
}

.logo-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px;
}

.logo-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  height: 180px;
  overflow: hidden;
}

.logo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(122, 21, 21, 0.15);
  border-color: var(--primary);
}

.logo-item img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 0.5rem;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Logo Overlay Effect */
.logo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(122, 21, 21, 0.95), transparent);
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.logo-item:hover .logo-overlay {
  transform: translateY(0);
}

.company-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.company-type {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--light-gray);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding: 0 20px;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.slider-dot:hover {
  background: var(--primary-light);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(122, 21, 21, 0.2);
}

.slider-dot.active::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

/* Slider Buttons */
.slider-buttons {
  display: flex;
  gap: 15px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  box-shadow: var(--shadow-light);
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(122, 21, 21, 0.3);
}

.slider-btn:active {
  transform: translateY(-1px);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: var(--light-gray);
  border-color: var(--light-gray);
  color: var(--gray);
}

/* Trust Stats */
.trust-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 2px solid var(--border-color);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 150px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.stat-number::after {
  content: attr(data-suffix);
  font-size: 1.5rem;
  color: var(--gray);
  font-weight: 400;
}

.stat-number[data-count="500"]::after {
  content: "+";
}
.stat-number[data-count="99.9"]::after {
  content: "%";
}
.stat-number[data-count="24"]::after {
  content: "/7";
}

.stat-label {
  font-size: 1.1rem;
  color: var(--gray);
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
}

.stat-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Infinite Scroll Animation */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Auto-scroll indicator 
.auto-scroll-indicator {
  position: absolute;
  top: -30px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 59.9rem;
}

.auto-scroll-indicator i {
  color: var(--primary);
  animation: pulse 2s infinite;
}*/

/* Animations */
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Mode Support */
[data-theme="dark"] .trust-section {
  background: var(--second-bg-default);
}

[data-theme="dark"] .logo-item {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .logo-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 20px 40px rgba(229, 62, 62, 0.15);
}

[data-theme="dark"] .logo-overlay {
  background: linear-gradient(to top, rgba(229, 62, 62, 0.95), transparent);
}

[data-theme="dark"] .slider-btn {
  background: var(--card-bg);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

[data-theme="dark"] .slider-btn:hover {
  background: var(--primary-light);
  color: var(--white);
}

[data-theme="dark"] .stat-number {
  color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .logo-slide {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .logo-item {
    height: 160px;
    padding: 30px 20px;
  }

  .logo-item img {
    max-width: 150px;
    max-height: 70px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .trust-stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .trust-section {
    padding: 60px 0;
  }

  .logo-slide {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .logo-item {
    height: 140px;
    padding: 20px 15px;
  }

  .logo-item img {
    max-width: 120px;
    max-height: 60px;
  }

  .slider-controls {
    flex-direction: column;
    gap: 25px;
  }

  .slider-dots {
    order: 2;
  }

  .slider-buttons {
    order: 1;
  }

  .trust-stats {
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
  }

  .stat-item {
    min-width: 120px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-slide {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .logo-item {
    height: 120px;
    padding: 20px;
  }

  .logo-item img {
    max-width: 150px;
    max-height: 50px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .trust-stats {
    flex-direction: column;
    gap: 25px;
  }

  .stat-item {
    min-width: auto;
  }
}

/* Accessibility */
.slider-btn:focus-visible,
.slider-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Loading animation for logos */
.logo-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.logo-item:nth-child(1) {
  animation-delay: 0.1s;
}
.logo-item:nth-child(2) {
  animation-delay: 0.2s;
}
.logo-item:nth-child(3) {
  animation-delay: 0.3s;
}
.logo-item:nth-child(4) {
  animation-delay: 0.4s;
}

/* Auto-scroll animation class */
.auto-scrolling {
  animation: scrollLogos 30s linear infinite;
}

/* Pause on hover */
.logos-slider:hover .auto-scrolling {
  animation-play-state: paused;
}

/*-----------------------------------Industries Section-----------------------------------*/
.industry-grid {
  padding-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.8rem;
}

.industry-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #edf2f7;
  z-index: 1;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(122, 21, 21, 0.15);
  border-color: #fff0f0;
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.15);
}

.industry-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  font-weight: 600;
  margin: 0;
}

[data-theme="dark"] .industry-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px var(--shadow-color);
}

[data-theme="dark"] .industry-card h3 {
  color: var(--text-color);
}

.marquee {
  position: absolute;
  word-spacing: 95px;
  display: block;
  margin: auto auto;
  white-space: nowrap;
  overflow: hidden;
  min-width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.marquee span {
  display: inline-block;
  padding-left: 25%;
  animation: marquee 30s linear infinite;
}

.moving-ad {
  position: relative;
  font-size: 1.6em;
  font-weight: bold;
  color: var(--white);
  text-transform: uppercase;
  padding-top: 30px;
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .industry-card {
    padding: 1.5rem 1rem;
  }
}

/*-----------------------------------SyncManager-----------------------------------*/
.SyncManager {
  padding: 80px 0;
  background: var(--white);
}

.syncHeroImage {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.syncHeroImage img {
  max-width: 100%;
  height: auto;
  transition: var(--transition);
  filter: drop-shadow(0 0 1rem rgb(18, 22, 34));
}

.screenshots {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  border-radius: 10rem;
  overflow: hidden;
}

.screenshots .screenshot {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  font-size: 2rem;
  margin-bottom: 5rem;
}

.screenshots .screenshot * {
  position: relative;
  height: 30rem;
  padding: 1.5rem;
}

.screenshots .screenshot u {
  position: inherit;
  height: auto;
  padding: 0;
}

.screenshots .screenshot img {
  position: absolute;
  top: 0;
  filter: drop-shadow(0 0 1rem rgb(18, 22, 34));
}

.screenshots .screenshot .left {
  text-align: right;
  padding-left: 4rem;
}

.screenshots .screenshot .right {
  text-align: left;
  padding-right: 4rem;
}

.screenshots .screenshot .left img {
  right: 0;
}

.screenshots .screenshot .right img {
  left: 0;
}

.screenshots .screenshot:nth-child(odd) .left,
.screenshots .screenshot:nth-child(even) .right {
  flex: 6;
}

.screenshots .screenshot:nth-child(even) .left,
.screenshots .screenshot:nth-child(odd) .right {
  flex: 4;
  height: 25rem;
  padding-top: 5rem;
}

/*.highlighted-section {
  margin: 1rem -2rem 3rem -2rem;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  background: rgba(8, 11, 18, 0.3);
  font-family: var(--boldFont);
}

.highlighted-section p {
  font-size: 1.5rem;
  max-width: 50rem;
  margin: 0.25rem 2rem;
}

.highlighted-section a.button {
  font-size: 1rem;
  height: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin: 3rem;
  text-transform: uppercase;
  --buttonColor1: #dee6f0;
  --buttonColor2: #b1c1d7;
  color: #1b2537;
}

.highlighted-section a.button svg {
  width: 1rem;
  height: 1rem;
  margin: 0 0 0 0.5rem;
}

.highlighted-section a.button:hover {
  --buttonColor1: #de9945;
  --buttonColor2: #f8b86a;
  color: white;
}

.tooltip {
  position: relative;
}

.tooltip-text {
  top: 0.25rem;
  left: 0.25rem;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  background-color: rgba(19, 24, 33, 0.75);
  color: #f5f8fa;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  padding: 0.25rem 0.4rem;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  position: absolute;
  z-index: 100;
  transition: opacity 0.2s ease-out;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.label {
  white-space: nowrap;
  background-color: rgba(60, 70, 87, 0.75);
  color: #f5f8fa;
  font-size: 0.95rem;
  border-radius: 0.25rem;
  margin: 0 0.25rem;
  padding: 0.1rem 0.25rem;
}*/

@media (min-width: 1500px) {
  .screenshots .screenshot * {
    height: 40rem;
  }
}

@media (max-width: 550px) {
  .screenshots .screenshot {
    font-size: 1.1rem;
  }

  .screenshots .screenshot * {
    position: relative;
    height: 30rem;
    padding: 0.5rem;
  }

  .screenshots .screenshot .left {
    margin-left: 1rem;
    padding-left: 1rem;
  }

  .screenshots .screenshot .right {
    margin-right: 1rem;
    padding-right: 1rem;
  }

  .screenshots .screenshot:nth-child(even) .left,
  .screenshots .screenshot:nth-child(odd) .right {
    flex: 6;
  }
}

/*-----------------------------------world map-----------------------------------*/
.world-map-section {
  position: relative;
  padding: 120px 20px;
  color: var(--text-color);
  overflow: hidden;
}

/* Subtle world map line-art background */
.world-map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Images/worldmap.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

[data-theme="dark"] .world-map-section::before {
  opacity: 0.2;
  filter: brightness(0.8);
}

/* Blur + tint overlay for readability */
.world-map-section .overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1px);
  background: var(--second-bg-default);
  /*background: linear-gradient(180deg,rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));*/
}

[data-theme="dark"] .world-map-section .overlay {
  /* background: linear-gradient(135deg, var(--white), rgba(122, 21, 21, 0.1));*/
  background: var(--second-bg-default);
}

.worldmap-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

/* Cards */
.worldmap-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.wm-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  margin-top: 10px;
}

.wm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.wm-card i {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.1),
    rgba(197, 48, 48, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
}

.wm-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 10px;
}

.wm-card p {
  color: var(--gray);
}

/*-----------------------------------System Requirements Section-----------------------------------*/
.system-requirements {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(122, 21, 21, 0.15);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  margin: 30px 0;
}

.system-requirements::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #7a1515, #c53030);
}

.system-requirements .sys-icons {
  display: flex;
  justify-content: space-evenly;
  font-size: 2em;
  padding-top: 25px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.requirement-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #edf2f7;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.requirement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(122, 21, 21, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
}

.card-ficon {
  width: 60px;
  height: 60px;
  background: rgba(122, 21, 21, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--primary);
  font-size: 24px;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
}

.spec-list {
  list-style: none;
}

.spec-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  align-items: flex-start;
}

.spec-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.spec-icon {
  width: 24px;
  height: 24px;
  background: rgba(122, 21, 21, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}

.spec-details {
  flex: 1;
}

.spec-category {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.recommended-badge {
  position: absolute;
  top: 20px;
  right: -40px;
  background: linear-gradient(45deg, #7a1515, #c53030);
  color: white;
  padding: 8px 40px;
  font-size: 0.7rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 5px 15px rgba(122, 21, 21, 0.3);
}

.recommended .requirement-card {
  border: 2px solid #fff0f0;
}

.recommended .card-icon {
  background: #fee2e2;
}

.recommended .card-title {
  color: #7a1515;
}

.comparison-table {
  margin-top: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: relative;
  z-index: 2;
  border: 1px solid #edf2f7;
}

.table-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 25px;
  text-align: center;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th {
  background: #f8fafc;
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #4a5568;
  border-bottom: 2px solid #e2e8f0;
}

.spec-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  color: #4a5568;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.min-value {
  color: #718096;
  font-weight: 500;
}

.rec-value {
  color: #7a1515;
  font-weight: 600;
}

.note {
  margin-top: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  border-left: 4px solid var(--primary);
}

.note strong {
  color: #7a1515;
}

.decorative-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.05) 0%,
    rgba(197, 48, 48, 0.05) 100%
  );
  top: -50px;
  right: -50px;
  z-index: 1;
}

.decorative-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: auto;
  bottom: -70px;
  left: -70px;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.03) 0%,
    rgba(197, 48, 48, 0.03) 100%
  );
}

[data-theme="dark"] .system-requirements {
  background: var(--card-bg);
  box-shadow: 0 15px 50px rgba(122, 21, 21, 0.1);
}

[data-theme="dark"] .requirement-card {
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .card-title {
  color: var(--text-color);
}

[data-theme="dark"] .spec-value {
  color: var(--text-color);
}

[data-theme="dark"] .comparison-table {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .spec-table th {
  background: var(--second-bg-color);
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color);
}

[data-theme="dark"] .spec-table td {
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .note {
  background: var(--second-bg-color);
  color: var(--text-color);
}

@media (max-width: 992px) {
    .requirements-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .system-requirements {
    padding: 40px 20px;
  }

    .requirement-card {
    padding: 25px 20px;
  }

    .card-title {
    font-size: 1.5rem;
  }

  .spec-value {
    font-size: 1.2rem;
  }

  .comparison-table {
    padding: 20px 15px;
  }

  .spec-table th,
  .spec-table td {
    padding: 12px 15px;
    font-size: 0.8rem;
  }
}

/*-----------------------------------Featured Articles-----------------------------------*/
.featured-articles {
  padding: 80px 0;
  background: var(--second-bg-default-reversed);
  position: relative;
  overflow: hidden;
}

.featured-articles::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%237a1515" opacity="0.02" d="M0,0 L100,0 L100,100 Z"/></svg>');
  background-size: cover;
  pointer-events: none;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
}

@media (max-width: 968px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.article-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
  text-align: center;
  z-index: 1;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.article-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(122, 21, 21, 0.1),
    rgba(197, 48, 48, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--primary);
}

.article-card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.article-card p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.article-link:hover {
  gap: 0.75rem;
}

/*----------------------------------- Contact us-----------------------------------*/
/* Owner Cards Section */
.owner-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Single Owner Card */
.owner-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--white);
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--light-gray);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.owner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Round Profile Image */
.owner-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

/* Text beside picture */
.owner-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
  color: var(--dark);
}

.owner-info .role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.owner-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

/* WhatsApp button */
.owner-whatsapp {
  margin-top: 0.5rem;
}

.owner-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.9rem;
  background: #25d366;
  color: white;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.owner-whatsapp a i {
  font-size: 1rem;
}

.owner-whatsapp a:hover {
  background: #1eb85a;
}

.modern-support {
  padding: 4rem 0;
  background: var(--bg-color);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  justify-items: center;
}

.support-content {
  max-width: 480px;
}

.support-description {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.support-form-container {
  background: var(--white);
  padding: 1.8rem 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--light-gray);
  max-width: 550px;
}

.support-form h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Grid: Desktop = 2 columns, Mobile = 1 */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.input-group input,
.input-group textarea {
  padding: 0.8rem 1rem 0.8rem 2.4rem;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--bg-color);
  color: var(--dark);
}

.input-group textarea {
  min-height: 100px;
}

/* Input icons */
.input-icon {
  position: absolute;
  left: 0.9rem;
  top: 2.8rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.textarea-icon {
  top: 2.8rem;
}

/* Button */
.modern-btn {
  position: relative;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(122, 21, 21, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--light-gray);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-gray);
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
}

.contact-method i {
  font-size: 2rem;
  color: var(--primary);
}

.contact-method h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-method a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-method a:hover {
  text-decoration: underline;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--gray);
}

@media (max-width: 968px) {
  .support-grid {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  .support-grid {
    display: flex;
    flex-direction: column;
  }

  .owner-card {
    flex-direction: row;
  }

  .owner-photo {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .modern-support {
    padding: 2.5rem 0;
  }

  .support-form-container {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .form-grid {
    display: flex;
    flex-direction: column;
  }

  .input-group input,
  .input-group textarea {
    padding-left: 2.1rem;
  }

  .input-icon {
    top: 2.8rem;
  }

  .modern-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .owner-card {
    flex-direction: column;
    text-align: center;
  }

  .owner-whatsapp a {
    width: 100%;
    justify-content: center;
  }
}

/*-----------------------------------Map-----------------------------------*/
[data-theme="dark"] .map,
[data-theme="dark"] .team {
  background: var(--bg-color);
}

[data-theme="dark"] iframe {
  filter: invert(0.9) hue-rotate(180deg) contrast(1.2);
}
