/* Base styles */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #f3f4f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.primary-button,
.secondary-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.primary-button {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-button:hover {
  background-color: var(--primary-dark);
}

.secondary-button {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.secondary-button:hover {
  background-color: var(--border-color);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: none;
}

.nav-link {
  margin: 0 0.75rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-link:hover:after {
  width: 100%;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s;
}

.menu-toggle.active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 4rem;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  z-index: 40;
}

.mobile-menu.active {
  max-height: 300px;
}

.mobile-link {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.mobile-link:hover {
  background-color: var(--secondary-color);
}


/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(90deg, hsla(221, 45%, 73%, 1) 0%, hsla(220, 78%, 29%, 1) 100%);
  color: var(--white);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}



.hero-text p {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-image {
  max-width: 300px;
  max-height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(251, 251, 248, 0.3);
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

/* Education Section */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  padding-left: 2.5rem;
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.timeline-content {
  background-color: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.timeline-place {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-date {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}


/* Contact Section */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  
}

.contact-info {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 2vh;
 
}
.contact-info a{
  font-size: 2rem;
}



/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 2rem 0;
}

.footer p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}







/* Media Queries */
@media (min-width: 768px) {
  .nav-links {
      display: flex;
  }

  .menu-toggle {
      display: none;
  }

  .hero-content {
      flex-direction: row;
      text-align: left;
      justify-content: space-between;
      align-items: center;
  }
 

  .hero-text {
      max-width: 50%;
  }

  .hero-buttons {
      justify-content: flex-start;
  }
  .hero-text p{
    color: #ffffff;
  }

  .contact-content {
      flex-direction: row;
  }

  .contact-info,
  .contact-form {
      width: 50%;
  }

  .timeline:before {
      left: 50%;
  }

  .timeline-item {
      padding-left: 0;
      width: 50%;
  }

  .timeline-item:nth-child(odd) {
      margin-left: auto;
      padding-left: 2.5rem;
  }

  .timeline-item:nth-child(even) {
      margin-right: auto;
      padding-right: 2.5rem;
      text-align: right;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
      left: -6px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
      right: -6px;
      left: auto;
  }

  

}
@media (max-width: 760px) {

  .hero-text p {
      display: none;
  }
  .hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
  }


}







