/* Nasenyi Properties - Custom Styles
   Exact replica design matching provided screenshots
   Bootstrap 5 + HTML5
*/

:root {
  --nasenyi-red: #9B1B1B;
  --nasenyi-dark-red: #7A1515;
  --nasenyi-maroon: #8B1A1A;
  --nasenyi-green: #1A7A3A;
  --nasenyi-dark-green: #0F5C28;
  --nasenyi-gold: #C9A227;
  --nasenyi-beige: #F5EBD8;
  --nasenyi-cream: #FDF8F0;
  --nasenyi-yellow: #E8C547;
  --nasenyi-text: #2C2C2C;
  --nasenyi-light: #F8F9FA;
}


/* Montserrat Variable Font */
@font-face {
  font-family: 'Montserrat';
  src: url('../css/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;          /* variable weight range */
  font-style: normal;
  font-display: swap;
}


body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--nasenyi-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: transparent;
  padding: 12px 0;
  position: relative;
  z-index: 1030;
}

.top-bar .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar .logo-svg {
  width: 52px;
  height: 52px;
}

.top-bar .brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.top-bar .brand-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 1px;
}

.contact-pill {
  background: #F8F1E3;
  color: #333;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  white-space: nowrap;
}

.contact-pill i {
  color: var(--nasenyi-red);
}

/* ========== NAVBAR ========== */
.navbar-nasenyi {
  background-color: var(--nasenyi-red) !important;
  padding: 0.6rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar-nasenyi .navbar-nav {
  margin: 0 auto;
  gap: 0.5rem;
}

.navbar-nasenyi .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  padding: 0.6rem 1.4rem !important;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border-radius: 4px;
}

.navbar-nasenyi .nav-link:hover,
.navbar-nasenyi .nav-link.active {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== HERO SECTIONS ========== */
.hero-section {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-title .red {
  color: #E74C3C;
}

.hero-title .green {
  color: #2ECC71;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 520px;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* About hero specific */
.hero-about {
  min-height: 420px;
  background-position: center top;
}

.hero-about .hero-title {
  font-size: 3rem;
}

.about-badge {
  display: inline-block;
  background: var(--nasenyi-red);
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Services hero */
.hero-services {
  min-height: 420px;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2b45 100%);
}

.hero-services .hero-title {
  font-size: 3.4rem;
}

.hero-services .hero-title .green {
  color: #27AE60;
}

.hero-services .hero-title .red {
  color: #E74C3C;
}

/* ========== WELCOME / STORY BOX ========== */
.welcome-box {
  background: var(--nasenyi-beige);
  border-radius: 16px;
  padding: 2.5rem 2.8rem;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-bottom: 6px solid;
  border-image: linear-gradient(90deg, var(--nasenyi-green) 0%, var(--nasenyi-gold) 50%, var(--nasenyi-red) 100%) 1;
}

.welcome-badge {
  display: inline-block;
  background: var(--nasenyi-red);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 1.2rem;
}

.welcome-box p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
}

.welcome-box p:last-child {
  margin-bottom: 0;
}

/* ========== CORE SERVICES CARDS ========== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--nasenyi-text);
  margin-bottom: 2rem;
  position: relative;
}

.service-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}

.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  color: #fff;
}

.service-card.real-estate .card-body {
  background: var(--nasenyi-green);
}

.service-card.construction .card-body {
  background: #2E7D32;
}

.service-card.materials .card-body {
  background: #E67E22;
}

.service-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card .card-text {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.service-card .accent-line {
  height: 4px;
  width: 60px;
  background: rgba(255,255,255,0.6);
  margin-top: 12px;
  border-radius: 2px;
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
  background: linear-gradient(rgba(120, 20, 20, 0.85), rgba(90, 15, 15, 0.9)), url('https://nasenyiproperties.com/images/2.jpg') center/cover no-repeat;
  border-radius: 18px;
  padding: 3.5rem 3rem;
  color: #fff;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.why-choose h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.why-item:last-child {
  margin-bottom: 0;
}

.why-number {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background:#0F5C28;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
}

.why-content h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.why-content p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.98rem;
}

/* ========== ABOUT PAGE ========== */
.mission-vision-card {
  border-radius: 14px;
  padding: 2rem 1.8rem;
  height: 100%;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mission-vision-card .icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.mission-vision-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
}

.mission-card {
  background: var(--nasenyi-dark-red);
}

.vision-card {
  background: var(--nasenyi-green);
}

.core-values-box {
  background: #E8D5A3;
  border-radius: 14px;
  padding: 2rem 2.2rem;
  margin-top: 2.5rem;
}

.core-values-box h3 {
  display: inline-block;
  background: var(--nasenyi-green);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.core-values-box ol {
  margin: 0;
  padding-left: 1.4rem;
}

.core-values-box li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.team-section {
  margin-top: 2.5rem;
}

.team-section h3 {
  color: var(--nasenyi-red);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* ========== SERVICES PAGE ========== */
.service-block {
  background: #FDF8F0;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.service-block .service-num {
  display: inline-block;
  background: var(--nasenyi-green);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.service-block h4 {
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8rem;
}

.service-block .overview {
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}

.service-block .key-offerings {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block .key-offerings li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
}

.service-block .key-offerings li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--nasenyi-red);
  font-size: 0.7rem;
  top: 0.3rem;
}

.service-block .img-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
}

.service-block .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== CONTACT PAGE ========== */
.contact-hero {
  background: var(--nasenyi-green);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  color: #fff;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
}

.contact-main {
  background: #E8C547;
  padding: 3rem 0 4rem;
  min-height: 600px;
}

.get-in-touch-badge {
  display: inline-block;
  background: var(--nasenyi-red);
  color: #fff;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
}

.contact-info h3 {
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: #333;
}

.contact-info strong {
  color: var(--nasenyi-red);
}

.form-section h3 {
  color: var(--nasenyi-red);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

.form-control-nasenyi {
  background: #FDF8F0;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.form-control-nasenyi:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(155, 27, 27, 0.2);
  outline: none;
}

textarea.form-control-nasenyi {
  border-radius: 20px;
  min-height: 120px;
  resize: vertical;
}

.btn-nasenyi {
  background: var(--nasenyi-red);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 36px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 280px;
}

.btn-nasenyi:hover {
  background: var(--nasenyi-dark-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(155, 27, 27, 0.35);
}

/* ========== FOOTER ========== */
.footer-nasenyi {
  background: var(--nasenyi-dark-green);
  color: #fff;
  padding: 2.5rem 0 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-box {
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo .brand {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.footer-logo .brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========== UTILS ========== */
.section-padding {
  padding: 4rem 0;
}

.mt-neg {
  margin-top: -40px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-section {
    min-height: 400px;
  }
  .welcome-box {
    margin-top: -30px;
    padding: 1.8rem;
  }
  .contact-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .navbar-nasenyi .navbar-nav {
    padding: 1rem 0;
  }
  .why-choose {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .top-bar .brand-text {
    font-size: 0.95rem;
  }
  .contact-hero h1 {
    font-size: 2.2rem;
  }
  .service-block .img-wrap {
    height: 200px;
    margin-top: 1.5rem;
  }
}