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

body{
    background-image: url('https://cdn.pixabay.com/photo/2024/11/12/13/11/building-9192241_1280.jpg');
    background-size: cover;
    background-position: center; /* keeps it centered */
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    background-color: rgba(52, 52, 109, 0.5); /* black with 50% transparency */
    background-blend-mode: overlay;       /* blends color with image */
}

/* hidden state */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* visible state */
.show {
  opacity: 1;
  transform: translateY(0);
}


header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: azure;
    position: fixed;
    top: 0;
    z-index: 1000; /* makes sure it's always on top */
    width: 100%;
    height: 90px;
    padding: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1em;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
}

nav a {
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent; /* invisible by default */
  color: #333;
  font-weight: bold;
}

nav a.active {
  border-bottom: 2px solid #4caf50; /* green underline */
  color: #4caf50; /* optional: highlight color */
}







/* ---------- ABOUT-SECTION ------------*/

.about-section{
    background-color: rgb(72, 72, 248);
}

.about-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 50px;
    
    
}

.about-grid{
    display: flex;
    gap: 100px;
    
}

h3{
    
    
    color: white;
    font-weight: normal; 
}

.profile-pic{
    background: linear-gradient(200deg, rgb(42, 45, 236), rgb(38, 32, 202), rgb(72, 72, 248), rgb(234, 239, 244));
    border-radius: 20px;
}

.about-section h3{
    color: rgb(232, 232, 228); 
    padding: 120px 0 0 50px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2em;
}

.about-text p{
    color: rgb(232, 232, 228); 
    text-align: justify;
    line-height: 1.8;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


.skills {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.skills h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

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

.skill-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.skill-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #222;
}

.skill-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* Hover effect */
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
