/* ============================= */
/* Brand Font */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/* ============================= */
/* Brand Colors */
:root {
    --primary-color: #113664;    /* Dark Blue */
    --accent-color: #FF6224;     /* Orange */
    --text-light: #ffffff;       /* White */
}

/* ============================= */
/* Navbar */
.navbar {
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-color);
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Navbar Brand (Logo) */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Premium logo size */
.navbar-logo {
  height: 82px;
  width: auto;
  transition: height 0.25s ease;
}

/* Toggler (Hamburger) */
.navbar-toggler {
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* icon (bi-list) for toggler */
.navbar-toggler-icon,
.navbar-toggler i {
  font-size: 2rem;
  color: var(--primary-color);
}

/* Desktop Navigation Links */
.navbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.navbar-nav .nav-link {
  margin: 0 1rem;
  font-weight: 500;
  color: var(--primary-color) !important;
  transition: color 0.3s, transform 0.2s;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  transform: scale(1.05);
}

/* ============================= */
/* Mobile Offcanvas */
.offcanvas {
  background-color: #ffffff;
}

.offcanvas .offcanvas-title {
  color: var(--primary-color);
  font-weight: 600;
}

.offcanvas .nav-link {
  font-size: 1.15rem;
  padding: 0.65rem 0;
  text-align: left;
  color: var(--primary-color) !important;
}

.offcanvas .nav-link:hover {
  color: var(--accent-color) !important;
}

/* Hide offcanvas on desktop */
@media (min-width: 992px) {
  .offcanvas {
    display: none !important;
  }
}

/* ============================= */
/* Responsive Adjustments */

/* Medium screens (tablet) */
@media (max-width: 992px) {
  .navbar-logo {
    height: 70px;
  }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
  .navbar {
    padding: 0.4rem 0.7rem;
  }

  .navbar-logo {
    height: 58px;
  }
}

/* ============================= */
/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}


/* ============================= */
/* Hero buttons */
.btn-hero {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.btn-hero:hover {
    background-color: var(--text-light);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Compact button size inside cards */
.card .btn {
  width: auto;
  font-weight: 500;
  padding: 0.65rem 1rem;
  align-self: center;   /* keeps it centered in flex layouts */
}

/* ============================= */
/* Hero Section */
section.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 0;
}

section.hero p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================= */
/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 0;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
}

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

/* ============================= */
/* Headings (outside hero) */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
}

/* Override heading color inside hero */
section.hero h1,
section.hero h2,
section.hero h3,
section.hero h4,
section.hero h5,
section.hero h6,
section.hero p {
    color: var(--text-light);
}

/* ============================= */
/* Cards */
.card-title {
    color: var(--primary-color);
}

.card-text {
    color: #333333;
}

/* ============================= */
/* Service cards */
.service-card {
  border-radius: 14px;
  transition: 0.25s;
  background: #ffffff;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.service-card ul {
  padding-left: 1.2rem;
}

/* ============================= */
/* How It Works */
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: #e0e0e0;
}
.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.timeline-icon {
  width: 65px;
  height: 65px;
  background: #ff6224;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.7rem;
  position: relative;
  z-index: 1;
}
.timeline-item p {
  max-width: 290px;
  margin-left: auto;
  margin-right: auto;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Mobile */
@media (max-width: 992px) {
  .timeline {
    flex-direction: column;
    gap: 2.8rem;
  }
  .timeline::before {
    display: none;
  }
  .timeline-item::after {
    display: none;
  }
}

/* ============================= */
/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(255, 98, 36, 0.5);
}

.btn-submit {
    background-color: var(--accent-color);
    color: #ffffff;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.contact-success {
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-success h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-success p {
    font-size: 1.1rem;
    color: #555;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  height: 0;
  overflow: hidden;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* ============================= */
/* Policy Section */
.policy-section h2 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.policy-section p,
.policy-section li {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.policy-section ul.list-group {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.policy-section ul.list-group li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.7rem;
}

.policy-section ul.list-group li::before {
  content: "•";
  color: var(--accent-color);
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Mobile */
@media (max-width: 576px) {
  .policy-section ul.list-group li {
    padding-left: 2.2em;
  }
  .policy-section ul.list-group li::before {
    font-size: 1.5rem;
    left: 0.1em;
  }
}

/* Founder photo */
.founder-photo {
  width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 5%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ============================= */
/* Popup backdrop (for Coming Soon) */
.popup-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

/* ============================= */
/* Pagination Styling */
.pagination .page-link {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  transition: 0.25s;
}

.pagination .page-link:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.pagination .page-item.disabled .page-link {
  background-color: #e9ecef;
  color: #9aa2ac;
  border-color: #d4d8dd;
  cursor: not-allowed;
}

.pagination .page-item {
  margin: 0 4px;
}
