/* Universal Resets and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif; /* Use a modern, easy-to-read font */
    line-height: 1.6;
    color: #333; /* Dark gray text */
    background-color: #f4f4f9; /* Light background */
    scroll-behavior: smooth;
}

/* Container for Centering Content */
.container {
    width: 80%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
   }

/* Header & Navigation Styling */
.header {
    background: #2a619e; /* Cloudflare-inspired blue */
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
}

.header ul {
    list-style: none;
    display: flex;
}

.header ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s;
}

.header ul li a:hover {
    background-color: #4a81c0;
}

/* Hero Section */
.hero {
    background: #e0e6f0;
    color: #333;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    margin-top: 20px;
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Make it circular */
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   
}

/* Button Style */
.button {
    display: inline-block;
    background: #2a619e;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background: #4a81c0;
}

/* General Section Styling */
section {
    padding: 60px 0;
}

section:nth-child(even) { /* Alternate background color for readability */
    background: #fff;
}

.title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    border-bottom: 3px solid #2a619e;
    display: inline-block;
    padding-bottom: 5px;
}

/* Projects Section Specifics */
.projects-container{
 padding:100px,0;
}
.project-card h3 {
  margin-top: 0;
  color: #0077b6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  display: block;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom : 10px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.project-card img {
  width: 100%;        /* fits image inside card */
  height: 200px;      /* uniform height */
  object-fit: cover;  /* crops nicely without distortion */
  margin: 10px 0;
  border-radius: 5px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #0078d7;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

.intro{
  display: flex;
  align-items: center;
  gap:20px;
}


/* Footer Styling */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer a {
    color: #fff;
}