/* Import a cursive attractive font */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
.circle-img {
  width:400px;         /* adjust size */
  height: 400px;        /* must be equal for a circle */
  border-radius: 50%;   /* makes it circular */
  object-fit: cover;    /* crops to fit inside circle */
  border: 4px solid #00d2ff;  /* optional border color */
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* optional shadow */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pacifico', cursive;
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
header {
  background: rgba(0, 0, 50, 0.6);
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: yellow;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

.hero h2 {
  font-size: 40px;
}

.hero .highlight {
  color: yellow;
}

.hero p {
  font-size: 22px;
  margin: 15px 0;
}

.hero button {
  padding: 10px 25px;
  border: none;
  border-radius: 20px;
  background: yellow;
  color: black;
  cursor: pointer;
  transition: transform 0.3s;
}

.hero button:hover {
  transform: scale(1.1);
}

/* Sections */
.section {
  padding: 80px 40px;
  text-align: center;
}

.skills-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-card, .project-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s, background 0.3s;
}

.skill-card:hover, .project-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
}

form input, form textarea {
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-radius: 10px;
}

form button {
  background: yellow;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: bold;
}

form button:hover {
  background: orange;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(0,0,50,0.6);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}