/* === General === */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #081C24;
  color: #E6E7E8;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: rgba(8, 28, 36, 0.9);
  border-bottom: 1px solid #3DEEE4;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo h1 {
  color: #3DEEE4;
  font-size: 1.4rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #E6E7E8;
  transition: color 0.3s;
}

nav a:hover {
  color: #00C1A2;
}

/* === Hero === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: left;
  background: linear-gradient(135deg, #081C24, #0D1E25);
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  padding: 2rem;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text span {
  color: #3DEEE4;
}

.hero-text p {
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid #3DEEE4;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(61, 238, 228, 0.3);
}

/* === Buttons === */
.btn {
  background-color: #3DEEE4;
  color: #081C24;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #00C1A2;
  color: #fff;
  transform: scale(1.05);
}

/* === About === */
.about {
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  color: #5FE2F0;
  margin-bottom: 1.5rem;
}

/* === Skills === */
.skills {
  padding: 4rem 2rem;
  background-color: #0D1E25;
  text-align: center;
}

.skills h2 {
  color: #3DEEE4;
  margin-bottom: 2rem;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  flex: 0 0 300px;
  background: #081C24;
  border: 1px solid #3DEEE4;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
  z-index: 1;
}

.strip {
  color: white;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(61, 238, 228, 0.25);
  z-index: 2;
}

.card h3 {
  color: #5FE2F0;
  margin-bottom: 1rem;
}

/* === Resume === */
.resume {
  padding: 4rem 2rem;
  text-align: center;
}

.paragraph {
  max-width: 800px;     /* keeps the content from stretching too wide */
  margin: 0 auto;       /* centers the block horizontally */
  text-align: left;     /* aligns text to the left */
  padding: 20px;        /* optional: adds breathing room */
}

.resume h2 {
  color: #3DEEE4;
  margin-bottom: 1rem;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #06151A;
  border-top: 1px solid #3DEEE4;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-image img {
    width: 180px;
    height: 180px;
  }

  .card {
    flex: 0 0 260px;
  }
}



