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

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

header {
    background: #0b3d91;
    padding: 1rem 2rem;
    color: white;
}

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

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: #e3f2fd;
}

.hero span {
    color: #0b3d91;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #0b3d91;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: auto;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    font-size: 24px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0077ff;
}


.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background: #0b3d91;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    list-style: none;
    cursor: pointer;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 4px 2px 10px 2px #6882d647;
}

.card a{
    text-decoration: none;
    color: rgb(15, 35, 180);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input,
form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    cursor: pointer;
    padding: 0.8rem;
    margin: auto;
    background: #0b3d91;
    color: white;
    border: none;
    border-radius: 5px;
    width: 140px;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #0b3d91;
    color: white;
}

.experience-entry {
    background: white;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 4px 2px 10px 2px #6882d647;
}

.experience-entry h3 {
    color: #0b3d91;
    margin-bottom: 0.3rem;
}

.experience-entry h4 {
    font-weight: normal;
    color: #555;
    margin-bottom: 0.5rem;
}

.experience-entry ul {
    padding-left: 1.2rem;
    list-style: disc;
}

.experience-entry li {
    margin-bottom: 0.4rem;
}


/* animation css */
.hero h1, .hero p, .hero .btn {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: fadeInBody 1s ease;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}