/* General Body Styles */
body {
  font-family: Arial, Helvetica, sans-serif !important;
  background-color: #000000;
  cursor: url('images/mouse.svg'), auto;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease-in-out;
}

/* Navbar Styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.6);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  animation: fadeIn 1s ease-out;
}

.navbar-image {
  height: 40px;
  transition: transform 0.3s ease-in-out;
}

.navbar-image:hover {
  transform: scale(1.1);
}

.nav-link {
  color: rgb(0, 0, 0);
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

.nav-link:hover {
  color: rgb(27, 123, 248);
  transition: color 0.3s ease;
}

.nav-link:nth-child(1) {
  animation-delay: 0.3s;
}

.nav-link:nth-child(2) {
  animation-delay: 0.6s;
}

.nav-link:nth-child(3) {
  animation-delay: 0.9s;
}

.nav-link:nth-child(4) {
  animation-delay: 1.2s;
}

.nav-link:nth-child(5) {
  animation-delay: 1.5s;
}

/* Main Content */
.main-content {
  margin-top: 10vh; 
  padding: 5vh;
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
}

.banner-image {
  width: 100%;
  height: auto;
  margin-top: 10vh;
  opacity: 0;
  animation: slideInFromLeft 1s ease-out forwards;
}

.main-text {
  color: rgb(255, 255, 255);
  margin-top: 10vh;
  margin-left: 20px;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

h2{
  background: linear-gradient(to right, #f7f7f7fe, #88c3ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;     
      text-transform: uppercase;
      font-weight: 900;
}

/* Button Styles */
.btn {
  margin-top: 20px;
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 1s;
}

.contact-btn{
  background-color: #4559d9;
  margin-left: 21vh;
}

.contact-btn:hover{
  background-color: #2b47fd;
}
/* Media Queries for Responsive Design */

/* For Tablets (Portrait) */
@media (max-width: 768px) {
  .navbar-image {
      height: 30px;
  }

  .banner-image {
      margin-top: 15vh;
      width: 100%;
  }

  .main-text {
      margin-top: 20vh;
      margin-left: 10px;
  }
}

/* For Mobile Devices (Portrait) */
@media (max-width: 480px) {
  .navbar-image {
      height: 25px;
  }

  .main-text {
      margin-top: 25vh;
      margin-left: 10px;
      font-size: 14px;
  }

  .banner-image {
      margin-top: 10vh;
      height: 40vh;
  }


  /* Navbar links stacked on top */
  .navbar-nav {
      text-align: center;
  }

  .nav-item {
      padding: 10px 0;
  }
}

/* For Desktop */
@media (min-width: 1024px) {
  .navbar-image {
      height: 50px;
  }

  .banner-image {
      margin-top: 15vh;
      height: 50vh;
  }

  .main-text {
      margin-top: 15vh;
      margin-left: 20vh;
  }
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* Skills Section */
.skills-section {
  padding-top: 25vh;
  padding-bottom: 20vh;
}

.skills-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.skills-title::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  background-color: #45d9a1;
}

.skill {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.skill:nth-child(1) {
  animation-delay: 0.2s;
}
.skill:nth-child(2) {
  animation-delay: 0.4s;
}
.skill:nth-child(3) {
  animation-delay: 0.6s;
}
.skill:nth-child(4) {
  animation-delay: 0.8s;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
}

.skill-percentage {
  color: white;
  opacity: 0.9;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: #2a2a2a;
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: #4559d9;
  border-radius: 2px;
  width: 0;
  transition: width 1.5s ease;
}

/* Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skill Section and Experience */

.skills-container{
  padding-top: 15vh;
  padding-bottom: 15vh;
}
.skills-title, .experience-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.skill {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    background-color: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    height: 6px;
}

.progress {
    background-color: #4560d9;
    height: 100%;
    transition: width 1s ease;
}

/* Experience Section */
.experience-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #4560d9;
    margin-right: 0.5rem;
}

.experience-card {
  background: linear-gradient(to right, #626afc7c, #5f6bba);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.experience-card:hover {
    transform: translateX(8px);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(69, 217, 161, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.briefcase-icon {
    width: 24px;
    height: 24px;
    stroke: #4560d9;
}

.experience-content {
    flex: 1;
}

.date {
    color: #4560d9;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.role {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.company {
    color: rgba(255, 255, 255, 0.8);
}

.description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}


.skill-section {
 margin-top: 6vh;
}


/* Service Section */
.services-container{
  padding-top: 7vh;
  padding-bottom: 7vh;
}


/* Social Media section */
.contact-card {
  background: linear-gradient(to right, #626afc7c, #5f6bba);
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.title {
  color: white;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 0.5vh;
}

input, textarea {
  width: 100%;
  padding: .5vh;
  margin-bottom: .5vh;
  background-color: rgba(255, 255, 255, 0.1);
  border: solid 1px;
  border-radius: 0.3rem;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: background-color 0.3s ease;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

input:focus, textarea:focus {
  background-color: rgba(255, 255, 255, 0.2);
}

textarea {
 
  resize: vertical;
}

.submit-btn {
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin-left: auto;
}

.submit-btn:hover {
  background-color: #2563eb;
}

.send-massage-btn {
  margin-left: auto;
  display: block;
}


@media (max-width: 480px) {
  .contact-card {
      padding: 1.5rem;
  }

  .title {
      font-size: 2rem;
  }
}

/* Social Media Section */
.social-title{
  text-align: center;
}

.contact-card {
  background: linear-gradient(to right, #626afc7c, #5f6bba);
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.social-card{
  display: flex;
  justify-content: center;
}

.social-title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: bold;
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none; /* Remove underline */
}

.social-icon:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}


.social-icon i {
  transition: color 0.3s ease;
}

.social-icon:hover i {
  color: #ffffff;
}






/* Default styling for social card (already given) */

/* Media Query for iPhone X (375px screen width) */
@media (max-width: 767px) {
  .social-card {
    flex-direction: column; /* Stack the elements vertically */
    align-items: center; /* Center align content */
    margin: 0 15px; /* Add some margin for smaller screens */
  }

  .contact-card {
    padding: 1rem; /* Reduce padding on smaller screens */
    width: 100%; /* Make the card width responsive */
    margin-bottom: 1.5rem; /* Add margin between social cards */
  }

  .social-title {
    font-size: 1.25rem; /* Reduce font size for smaller screens */
    margin-bottom: 1rem; /* Add some margin below title */
  }

  .social-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem; /* Reduce gap between icons */
    flex-wrap: wrap; /* Allow icons to wrap on smaller screens */
  }

  .social-icon {
    width: 40px; /* Reduce icon size */
    height: 40px; /* Reduce icon size */
    font-size: 1.2rem; /* Reduce icon font size */
  }

  .map-card {
    padding: 1rem; /* Adjust padding for map card on mobile */
  }
}







/* Map Card */
.map-card{
  
  padding: .2rem;
  border-radius: .5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Projects Section */

.projects-container {
  position: relative;
  display: inline-block;
}

.projects-1 {
  border-radius: 1vh;
  border: solid 2px;
  border-color: #ffffff;
  height: 30vh;
  width: 60vh;
}

.projects-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000095;
  border-radius: 1vh;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.projects-container:hover .projects-overlay {
  opacity: 1;
}

.projects-caption {
  display: flex;
  justify-content: center ;
  color: #ffffff;
  font-size: 2vh;
  visibility: hidden;
}

.projects-container:hover .projects-caption {
  visibility: visible;
}


@media (max-width: 767px) {
  .projects-1 {
    width: 100%; /* Ensure images fill the width of smaller screens */
    height: auto;
  }

.projects-2{
  border-radius: 1vh;
  border: solid 2px;
  border-color: #ffffff;
  height: 30vh;
  width: 60vh;
}

.project-section{
  display: flex;
  justify-content: center;
}


/* Footer */

.footer-container{
  background: linear-gradient(to right, #626afc7c, #5f6bba);
  display: flex;
  justify-content: center;
  color: #ffffff;
  margin-top: 5vh;
  padding-top: 5vh;
  padding-bottom: 3vh;
}
