 /* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Global Body */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}

/* Container - Fix width layout */
.container {
    width: 90%;
    max-width: 1100px; /* fixed max width */
    margin: 0 auto; /* center align */
}

/* Profile Picture */
.profile-picture {
    text-align: center;
    margin-bottom: 20px;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Header Navigation */
header {
    background: #003366;
    color: white;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

nav .logo {
    font-size: 1.5em;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav ul li a.active,
nav ul li a:hover {
    border-bottom: 2px solid white;
}

/* About Section */
.about-section {
    display: flex;
    padding: 40px;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.about-left {
    flex: 1;
    background: #003366;
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.about-left a {
    color: #FFD700;
}

.about-right {
    flex: 1;
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
}

/* Skills */
.skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.skills div {
    background: #f0f0f0;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Portfolio Section */
.portfolio-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.portfolio-section .section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}

.portfolio-section .section-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #666;
}

/* Project Card */
.project-card {
  max-width: 320px;                /* Thoda chhota card */
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e0e0e0;       /* Light border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Preview Image */
.project-preview img {
  width: 100%;
  height: 180px;                   /* Chhoti height */
  object-fit: cover;
  display: block;
}

/* Project Details */
.project-details {
  padding: 16px;
}

.project-details h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

.project-details p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Button */
.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #003366; /* Theme color */
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #003366;
}

/* Footer */
.footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-social {
    margin-bottom: 10px;
}

.footer-social a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #FFD700;
}

.footer p {
    font-size: 14px;
    margin: 0;
}
