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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(13, 31, 61, 0.92);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  animation: fadeIn 1s ease-out;
}

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

/* Header Styles */
header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.icon-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

.circular-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3498db;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
  transition: transform 0.3s ease;
}

.circular-icon:hover {
  transform: scale(1.1);
}

h1 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  color: #bdc3c7;
  font-weight: 300;
}

/* Navigation Styles */
nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}

nav ul li {
  margin: 0.5rem 1rem;
}

nav ul li a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

nav ul li a:hover {
  color: #ffffff;
  background-color: rgba(52, 152, 219, 0.5);
}

/* Section Styles */
section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 2rem;
  color: #ffffff;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

/* Skills Section */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-category h3 {
  color: #3498db;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.skill-category ul {
  list-style-type: none;
}

.skill-category li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.skill-category li i {
  margin-right: 0.75rem;
  color: #3498db;
  width: 20px; /* Align icons */
  text-align: center;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.experience-item {
    background-color: rgba(25, 50, 95, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.experience-item h3 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

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

.project-item {
  background-color: rgba(25, 50, 95, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-item h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Honors Section */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.honor-item {
    background-color: rgba(52, 152, 219, 0.15);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: background-color 0.3s ease;
}

.honor-item:hover {
    background-color: rgba(52, 152, 219, 0.3);
}

/* Leadership Section */
.leadership-list {
    list-style-type: none;
    padding-left: 0;
    columns: 2;
    column-gap: 2rem;
}

.leadership-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.2rem;
    position: relative;
}

.leadership-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Contact Section */
.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  gap: 1rem;
}

.contact-list li a {
  background-color: rgba(52, 152, 219, 0.2);
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: inline-block;
  color: #e0e0e0;
  font-weight: bold;
}

.contact-list li a:hover {
  transform: translateY(-5px);
  background-color: rgba(52, 152, 219, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.contact-list li i {
  margin-right: 0.75rem;
}

/* General Link Styles */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #5dade2;
  text-decoration: underline;
}

/* Footer Styles */
footer {
  margin-top: 3rem;
  text-align: center;
  color: #a0a0a0;
  border-top: 1px solid rgba(52, 152, 219, 0.3);
  padding-top: 1.5rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links p {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 1.1rem;
    font-weight: bold;
}

.mirror-sites {
    font-size: 0.9rem;
    color: #888;
}

.mirror-sites a {
    font-size: 0.9rem;
    font-weight: normal;
    color: #aaa;
}

.copyright {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .leadership-list {
        columns: 1;
    }
}

@media (max-width: 600px) {
  .container {
    margin: 1rem;
    padding: 1rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .project-grid, .skill-grid, .honors-grid, .experience-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }
  
  .contact-list {
    flex-direction: column;
    align-items: center;
  }
}