@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --bg-main: #06090f;
  --bg-card: rgba(16, 22, 34, 0.7);
  --primary: #f9e885;
  --secondary: #d4c053;
  --accent: #ff00c8;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --neon-shadow: 0 0 15px rgba(249, 232, 133, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Background Blobs */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(249, 232, 133, 0.15) 0%,
    transparent 60%
  );
  border-radius: 50%;
  filter: blur(100px);
  animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
  background: radial-gradient(
    circle,
    rgba(212, 192, 83, 0.15) 0%,
    transparent 60%
  );
  width: 600px;
  height: 600px;
  right: -100px;
  top: -100px;
  animation-delay: -5s;
}

@keyframes move {
  from {
    transform: translate(-10%, -10%);
  }

  to {
    transform: translate(10%, 10%);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
.navbar-brand {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

/* Typography Utilities */
.text-primary {
  color: var(--primary) !important;
}

/* Glassmorphism Utility */
.glass-effect {
  background: rgb(16 22 34 / 0%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f9e885;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

.navbar-brand {
  background: rgb(255, 255, 255);
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.navbar-brand img {
  filter: drop-shadow(0 0 10px rgba(249, 232, 133, 0.6)) brightness(1.2);
  transition: var(--transition);
}

.navbar-brand:hover {
  background: rgb(255, 255, 255);
  border-color: #f9e885;
  transform: translateY(-2px);
}

.navbar-brand img:hover {
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) brightness(1.3);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: #f9e885 !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f9e885;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.lets_talk {
  background: linear-gradient(135deg, #f9e885, #d4c053);
  color: #06090f !important;
  padding: 12px 28px !important;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(249, 232, 133, 0.3);
  border: 2px solid transparent;
  transition: var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lets_talk:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(249, 232, 133, 0.5);
  background: rgba(249, 232, 133, 0.1);
  border: 2px solid #f9e885;
  color: #f9e885 !important;
}

/* Hero Section */
.banner_outer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  perspective: 2000px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(249, 232, 133, 0.2) 0%,
    transparent 70%
  );
  z-index: -1;
}

.banner_content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(to right, #fff, #f9e885);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner_content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-image-stack {
  position: relative;
  padding-bottom: 50px;
}

.hero-image-stack img {
  border-radius: 40px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 236, 249, 0.1);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.hero-image-stack .secondary-img {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: -1;
  opacity: 0.5;
  filter: blur(2px) grayscale(0.5) sepia(0.8) hue-rotate(5deg) saturate(2);
  transform: scale(0.95);
}

.hero-image-stack .tertiary-img {
  position: absolute;
  top: 60px;
  left: 60px;
  z-index: -2;
  opacity: 0.3;
  filter: blur(4px) grayscale(0.8) sepia(0.8) hue-rotate(5deg) saturate(2);
  transform: scale(0.9);
}

.hero-image-stack:hover img {
  transform: translateY(-10px) rotateY(-5deg);
  filter: sepia(0.6) hue-rotate(15deg) saturate(3) contrast(1.3);
}

.hero-image-stack:hover .secondary-img {
  transform: translate(-10px, -10px) scale(0.96);
}

.hero-image-stack:hover .tertiary-img {
  transform: translate(-20px, -20px) scale(0.92);
}

/* Modern Image Layout Additions (Badges & Overlays) */
.image-layout-modern {
  position: relative;
  display: inline-block;
  border-radius: 40px;
}

.floating-badge {
  position: absolute;
  background: rgba(16, 22, 34, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(249, 232, 133, 0.15);
  animation: float 6s ease-in-out infinite;
  z-index: 5;
}

.floating-badge.badge-br {
  bottom: -20px;
  right: -20px;
  animation-delay: 1s;
}

.floating-badge.badge-tl {
  top: -20px;
  left: -20px;
  animation-delay: 0.5s;
}

.floating-badge strong {
  color: #fff;
  font-size: 1.2rem;
  display: block;
}

.floating-badge span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.about-section img,
#stats img,
.main-img {
  border-radius: 40px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 236, 249, 0.1);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.section-padding {
  padding: 50px 0;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #f9e885;
  border-radius: 2px;
}

/* Bento Grid Layout Configuration */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 25px;
  margin-top: 40px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-row-2 {
  grid-row: span 2;
}

/* Service Info Structure Update */
.service-box {
  height: 100%;
}

.bento-card:hover {
  transform: translateY(-15px) rotateX(10deg) rotateY(10deg);
  border-color: #f9e885;
  background: rgba(249, 232, 133, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(249, 232, 133, 0.2);
}

.service-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%;
  width: 50%;
  height: 300%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translate(-50%, -50%) rotate(45deg);
  transition: 0.8s;
}

.service-box:hover::after {
  left: 150%;
}

.service-box figure {
  width: 80px;
  height: 80px;
  background: rgba(249, 232, 133, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}

.service-box:hover figure {
  transform: scale(1.1) translateZ(30px);
  background: rgba(249, 232, 133, 0.2);
  box-shadow: var(--neon-shadow);
}

.service-box h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #f9e885;
}

.service-box p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about_content h5 {
  color: #f9e885;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.about_content h2 {
  font-size: 3.5rem;
  margin-bottom: 25px;
}

/* Testimonials */
.testimonial-section {
  background: rgba(0, 0, 0, 0.2);
}

.testimonial_content {
  background: rgb(16 22 34 / 0%);
  padding: 50px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
}

.testimonial_content p {
  font-style: italic;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 30px;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f9e885;
  margin-bottom: 15px;
}

/* Footer */
.footer-section {
  padding-top: 100px;
  border-top: 1px solid var(--glass-border);
}

.footer-logo {
  margin-bottom: 25px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icons li a {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-icons li a:hover {
  background: #f9e885;
  color: #000;
  transform: translateY(-5px);
}

.footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: #f9e885;
  padding-left: 5px;
}

.footer-section ul li {
  margin-bottom: 12px;
}

/* Contact Form */
#fixed-form-container {
  background: rgb(16 22 34 / 0%);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
}

.form-control,
.form_style {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff !important;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.form-control:focus,
.form_style:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: #f9e885;
  box-shadow: 0 0 10px rgba(249, 232, 133, 0.1);
}

.submit_now {
  width: 100%;
  background: linear-gradient(135deg, #f9e885, #d4c053);
  border: 2px solid transparent;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  color: #06090f;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(249, 232, 133, 0.3);
}

.submit_now:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 30px rgba(249, 232, 133, 0.5);
  background: rgba(249, 232, 133, 0.1);
  border: 2px solid #f9e885;
  color: #f9e885;
}

.copyright {
  padding: 30px 0;
  border-top: 1px solid var(--glass-border);

  text-align: center;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 991px) {
  .banner_content h1 {
    font-size: 3rem;
  }

  .about_content {
    margin-top: 50px;
  }

  .about_content h2 {
    font-size: 2.5rem;
  }

  .hero-image-wrapper {
    margin-top: 50px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-col-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-2 {
    grid-column: span 1;
  }
  .bento-card {
    padding: 25px;
  }
  .floating-badge {
    position: relative;
    display: inline-flex;
    margin-top: 15px;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    justify-content: center;
    animation: none;
  }
}
