/* ----------- General Reset ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
    background-color: #f6fbfc;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* ----------- Navbar ----------- */
.nav {
    width: 100%;
    background: linear-gradient(to right, #f4e1c0 60%, transparent);
    padding: 10px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav a {
    color: #ffbb00;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #111;
    text-decoration: underline;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.logo span {
    color: #ffbb00;
}

/* ----------- Main Section ----------- */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    flex-wrap: wrap;
    text-align: left;
}
.sideph{
    margin: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.sidephoto{
    max-width: 500px;
}
.discover{
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    color: #ffbb00;
}
.discover:hover{
    text-decoration: underline;
}
.Mine {
    width: 350px;
    border-radius: 20px;
    border: 3px solid #ffbb00;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease;
}

.Mine:hover {
    transform: translateY(-20px);
}

.word {
    max-width: 800px;
}

.word span {
    font-weight: 700;
    color: #555;
    font-size: 20px;
}

.word h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.titlefirst {
    color: #ffbb00;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 700;
}

.word p {
    line-height: 1.7;
    font-size: 18px;
    color: #333;
}

.icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.icons img {
    width: 35px;
    transition: transform 0.3s ease;
}

.icons img:hover {
    transform: scale(1.3);
}

hr {
    border: none;
    border-top: 2px solid #ffbb0033;
    width: 100%;
    margin: 10px 0;
}
.skills {
  margin-top: 0px;
  text-align: left;
}

.skills h3 {
  font-size: 22px;
  text-transform: uppercase;
  color: #ffbb00;
  margin-bottom: 20px;
  border-left: 4px solid #ffbb00;
  padding-left: 10px;
  letter-spacing: 1px;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.skills ul li {
  background: #ffffff;
  color: #ffbb00;
  border: 2px solid #ffbb00;
  border-radius: 20px;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.skills ul li:hover{
  background: #ffbb00;
  color: white;
  transform: translateY(-3px);
  cursor: pointer;
}

.course-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 15px;
}

.course-table td {
  background: #ffffff;
  color: #ffbb00;
  border: 2px solid #ffbb00;
  border-radius: 15px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px #00000010;
}

.course-table td:hover {
  background: #ffbb00;
  color: #fff;
  transform: translateY(-4px);
  cursor: pointer;
}
.card-container {
  display: flex;
  flex-wrap: wrap; /* Allow cards to wrap to next line if needed  */
  justify-content: space-between; /* Distribute cards evenly */
  margin: 0 auto ; /* Center the container horizontally */
  width: 95%; /* Set a maximum width for responsiveness */
}

.card {
  box-shadow: 4px 4px 10px #0000001a;
  border-radius: 0 20px 0 20px;
  margin: 10px;
  width: 350px; 
  text-align: center;
  padding: 20px;
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
background: #ffffff;
  color: #ffbb00;
  border: 1px solid #ffbb00;
  border-radius: 15px;
  padding: 12px 18px;
  font-weight: 600;
  word-spacing: 2px;
  font-size: 14px;
}
.card img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.card img:hover{
  transform: scale(1.1);
}
.card a{
  text-decoration: none;
  color: black;
}



.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.card:hover {
  transform: scale(1.10); /* Slight hover zoom effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #ffbb00;
  color: #fff;
  transform: translateY(-4px);
  cursor: pointer;
  
}

/* ----------- Responsive ----------- */
@media (max-width: 768px) {
    .container {
        gap: 40px;
    }
    
    .Mine {
        width: 250px;
    }
    
    .word {
        text-align: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .skills ul {
      justify-content: center;
    }
    .skills h3 {
      text-align: center;
    }
      .course-table {
    border-spacing: 8px;
  }

  .course-table td {
    font-size: 14px;
    padding: 10px;
  }
  .text{
    padding: 10px;
  }
 
}
.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.discover {
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.discover img {
  width: 60px;
  transition: transform 0.3s ease;
}

.discover img:hover {
  transform: scale(1.2);
}

.discover p {
  margin-top: 8px;
  color: #ffbb00;
  font-weight: 500;
  font-size: 16px;
}
