/* Body */
body {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed; /* fixes navbar at top */
    top: 0;          /* aligns it to top */
    left: 0;
    width: 100%;
    z-index: 1000; 
}
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #38bdf8;
}
.navbar-brand:hover {
    color: #38bdf8;
    text-shadow: none;
    cursor: default;
}
.nav-link {
    color: #e2e8f0;
    margin-left: 25px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}
.nav-link::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #38bdf8;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: #38bdf8;
    text-shadow: 0 0 6px rgba(56,189,248,0.8);
}
.nav-link:focus {
    color: #38bdf8;
}
.navbar-brand:focus {
    color: #38bdf8;
    text-decoration: none;
}

/* Intro Section */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 0 1rem;
    padding-top: 80px;
}

/* H1 Typing Animation */
.typewriter {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid #e2e8f0;
    width: 0;
    animation: typing 3s steps(18, end) forwards, blink 0.7s step-end infinite alternate;
}

/* Subtitle Animation */
.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 2s ease forwards;
    animation-delay: 3s; /* after H1 */
}

/* Keyframes */
@keyframes typing {
    from { width: 0; }
    to { width: 18ch; }
}
@keyframes blink {
    50% { border-color: transparent; }
}
@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .typewriter {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .btn-cta {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}


  .scroll-hint{
  margin-top:40px;
  font-size:14px;
  color:#38bdf8;
  letter-spacing:2px;
  animation:float 2s infinite;
  }

  @keyframes float{
  0%{transform:translateY(0);}
  50%{transform:translateY(6px);}
  100%{transform:translateY(0);}
  }

  /* About Section */

  .about-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:120px;
    }

/* Box */

  .about-box{
    background:rgba(255,255,255,0.04);
    border-radius:20px;
    padding:60px 80px;
    border:1px solid rgba(255,255,255,0.08);
   backdrop-filter:blur(10px);
   transition:0.4s;
   box-shadow:0 10px 40px rgba(0,0,0,0.4);
   max-width:1000px;
   margin:auto;
}

/* Hover */

.about-box:hover{
transform:translateY(-8px);
border:1px solid rgba(56,189,248,0.4);
box-shadow:0 20px 60px rgba(0,0,0,0.6);
}

/* Title */

.about-title{
font-family:'Outfit', sans-serif;
font-size:34px;
font-weight:700;
margin-bottom:25px;
line-height:1.3;
}

/* Paragraphs */

.about-box p{
color:#cbd5e1;
line-height:1.9;
margin-bottom:12px;
text-align:left;
}

/* Link */

.about-link{
display:inline-block;
margin-top:10px;
color:#38bdf8;
font-weight:500;
text-decoration:none;
transition:0.3s;
}

.about-link:hover{
color:#7dd3fc;
letter-spacing:1px;
}


.skills-section{
padding:80px 0;
}

.skills-list{
display:flex;
flex-direction:column;
gap:35px;
}

.skill-row{
display:flex;
align-items:center;
justify-content:space-between;
background:rgba(255,255,255,0.05);
padding:25px 40px;
border-radius:15px;
border:1px solid rgba(255,255,255,0.08);
}

.skill-title{
font-family:'Outfit',sans-serif;
font-size:22px;
font-weight:800;
min-width:230px;
}

.skill-item{
display:flex;
align-items:center;
gap:12px;
background:rgba(255,255,255,0.06);
padding:10px 16px;
border-radius:10px;
min-width:150px;
}

 .skill-items{
display:grid;
grid-template-columns:repeat(3, 180px);
gap:25px 40px;
}


.skill-item img{
width:32px;
height:32px;
object-fit:contain;
display: block;
}

.skill-item span{
font-size:15px;
}

.skill-item:hover{
background:rgba(56,189,248,0.15);
transform:translateY(-2px);
transition:0.25s;
}




.contact-section {
    background: rgba(255,255,255,0.04);
    padding-top: 100px;
    padding-bottom: 100px;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 170px auto;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.contact-section .section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #38bdf8;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-width: 30px;
    padding: 20px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
    font-size: 16px;
    transition: 0.3s;
    min-height: 55px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
    background: rgba(56,189,248,0.05);
}

.btn-submit {
    display: inline-block;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    color: #fff;
    border: none;
    padding: 12px 30px;     
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;       
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.btn-submit:hover {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.contact-info a {
    color: #38bdf8;
    text-decoration: none;
}

.contact-info a:hover {
    color: #7dd3fc;
}

.social-links a {
    color: #38bdf8;
    font-size: 20px;
    margin: 0 10px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #7dd3fc;
    transform: translateY(-3px);
}

.contact-form button {
    display: block;     
    margin: 30px auto 0;
    padding: 12px 30px;  
}

.contact-form button:hover {
    background-color: #0ea5e9;
}


/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0 15px;
    margin-top: 70px;
    font-size: 15px;
}

.footer-copy {
    margin-top: 20px;
    font-size: 15px;
    color: #94a3b8;
}