* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}
@font-face {
  font-family: nasalization;
  src: url(../fonts/nasalization.otf);
}
/* General Styling */
body {
  font-family: 'nasalization', Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

h1, h2, h3, h4 {
  color: #343a40;
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  color: #0056b3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Sidebar Styling */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: #343a40;
  color: #fff;
  padding: 20px 0px 20px 20px;
}

.sidebar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#basic-info h1 {
  text-align: center;
  font-size: 22px;
  color: white;
}

#basic-info h6 {
  text-align: center;
  margin: 5px 0;
  line-height: 15px;
}

.nav-link {
  color: #fff;
  font-size: 16px;
  padding: 5px 15px;
  margin: 1px 0px;
  border-radius:  20px 0px 0px 20px;
  transition: background-color 0.3s, transform 0.2s;
  color: #343a40;
  background-color: #f8f9fa;
  animation: fadeleft 3s ease-in-out;
}

.nav-link:hover {
  background-color: #495057;
  transform: translateX(-10px);
  color: whitesmoke;
}

/* Main Content Styling */
.content {
  margin-left: 300px;
  padding: 50px 0px 0px;
}

#welcome-section p{
  max-width: 550px;
  margin: 0px auto ;
  text-align: center;
}

#services-section{
  margin: 50px 0px;
}
.content h1 {
  /* font-size: 36px; */
  margin-bottom: 20px;
  text-align: center;
  animation: fadeIn 3s ease-in-out;
  background-color: #343a40;
  color: white;
}

.content h2 {
  animation: fadeIn 3s ease-in-out;
  background-color: #343a40;
  color: white;
  max-width: 600px;
  padding: 5px 20px ;
  border-radius: 0px 20px 20px 0px;
  animation: faderight 3s ease-in-out;
}

.service-box h3{
  font-size: 25px;
}

.content p {
  font-size: 18px;
  text-align: center;
  color: #555;
}

/* Interactive Features */
.service-box {
  min-height: 250px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0px 15px;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-box p{
  text-align: center;
}

.service-icon {
  font-size: 50px;
  color: #007bff;
  margin-bottom: 10px;
}

.portfolio-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;  
  border-radius: 20px;
  border: 1px solid #ddd;
  background-color: #fff;
  text-align: center;
  margin: 15px;
}

.portfolio-item:hover {
  transform: scale(1.05);
  
}

.portfolio-item img {
  width: 100%;
}

/* Buttons */
.btn {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s;
}

.btn:hover {
  /* background-color: #0056b3; */
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faderight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeleft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Contact Section */
#contact-section {
  text-align: center;
  margin: 50px 0px 0px;
  padding: 20px;
  background-color: #343a40;
}

#contact-section h3 {
  color: #fff !important;  
  font-size: 28px;
  margin-bottom: 10px;
}
#contact-section p {
  color: #fff !important;
}

#contact-section .btn {
  background-color: #fff;
  color: #343a40;
  font-weight: bold;
}

#contact-section .btn:hover {
  background-color: #343a40;
  color: #fff;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .content {
    margin-left: 0;
  }

  .service-box {
    margin-bottom: 20px;
  }
}