/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
}

/* Default icon color (white) */
.box-item ion-icon {
  color: white;
  font-size: 30px;
  transition: color 0.3s ease; 
}

/* Change icon color to green on hover */
.box-item:hover ion-icon {
  color: #28a745; /* Green color for hover */
}

/* scroll bar to top */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #2c3e50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    width: 45px; /* Set width and height for a circular button */
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: #28a745;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.navbar {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 10px 20px;
    position: relative;
    height: 60px; /* Set a height for the navbar */
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Ensures the content is vertically centered */
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .nav-links ul {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #28a745;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .hamburger span {
    height: 3px;
    width: 25px;
    background-color: #ffffff;
    margin: 4px 0;
    transition: all 0.3s;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px; /* Adjust this if navbar height changes */
      left: 0;
      background-color: #2c3e50;
      width: 100%;
      padding: 10px 0;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links ul {
      flex-direction: column;
      align-items: center;
    }
  
    .nav-links li {
      margin: 10px 0;
    }
  
    .hamburger {
      display: flex;
    }
  }
.tagline {
    font-style: italic;
    color: #7f8c8d;
    font-size: 1.2em;
}

/* Project Section Styles */
.project {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Enhanced shadow for depth */
    margin-bottom: 40px;
    padding: 30px;
    /* Increased padding for spaciousness */
    transition: transform 0.3s ease;
    /* Smooth scale transition */
}

.project:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
}

.project h2 {
    font-size: 2em;
    margin-top: 0;
    color: #2980b9;
    border-bottom: 2px solid #2980b9;
    padding-bottom: 10px;
}

.project-description {
    margin: 15px 0;
    line-height: 1.6;
}

strong {
    color: #e67e22;
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.image-gallery ,img, video {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.contact {
    background: #050505;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    width: 96%;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #9064e4;
    box-sizing: border-box;
}

.contactinfo {
    flex: 1 1 200px;
    margin: 5px;
}

.contact h2{
    margin-right: 10px;
}

.contactinfo a {
    text-decoration: none;
    color: white;
    width: 90%;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background: #1e1e1e;
    transition: background 0.3s, transform 0.3s;
}

.contactinfo a:hover {
    background: #9064e4;
    transform: translateY(-2px);
}

.contactinfo i {
    margin-right: 10px;
}
@media (max-width: 768px) {
    .contact {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        width: 90%; 
        margin: 0 auto; 
    }

    .contact  .contactinfo {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        margin-bottom: -140px;
        width: 100%; 
    }
    
.contactinfo a {
    width: 90%;
}
}
/* Footer Styles */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project {
        padding: 20px;
        /* Adjust padding on smaller screens */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
        /* Responsive title size */
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        /* Adjust grid for small screens */
    }

    .project {
        padding: 15px;
        /* Less padding for smaller devices */
    }
}


.cv a{
    text-decoration: none;
    color: white;
  
  }
  .cv {
    background-color: #9064e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 15%;
    height: 50px;
    margin-top: 10px;
    border-radius: 15px;
    margin-right: auto;
    margin-left: auto;
    font-weight: bolder;
    margin-bottom: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .cv:hover {
    background-color: green;
    transform: scale(1.05);
  }
  
  @media (max-width: 768px) {
    .cv {
        width: 50%; 
        height: 40px; 
    }
  }
  
  @media (max-width: 480px) {
    .cv {
        width: 40%; 
        margin-right: auto;
        height: 30px; 
        margin-left: auto;
    }
  }
  
