:root {
  --blue: #5ab9ea;
  --purple: #7f53ac;
  --orange: #f6b93b;
  --bg: #f8f9fc;
  --text: #1c1c1c;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: "Poppins", sans-serif;
}

/* Basic setup */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

/* Containers */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 40px;
  height: 40px;
}
.site-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--purple);
}
.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--orange);
}

/* Mobile menu icon */
.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 200;
}
.sidebar a {
  text-decoration: none;
  color: var(--purple);
  margin: 10px 0;
  font-weight: 600;
}
.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  align-self: flex-end;
  cursor: pointer;
}

/* HERO */
.hero {
  /*background: linear-gradient(90deg, var(--blue), var(--purple));*/
  color: white;
  padding: 80px 0;
}
.hero {
  position: relative;
  background: url('bc1.jpg') center center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('bc1.jpg') center center/cover no-repeat;
  filter: brightness(50%); /* dims the image only */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.hero-text {
  flex: 1;
  min-width: 280px;
}
.hero-text h1 {
  font-size: 32px;
}
.hero-text p {
  font-size: 18px;
  max-width: 450px;
}
/*.hero-img {
  flex: 1;
  text-align: center;
}*/
#fslogo {
    border-radius: 25px;
    height: 60px;
    width: 60px;
}
.hero-placeholder {
  width: 220px;
  height: 220px;
  background: var(--orange);
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.btn-orange {
  background: var(--orange);
  color: white;
}
.btn-purple {
  background: var(--purple);
  color: white;
}
.btn-orange:hover,
.btn-purple:hover {
  opacity: 0.9;
}
#brn {
  padding-right: 40px;
  padding-top: 30px;
  font-size: small;
}

/* ABOUT */
.about, .offer, .calculator, .apply {
  padding: 20px 0;
}
h2 {
  color: var(--purple);
  text-align: center;
}
.offer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.offer-card {
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  flex: 1 1 280px;
  text-align: center;
}
.about {
    text-align: center;
}
.about p {
  font-size: large;
}
body p {
  font-size: large;
}
/* CALCULATOR */
.calc-box {
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 500px;
  margin: auto;
  text-align: center;
}
.calc-box input, select {
  width: 80%;
  padding: 8px;
  margin: 10px 0;
}
.calc-result {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 10px;
  margin-top: 15px;
}
.calculator p{
    text-align: center;
}
/* APPLY FORM */
.apply-form {
  background: white;
  box-shadow: var(--shadow);
  padding: 20px;
  border-radius: var(--radius);
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}
.apply-form input {
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}

/* MODAL */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999; /* ✅ ensures modal sits above all other content */
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 10000; /* keeps content above overlay */
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}


/* FOOTER */
.footer {
  /*background: var(--purple);*/
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-icon {
    display: block;
  }
  .hero-inner {
    text-align: center;
  }
}
.offer-card i {
  font-size: 40px;
  color: var(--purple); /* use your main brand color */
  margin-bottom: 15px;
}
