/* Base Styles */
:root {
  --sky: #00A8E8;
  --slate: #2D3142;
  --offwhite: #F8F9FA;
  --white: #FFFFFF;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --radius: 0.5rem;
  --font-family: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--offwhite);
  cursor: none;
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Cursor */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: rgba(0, 168, 232, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.1s ease-out, background-color 0.3s ease-out;
  opacity: 0;
}

.cursor-border {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9998;
  pointer-events: none;
  transition: transform 0.3s ease-out;
  opacity: 0;
}

@media (min-width: 768px) {
  .cursor-dot, .cursor-border {
    opacity: 1;
  }
}

/* Utility Classes */
.container-custom {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--sky);
  margin: 1rem auto 1.5rem;
}

.section-description {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--gray-600);
}

.text-gradient {
  background: linear-gradient(to right, var(--sky), #4f9cf9);
  -webkit-background-clip: text;
  /* font-size: 12px; */
  background-clip: text;
  color: transparent;
}

.text-accent {
  color: var(--sky);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: none;
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--sky);
  color: white;
}

.btn-primary:hover {
  background-color: #0096d1;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--sky);
  color: var(--sky);
}

.btn-secondary:hover {
  background-color: rgba(0, 168, 232, 0.1);
}

.btn-white {
  background-color: white;
  color: var(--sky);
}

.btn-white:hover {
  background-color: #f1f1f1;
}

.btn-outline-white {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
}

.nav-links {
  display: none;
}

.nav-link {
  position: relative;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--sky);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--sky);
}

.nav-link:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active:after {
  transform: scaleX(1);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--slate);
  transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--slate);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-link {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--sky);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.bg-elements {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-circle-1 {
  position: absolute;
  top: 25%;
  right: -3rem;
  width: 16rem;
  height: 16rem;
  background: linear-gradient(to bottom right, var(--sky), #4f9cf9);
  opacity: 0.2;
  border-radius: 50%;
  filter: blur(3rem);
}

.bg-circle-2 {
  position: absolute;
  bottom: 33%;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: linear-gradient(to top right, var(--sky), #4f9cf9);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.profile-circle {
  position: relative;
  width: 18rem;
  height: 18rem;
}

.profile-circle-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--sky), #4f9cf9);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(2rem);
  animation: pulse 2s infinite alternate;
}

.profile-circle-gradient {
  position: absolute;
  inset: 1rem;
  background: linear-gradient(to bottom right, var(--sky), #4f9cf9);
  border-radius: 50%;
}

.profile-circle-inner {
  position: absolute;
  inset: 1.25rem;
  background: white;
  border-radius: 50%;
  overflow: hidden;
}

.profile-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 3fr 2fr;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .button-group {
    justify-content: flex-start;
  }
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--offwhite);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.about-image {
  position: relative;
}

.image-border {
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid var(--sky);
  border-radius: var(--radius);
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  color: var(--sky);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.personal-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item h4 {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.highlight {
  color: var(--sky);
  font-weight: 500;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Skills Section */
/* .skills-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.skill-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid transparent;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.skill-card h3 {
  color: var(--sky);
  margin-bottom: 1.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags span {
  background-color: var(--white);
  color: var(--slate);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.skill-tags span:hover {
  border-color: var(--sky);
  background-color: rgba(0, 168, 232, 0.05);
}

.skill-meters {
  margin-top: 4rem;
}

.skill-meters h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.skill-meters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.skill-meter {
  margin-bottom: 1.5rem;
}

.skill-meter-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-percentage {
  color: var(--sky);
  font-weight: 600;
}

.skill-meter-bar {
  height: 0.6rem;
  background-color: var(--gray-200);
  border-radius: 9999px;
  overflow: hidden;
}

.skill-meter-fill {
  height: 100%;
  background: linear-gradient(to right, var(--sky), #4f9cf9);
  border-radius: 9999px;
  transition: width 1.5s ease;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skill-meters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
} */


/* Override or extend skills-grid for flat skill items */
.flat-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
}

.skill-item {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 120px;
  text-align: center;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

  /* NEW FLEX CENTERING */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--sky);
}

.skill-item img {
  max-width: 40px;
  height: 40px;
  margin-bottom: 0.7rem;
  object-fit: contain;
  filter: grayscale(0);
  transition: filter 0.3s ease;
}

.skill-item:hover img {
  filter: brightness(1.2);
}

.skill-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
}


/* Education Section */
.education-section {
  padding: 6rem 0;
  background-color: var(--offwhite);
}

.education-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.education-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.education-card-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
}

.education-logo {
  width: 6rem;
  height: 6rem;
  border-radius: 0.5rem;
  overflow: hidden;
}


.education-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.education-duration {
  display: inline-block;
  background-color: rgba(0, 168, 232, 0.1);
  color: var(--sky);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.5rem 0;
}

.education-details h3 {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.education-details h4 {
  color: var(--sky);
  margin-bottom: 1rem;
}

.education-details p {
  color: var(--gray-600);
}

@media (min-width: 768px) {
  .education-card-content {
    flex-direction: row;
  }
  
  .education-duration {
    margin: 0;
  }
  
  .education-header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  
  .education-details {
    flex: 1;
  }
}

/* Experience Section */
.experience-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.timeline {
  position: relative;
}

.timeline-line {
  display: none;
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

.timeline-dot {
  display: none;
}

.timeline-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.company-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.company-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-info h3 {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0;
}

.job-duration {
  display: inline-block;
  background-color: rgba(0, 168, 232, 0.1);
  color: var(--sky);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-card h4 {
  color: var(--sky);
  margin-bottom: 1rem;
}

.timeline-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.responsibilities h5 {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.responsibilities ul {
  color: var(--gray-600);
  margin-left: 1.25rem;
}

.responsibilities li {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--gray-200);
    transform: translateX(-50%);
  }
  
  .timeline-item {
    width: 50%;
  }
  
  .timeline-item:nth-child(odd) {
    margin-left: auto;
    padding-left: 2.5rem;
  }
  
  .timeline-item:nth-child(even) {
    padding-right: 2.5rem;
  }
  
  .timeline-dot {
    display: block;
    position: absolute;
    top: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--sky);
    border-radius: 50%;
    border: 4px solid white;
    z-index: 1;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot {
    left: -12px;
    transform: translateX(-50%);
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    right: -12px;
    transform: translateX(50%);
  }
}

/* 
.projects-section {
  padding: 6rem 0;
  background-color: var(--offwhite);
}

.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.project-filter {
  background-color: var(--white);
  color: var(--slate);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-filter:hover {
  background-color: rgba(0, 168, 232, 0.1);
}

.project-filter.active {
  background-color: var(--sky);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.2);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr; /* always one column */
  /* gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}


.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  flex: 1;
  height: 100%;
  min-width: 250px;
  max-width: 300px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  background-color: var(--white);
  color: var(--slate);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-info {
  flex: 2;
  padding: 1.5rem;
}


.project-info h3 {
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.project-info p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.project-link {
  color: var(--sky);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.arrow-icon {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.project-link:hover .arrow-icon {
  transform: translateX(5px);
} */

/* @media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
} */

/* @media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }

  .project-image {
    width: 100%;
    height: 12rem;
  }
} */ */

.experience-section {
  padding: 6rem 0;
  background-color: var(--white);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  width: 4px;
  background-color: var(--gray-200);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--sky);
  border-radius: 50%;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
  z-index: 2;
}

.timeline-card {
  width: 45%;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-card {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-card {
  margin-right: auto;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.company-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-info h3 {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0;
}

.job-duration {
  display: inline-block;
  background-color: rgba(0, 168, 232, 0.1);
  color: var(--sky);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-card h4 {
  color: var(--sky);
  margin-bottom: 1rem;
}

.timeline-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.job-location {
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

/* Projects Section Styles */
.projects-section {
  padding: 6rem 0;
  background-color: var(--offwhite);
}

.project-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.project-card {
  display: flex;
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-card:nth-child(even) {
  flex-direction: row-reverse;
}

.project-image {
  flex: 1;
  min-width: 45%;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.project-info h3 {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.project-info p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background-color: var(--offwhite);
  color: var(--slate);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-link {
  color: var(--sky);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.arrow-icon {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.project-link:hover .arrow-icon {
  transform: translateX(5px);
}

/* Responsive styling */
@media (max-width: 992px) {
  .timeline-line {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
    transform: none;
  }
  
  .timeline-card {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .project-card, 
  .project-card:nth-child(even) {
    flex-direction: column;
  }
  
  .project-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-card {
    width: calc(100% - 40px);
    margin-left: 40px !important;
  }
  
  .project-info {
    padding: 1.5rem;
  }
  
  .company-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Events Section */
.events-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--sky), #4f9cf9);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--offwhite);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 168, 232, 0.1);
  color: var(--sky);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  color: var(--slate);
}

.contact-card p a {
  color: var(--gray-600);
}

.contact-card p a:hover {
  color: var(--sky);
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--slate);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--gray-800);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 2fr;
  }
  
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
.footer {
  background-color: var(--slate);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-info p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  max-width: 20rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--sky);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-links-column h4 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-links-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--sky);
}

.footer-links-column ul {
  list-style: none;
  margin-left: 0;
}

.footer-links-column ul li {
  margin-bottom: 0.75rem;
}

.footer-links-column a {
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.footer-links-column a:hover {
  color: white;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-400);
}

.contact-details svg {
  color: var(--sky);
}

.copyright {
  text-align: center;
  color: var(--gray-400);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 3fr;
  }
}

/* Animation Classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}