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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 85px;
  line-height: 1.6;
  max-width: 1200px;
}

.logos-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 30px 20px;
  background: white;
  margin: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

nav {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #5568d3 0%, #6b5b95 100%);
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

nav a {
  padding: 10px 16px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-left: 3px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-left-color: #ffd700;
  transform: translateX(4px);
}

.nav-highlight {
  background-color: rgba(255, 215, 0, 0.3) !important;
  border-left-color: #ffd700 !important;
  font-weight: 700 !important;
}

.about-with-photo {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin: 20px;
}

.about-content {
  flex: 1;
}

.about-content h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #5568d3;
}

.about-content p {
  font-size: 15px;
  color: #555;
}

.contact-info {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-left: 4px solid #5568d3;
  border-radius: 8px;
}

.contact-info h3 {
  font-size: 16px;
  color: #5568d3;
  margin-bottom: 12px;
  margin-top: 0;
}

.contact-info p {
  font-size: 14px;
  color: #555;
  margin: 8px 0;
  line-height: 1.5;
}

.contact-info a {
  color: #5568d3;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #6b5b95;
}

.social-link,
.social-link:hover {
  color: white !important;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #5568d3;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #6b5b95;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(85, 104, 211, 0.3);
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.course {
  padding: 20px;
  background-color: #f8f9fa;
  border-left: 4px solid #5568d3;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(85, 104, 211, 0.15);
}

.course h3 {
  font-size: 16px;
  color: #5568d3;
  margin: 0;
  font-weight: 600;
}

.opportunities-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf1 100%);
}

.opportunity-card {
  padding: 25px;
  background: linear-gradient(135deg, #6b5b95 0%, #5568d3 100%);
  border-left: 5px solid #ffd700;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(107, 91, 149, 0.25);
  position: relative;
}

.opportunity-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 25px;
  font-size: 12px;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 1px;
}

.opportunity-card p {
  font-size: 16px;
  color: white;
  margin-bottom: 15px;
  line-height: 1.8;
  margin-top: 20px;
}

.opportunity-card p:first-of-type {
  margin-top: 35px;
}

.opportunity-card p:last-child {
  margin-bottom: 0;
}

.opportunity-card a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.opportunity-card a:hover {
  color: white;
  text-decoration: underline;
}

.hobbies-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf1 100%);
  border-top: 3px solid #5568d3;
}

.hobbies-section h1 {
  color: #5568d3;
}

.profile-photo {
  max-width: 150px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(85, 104, 211, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.profile-photo:hover {
  transform: scale(1.08) rotate(2deg);
}

section {
  margin: 20px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

section h1 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #5568d3;
  border-bottom: 3px solid #5568d3;
  padding-bottom: 10px;
}

section p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 12px 0;
  padding-left: 25px;
  position: relative;
}

li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #6b5b95;
  font-weight: bold;
}

li a {
  color: #5568d3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

li a:hover {
  color: #6b5b95;
  text-decoration: underline;
}

/* Responsive Design */

/* Tablets and smaller screens */
@media (max-width: 1024px) {
  body {
    padding-top: 80px;
  }

  nav {
    padding: 12px 15px;
  }

  nav a {
    padding: 8px 12px;
    font-size: 13px;
  }

  section {
    margin: 15px;
    padding: 20px;
  }

  .logos-section {
    gap: 30px;
    padding: 20px;
    margin: 15px;
  }

  .logo {
    max-height: 70px;
  }

  .about-with-photo {
    gap: 25px;
    padding: 25px 20px;
    margin: 15px;
  }

  .about-content h1 {
    font-size: 24px;
  }

  section h1 {
    font-size: 20px;
  }

  .courses {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .opportunity-card {
    padding: 20px;
  }

  .opportunity-card p {
    font-size: 14px;
  }

  .social-link {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* Medium screens and tablets */
@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }

  nav {
    position: fixed;
    max-width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 10px 10px;
    flex-wrap: wrap;
  }

  nav a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .logos-section {
    gap: 20px;
    padding: 15px;
    margin: 10px;
    flex-wrap: wrap;
  }

  .logo {
    max-height: 60px;
  }

  .about-with-photo {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin: 10px;
    text-align: center;
  }

  .profile-photo {
    max-width: 120px;
  }

  section {
    margin: 10px;
    padding: 15px;
  }

  .about-content h1 {
    font-size: 20px;
  }

  .about-content p {
    font-size: 14px;
  }

  section h1 {
    font-size: 18px;
  }

  section p {
    font-size: 14px;
  }

  nav a:hover {
    transform: translateX(0);
  }

  .courses {
    grid-template-columns: 1fr;
  }

  .opportunity-card {
    padding: 18px;
  }

  .opportunity-card p {
    font-size: 14px;
  }

  .social-links {
    gap: 8px;
  }

  .social-link {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  body {
    padding-top: 100px;
  }

  nav {
    padding: 8px 8px;
    gap: 5px;
  }

  nav a {
    padding: 6px 10px;
    font-size: 11px;
    flex: 0 1 auto;
    min-width: auto;
  }

  .logos-section {
    gap: 15px;
    padding: 12px;
    margin: 8px;
  }

  .logo {
    max-height: 50px;
  }

  .about-with-photo {
    padding: 15px;
    margin: 8px;
    gap: 15px;
  }

  .about-content h1 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .about-content p {
    font-size: 13px;
  }

  .profile-photo {
    max-width: 100px;
  }

  section {
    margin: 8px;
    padding: 12px;
  }

  section h1 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  section p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  li {
    margin: 8px 0;
    padding-left: 20px;
  }

  li a {
    font-size: 13px;
  }

  .courses {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .course {
    padding: 15px;
  }

  .course h3 {
    font-size: 14px;
  }

  .opportunity-card {
    padding: 15px;
    border-left: 4px solid #6b5b95;
  }

  .opportunity-card p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .social-links {
    gap: 6px;
  }

  .social-link {
    padding: 6px 12px;
    font-size: 11px;
  }
}
}