:root {
  --primary-color: #00897b;
  --secondary-color: #4db6ac;
  --dark-color: #1a1a2e;
  --light-color: #f5f5f5;
  --text-color: #333;
  --light-text-color: #f5f5f5;
  --background-color: #ffffff;
  --card-background: #ffffff;
  --section-background: #f5f5f5;
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --timeline-background: #f5f5f5;
  --timeline-dot-color: var(--primary-color);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --button-secondary-hover-bg: var(--light-text-color);
  --button-secondary-hover-text: var(--primary-color);
  --resume-button-bg: #455a64;
  --resume-button-hover-bg: #607d8b;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

/* Section Styles */
.section {
  padding: 100px 0;
}

.section:nth-child(odd) {
  background-color: var(--section-background);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Header & Navbar */
.hero {
  height: 100vh;
  position: relative;
  background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
  color: var(--light-text-color);
  overflow: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: var(--dark-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 15px 50px;
}

.logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-text-color);
  background-color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 8px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--light-text-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-btn {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--light-text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-image {
  flex: 1;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.hero-image img {
  max-width: 350px;
  border-radius: 50%;
  border: 5px solid var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* New photo gallery styles */
.hero-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 450px;
}

.gallery-main {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
  border: 5px solid var(--primary-color);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 1;
}

.gallery-main:hover img {
  transform: scale(1.05);
}

.gallery-thumbs {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.gallery-thumb.active {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  flex: 1;
  padding-left: 50px;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

h1 {
  font-size: 4rem;
  margin: 10px 0;
  color: var(--light-text-color);
  background: linear-gradient(to right, var(--light-text-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typed-text {
  font-size: 1.5rem;
  margin: 15px 0;
  color: var(--secondary-color);
  font-weight: 500;
}

.description {
  margin: 20px 0 30px;
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
  border: none;
  text-align: center;
}

.btn.primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.btn.primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn.secondary {
  background-color: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.btn.secondary:hover {
  background-color: var(--button-secondary-hover-bg);
  color: var(--button-secondary-hover-text);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn.resume-btn {
  background-color: var(--resume-button-bg);
  color: white;
  margin-left: 10px;
}

.btn.resume-btn:hover {
  background-color: var(--resume-button-hover-bg);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* About Section */
.about-text {
  margin-bottom: 40px;
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.key-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.skill-category {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  width: 240px;
  text-align: center;
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.skill-category i {
  margin-right: 5px;
}

.about-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.info-box {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  width: 200px;
  transition: var(--transition);
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-box h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Experience Cards */
.experience-container {
  margin-top: 50px;
}

.exp-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-left: 5px solid var(--primary-color);
}

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

.exp-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--light-text-color);
  padding: 20px;
  position: relative;
}

.exp-time {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.exp-card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.exp-card-header h4 {
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  opacity: 0.9;
}

.exp-card-header h4 i {
  margin-right: 10px;
}

.exp-card-content {
  padding: 25px;
  flex-grow: 1;
}

.exp-card-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-card-content li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.exp-card-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  background-color: rgba(0, 137, 123, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.exp-card-content p {
  margin: 0 0 20px;
}

.exp-card-footer {
  background-color: rgba(0, 0, 0, 0.02);
  padding: 15px 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.skill-category-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.skill-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.skill-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.skill-category-card h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  margin-bottom: 20px;
}

.skill-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: var(--transition);
}

.skill-item:hover img {
  transform: scale(1.1);
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  border-radius: 25px;
  padding: 8px 20px;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.project-img {
  height: 200px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  margin-bottom: 12px;
  color: var(--primary-color);
}

.project-info p {
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-techs span {
  background-color: rgba(0, 137, 123, 0.1);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.project-techs span:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.project-links a:hover {
  color: var(--secondary-color);
}

.project-links a i {
  font-size: 1.1rem;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  background-color: var(--card-background);
  padding: 25px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-right: 20px;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--card-background);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 137, 123, 0.1);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-text-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-text-color);
  background-color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 8px;
}

.footer-logo p {
  margin-top: 15px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--light-text-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .navbar {
    padding: 15px 30px;
  }
  
  .navbar.scrolled {
    padding: 10px 30px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
  }
  
  .hero-image, .hero-gallery {
    margin-bottom: 40px;
    max-width: 100%;
  }
  
  .hero-image img {
    max-width: 250px;
  }
  
  .gallery-main {
    height: 250px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-text {
    padding-left: 0;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .experience-container {
    margin-top: 30px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul li {
    margin: 15px 0;
  }
  
  .menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .about-boxes {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .info-box {
    width: 100%;
    max-width: 300px;
  }
  
  .skill-categories {
    grid-template-columns: 1fr;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-container {
    margin-top: 30px;
  }
  
  .exp-card {
    margin-bottom: 20px;
  }
  
  .exp-card-header h3 {
    font-size: 1.3rem;
  }
  
  .exp-card-header h4 {
    font-size: 1rem;
  }
  
  .work-tab-buttons {
    padding: 0 50px;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .exp-navigation {
    width: 100%;
    top: 50%;
  }
  
  .exp-nav-btn {
    width: 35px;
    height: 35px;
    position: absolute;
  }

  .exp-prev {
    left: 5px;
  }

  .exp-next {
    right: 5px;
  }
  
  .work-title {
    font-size: 1.6rem;
  }
  
  .work-company {
    font-size: 1.2rem;
  }
  
  .skills-masonry {
    grid-template-columns: 1fr;
  }
  
  .project-modal-content {
    width: 90%;
    margin: 10% auto;
  }
  
  .modal-header {
    padding: 15px 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .contact-card {
    min-width: 100%;
    padding: 30px 20px;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .typed-text {
    font-size: 1.2rem;
  }
  
  .gallery-main {
    height: 200px;
  }
  
  .gallery-thumb {
    width: 60px;
    height: 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .key-skills {
    flex-direction: column;
    align-items: center;
  }
  
  .skill-category {
    width: 100%;
  }
  
  .project-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 100%;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-stack span {
  background-color: rgba(0, 137, 123, 0.1);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.tech-stack span:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

/* Work Experience - Fixed Styles */
.work-tabs {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.work-tab-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 0 60px;
}

.work-tab-btn {
  padding: 15px;
  background-color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  min-width: 80px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 137, 123, 0.1);
  border-radius: 12px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.work-tab-btn:hover::before,
.work-tab-btn.active::before {
  transform: scaleX(1);
}

.work-tab-btn.active {
  color: var(--primary-color);
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 137, 123, 0.2);
  transform: translateY(-3px);
}

.work-tab-btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.work-tab-btn:hover .work-tab-btn-icon,
.work-tab-btn.active .work-tab-btn-icon {
  transform: scale(1.1);
}

.work-tab-btn span {
  font-weight: 600;
}

.exp-navigation.work-exp-only {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: 10;
  pointer-events: none;
}

.experience .work-tab-buttons {
  position: relative;
}

.exp-navigation:not(.work-exp-only) {
  display: none !important;
}

.exp-nav-btn {
  width: 40px;
  height: 40px;
  background-color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  margin: 0 10px;
}

.exp-nav-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.exp-prev {
  margin-left: 10px;
}

.exp-next {
  margin-right: 10px;
}

.work-tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.work-tab-content.active {
  display: block;
}

.work-tab-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.work-header {
  margin-bottom: 30px;
  position: relative;
}

.work-company {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.work-company i {
  margin-right: 12px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.work-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.work-duration {
  display: inline-block;
  background-color: rgba(0, 137, 123, 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.work-description ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.work-description li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
}

.work-description li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Redesigned Skills Section */
.skills-container {
  margin-top: 60px;
}

.skills-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.skill-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.skill-box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1;
}

.skill-box:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-header {
  padding: 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(0, 137, 123, 0.2);
}

.skill-icon-wrap i {
  color: white;
  font-size: 1.5rem;
}

.skill-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 600;
}

.skill-items {
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.skill-progress-item {
  margin-bottom: 0;
  position: relative;
}

.skill-progress-item:last-child {
  margin-bottom: 0;
}

.skill-progress-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 15px;
  background-color: rgba(0, 137, 123, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.skill-name:hover {
  background-color: rgba(0, 137, 123, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

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

.skill-percentage {
  display: none;
}

.skill-progress-bar {
  display: none;
}

.skill-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media screen and (max-width: 768px) {
  .work-tab-buttons {
    padding: 0 50px;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .exp-navigation {
    width: 100%;
    top: 50%;
  }
  
  .exp-nav-btn {
    width: 35px;
    height: 35px;
    position: absolute;
  }

  .exp-prev {
    left: 5px;
  }

  .exp-next {
    right: 5px;
  }
  
  .work-title {
    font-size: 1.6rem;
  }
  
  .work-company {
    font-size: 1.2rem;
  }
  
  .skills-masonry {
    grid-template-columns: 1fr;
  }
}

/* Achievements Section */
.achievements-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.achievement-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 30px;
  transition: var(--transition);
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.achievement-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 137, 123, 0.3);
}

.achievement-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.achievement-card p {
  color: var(--text-color);
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .achievements-container {
    flex-direction: column;
    align-items: center;
  }
  
  .achievement-card {
    max-width: 100%;
  }
}

/* Project Cards and Modal */
.project-details-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  font-weight: 500;
}

.project-details-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.project-modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.show {
  display: block;
  opacity: 1;
}

.project-modal-content {
  background-color: var(--card-background);
  margin: 5% auto;
  width: 80%;
  max-width: 800px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.project-modal.show .project-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 1;
}

.modal-close:hover {
  color: var(--primary-color);
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.modal-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
}

.modal-body {
  padding: 30px;
}

.modal-project-img {
  margin-bottom: 25px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.modal-project-img img {
  width: 100%;
  display: block;
}

.modal-project-description {
  margin: 25px 0;
}

.modal-project-description p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.modal-project-description ul {
  margin: 15px 0;
  padding-left: 20px;
}

.modal-project-description li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.modal-project-description li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.modal-project-tech h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Updated Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 137, 123, 0.3);
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact-card p a {
  color: var(--text-color);
  transition: var(--transition);
  display: inline-block;
}

.contact-card p a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .project-modal-content {
    width: 90%;
    margin: 10% auto;
  }
  
  .modal-header {
    padding: 15px 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .contact-card {
    min-width: 100%;
    padding: 30px 20px;
  }
}

/* Profile Showcase Styles */
.profile-showcase {
  flex: 1;
  position: relative;
  height: 400px;
  max-width: 600px;
  margin-right: 30px;
  perspective: 1000px;
  animation: showcase-intro 1s ease-out forwards;
}

@keyframes showcase-intro {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  animation: photo-reveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 137, 123, 0.2),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.main-photo {
  position: absolute;
  width: 70%;
  height: 80%;
  top: 0;
  left: 0;
  z-index: 3;
  animation-delay: 0.2s;
}

.profile-photos {
  position: absolute;
  width: 100%;
  height: 100%;
}

.profile-photo.photo1 {
  position: absolute;
  width: 40%;
  height: 45%;
  top: 15%;
  right: 0;
  z-index: 2;
  transform: rotate(5deg);
  animation-delay: 0.4s;
}

.profile-photo.photo2 {
  position: absolute;
  width: 43%;
  height: 40%;
  bottom: 0;
  left: 10%;
  z-index: 1;
  transform: rotate(-8deg);
  animation-delay: 0.6s;
}

.profile-photo.photo3 {
  position: absolute;
  width: 35%;
  height: 35%;
  bottom: 15%;
  right: 5%;
  z-index: 1;
  transform: rotate(10deg);
  animation-delay: 0.8s;
}

.profile-photo:hover {
  transform: scale(1.05) translateZ(30px);
  z-index: 10;
}

.profile-photo.photo1:hover {
  transform: scale(1.05) rotate(2deg) translateZ(30px);
}

.profile-photo.photo2:hover {
  transform: scale(1.05) rotate(-4deg) translateZ(30px);
}

.profile-photo.photo3:hover {
  transform: scale(1.05) rotate(5deg) translateZ(30px);
}

.profile-photo.active {
  border: 3px solid var(--primary-color);
}

@keyframes photo-reveal {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Update responsive styles */
@media screen and (max-width: 992px) {
  .profile-showcase {
    max-width: 450px;
    height: 350px;
    margin: 0 auto 40px;
  }
}

@media screen and (max-width: 768px) {
  .profile-showcase {
    max-width: 350px;
    height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .profile-showcase {
    max-width: 280px;
    height: 280px;
  }
  
  .main-photo {
    width: 65%;
    height: 75%;
  }
}

/* New Slideshow Styles */
.profile-slideshow {
  flex: 1;
  position: relative;
  width: 380px;
  height: 380px;
  margin-right: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  z-index: 0;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 137, 123, 0.3), rgba(0, 0, 0, 0.5));
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@media screen and (max-width: 992px) {
  .profile-slideshow {
    margin: 0 auto 40px;
    width: 320px;
    height: 320px;
  }
}

@media screen and (max-width: 768px) {
  .profile-slideshow {
    width: 280px;
    height: 280px;
  }
}

@media screen and (max-width: 480px) {
  .profile-slideshow {
    width: 240px;
    height: 240px;
  }
} 