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

:root {
  --primary-color: #487BB5;
  --primary-dark: #3a6391;
  --light-bg: #F9FBFC;
  --dark-text: #1a1a1a;
  --accent-color: #000000;
  --secondary-color: #6C757D;
  --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(72, 123, 181, 0.15);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 80px;
  width: auto;
  /* background-color: var(--primary-color); */
  /* padding: 8px; */
  border-radius: 8px;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.nav-link {
  color: var(--dark-text) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  margin-left: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 0.8rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(72, 123, 181, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(72, 123, 181, 0.4);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(72, 123, 181, 0.2);
}

/* Hero Section */
.hero-section {
  padding: 10rem 0 6rem;
  background: radial-gradient(circle at 0% 0%, rgba(72, 123, 181, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(72, 123, 181, 0.05) 0%, transparent 50%);
  position: relative;
}

.hero-section h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: -webkit-linear-gradient(45deg, var(--dark-text), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Scroll Animations */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0;
  transition: all 0.8s ease-out;
}

/* Default (Fade Up) */
.reveal {
  transform: translateY(30px);
}

/* Left Slide */
.reveal-left {
  transform: translateX(-50px);
}

/* Right Slide */
.reveal-right {
  transform: translateX(50px);
}

/* Zoom In */
.reveal-zoom {
  transform: scale(0.9);
}

/* Active States */
.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

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

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Image Hover Zoom */
.img-hover-zoom {
  transition: transform 0.5s ease;
}

.img-hover-zoom:hover {
  transform: scale(1.03);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  /* Positioned left of WhatsApp */
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Section Common */
.section-padding {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-sub {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Feature Cards (Glassmorphism) */
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(72, 123, 181, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: #fff;
  transform: rotateY(360deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Highlights */
.highlight-box {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #fff;
  padding: 5rem 0 2rem;
  position: relative;
}

footer h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

footer p,
footer a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
  color: #fff;
}

.social-icons a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  padding-left: 0;
  /* Reset hover padding */
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    padding: 8rem 0 4rem;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section p {
    margin: 0 auto 2rem;
  }

  .d-flex.gap-3 {
    justify-content: center;
  }
}