img {
    height: 200px;
}
nav {
    background-color: #dde3ff !important;
}
.profile-img {
  display: block;
  margin: 20px auto;
  max-width: 250px;
}

@media (min-width: 768px) {
  .profile-img {
    margin: 0; 
    max-width: 350px;
  }
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(to left, #3e4a70, #292d3c);
  padding: 80px 0;
}

.hero-section h1 {
  font-family: 'Poppins', sans-serif;
}

.hero-section p {
  font-size: 1.2rem;
  color: #f8f9fa; 
}

.hero-section img {
  animation: float 3s ease-in-out infinite alternate;
  box-shadow: 0px 0px 10px white;
}

@keyframes float {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(15px); }  
  100% { transform: translateX(-15px); } 
}
.contact:hover {
    color: #3e4a70;
}
.projects {
    background-color: white;
    color: #3e4a70;
}
.projects:hover{
    background-color: rgb(255, 207, 104);
    color: #ffffff;
}

/* about */
.about {
    color: #3e4a70 !important;
}
 /*projects*/
#projects {
    background: linear-gradient(to left, #3e4a70, #292d3c);
    color: white;
}
.cards {
    background-color: white;
    border-radius: 25px;
    color: #3e4a70;
    box-shadow: 1px 1px 7px rgb(0, 0, 0);
}
.cards a {
    background-color: #3e4a70;
    color: white;
}
.cards a:hover {
    background-color:  rgb(255, 207, 104);
    color: #ffffff;
    transform: scale(0.9);
    transition: 1s ease;
}
.cards h3 {
    text-decoration: underline;
    text-shadow: 2px 1px 1px #b3b8d0;
}
.see-more {
    color:  rgb(255, 207, 104);
    font-size: 20px;
    font-weight: bold;
}
.see-more:hover {
    color: white;
    transition: 1s ease;
}
#seeMoreBtn:focus {
  box-shadow: none;
  color: #899cdb;
}

#contact {
  background: linear-gradient(to right, #292d3c, #3e4a70);
  color: white;
}

.contact-card {
  display: block;
  padding: 30px;
  border-radius: 20px;
  background: white;
  color: #3e4a70;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 1px 1px 7px rgba(0,0,0,0.3);
}

.contact-card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ffcf68;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  background: #ffcf68;
  color: #292d3c;
  transform: translateY(-10px);
  box-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.contact-card:hover i {
  transform: scale(1.2) rotate(10deg);
  color: #292d3c;
}

.contact-card h5 {
  font-weight: bold;
  margin-bottom: 5px;
}

