* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  line-height: 1.6;
  color: #222;
}

/* NAVBAR */

header {
  color: white;

  background: linear-gradient(
    135deg,
    #0f2027,
    #203a43,
    #2c5364
  );
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 10%;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

.logo {
  font-weight: bold;
}

/* HERO LAYOUT */

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  gap: 40px;
}

.hero-text {
  max-width: 550px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-text span {
  color: #ffffff;
}

.hero-text h3 {
  font-weight: normal;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero-text p {
  margin-bottom: 25px;
  line-height: 1.7;
  opacity: 0.85;
}

/* BUTTONS */

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

.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.primary {
  background: white;
  color: black;
}

.secondary {
  border: 1px solid white;
  color: white;
}

/* IMAGE */

.hero-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
}

/* MOBILE */

@media(max-width:768px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* HERO */

.hero {
  text-align: center;
  margin-top: 120px;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  margin: 10px 0 20px;
  font-size: 1.2rem;
}

button {
  padding: 12px 22px;
  border: none;
  background: white;
  color: black;
  cursor: pointer;
  border-radius: 5px;
}

/* SECTIONS */

.section {
  padding: 70px 10%;
}

.section h2 {
  margin-bottom: 20px;
}

.light {
  background: #f5f5f5;
}

/* SKILLS */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* SKILLS CARDS */

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.skill-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card h3 {
  margin-bottom: 15px;
}

.skill-card ul {
  list-style: none;
}

.skill-card li {
  margin-bottom: 8px;
  color: #444;
}

/* HOVER EFFECT */

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* CARDS */

.card {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.card span {
  font-size: 0.9rem;
  color: gray;
}

.card ul {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 10px;
}

.card li {
  margin-bottom: 8px;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
}

/* RESPONSIVE */

@media(max-width:768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
