/* Global Styles */
body {
  max-width: 1248px;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #202124;
  margin: auto;
  scroll-behavior: smooth;
  cursor: grab;
}

/* Preloader overlay */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Spinner */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid red;
  border-radius: 50%;
  width: 60px; height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Logo */
#emblem { max-width: 135px; }

/* Header */
header {
  background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.9)),
              url('../img/abuja.webp') center/cover no-repeat;
  color: #fff;
  padding: 64px 20px;
}
.header-container {
  width: 80%;
  max-width: 960px;
  display: flex;
  align-items: center;       /* vertical alignment */
  justify-content: center;   /* horizontal alignment */
  margin: auto;
  gap: 12px;
}

#rc{ font-size: 24px; }

.company-info h1 {
  font-size: 2rem; font-weight: 600;
  color: #d32f2f; margin: 0;
}
.company-info p {
  font-size: 1.1rem; color: #e0e0e0;
  margin-top: 8px;
}
.company-info a { color: #fff; font-weight: 500; }
.company-info a:hover { color: #d32f2f; }

/* Links */
a { text-decoration: none; color: #d32f2f; }
a:hover { color: silver; }

/* CTA Button */
.cta-btn {
  display: inline-block;
  margin-top: 24px;
  background: #d32f2f; color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
}
.cta-btn:hover { background: #b71c1c; }

/* Navigation */
nav {
  position: sticky; top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid #d32f2f;
}
nav .nav-container {
  display: flex; justify-content: center; align-items: center;
  padding: 10px;
}
nav ul {
  list-style: none;
  display: flex; gap: 20px;
  margin: 0; padding: 0;
}
nav a {
  color: #202124; font-weight: 600;
}
nav a:hover, nav a.active { color: #d32f2f; }

/* Hamburger buttons */
 .hrMenu{
                width: 32px;
                margin: 8.5px;
            }
            
#menu-toggle, #menu-close {
  display: none;
  background: none; border: none;
  cursor: pointer;
}
#menu-toggle { font-size: 1.5rem; }
#menu-close { font-size: 1.2rem; }

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    display: none; flex-direction: column;
    background: #fff;
    position: absolute; top: 0; left: 0;
    width: 100%; padding: 20px;
    padding-top: 48px;
    border-top: 2px solid #d32f2f;
    transform: translateY(-20px);
    opacity: 0; transition: all 0.3s ease-in-out;
  }
  nav ul.show { display: flex; transform: translateY(0); opacity: 1; }
  #menu-toggle { display: block; margin-left: auto; }
  #menu-close { display: block; margin-top: 10px; align-self: flex-end; }
  #header-text { padding: 0 8px; }
}

/*DIGITAL SOLUTION*/
.highlight {
  color: #0066cc;
  font-weight: 600;
}


/* Sections */
section {
  padding: 56px 20px;
  max-width: 960px; margin: auto;
}
section h2 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.8rem; font-weight: 600;
  color: #202124;
}

/* Services Grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.service {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s ease;
}
.service h3 {
  margin-bottom: 8px;
  color: #d32f2f;
  font-size: 1.2rem; font-weight: 600;
}
.service p { color: #5f6368; font-size: 0.95rem; }

/* Pricing */
.pricing {
  display: flex; justify-content: center;
  gap: 20px; margin-top: 40px;
  flex-wrap: wrap;
}
.price-card {
  flex: 1; max-width: 320px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  text-align: left;
  transition: box-shadow 0.2s ease;
}
.price-card h3 { color: #d32f2f; font-size: 1.4rem; margin-bottom: 12px; }
.price-card p { color: #5f6368; font-size: 0.95rem; margin-bottom: 16px; }
.price-card .price { font-size: 1.6rem; font-weight: 600; color: #202124; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
.price-card ul li { font-size: 0.9rem; color: #202124; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.price-card ul li:last-child { border-bottom: none; }
.price-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.price-card .cta-btn { margin-top: 12px; }
.price-card .usd-price { font-size: 0.9rem; color: #5f6368; margin-left: 6px; }

/* Highlighted Pricing */
.price-card.highlight {
  border: 2px solid #d32f2f;
  background: linear-gradient(135deg, #fff, #fef4f4);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transform: scale(1.05);
}
.price-card.highlight h3 { color: #d32f2f; font-weight: 600; }
.price-card.highlight .cta-btn { background: #d32f2f; color: #fff; }

/* Management Pricing */
#management-pricing .pricing {
  display: flex; align-items: center; justify-content: center;
  gap: 30px; flex-wrap: wrap;
}
#management-pricing .price-card {
  display: flex; align-items: flex-start;
  gap: 20px; max-width: 960px;
  background: #fff; border: 1px solid #e0e0e0;
  border-radius: 6px; padding: 24px;
}
#management-pricing .price-card img.float-left {
  width: 280px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-right: 20px;
}
#management-pricing .price-content { flex: 1; }

#stickyImage {
  position: sticky;
  top: 10%;
}

.intro-container {
  background-color: #ffffff;
  color: #000000;
  font-family: Arial, sans-serif;
  padding: 30px;
  border: 2px solid #cc0000;
  border-radius: 8px;
}

.company-name {
  color: #cc0000;
  text-align: left;
  font-size: 32px;
  margin-bottom: 10px;
}

.tagline {
  color: #000000;
  text-align: left;
  font-size: 22px;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 16px;
  line-height: 1.6;
}

.section-title {
  color: #cc0000;
  margin-top: 20px;
  font-size: 20px;
}

.service-list, .benefit-list {
  font-size: 16px;
  line-height: 1.6;
  margin-left: 20px;
}

.closing-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-top: 20px;
}

/* Contact */
#contact p { text-align: center; font-size: 1rem; }
#contact a { color: #d32f2f; font-weight: 500; }
#contact a:hover { color: #202124; }
hr { border: none; border-top: 1px solid #e0e0e0; margin: 12px 0; }

/* Footer */
footer {
  background: #202124;
  border-top: 2px solid #d32f2f;
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: #fff;
}
address{
  background: #202124;
  text-align: left;
  padding: 16px;
  font-size: 0.85rem;
  color: #fff;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 20px; right: 20px;
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  display: none;
  transition: background 0.3s ease, opacity 0.3s ease;
}
#backToTop:hover { background: #b71c1c; }
#backToTop.show { display: block; opacity: 1; }

/* Contact Form */
.contact-form-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.contact-form-container h2 {
  text-align: center;
  color: #d32f2f;
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #202124;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}
.phone-group {
  display: flex; gap: 10px;
}
.phone-group select { flex: 1; }
.phone-group input { flex: 2; }
.contact-form button {
  width: 100%;
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover { background: #b71c1c; }




/* File preview container */
#upl-preview {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Each file item */
#upl-preview div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Delete button styled like a mobile app */
#upl-preview button {
  background: #ff4d4f; /* professional red tone */
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px; /* pill shape */
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover/active states */
#upl-preview button:hover {
  background: #e04345;
  transform: scale(1.05);
}
#upl-preview button:active {
  background: #c93638;
  transform: scale(0.95);
}

/* Warning message */
#upl-preview div[style*="color: red"] {
  background: #fff5f5;
  border: 1px solid #ffcccc;
  color: #d93025;
  font-weight: 600;
}


/* Popup */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 6px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/*Promo Message*/
.promo-message {
  background: #fff;
  padding: 20px;
  text-align: left;
  font-size: 1.2rem;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  margin: 20px auto;
  max-width: 920px;
  transition: box-shadow 0.2s ease;
}

/*Careose*/
    .services-carousel {
      position: relative;
      width: 100%;
      max-width: 1000px;
      margin: auto;
      border-radius: 8px;
      overflow: hidden;
      text-align: center;
    }

    .carousel-item {
      display: none;
      padding: 30px;
      border-radius: 6px;
      animation: fade 1s ease-in-out;
      position: relative;
      background: #fff;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s ease;
    }

    .carousel-item.active {
      display: block;
    }

    .carousel-item h3 {
      margin: 0;
      font-size: 1.4rem;
      font-weight: 700;
    }

    .overlay {
      transition: opacity 0.5s ease;
      font-size: 1rem;
      margin-top: 15px;
    }

    .carousel-item:hover .overlay {
      opacity: 1;
    }

    @keyframes fade {
      from { opacity: 0.4; }
      to   { opacity: 1; }
    }

    /* Navigation Arrows */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border: none;
      color: #fff;
      font-size: 2rem;
      padding: 4px;
      cursor: pointer;
      border-radius: 50%;
      width: 50px;
    }
    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }

    /* Navigation Dots */
    .carousel-dots {
      text-align: center;
      margin-top: 15px;
    }
    .carousel-dots button {
      border: none;
      background: #888;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin: 0 5px;
      cursor: pointer;
    }
    .carousel-dots button.active {
      background: #d32f2f;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .carousel-item h3 { font-size: 1.2rem; }
      .overlay { font-size: 0.9rem; }
      
       .carousel-item {
      width: 60%;
      height: 124px;
      margin: auto;
      text-align: left;
    }
    }
    
/* Responsive Adjustments */
@media (max-width: 600px) {
  #rc{ font-size: 18px; }
  #saying{ font-size: 12px; }
  .phone-group { flex-direction: column; }
  .company-info h1 { font-size: 1.6rem; }
  .cta-btn { padding: 8px 18px; }
  footer { padding-bottom: 60px; }

  /* Stack image above text on mobile for management section */
  #management-pricing .price-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  #management-pricing .price-card img.float-left {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%; max-width: 320px;
  }
  #stickyImage {
  position: relative;
}
}