/*

Wambunifu - Professional Business Website Enhanced Version

*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #28a745;
  --primary-dark: #218838;
  --primary-light: #6cff8f;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --accent-color: #ff6b35;
  --gradient-primary: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  --gradient-dark: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
  background: #ffffff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.8rem;
    margin-bottom: 1rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

/* Buttons */
.custom-btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
    z-index: 1;
}

.custom-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.custom-btn:hover:before {
  left: 100%;
}

.custom-btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

.custom-btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.custom-btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.custom-btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.2);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: fixed !important;
  top: 0;
  width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
  font-size: 2.2rem;
}

.nav-link {
  font-weight: 600;
    font-size: 1.1rem;
    margin: 0 15px;
    color: var(--dark-color) !important;
  position: relative;
  padding: 8px 0 !important;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
    height: 3px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 1.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-dark);
  color: white;
  padding: 180px 0 100px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(40, 167, 69, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    url('../images/pattern.png') repeat;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: white;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffffff, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-btns {
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-btns .custom-btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.05);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

/* Services Section */
.services-section {
  padding: 120px 0;
  background: var(--light-color);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 5px;
  background: var(--gradient-primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.section-title p {
  color: var(--secondary-color);
  max-width: 600px;
  margin: 2rem auto 0;
  font-size: 1.2rem;
}

.service-card {
  background: white;
  padding: 50px 35px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
    height: 100%;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
}

.service-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: inline-block;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-card h4 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.service-card p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio-section {
  padding: 120px 0;
  background: white;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 350px;
}

.portfolio-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(40, 167, 69, 0.95), rgba(32, 201, 151, 0.8));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 30px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.2s;
}

.portfolio-item:hover .portfolio-overlay h5,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-dark);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(40, 167, 69, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-section h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.footer h5 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
    margin-top: 20px;
  }
  
  .social-icons a {
    display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Floating Animations */
@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.float-animation {
  animation: floatUpDown 3s ease-in-out infinite;
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 991px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }
    .hero-section {
      padding: 150px 0 80px;
  }
  
    .hero-content h1 {
      font-size: 3.2rem;
  }
  
    .section-title h2 {
      font-size: 2.5rem;
  }
  
  .navbar-collapse {
    background: white;
      padding: 20px;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      margin-top: 15px;
  }
  
    .nav-link {
      margin: 5px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    padding: 130px 0 60px;
  }
  
    .hero-content h1 {
      font-size: 2.5rem;
  }
  
    .section-title h2 {
      font-size: 2.2rem;
  }
  
    .services-section,
    .portfolio-section {
      padding: 80px 0;
  }
  
    .hero-btns .custom-btn {
      display: block;
      width: 100%;
      margin-bottom: 15px;
  }
  
    .service-card {
      padding: 40px 25px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
    .hero-section {
      padding: 120px 0 50px;
  }
  
    .hero-content h1 {
      font-size: 2.2rem;
  }
  
    .section-title h2 {
      font-size: 2rem;
  }
  
    .service-card {
      padding: 30px 20px;
  }
  
    .footer {
      padding: 60px 0 20px;
  }
}