@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
/* style.css */
body {
       background-color: #ffffff;
    font-family: "Comfortaa", sans-serif;
    color: #db6009;
    margin: 0;
    padding: 0;
}
/* ---------------------------------------navbar---------------------------- */
.navbar-nav .nav-item:hover .hover-effect {
    display: block;
    background-color: #0d0c0c;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
  }
  
  .navbar-nav .nav-item:hover .nav-link {
    color: #666;
  }
  

/* -------------------------------------container------------------------------ */
.container {
    padding: 50px 0;
    margin-top: 10px;
    
}

.name {
    font-size: 4em;
    font-weight: bold;
    color: #04074f; 
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-in-out; /* Add animation */
}

.title {
    font-size: 1.5em;
    font-weight: bold;
     color: #04074f; 
     animation: fadeInUp 1.2s ease-in-out; /* Add animation */
}

.description {
    margin-bottom: 20px;
    animation: fadeInUp 1.4s ease-in-out; /* Add animation */
}

.buttons {
    display: flex;
    gap: 10px;
    margin-left:230px ;
    animation: fadeInUp 1.6s ease-in-out; /* Add animation */
}


.btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease-in-out; /* Add transition for hover effect */
    animation: fadeInUp 1.8s ease-in-out; /* Add animation */
}

.btn btn-warning {
    background-color:#fd6e0a; /* Blue */
    color: #fff;
    margin-left:600px ;
    
}


/* Animation definitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn:hover {
  transform: scale(1.05); /* Scale button on hover */
}

.btn.btn-warning {
  background-color: #fd6e0a; /* Blue */
  color: #fff;
  transition: background-color 0.3s ease-in-out; /* Add transition for background color change */
}

.btn.btn-warning:hover {
  background-color: #ff9900; /* Change hover color */
}
/* -------------------------------image------------------------ */

.image-container {
    position: relative;
}

.img-fluid {
    max-width: 100%;
    height: 50%;
    margin-top: -20px;
    animation: fadeInUp 1s ease-in-out; /* Add fadeInUp animation */ 
    
}

/* Animation definition */
@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.image-container:hover .img-fluid {
  transform: scale(1.05); /* Zoom in slightly on hover */
  
}
/* -------------------feature------------ */
.container-fluid2 {
    background-color: rgba(246, 245, 245, 0.915);
    margin-top: -600px;
    background-color:rgba(246, 245, 245, 0.915); 
    margin-top:-600px ;
  }
  
  .circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: orange;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto;
    margin-top: 19px;
    transition: background-color 0.3s ease-in-out; /* Add transition for hover effect */
    animation: fadeInUp 1s ease-in-out; /* Add fadeInUp animation */
  }
  .text-center{
    animation: fadeInUp 1.2s ease-in-out; /* Add fadeInUp animation */
  }
  
  .circle i {
    font-size: 32px;
    animation: fadeInUp 1.2s ease-in-out; /* Add fadeInUp animation */
  }
  /* Animation definition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  .circle:hover {
    background-color: #ff6b00; /* Change background color on hover */
  }
  
  .circle i {
    font-size: 32px;
    transition: color 0.3s ease-in-out; /* Add transition for hover effect */
  }
  
  .circle:hover i {
    color: #fff; /* Change icon color on hover */
  }
/* ------------------------container2---------------------- */
.container2 {
    margin-top: 70px;
    text-align: center;
    display: flex; /* added this to center the container */
    justify-content: center; /* added this to center the container horizontally */
    overflow: hidden;
    animation: fadeInUp 1s ease-in-out; /* Add fadeInUp animation */
}

.services-header {
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-in-out; /* Add fadeInUp animation */
}

.service-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(70, 69, 69);
    padding: 30px;
    margin-bottom: 20px;
    margin-left: 30px;
    text-align: left;
    display: inline-block; /* added this to center the service box */
    transition: transform 0.3s ease-in-out; /* Add transition for hover effect */
    animation: fadeInUp 1.4s ease-in-out; /* Add fadeInUp animation */
}
.service-box:hover {
  transform: scale(1.05); /* Scale slightly on hover */
  box-shadow: 0 8px 16px rgb(70, 69, 69); /* Increase box shadow on hover */
}

.service-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-bottom: 15px;
    color: #fff;
    line-height: 60px;
    text-align: center;
    font-size: 24px;
    animation: fadeInUp 1.6s ease-in-out; /* Add fadeInUp animation */
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    animation: fadeInUp 1.8s ease-in-out; /* Add fadeInUp animation */
    
}

.service-description {
    color: #2a1b0b;
    animation: fadeInUp 2s ease-in-out; /* Add fadeInUp animation */
}

/* Animation definition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  /*-------------------------- projects---------------------------- */
  .container {
    text-align: center;
    padding: 20px;
  }
  
  h1, h2 {
    margin-bottom: 20px;
    
  }
  
  
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeInUp 1s ease-in-out; /* Add fadeInUp animation */
    transition: transform 0.3s ease-in-out; /* Add transition for smooth animation */
  }
  /* Animation definition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  .portfolio-item:hover img {
    transform: scale(1.1); /* Zoom in on hover */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
    
  }
  /*footer */
  .container {
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
  }
  
  .connect {
    margin-bottom: 20px;
    margin-left:670px ;
    animation: slideInRight 0.5s ease-in-out
  }
  
  form {
    max-width: 500px;
    margin: 0 auto;
    animation: zoomIn 1s ease-in-out;
  }
  
  .form-group {
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease-in-out;
  }
  
  label {
    font-weight: bold;
    animation: fadeInLeft 0.5s ease-in-out;
  }
  
  .btn-primary {
    background-color: #ff6b00;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Add transition for smooth hover effect */
    animation: pulse 1s infinite;
  }

.btn-primary:hover {
  background-color: #ff8c32; /* Change background color on hover */
  animation: slideInLeft 0.5s ease-in-out;
}

  .para{
    margin-left: 250px;
  }
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0); 

    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);

        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInLeft 
 {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes  
 pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1); 

    }
}