* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0f172a;
    color: #fff;
    line-height: 1.6;
}

.hero {
    height: 100vh;
    background: linear-gradient(120deg, #2563eb, #0f172a);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero span {
    color: #38bdf8;
}

.hero h3 {
    margin: 15px 0;
    font-weight: 400;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #38bdf8;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.bg {
    background: #020617;
}

.skills span {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #1e293b;
    border-radius: 20px;
    transition: 0.3s;
}

.skills span:hover {
    background: #38bdf8;
    color: #000;
    transform: translateY(-5px);
}

.card {
    max-width: 600px;
    margin: auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    font-size: 14px;
}

a {
    color: #38bdf8;
    text-decoration: none;
}
section-title {
     font-size: 32px;
     font-weight: 700;
     max-width: 900px;
     margin: auto;
 }
 
 .tab-btn {
     border: 1px solid #ddd;
     background: #fff;
     padding: 12px 30px;
     border-radius: 4px;
     font-weight: 500;
     cursor: pointer;
     transition: .3s;
 }
 
 .tab-btn.active,
 .tab-btn:hover {
     background: #22ace3;
     color: #fff;
     border-color: #22ace3;
 }
 
 .portfolio-card {
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 20%);
    transition: .3s;
    padding: 15px;
    border: 5px solid #22ace3;
    margin-top: 25px;
 }
 
 .portfolio-card:hover {
     transform: translateY(-5px);
 }
 
.img-box {
  width: 100%;

  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}
.img-box img {
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 6s linear; /* animation speed */
}

/* Hover effect */
.img-box:hover img {
  transform: translateY(calc(-100% + 250px));
}
 .card-info {
    padding: 10px;
    border: 1px solid #ecec;
    margin-top: 15px;
 }
 
 .card-info p {
     margin: 0;
     font-size: 14px;
 }
 .card-info h5 {
    font-size: 18px;
}
 
 .visit-link {
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    background: #22ace3;
    border-radius: 50px;
    font-size: 12px !important;
 }
 
 .visit-link:hover {
     text-decoration: underline;
 }
 
