/* FONTS */
@import url(../css/clash-display.css);
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* MODERN RED THEME VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #9a0101;
  --c-brand-light: #c62020;
  --c-brand-rgb: 154, 1, 1;
  --c-body: #727272;
  --c-accent: #ff4444;
  --font-base: "ClashDisplay", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0px 20px 40px rgba(154, 1, 1, 0.15);
  --glow: 0 0 20px rgba(154, 1, 1, 0.3);
  --glow-lg: 0 0 30px rgba(154, 1, 1, 0.5);
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #9a0101 0%, #c62020 100%);
  --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-radial: radial-gradient(circle at center, rgba(154, 1, 1, 0.1) 0%, transparent 70%);
}

/* ANIMATED BACKGROUND SHAPES */
@keyframes float-shape {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(154, 1, 1, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(154, 1, 1, 0.4);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes rotate-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* FUTURISTIC ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--neon-glow); }
  50% { box-shadow: var(--neon-glow-lg); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes particle-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(100px, -100vh) rotate(360deg); opacity: 0; }
}

@keyframes neon-border {
  0%, 100% {
    box-shadow: 0 0 5px var(--c-brand),
                0 0 10px var(--c-brand),
                inset 0 0 5px var(--c-brand);
  }
  50% {
    box-shadow: 0 0 10px var(--c-brand),
                0 0 20px var(--c-brand),
                0 0 30px var(--c-brand),
                inset 0 0 10px var(--c-brand);
  }
}

@keyframes matrix-rain {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* RESET & HELPERS */
body {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-body);
  background: #ffffff;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(154, 1, 1, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(198, 32, 32, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(255, 68, 68, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

/* Animated Background Shapes */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle, rgba(154, 1, 1, 0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(198, 32, 32, 0.02) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 40px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
  animation: float 30s ease-in-out infinite alternate;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  color: var(--c-dark);
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--c-brand-light);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
  position: relative;
}

.theme-shadow {
  box-shadow: var(--box-shadow);
  background: #ffffff;
  border-radius: 10px;
}

/* IMAGE ZOOM */
.image-zoom {
  position: relative;
  /* overflow: hidden; */
}

.image-zoom-wrapper {
  overflow: hidden;
  position: relative;
}

.image-zoom-wrapper img {
  transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
  transform: scale(1.1);
}

/* MODERN NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

/* Enhanced navbar on scroll */
.navbar.navbar-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--c-dark);
  font-size: 15px;
  position: relative;
  padding: 8px 16px !important;
  margin: 0 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

/* Active indicator line */
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(154, 1, 1, 0.3);
}

/* Hover background effect */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(154, 1, 1, 0.05);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
}

/* Active state styles */
.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
}

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

/* Enhanced active state */
.navbar-nav .nav-link.active {
  font-weight: 700;
}

.navbar-nav .nav-link.active::after {
  opacity: 1;
  background: rgba(154, 1, 1, 0.08);
}

/* Smooth transition for all nav links */
.navbar-nav .nav-link {
  will-change: color, transform;
}

/* MODERN BUTTONS */
.btn {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  padding: 12px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-brand {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  border-color: var(--c-brand);
  color: white;
  box-shadow: 0 4px 15px rgba(154, 1, 1, 0.3);
  position: relative;
  z-index: 1;
}

.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(154, 1, 1, 0.4);
  background-position: right center;
  color: white;
}

.btn-light {
  background: white;
  border: 2px solid var(--c-brand);
  color: var(--c-brand);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  color: white;
  background: var(--c-brand);
  border-color: var(--c-brand);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(154, 1, 1, 0.4);
}

/* MODERN HERO */
#hero {
  background:
    linear-gradient(135deg, rgba(154, 1, 1, 0.9) 0%, rgba(198, 32, 32, 0.85) 100%),
    url(../images/hero-1.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

#hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  font-weight: 800;
}

#hero h5 {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  font-weight: 400;
}

/* MODERN SECTION TITLE WITH EFFECTS */
.section-title {
  margin-bottom: 60px;
  position: relative;
}

.section-title .line {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 20px auto 30px auto;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(154, 1, 1, 0.2);
  animation: pulse-glow 3s ease-in-out infinite;
}

.section-title .line::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 10px;
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;
}

.section-title h1 {
  position: relative;
  display: inline-block;
  color: var(--c-dark);
  font-size: clamp(2rem, 5vw, 2.5rem);
  animation: fadeInUp 0.8s ease-out;
}

.section-title h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.5s ease;
}

.section-title:hover h1::after {
  width: 100%;
}

.section-title p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: var(--c-body);
  font-size: 16px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* MODERN ICONBOX */
.iconbox {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(154, 1, 1, 0.1);
  color: var(--c-brand);
  font-size: 34px;
  flex: none;
  border-radius: 15px;
  position: relative;
  transition: var(--transition);
}

.iconbox:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--c-brand);
  color: white;
  box-shadow: 0 10px 30px rgba(154, 1, 1, 0.3);
}

/* MODERN SERVICE CARDS WITH EFFECTS */
.service {
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: white;
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(154, 1, 1, 0.05), transparent);
  transform: rotate(0deg);
  transition: var(--transition);
}

.service:hover::before {
  animation: shimmer 2s ease-in-out;
}

.service::after {
  content: "";
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(154, 1, 1, 0.15) 0%, transparent 70%);
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: 50%;
  transition: var(--transition);
  filter: blur(20px);
  animation: pulse-glow 3s ease-in-out infinite;
}

.service:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(154, 1, 1, 0.2);
  border-color: var(--c-brand);
}

.service:hover::after {
  width: 150px;
  height: 150px;
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, rgba(154, 1, 1, 0.25) 0%, transparent 70%);
}

.service h5 {
  color: var(--c-dark);
  transition: var(--transition);
  font-weight: 700;
}

.service p {
  color: var(--c-body);
  transition: var(--transition);
}

.service:hover h5 {
  color: var(--c-brand);
}

.service:hover .iconbox {
  background: var(--c-brand);
  color: white;
}

/* MODERN COUNTER */
#counter {
  background:
    linear-gradient(135deg, rgba(154, 1, 1, 0.85) 0%, rgba(198, 32, 32, 0.85) 100%),
    url(../images/counter.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.stats-item {
  background: white !important;
  border-radius: 15px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.stats-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(154, 1, 1, 0.1), transparent);
  transition: var(--transition);
}

.stats-item:hover::before {
  left: 100%;
  transition: left 0.8s ease;
}

.stats-item:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 50px rgba(154, 1, 1, 0.25);
  border-color: var(--c-brand);
}

.stats-item .bi {
  color: var(--c-brand);
  transition: var(--transition);
}

.stats-item:hover .bi {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 5px 10px rgba(154, 1, 1, 0.4));
}

.purecounter {
  color: var(--c-brand) !important;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
}

.stats-item:hover .purecounter {
  transform: scale(1.1);
  text-shadow: 0 2px 10px rgba(154, 1, 1, 0.3);
}

/* MODERN PORTFOLIO WITH EFFECTS */
.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(154, 1, 1, 0.8), rgba(198, 32, 32, 0.8));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item:hover {
  box-shadow: 0 15px 40px rgba(154, 1, 1, 0.3);
  transform: translateY(-8px) scale(1.02);
}

.portfolio-item .iconbox {
  background: white;
  color: var(--c-brand);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.portfolio-item:hover .iconbox {
  opacity: 1;
  top: 50%;
}

/* MODERN REVIEW WITH EFFECTS */
.review {
  transition: var(--transition);
}

.review small {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-brand);
}

.review-head {
  position: relative;
  background: white !important;
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.review-head::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 15px;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.review:hover .review-head::before {
  opacity: 0.1;
}

.review:hover .review-head {
  box-shadow: 0 15px 40px rgba(154, 1, 1, 0.2);
  transform: translateY(-8px) scale(1.02);
  border-color: var(--c-brand);
}

.review-head::after {
  content: "";
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: -14px;
  background: white;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
  transform: rotate(45deg);
  transition: var(--transition);
}

.review:hover .review-head::after {
  background: linear-gradient(135deg, white 50%, rgba(154, 1, 1, 0.1) 50%);
}

/* TEAM */
.team-member-content {
  background-color: var(--c-brand);
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: calc(100% - 50px);
  transform: translateX(-50%);
  padding: 24px;
  transition: var(--transition);
  opacity: 0;
}

.team-member:hover .team-member-content {
  opacity: 1;
  bottom: 24px;
}

/* MODERN CONTACT */
#contact {
  position: relative;
  z-index: 2;
}

#contact::after {
  content: "";
  width: 100%;
  height: 70%;
  background:
    linear-gradient(135deg, rgba(154, 1, 1, 0.85) 0%, rgba(198, 32, 32, 0.85) 100%),
    url(../images/counter.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

#contact form {
  background: white !important;
  border-radius: 20px;
  transition: var(--transition);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#contact form:hover {
  box-shadow: 0 15px 50px rgba(154, 1, 1, 0.2);
}

#contact .form-control {
  border-radius: 10px;
  background: #f8f9fa !important;
  border: 1px solid #dee2e6;
  color: var(--c-dark) !important;
  transition: var(--transition);
}

#contact .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(154, 1, 1, 0.15);
  border-color: var(--c-brand);
  background: white !important;
}

#contact .form-control::placeholder {
  color: var(--c-body) !important;
}

/* MODERN FOOTER */
footer {
  padding-top: 120px;
  background: var(--c-dark) !important;
  position: relative;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
}

footer li,
footer p,
footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

footer a:hover {
  color: var(--c-brand-light);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer h5 {
  color: white;
  font-weight: 700;
}

footer .line {
  width: 40px;
  height: 4px;
  background: var(--c-brand);
  margin-top: 12px;
  margin-bottom: 24px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 5px;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--c-brand);
  color: white;
  transform: translateY(-3px);
}

/* From theme auth */
/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats-item{
  background: white;
  padding: 1em;
  height: 3em;
  border-radius: 5px;
  border: none;
  text-align: center;
  font-size: 1em;
  padding-top: 2em;
}
.stats-item .bi{
  font-size: 3em;
}
.stats-item p{
  font-size: 1em;
}
.purecounter{
  color: var(--c-brand);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-tem {
  background-color: white;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
}

@media (min-width: 1200px) {
  .pricing .pricing-tem:hover {
    transform: scale(1.1);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  }
}

.pricing h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.pricing .price {
  font-size: 36px;
  color: var(--c-body);
  font-weight: 600;
  font-family: var(--font-base);
}

.pricing .price sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .price span {
  color: color-mix(in srgb, var(--c-brand), transparent 50%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .icon {
  padding: 20px 0;
}

.pricing .icon i {
  font-size: 48px;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: var(--c-brand);
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  margin-bottom: 25px;
}

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

.pricing ul .na {
  color: color-mix(in srgb, var(--c-brand), transparent 70%);
  text-decoration: line-through;
}

.pricing .btn-buy {
  display: inline-block;
  padding: 8px 40px 10px 40px;
  border-radius: 50px;
  color: var(--accent-color);
  transition: none;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-base);
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid var(--c-brand-light);
}

.pricing .btn-buy:hover {
  background: var(--c-brand-light);
  color: white;
}

.pricing .featured {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: var(--c-brand);
  color: white;
}
.pricing-head{
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: 
color-mix(in srgb, var(--c-brand-light), transparent 90%);
  color: var(--c-brand-light);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--font-base);
}

.pricing-cont{
  text-align: center;
}

/* Team */

/*--------------------------------------------------------------
# Modern Team Section with Effects
--------------------------------------------------------------*/
.team .team-member {
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  border-radius: 15px;
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.team .team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-radial);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.team .team-member:hover::before {
  opacity: 1;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.team .team-member:hover .member-img {
  transform: scale(1.05);
}

.team .team-member .member-img:after {
  position: absolute;
  content: "";
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 100%;
  background-color: white;
  -webkit-mask: url("../images/team-shape.svg") no-repeat center bottom;
  mask: url("../images/team-shape.svg") no-repeat center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 1;
}

.team .team-member .social {
  position: absolute;
  right: -100%;
  top: 30px;
  opacity: 0;
  border-radius: 10px;
  transition: 0.5s;
  background: rgba(154, 1, 1, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.team .team-member .social a {
  transition: var(--transition);
  color: white;
  margin: 15px 12px;
  display: block;
  line-height: 0;
  text-align: center;
}

.team .team-member .social a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: scale(1.3) rotate(5deg);
}

.team .team-member .social i {
  font-size: 18px;
}

.team .team-member .member-info {
  padding: 10px 15px 20px 15px;
  position: relative;
  z-index: 1;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: var(--c-dark);
  transition: var(--transition);
}

.team .team-member:hover .member-info h4 {
  color: var(--c-brand);
  transform: translateY(-3px);
}

.team .team-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-brand);
  transition: var(--transition);
}

.team .team-member:hover .member-info span {
  transform: scale(1.05);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  padding-top: 15px;
  line-height: 26px;
  color: var(--c-body);
}

.team .team-member:hover {
  transform: translateY(-15px) rotate(-1deg);
  box-shadow: 0 20px 50px rgba(154, 1, 1, 0.25);
  border-color: var(--c-brand);
}

.team .team-member:hover .social {
  right: 8px;
  opacity: 1;
}


/*--------------------------------------------------------------
# Clients Section - Modern 3D Grid Design
--------------------------------------------------------------*/
.clients {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(154, 1, 1, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(198, 32, 32, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(154, 1, 1, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: float 40s ease-in-out infinite;
}

/* Animated decorative line */
.clients::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(154, 1, 1, 0.3) 25%,
    rgba(198, 32, 32, 0.5) 50%,
    rgba(154, 1, 1, 0.3) 75%,
    transparent 100%);
  animation: shimmer 4s linear infinite;
  box-shadow: 0 2px 20px rgba(154, 1, 1, 0.3);
}

/* Client Grid Layout */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

/* Client Card Container */
.client-card {
  perspective: 1000px;
  height: 180px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.client-card:nth-child(odd) {
  animation-delay: 0.5s;
}

.client-card:nth-child(even) {
  animation-delay: 1s;
}

/* 3D Card Transform */
.client-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.client-card:hover .client-card-inner {
  transform: rotateY(5deg) rotateX(5deg) scale(1.05);
}

/* Card Front Face */
.client-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: white;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 2px 10px rgba(154, 1, 1, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Glassmorphism Effect */
.client-card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(10px);
  z-index: 0;
  transition: all 0.4s ease;
}

.client-card:hover .client-card-front::before {
  background: linear-gradient(135deg,
    rgba(154, 1, 1, 0.05) 0%,
    rgba(255, 255, 255, 0.95) 100%);
}

/* Border Gradient Animation */
.client-card-front::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
    var(--c-brand),
    var(--c-brand-light),
    var(--c-accent),
    var(--c-brand));
  background-size: 400% 400%;
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradient-shift 3s ease infinite;
}

.client-card:hover .client-card-front::after {
  opacity: 1;
}

.client-card:hover .client-card-front {
  border-color: transparent;
  box-shadow:
    0 20px 60px rgba(154, 1, 1, 0.25),
    0 5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* Client Logo Image */
.client-card-front img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.client-card:hover .client-card-front img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

/* Overlay Effect */
.client-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center,
    rgba(154, 1, 1, 0.1) 0%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.client-card:hover .client-overlay {
  opacity: 1;
}

/* Shine Effect */
.client-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.client-card:hover .client-shine {
  transform: rotate(45deg) translateX(100%);
}

/* Call to Action Section */
.clients-cta {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.clients-cta p {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-body);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.clients-cta p::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}

.clients-cta:hover p::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-card {
    height: 140px;
  }

  .client-card-front {
    padding: 20px;
  }
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-box {
  padding: 24px 20px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  height: 100%;
}

.features .feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.features .feature-box i {
  background: color-mix(in srgb, var(--c-brand-light), transparent 92%);
  color: var(--c-brand-light);
  line-height: 0;
  padding: 4px;
  margin-right: 10px;
  font-size: 24px;
  border-radius: 3px;
  transition: 0.3s;
}

.features .feature-box:hover i {
  background: var(--c-brand-light);
  color: white;
}

/*--------------------------------------------------------------
# Alt Features Section
--------------------------------------------------------------*/
.alt-features .icon-box {
  display: flex;
}

.alt-features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.alt-features .icon-box i {
  font-size: 44px;
  line-height: 44px;
  color: var(--c-brand-light);
  margin-right: 15px;
}

.alt-features .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--c-brand), transparent 30%);
  margin-bottom: 0;
}


/* About Section with Effects */
#about {
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-radial);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-shape 15s ease-in-out infinite;
}

.about-img{
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease;
  width: 80%;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 10px 40px rgba(154, 1, 1, 0.15);
}

.about-img::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient-primary);
  border-radius: 20px;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
  filter: blur(20px);
}

.about-img:hover{
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 60px rgba(154, 1, 1, 0.3);
}

.about-img:hover::before {
  opacity: 0.3;
}

/* Tab */
.tab-icon{
  width: 3em;
}
.logo-footer{
  width: 13em;
}
.price-base p{
  font-size: 1.5em;
  font-family: var(--font-base);
  letter-spacing: 2px;
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* Thank You Popup */
.thank-you-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.thank-you-popup.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.thank-you-content {
  position: relative;
  background: white;
  border-radius: 25px;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 35px;
  color: var(--c-body);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.close-btn:hover {
  background: rgba(154, 1, 1, 0.1);
  color: var(--c-brand);
  transform: rotate(90deg);
}

/* Success Icon */
.success-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.success-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: drawCircle 0.8s ease forwards;
}

.success-check {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawCheck 0.6s ease forwards 0.5s;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

/* Typography */
.thank-you-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 15px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.thank-you-message {
  font-size: 18px;
  color: var(--c-body);
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease 0.4s both;
}

/* Details Section */
.thank-you-details {
  background: linear-gradient(135deg, rgba(154, 1, 1, 0.05), rgba(198, 32, 32, 0.05));
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.thank-you-details p {
  color: var(--c-dark);
  font-size: 15px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.thank-you-details i {
  color: var(--c-brand);
  font-size: 20px;
}

/* Button */
.thank-you-content .btn {
  min-width: 150px;
  animation: fadeInUp 0.6s ease 0.6s both;
}

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

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

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

/* Dark Mode */
.dark-mode .thank-you-content {
  background: #2a2a2a;
}

.dark-mode .thank-you-title {
  color: #ffffff;
}

.dark-mode .thank-you-message {
  color: #e0e0e0;
}

.dark-mode .thank-you-details {
  background: linear-gradient(135deg, rgba(154, 1, 1, 0.1), rgba(198, 32, 32, 0.1));
}

.dark-mode .thank-you-details p {
  color: #ffffff;
}

.dark-mode .close-btn {
  color: #e0e0e0;
}

.dark-mode .close-btn:hover {
  background: rgba(154, 1, 1, 0.2);
  color: var(--c-brand-light);
}

/* Responsive */
@media (max-width: 576px) {
  .thank-you-content {
    padding: 40px 25px;
  }

  .success-icon {
    width: 100px;
    height: 100px;
  }

  .thank-you-title {
    font-size: 28px;
  }

  .thank-you-message {
    font-size: 16px;
  }

  .thank-you-details {
    padding: 20px 15px;
  }

  .thank-you-details p {
    font-size: 14px;
  }
}

/* 404 */
.ferror img{
  align-items: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.ferror h2{
  font-family: var(--font-base);
  text-align: center;
  color: var(--c-brand);
  font-family: 4em;
}
.ferror p{
  text-align: center;
  font-size: 1em;
  padding: 1em;
}
.ferror button{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}


/* DARK MODE */
.dark-mode {
  background-color: #1a1a1a !important;
}

.dark-mode body {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .navbar {
  background: rgba(26, 26, 26, 0.98) !important;
  border-bottom-color: rgba(154, 1, 1, 0.3);
}

.dark-mode .navbar.navbar-scrolled {
  background: rgba(26, 26, 26, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .navbar-nav .nav-link {
  color: #e0e0e0 !important;
}

.dark-mode .navbar-nav .nav-link.active {
  color: var(--c-brand-light) !important;
}

.dark-mode .navbar-nav .nav-link:hover {
  color: var(--c-brand-light) !important;
}

.dark-mode .navbar-nav .nav-link::after {
  background: rgba(154, 1, 1, 0.1);
}

.dark-mode .navbar-nav .nav-link.active::after {
  background: rgba(154, 1, 1, 0.15);
}

.dark-mode .stats-item,
.dark-mode .team-member,
.dark-mode .service,
.dark-mode .review-head {
  background: #2a2a2a !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode form {
  background: #2a2a2a !important;
}

.dark-mode .form-control {
  background: #1a1a1a !important;
  border-color: #444 !important;
  color: #e0e0e0 !important;
}

.dark-mode h1, .dark-mode h2, .dark-mode h3,
.dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode .service h5,
.dark-mode .team-member .member-info h4 {
  color: #ffffff !important;
}

.dark-mode .service p,
.dark-mode .team-member .member-info p {
  color: #b0b0b0 !important;
}

.dark-mode .navbar-toggler-icon {
  filter: invert(100%);
}

/* Dark Mode - Clients Section */
.dark-mode .clients {
  background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
}

.dark-mode .client-card-front {
  background: #2a2a2a;
}

.dark-mode .client-card-front::before {
  background: linear-gradient(135deg,
    rgba(42, 42, 42, 0.9) 0%,
    rgba(42, 42, 42, 0.7) 100%);
}

.dark-mode .client-card:hover .client-card-front::before {
  background: linear-gradient(135deg,
    rgba(154, 1, 1, 0.1) 0%,
    rgba(42, 42, 42, 0.95) 100%);
}

.dark-mode .client-card-front {
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 2px 10px rgba(154, 1, 1, 0.2);
}

.dark-mode .client-card:hover .client-card-front {
  box-shadow:
    0 20px 60px rgba(154, 1, 1, 0.4),
    0 5px 20px rgba(0, 0, 0, 0.6);
}

.dark-mode .clients-cta p {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Dark Mode Toggle */
.form-check-input {
  width: 50px;
  height: 25px;
  background-color: #ddd;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.form-check-input:checked {
  background-color: var(--c-brand);
}

.form-check-input:focus {
  box-shadow: none;
}

/* Custom cursor */
body {
  cursor: url('/assets/images/c5.png'), auto;
}


.coptxt{
  margin: 0;
}

