@import url("https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Add to style.css */

/* Initial styles for animated elements */
[data-motion-animate] {
  opacity: 0;
  transform: translateY(50px); /* Default, overridden by data-initial */
}

/* Scroll section styles */
.scroll-section {
  box-sizing: border-box;
  width: 100%;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.gallery-section {
  background: #000;
}

.gallery-grid img {
  transition: none;
}

.footer {
  background-color: #000;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(7, 123, 50, 0.3);
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navigation */
nav {
  width: 100%;
  height: 10vh;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav_container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.logo {
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 700;
}

.logo span {
  color: #077b32;
  text-shadow: 0 0 10px rgba(7, 123, 50, 0.7);
}

/* Navigation Links */
.nav_container .links {
  display: flex;
  gap: 1.5rem;
}

.nav_container .links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  transition: all 0.3s ease;
}

.nav_container .links a.active {
  color: #077b32;
}

.nav_container .links a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #077b32;
  transition: width 0.3s ease;
}

.nav_container .links a:hover::before {
  width: 100%;
}

.nav_container .links a:hover {
  color: #077b32;
}

/* Mobile Navigation */
.nav_container .hamburger {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.8rem;
}

.nav_container .cancel {
  position: absolute;
}

.dropdown {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 999;
}

.dropdown.active {
  transform: translateY(0);
}

#dr-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.dropdown .links a {
  display: block;
  font-size: 1.5rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.cancel {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
}

/* Main Content */
section {
  width: 100%;
  min-height: 90vh;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.main-container .image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(7, 123, 50, 0.5);
  transition: transform 0.3s ease;
}

.main-container .image:hover {
  transform: scale(1.03);
}

.main-container .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-container .content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.content h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 1rem;
}

.content h1 span {
  color: #077b32;
  text-shadow: 0 0 10px rgba(7, 123, 50, 0.7);
}

.content .typewriter {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.content .typewriter-text {
  color: #077b32;
  font-weight: 600;
}

.content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-bottom: 2rem;
  color: #ccc;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid #077b32;
  border-radius: 50%;
  color: #077b32;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #077b32;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(7, 123, 50, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .main-container {
    gap: 2rem;
  }

  .main-container .image {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .nav_container .links {
    display: none;
  }

  .nav_container .hamburger {
    display: block;
  }

  .dropdown {
    display: flex;
  }

  .main-container {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .content {
    padding-top: 2rem;
  }
}

@media (max-width: 576px) {
  .nav_container {
    padding: 0 1rem;
  }

  .main-container .image {
    max-width: 280px;
  }

  .social-links a {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }

  .dropdown .links a {
    font-size: 1.2rem;
  }
}

/* Achievements Page Styles */
.achievements-section {
  padding: 5rem 1rem;
  background-color: #f9f9f9;
  color: #333;
}

.achievements-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.achievements-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 3rem;
  position: relative;
}

.achievements-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #077b32;
  margin: 1rem auto 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
  font-size: 2.5rem;
  color: #077b32;
  margin-bottom: 1rem;
}

.achievement-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.achievement-card .year {
  font-weight: bold;
  color: #077b32;
  margin-bottom: 1rem;
}

.achievement-card p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    padding: 1.5rem;
  }
}

/* Experience Section */
.experience-section {
  padding: 4rem 2rem;
  background-color: #111;
}

.experience-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.experience-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 3rem;
  color: #fff;
  position: relative;
}

.experience-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #077b32;
  margin: 1rem auto 0;
}

.experience-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #077b32;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}

.experience-item.current {
  border-left: 3px solid #fff;
}

.experience-header {
  margin-bottom: 1rem;
}

.experience-date {
  color: #077b32;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.experience-title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.experience-hospital {
  color: #aaa;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}

.experience-duties {
  padding-left: 1.5rem;
  color: #eee;
}

.experience-duties li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .experience-item {
    padding: 1.2rem;
  }

  .experience-duties li {
    font-size: 0.95rem;
  }
}

/* Footer Styles */
.footer {
  background-color: #000;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(7, 123, 50, 0.3);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-social a {
  color: #077b32;
  font-size: 1.5rem;
  margin: 0 0.75rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-copyright {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 600px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-social a {
    font-size: 1.3rem;
    margin: 0 0.5rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }
}

/* Gallery Section */
.gallery-section {
  padding: 2rem;
  background-color: #000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(7, 123, 50, 0.5);
}

/* Responsive Grid */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 200px;
  }
}
