@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to right
  , #7F7FD5, #86A8E7, #91EAE4) ; /* Gradient */
  color: #ffffff;
  padding: 20px;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: linear-gradient(to right, #ff8fab, #ffe5ec); /*  gradient */
  color: #ffffff;
  text-align: center;
  padding: 40px 0;
  border: 3px solid #0B1D51;   /* Black border */
  border-radius: 20px;         /* Rounded corners */
}

header h1,
header p {
  color: #003566;
}

.profile-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10% / 9%;
  border: 2px solid #003566;
  margin-top: 15px;
}

section {
  margin: 20px 0;
  padding: 20px;
  background-color: #003566;        /* Deep indigo background */
  color: #ffc300;                   /* Golden yellow text */
  border: 2px solid #ffffff;
  border-radius: 15px;
  box-shadow: 0 0 10px #32cd3233;
}


h2 {
  color: #ffffff;
  margin-bottom: 15px;
}

h3 {
  color: #ffffff; /* Match section heading color */
  margin-bottom: 10px;
}

ul {
  list-style: square inside;
  color: #ffc300;
}

.cv-button,
form button {
  color: #000;
  background-color: #ffffff;
  padding: 5px 15px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.2s;
}

.cv-button:hover,
form button:hover {
  background-color: #ffc300;
}

form {
  display: flex;
  flex-direction: column;
}

#contact form {
  margin-top: 20px; /* Adds vertical space between text and form */
}


form input,
form textarea {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #911818;
}

/* GitHub link style */
.github-link {
  color: #ffffff;
  text-decoration: underline;
}

.github-link:hover {
  color: #00ffcc;
}

/* Footer styling */
footer {
  text-align: center;
  margin-top: 40px;
}

footer a {
  color: #003566;
  text-decoration: underline;
}

.projects article {
  margin-bottom: 25px;
}


