html, body {
  font-family: 'Poppins', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #fefefe, #eaf6ff);
  color: #444;
  transition: background 0.5s ease;
}

h1 strong {
  font-weight: 900;
  color: #ff7b54;
}
h2 {
  line-height: 24px;
  font-size: 34px;
  font-weight: 800;
  margin: 0;
  color: #3a3a8d;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
h3 {
  font-size: 18px;
  font-weight: 700;
  color: #4a90e2;
}
h4 {
  font-size: 20px;
  color: #5b5ba8;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  color: #ffb84c;
  letter-spacing: 1px;
}
p {
  font-family: 'Open Sans', sans-serif;
  color: #555;
}

a {
  color: #3cc3b5;
  transition: color 0.3s ease, transform 0.3s ease;
}
a:hover, a:focus {
  text-decoration: none;
  color: #ff7b54;
  transform: scale(1.05);
}

#home {
  position: relative;
  background: url("../img/background.jpg") center center / cover no-repeat;
  height: 60vh;
   min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

#home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);  
  z-index: 1;
}


#home .intro-text {
  position: relative;
  z-index: 2; 
}


#home .intro-text h1 {
  font-size: 60px;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

#home .intro-text p {
  color: #fff;
  font-size: 20px;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}


.btn-default {
  color: #fff;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border: none;
  margin: 0 8px;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn-default:hover {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #fff;
  transform: translateY(-2px);
}


#services-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #fef6e4, #e4f9f5);
  transition: background 0.5s ease;
}
#works-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #e4f1fe, #fef6f9);
}


#services-section i.fa {
  font-size: 45px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  color: #ffb84c;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}
#services-section i.fa:hover {
  transform: scale(1.2) rotate(10deg);
  color: #4facfe;
}


#menu.navbar-default {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}
#menu a.navbar-brand {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 900;
  color: #4a90e2;
  margin-left: -70%;
}
#menu.navbar-default .navbar-nav > li > a {
  text-transform: uppercase;
  color: #555;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
#menu.navbar-default .navbar-nav > li > a:hover {
  color: #ff7b54;
}


#achievements {
  padding: 80px 0;
  background: linear-gradient(135deg, #38f9d7, #43e97b);
  color: #fff;
}
.achievement-box span.count {
  font-size: 52px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.header-logo {
  height: 120px;            
  margin-top: -23%;        
  margin-bottom: 20px;     
  display: block;
  margin-left: -14%;
  margin-right: auto;       
  transition: transform 0.3s ease;
}


.header-logo:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .header-logo {
    height: 60px;
    margin-top: -10px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .header-logo {
    height: 50px;
    margin-top: -5px;
    margin-bottom: 10px;
  }
}
.thumbnail img {
   width: 200px;
    height: 200px;
    object-fit: contain;
}

.section-title,
.section-title.center {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 38px;
  color: #3a3a8d;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  position: relative;
}


.section-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  margin: 15px auto 0;
  border-radius: 2px;
}


.section-title p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 10px auto 0;
  line-height: 1.6;
}


section, 
#services-section, 
#works-section, 
#about-section, 
#team-section, 
#achievements, 
#contact-section {
  padding-top: 50px;
  padding-bottom: 70px;
}


h2, h3, h4, h5 {
  margin-top: 30px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
}


#home .intro-text h1 {
  margin-bottom: 30px;
  letter-spacing: 2px;
}

#home header p {
  margin-bottom: 60px;
}


#contact-section {
  background: linear-gradient(135deg, #fff7e6, #e0f7fa);
  padding: 120px 0 60px 0;
}
#contact-section .btn {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border: none;
  border-radius: 30px;
  color: #fff;
  transition: transform 0.3s ease;
}
#contact-section .btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}


#social-section {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  text-align: center;
}
#social-section .social i.fa {
  font-size: 26px;
  color: #fff;
  transition: transform 0.3s ease;
}
#social-section .social i.fa:hover {
  transform: scale(1.2) rotate(8deg);
  color: #ffe156;
}

#footer {
  background: #2c3e50;
  color: #ddd;
  text-align: center;
  padding: 20px 0;
}
#footer a {
  color: #00f2fe;
}
#footer a:hover {
  color: #43e97b;
}

@keyframes bounceIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title h2, #services-section i.fa, .btn-default {
  animation: bounceIn 0.8s ease;
}

@media (max-width: 768px) {

  
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
    padding: 0 15px;
  }

  
  #home {
    height: auto;
    padding: 80px 20px;
  }

  #home .intro-text h1 {
    font-size: 36px;
    letter-spacing: 1px;
  }

  #home .intro-text p {
    font-size: 16px;
  }

  
  #menu a.navbar-brand {
    margin-left: 0;
    font-size: 22px;
    text-align: center;
  }

  #menu.navbar-default .navbar-nav > li > a {
    font-size: 14px;
    text-align: center;
  }

 
  .btn-default {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 10px auto;
    font-size: 15px;
    padding: 12px;
  }

  
  .thumbnail img {
    width: 160px;
    height: 160px;
  }

  
  section,
  #services-section,
  #works-section,
  #about-section,
  #team-section,
  #achievements,
  #contact-section {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  
  .header-logo {
    height: 60px;
    margin: 0 auto 15px auto;
    display: block;
  }

}

