/* Base Styles */
body {
  color: #40514E;
  font-family: 'Merriweather Sans', sans-serif;
  margin: 0;
  text-align: center;
  background-color: #ffffff;
}

h1 {
  color: #66BFBF;
  font-family: 'Sacramento', serif;
  font-size: 4.5rem;
  margin-bottom: 10px;
}

h2 {
  color: #66BFBF;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

h3 {
  color: #11999E;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

p {
  line-height: 1.8;
  font-size: 1rem;
}

hr {
  border: none;
  border-top: 6px dotted #66BFBF;
  width: 60px;
  margin: 60px auto;
}

/* Header Navigation */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #11999E;
  font-family: 'Montserrat', sans-serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #40514E;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
  color: #11999E;
  transform: translateY(-2px);
}

/* Top Section */
.top-container {
  background-color: #EAF6F6;
  padding: 60px 20px 20px 20px;
  position: relative;
  overflow: hidden;
}

.intro-text {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.intro-text h1 {
  font-size: 3.8rem;
  margin-bottom: 5px;
}

.intro-text h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #66BFBF;
  margin-bottom: 20px;
}

.mountain {
  display: block;
  margin: 5px auto 0 auto;
  max-width: 100%;
  height: auto;
}

/* Cloud Animation */
@keyframes cloudMoveRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(50px); }
}

@keyframes cloudMoveLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50px); }
}

.top-cloud {
  position: absolute;
  top: 20px;
  right: 100px;
  width: 100px;
  opacity: 0.8;
  animation: cloudMoveRight 6s ease-in-out infinite alternate;
}

.bottom-cloud {
  position: absolute;
  top: 80px;
  left: 100px;
  width: 100px;
  opacity: 0.8;
  animation: cloudMoveLeft 6s ease-in-out infinite alternate;
}

/* Middle Section */
.middle-container {
  margin: 100px auto;
  padding: 0 20px;
}

.hello {
  margin: 60px auto;
}

/* Profile Section */
.profile {
  margin: auto;
  text-align: left;
  max-width: 800px;
}

.profile-pic {
  border-radius: 100px;
  height: 200px;
  float: left;
  margin-right: 30px;
}

.about {
  text-align: left;
  font-size: 1.1rem;
}

/* Skills Section */
.skills {
  margin-top: 80px;
}

.skills-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.skill-box {
  flex: 1;
  min-width: 280px;
  background-color: #fdfdfd;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.skill-box:hover {
  transform: translateY(-5px);
}

.skill-box h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #11999E;
}

.skill-box p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #40514E;
}

.skill-box ul {
  padding-left: 20px;
}

.skill-box ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Experience, Education, Certifications */
/* Styling for Work Experience Section */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 30px;
  border-left: 3px solid #66BFBF;
}

.timeline-content {
  text-align: left;
}


.timeline-item {
  margin-bottom: 40px;
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: #66BFBF;
  border-radius: 50%;
  border: 3px solid #ffffff;
}

.timeline-date {
  font-size: 0.9rem;
  color: #11999E;
  margin-bottom: 5px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  color: #40514E;
  margin-bottom: 5px;
}

.timeline-content .role {
  font-weight: bold;
  color: #666;
  margin-bottom: 10px;
}

.timeline-content ul {
  padding-left: 20px;
  list-style-type: disc;
  color: #555;
}

.experience-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.experience-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.job {
  margin-bottom: 40px;
}

.job h3 {
  font-size: 20px;
  color: #444;
  margin-bottom: 5px;
}

.job p {
  font-weight: bold;
  margin-bottom: 10px;
  color: #666;
}

.job ul {
  padding-left: 20px;
  list-style-type: disc;
  color: #555;
}

.education, .certifications {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
}

.education h2, .certifications h2 {
  color: #11999E;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.education ul, .certifications ul {
  padding-left: 20px;
  list-style-type: disc;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

/* Contact Section */
.contact-section {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px;
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.contact-title {
  font-size: 2rem;
  color: #11999E;
  margin-bottom: 20px;
}

.contact-description {
  font-size: 1.1rem;
  color: #40514E;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-button {
  display: inline-block;
  background-color: #66BFBF;
  color: #ffffff;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #11999E;
}


/* Footer */
.bottom-container {
  background-color: #66BFBF;
  padding: 40px;
  margin-top: 100px;
}

.footer-link {
  color: #EAF6F6;
  margin: 0 20px;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.copy-write {
  color: #EAF6F6;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .profile-pic {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }

  .profile {
    text-align: center;
  }

  .about {
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.project-card {
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-top: 0;
  color: #11999E;
}

.card-content p {
  color: #40514E;
  font-size: 0.95rem;
  margin: 10px 0;
}

.card-content a {
  color: #66BFBF;
  text-decoration: none;
  font-weight: bold;
}

.card-content a:hover {
  color: #11999E;
}

.contact-phone {
  display: inline-block;
  margin-top: 20px;
  font-size: 1.1rem;
  color: #40514E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-phone:hover {
  color: #11999E;
}

.contact-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 1.1rem;
  color: #40514E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-telegram:hover {
  color: #11999E;
}
