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

/* Body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  padding-top: 100px; /* Space for fixed header */
}

/* Header fixed */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #004080; /* base color */
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: #003366;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Nav */
nav {
  background-color: #002855;
  color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 20000px;
  margin: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 50px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.highlight {
  color: #ffcc00; /* gold */
}

.subtext {
  font-size: 0.9rem;
  color: #ccc;
  font-style: italic;
  letter-spacing: 0.5px;
}


.menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #002855;  /* deep blue/navy background */
  padding: 1rem 2rem;
  border-radius: 8px;
}

.menu li {
  position: relative;
}

.menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.menu li a:hover {
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #003366;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
}

.dropdown-menu li a:hover {
  background: #004080;
  color: #ffcc00;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Remove conflicting/unused styles below */

/* Hamburger Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.menu-toggle.open .top {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .middle {
  opacity: 0;
}

.menu-toggle.open .bottom {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.4)), url('https://source.unsplash.com/1600x600/?real-estate,africa') no-repeat center center/cover;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

.hero .btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: #28a745; /* green */
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Services Section */
.services {
  padding: 4rem 2rem;
  background: white;
}

.services h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 3rem;
}

.service-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  background: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-left: 5px solid #ffcc00; /* gold */
}

.card h3 {
  color: #28a745; /* green */
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  background-color: #004080;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #003060;
}
.btn {
  background-color: #002855; /* Deep corporate blue */
  color: #fff;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #ffcc00; /* Highlight color */
  color: #002855;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }
.fade-in-delay-5 { animation-delay: 1s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero-slider {
  height: 80vh;
  color: white;
  position: relative;
  font-family: sans-serif;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide .content {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
}

.slide .btn {
  background-color: #ffcc00;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  color: black;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.arrow.left { left: 1rem; }
.arrow.right { right: 1rem; }

/* Dots */
.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 5;
}

.dots span {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive */
 /* Mobile Responsive */

 
@media (max-width: 480px) {
    .site-footer {
      font-size: 0.85rem;
      padding: 2rem 1rem;
    }
  

    .footer-section h3,
    .footer-section h4 {
      font-size: 1rem;
    }
    .logo-text {
  
  
  line-height: 1;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: bold;
  white-space: nowrap;
  color: white;
}
.menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #002855;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    gap: 1rem;
    padding: 1rem 0;
  }
.highlight {
  color: #ffcc00; /* gold */
}

.subtext {
  font-size: 0.8rem;
  color: #ccc;
 
}

    .logo {
      width: 100px;
       gap: 0.35rem;
    }
  }

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logos {
    text-align: left;
  }
  .social-icons {
    justify-content: flex-start;
  }
  .brand-name {
    font-size: 1.4rem;
    font-weight: bold;
    white-space: nowrap;
    color: white;
  }
  .slide .content {
    padding: 1.5rem;
  }
  .arrow {
    font-size: 1.5rem;
  }
  #hero-slider {
    height: 60vh;
  }
  .menu.show {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown > a::after {
    content: " ▸";
    float: right;
  }
  .dropdown-menu li a {
    color: white;
    padding-left: 2rem;
  }
  .dropdown-menu li a:hover,
  .dropdown-menu li a:focus {
    background-color: #004080;
    color: #ffcc00;
    border-left-color: #ffcc00;
  }
  .why-us div {
    text-align: center !important;
  }
}
