* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

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

/* VARIABLES */
:root {
  --primary: #2298b6;
  --secondary: rgb(73, 169, 248);
  --tertiary: rgba(24, 26, 27, 1);
  --white: #ffffff;
  --text-light: rgba(255,255,255,0.85);
}

/* BODY */
body {
  font-family: "Poppins", sans-serif;
  background: #fff;
}
a:focus {
  outline: 2px dashed white;
  outline-offset: 4px;
}
/* NAVBAR */
.navbar-custom {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent ;
  padding: 15px 0;
}

/* Logo */
.navbar-custom .navbar-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}

/* Center links */
.navbar-custom .navbar-nav {
  gap: 40px; /* space between links */
}

.navbar-custom .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1; /* aligns with logo */
  padding: 0.5rem 0; /* remove default Bootstrap vertical padding */
}

.navbar-custom .nav-link:hover {
  color: var(--tertiary) !important;
}

/* Right actions */
.navbar-custom .d-flex a.login-link {
  color: var(--white);
  font-weight: 500;
  line-height: 1; /* matches nav links and logo */
  text-decoration: none;
}

.navbar-custom .d-flex a.login-link:hover {
  color: var(--tertiary);
  text-decoration: underline;
}

.navbar-custom .btn-main {
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
}

/* Make collapsed menu background solid */
.navbar-custom .navbar-collapse {
  background: transparent; /* dark background for readability */
  padding: 1rem 1.5rem;
  border-radius: 10px; /* optional rounded corners */
}

/* Links inside collapsed menu */
.navbar-custom .navbar-collapse .nav-link {
  color: white !important; /* default white */
  transition: color 0.3s ease;
}

/* Hover effect */
.navbar-custom .navbar-collapse .nav-link:hover {
  color: var(--tertiary) !important;
}

/* BUTTONS */
.btn-main {
  width:150px;height:45px;
  padding: 8px ; /* slightly smaller padding */
  font-size: 1rem; 
  border-radius: 20px;
  background: #fff;
  color: var(--secondary);
  font-weight: 700;text-align: center;
  text-decoration: none;
  transition: 0.3s ease;
}
/* HERO BUTTONS HOVER */
.btn-main:hover {
  background: #f1f1f1;  /* lighter background */
  transform: translateY(-2px); /* slight lift */
  color: var(--tertiary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* subtle shadow */
  transition: all 0.3s ease;
}
.btn-outline {
  width:150px;height:45px;
  padding: 8px; /* slightly smaller padding */
  font-size: 1rem; 
  border-radius: 20px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(185, 239, 255, 0.1); /* slight background fill */
  border-color: var(--secondary); /* highlight border */
  /* color: var(--secondary);  */
  transform: translateY(-2px);
  transition: all 0.3s ease;
}


/* HERO */
.hero {
  height: 100vh;
   /* min-height: 90vh; */
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--secondary),var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px; 
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white; line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}


/* ANIMATIONS */

/* Fade-in and slide-up for hero text and buttons */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in and slide-down for hero heading */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient background shift */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Apply animations to hero elements */
.hero {
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
}

.hero h1 {
  opacity: 0;
  animation: fadeInDown 1s ease forwards;
    animation-delay: 0.2s;
}

.hero p {
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.5s;
}

.hero-buttons {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.9s;
}

/* FEATURES */
.feature-card {
  background: linear-gradient(135deg, #ffffff, #f3f6f9);
  padding: 30px;
  border-radius: 16px;
  text-align: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}


.features-section {
  background: #f8f9fa; /* light contrast vs hero */
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card p {
  color: #555;
  font-size: 0.95rem;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);  /* subtle icon pop on hover */
}

/* Initial hidden state */
.animate {
  opacity: 0;
  transform: translateY(40px);
}
/* When animation starts */
.animate.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}
/*How it works*/

/* HOW IT WORKS — BLACK SECTION + BLUE CARDS */

.how-section {
  background: #0f1113; /* black background */
  color: #ffffff;
  padding: 60px 20px;
}

.how-card {
  /* Blue gradient like hero */
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card h4 {
  color: #ffffff;  /* readable on blue card */
  margin-bottom: 10px;
}

.how-card p {
  color:#ffffff;
  font-size: 0.95rem;
}

.how-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #ffffff; /* or use var(--secondary) for pop */
}

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}
/* CTA SECTION */
.cta-section {
  background: white;
  min-height: 60vh;          /* keeps section tall */
  display: flex;
  align-items: center;      /* vertical center */
}

.cta-section .container {
  text-align: center;
}
.cta-section h2 {
  font-size: 2.2rem;  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  color: black;  margin-bottom: 12px;
}

/* CTA BUTTON */

.btn-cta {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fffbfb;
  font-weight: 700;
  border-radius: 20px;
  padding: 10px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  color: #000000;
}
.cta-section .btn-cta {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}

.cta-section.animate.show .btn-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}


/* FOOTER */

.footer {
  background: #0f1113;
  color: rgba(255,255,255,0.75);
  padding: 60px 20px 30px;
}

.footer-logo {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255,255,255,0.75);
  margin-left: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

