/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

/* Header */
header {
  background: #333;
  color: #fff;
  padding-top: 50px;
  min-height: 150px;
  border-bottom: #77aaff 5px solid;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 48px;
}

header .tagline {
  font-size: 24px;
  margin: 10px 0;
}

header .mission {
  font-size: 18px;
  font-style: italic;
}

/* Sections */
section {
  padding: 40px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 36px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.skill {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.skill h3 {
  margin-top: 0;
  color: #77aaff;
}

/* Projects */
.project {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #77aaff;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.project h3 {
  margin-top: 0;
  color: #333;
}

.project p {
  margin: 10px 0;
  color: #555;
}

.project strong {
  color: #333;
}

/* Testimonials */
.testimonial {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

blockquote {
  font-style: italic;
  margin: 0;
}

blockquote + p {
  text-align: right;
  font-weight: bold;
}

/* Contact Button */
.btn {
  display: inline-block;
  background: #77aaff;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
}

.btn:hover {
  background: #5599ff;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}
/* Passport Photo Styling */
#passport-photo-container {
    /* Absolute positioning relative to the 'header' parent */
    position: absolute;
    top: 50px;      /* Distance from the top of the header */
    right: 10%;     /* Distance from the right edge of the page (aligned with container) */
    width: 150px;   /* Fixed width */
    height: 180px;  /* Fixed height */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
    border: 4px solid #fff; 
    border-radius: 50%; /* Makes it round/oval */
    overflow: hidden; 
}

#passport-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.btn {
  display: inline-block;
  background-color: #d63031;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #b71c1c;
}



/* === Education Section Styling === */
#education {
  padding: 40px 0;
  background-color: #f9f9f9;
}

#education h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.education-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

/* Education Box Style */
.education-item {
  flex: 0 0 300px; /* fixed width */
  height: 300px;
  background-color: #ffffff;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hover effect */
.education-item:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.education-item h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #2c3e50;
}

.education-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .education-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .education-item {
    width: 90%;
    height: auto;
  }
}


/* Logo inside education box */
.edu-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

/* === Education Section Styling === */
#education {
  padding: 40px 0;
  background-color: #f9f9f9;
}

#education h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.education-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

/* Education Box Style */
.education-item {
  flex: 0 0 300px; /* fixed width */
  height: 300px;
  background-color: #ffffff;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hover effect */
.education-item:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.education-item h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #2c3e50;
}

.education-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .education-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .education-item {
    width: 90%;
    height: auto;
  }
}


/* Logo inside education box */
.edu-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

