*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

/* ===== NAVBAR ===== */
nav{
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    z-index: 1000;
    border-width: 2px;
    border-style: solid;
    border-color: aqua;
}

/* Glow border */
nav::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,#22d3ee,#a855f7,#22d3ee);
    box-shadow: 0 0 15px rgba(34,211,238,0.8);
}

/* ===== LOGO IMAGE ===== */
.logo img{
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px #22d3ee);
}

/* ===== NAV LINKS ===== */
.nav-links{
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a{
    text-decoration: none;
    color: #e5e7eb;
    font-size: 20px;
    position: relative;
    transition: 0.3s;
}

.nav-links li a::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #22d3ee;
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-links li a:hover{
    color: #22d3ee;
}

.nav-links li a:hover::after{
    width: 100%;
}

/* ===== HAMBURGER ===== */
.hamburger{
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}

.hamburger span{
    width: 28px;
    height: 2.5px;
    background: #22d3ee;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2){
    opacity: 0;
}
.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu{
    position: fixed;
    top: 0;
    right: -100%;
    width: 72%;
    height: 100vh;
    background: #020617;
    padding-top: 110px;
    transition: 0.45s ease;
    z-index: 999;
}

.mobile-menu.active{
    right: 0;
}

.mobile-menu ul{
    list-style: none;
    text-align: center;
}

.mobile-menu ul li{
    margin: 30px 0;
}

.mobile-menu ul li a{
    text-decoration: none;
    font-size: 22px;
    color: #e5e7eb;
}

.mobile-menu ul li a:hover{
    color: #22d3ee;
}

/* ===== OVERLAY ===== */
.overlay{
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,0.7);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
}

.overlay.active{
    opacity: 1;
    visibility: visible;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px){
    .nav-links{
        display: none;
    }
    .hamburger{
        display: flex;
    }
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Space Grotesk', sans-serif;
}

body{
    background:#0b0f1a;
    color:#fff;
}

/* HERO SECTION */
.hero{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
}

/* Animated engineering background */
.bg-icons span{
    position:absolute;
    font-size:40px;
    opacity:0.07;
    animation:float 15s linear infinite;
}

.bg-icons span:nth-child(1){top:10%; left:10%;}
.bg-icons span:nth-child(2){top:70%; left:20%; animation-duration:20s;}
.bg-icons span:nth-child(3){top:40%; left:80%;}
.bg-icons span:nth-child(4){top:85%; left:60%; animation-duration:18s;}
.bg-icons span:nth-child(5){top:20%; left:50%;}
.bg-icons span:nth-child(6){top:60%; left:90%;}
.bg-icons span:nth-child(7){top:30%; left:30%;}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-40px);}
    100%{transform:translateY(0);}
}

/* CONTENT */
.hero-container{
    max-width:1200px;
    margin:auto;
    padding:40px;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:50px;
}

.hero-text h1{
    font-size:3.2rem;
    line-height:1.2;
}

.question{
    color:#00d9ff;
    font-weight:600;
}

#typing{
    color:#ffb703;
    border-right:2px solid #ffb703;
    padding-right:5px;
}

.hero-text p{
    margin-top:20px;
    font-size:1.1rem;
    color:#cbd5e1;
    max-width:500px;
}

/* IMAGE */
.hero-image{
    position:relative;
    width:350px;
    margin:auto;
}

/* IMAGE CONTAINER – RESPONSIVE */
.hero-image{
    position:relative;
    width:100%;
    max-width:320px;   /* controls image size on large screens */
    margin:auto;
}

/* UNIQUE BORDER RADIUS IMAGE */
.hero-image img{
    width:100%;
    height:300px;
    border-radius: 50%; /* DIFFERENT radius on each corner */
    object-fit:cover;
    position:relative;
    z-index:2;
    animation:imgFloat 6s ease-in-out infinite;
}

/* GLOW ADAPTS TO SHAPE */
.image-glow{
    position:absolute;
    inset:-12px;
    border-radius: 30% 12% 35% 8%;
}

/* Glow effect */
.image-glow{
    position:absolute;
    inset:-15px;
    
    filter:blur(40px);
    opacity:0.6;
    border-radius:25px;
    z-index:1;
    animation:pulse 5s infinite;
}

@keyframes imgFloat{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
}

@keyframes pulse{
    0%,100%{opacity:0.6;}
    50%{opacity:0.9;}
}

/* RESPONSIVE */
@media(max-width:900px){
    .hero-container{
        grid-template-columns:1fr;
        text-align:center;
    }
}
/* RESPONSIVE TEXT SCALING */
.hero-text h1{
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero-text p{
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height:1.7;
}

/* PREVENT OVERFLOW ON SMALL SCREENS */
.hero{
    padding: 60px 20px;
}

.hero-container{
    width:100%;
    max-width:1200px;
}

/* MOBILE OPTIMIZATION */
@media(max-width:600px){
    .hero-container{
        gap:30px;
    }

    .hero-image{
        max-width:240px;
    }
}
/* ABOUT SECTION */
.about{
    position:relative;
    padding:120px 20px;
    overflow:hidden;
    background:#0b0f1a; /* clean dark base */
}

/* FULL BACKGROUND BUILDINGS */
.buildings-bg{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    justify-content:space-around;
    opacity:0.18;
    pointer-events:none;
}

/* BUILDING TOWERS */
.tower{
    width:90px;
    height:100%;
    background:linear-gradient(
        to top,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.02)
    );
    border-radius:8px 8px 0 0;
    position:relative;
    animation:rise 8s ease-in-out infinite;
}

/* WINDOW GRID */
.tower::before{
    content:"";
    position:absolute;
    inset:12px;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(0,0,0,0.25),
            rgba(0,0,0,0.25) 8px,
            transparent 8px,
            transparent 18px
        );
}

/* VARIATIONS */
.t1{height:60%;}
.t2{height:85%; animation-delay:1s;}
.t3{height:70%; animation-delay:2s;}
.t4{height:95%; animation-delay:3s;}
.t5{height:65%; animation-delay:4s;}
.t6{height:80%; animation-delay:5s;}

/* SUBTLE MOVEMENT */
@keyframes rise{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
}

/* CONTENT ABOVE BACKGROUND */
.about-container{
    position:relative;
    z-index:2;
}

/* MOBILE OPTIMIZATION */
@media(max-width:800px){
    .tower{
        width:45px;
    }
}

/* LAYOUT */
.about-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* IMAGE */
.about-image{
    position:relative;
    max-width:320px;
    margin:auto;
}

.about-image img{
    width:100%;
    border-radius: 20% 5% 25% 8%;
    position:relative;
    z-index:2;
    object-fit:cover;
}
/* NAME BELOW IMAGE */
.engineer-name{
    margin-top:15px;
    font-size:1.3rem;
    font-weight:600;
    letter-spacing:1px;
    text-align:center;
    color:#ffffff;
}

/* TITLE */
.engineer-title{
    display:block;
    margin-top:4px;
    font-size:0.95rem;
    text-align:center;
    color:#00d9ff;
    opacity:0.85;
}


/* IMAGE GLOW */
.about-glow{
    position:absolute;
    inset:-15px;
    background:linear-gradient(135deg,#00d9ff,#ffb703);
    filter:blur(50px);
    opacity:0.4;
    border-radius: 22% 7% 28% 10%;
    z-index:1;
}

/* CONTENT */
.about-content h2{
    font-size:clamp(2rem,4vw,2.6rem);
    margin-bottom:20px;
    color:#00d9ff;
}

.about-content p{
    font-size:1.05rem;
    line-height:1.8;
    color:#cbd5e1;
    margin-bottom:20px;
}

/* BUTTON */
.cv-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 28px;
    background:linear-gradient(135deg,#00d9ff,#ffb703);
    color:#0b0f1a;
    text-decoration:none;
    font-weight:600;
    border-radius:30px;
    transition:0.4s ease;
}

.cv-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 40px rgba(0,217,255,0.3);
}

/* RESPONSIVE */
@media(max-width:900px){
    .about-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .about-image{
        max-width:240px;
    }
}
/* CITY BACKGROUND */
.city-bg{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:220px;
    display:flex;
    align-items:flex-end;
    gap:18px;
    padding:0 60px;
    opacity:0.25;
    pointer-events:none;
}

/* BUILDINGS */
.building{
    width:80px;
    background:linear-gradient(
        to top,
        rgba(255,255,255,0.12),
        rgba(255,255,255,0.02)
    );
    border-radius:6px 6px 0 0;
    position:relative;
}

/* WINDOW PATTERN */
.building::before{
    content:"";
    position:absolute;
    inset:10px;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(0,0,0,0.25),
            rgba(0,0,0,0.25) 6px,
            transparent 6px,
            transparent 14px
        );
    opacity:0.6;
}

/* DIFFERENT HEIGHTS */
.b1{height:120px;}
.b2{height:180px;}
.b3{height:150px;}
.b4{height:210px;}
.b5{height:140px;}

/* SUBTLE FLOAT ANIMATION */
.building{
    animation:cityFloat 6s ease-in-out infinite;
}

.b2{animation-delay:1s;}
.b3{animation-delay:2s;}
.b4{animation-delay:3s;}
.b5{animation-delay:4s;}

@keyframes cityFloat{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-8px);}
}

/* RESPONSIVE */
@media(max-width:700px){
    .city-bg{
        height:160px;
        padding:0 20px;
        gap:10px;
    }

    .building{
        width:45px;
    }
}
/* QUALIFICATION SECTION */
.qualification{
    position:relative;
    padding:120px 20px;
    background:#0b0f1a;
    overflow:hidden;
}

/* LEARNING BACKGROUND */
learning-bg span{
    position:absolute;
    font-size:64px;          /* BIGGER = CLEAR */
    opacity:0.15;            /* MORE VISIBLE */
    filter:drop-shadow(0 0 8px rgba(0,217,255,0.4));
    animation:learnFloat 16s ease-in-out infinite;
}

/* RANDOM POSITIONS */
.learning-bg span:nth-child(1){top:10%; left:15%;}
.learning-bg span:nth-child(2){top:30%; left:80%; animation-duration:22s;}
.learning-bg span:nth-child(3){top:70%; left:20%;}
.learning-bg span:nth-child(4){top:85%; left:70%; animation-duration:25s;}
.learning-bg span:nth-child(5){top:50%; left:50%;}
.learning-bg span:nth-child(6){top:20%; left:60%;}

@keyframes learnFloat{
    0%{transform:translateY(0);}
    50%{transform:translateY(-50px);}
    100%{transform:translateY(0);}
}

/* CONTENT */
.qualification-container{
    max-width:1100px;
    margin:auto;
    position:relative;
    z-index:2;
}

.qualification h2{
    text-align:center;
    font-size:clamp(2rem,4vw,2.6rem);
    color:#00d9ff;
    margin-bottom:60px;
}

/* TIMELINE GRID */
.qualification-timeline{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

/* CARD */
.qual-card{
    background:rgba(255,255,255,0.03);
    padding:30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(6px);
    transition:0.4s ease;
}

.qual-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,217,255,0.15);
}

.qual-card h3{
    font-size:1.4rem;
    margin-bottom:12px;
    color:#ffffff;
}

.qual-card p{
    font-size:1rem;
    line-height:1.7;
    color:#cbd5e1;
}

/* SCORE BADGE */
.score{
    display:inline-block;
    margin-top:15px;
    padding:6px 14px;
    border-radius:20px;
    background:rgba(0,217,255,0.15);
    color:#00d9ff;
    font-weight:600;
}

/* HIGHLIGHT ENGINEERING */
.highlight{
    border:2px solid rgba(255,183,3,0.6);
}

.gold{
    background:rgba(255,183,3,0.2);
    color:#ffb703;
}

/* RESPONSIVE */
@media(max-width:600px){
    .learning-bg span{
        font-size:32px;
    }
}
.institute{
    display:block;
    margin-bottom:10px;
    font-size:0.95rem;
    color:#00d9ff;
    opacity:0.85;
}
/* OTHER SKILLS */
.other-skills{
    margin-top:70px;
    text-align:center;
}

.other-skills h3{
    font-size:1.8rem;
    color:#ffb703;
    margin-bottom:25px;
}

/* SKILL BADGES */
.skills-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
}

.skills-list span{
    padding:10px 18px;
    border-radius:25px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
    color:#ffffff;
    font-weight:500;
    transition:0.3s ease;
}

.skills-list span:hover{
    background:rgba(0,217,255,0.18);
    color:#00d9ff;
    transform:translateY(-4px);
}
/* PROJECTS SECTION */
.projects{
    position:relative;
    padding:120px 20px;
    background:#0b0f1a;
    overflow:hidden;
}

/* BACKGROUND ICONS */
.projects-bg span{
    position:absolute;
    font-size:56px;
    opacity:0.12;
    filter:drop-shadow(0 0 10px rgba(0,217,255,0.4));
    animation:projectFloat 18s ease-in-out infinite;
}

.projects-bg span:nth-child(1){top:15%; left:10%;}
.projects-bg span:nth-child(2){top:40%; left:80%; animation-duration:22s;}
.projects-bg span:nth-child(3){top:75%; left:20%;}
.projects-bg span:nth-child(4){top:20%; left:55%; animation-duration:20s;}
.projects-bg span:nth-child(5){top:65%; left:70%;}

@keyframes projectFloat{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-40px);}
}

/* CONTENT */
.projects-container{
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
}

.projects h2{
    text-align:center;
    font-size:clamp(2rem,4vw,2.6rem);
    color:#00d9ff;
    margin-bottom:60px;
}

/* GRID */
.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

/* PROJECT CARD */
.project-card{
    background:rgba(255,255,255,0.04);
    padding:30px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,0.1);
    backdrop-filter:blur(6px);
    transition:0.4s ease;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,217,255,0.18);
}

.project-card h3{
    font-size:1.4rem;
    margin-bottom:12px;
    color:#ffffff;
}

.project-card p{
    font-size:1rem;
    line-height:1.7;
    color:#cbd5e1;
}

/* TOOLS */
.project-tools{
    margin-top:18px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.project-tools span{
    padding:6px 14px;
    border-radius:18px;
    background:rgba(0,217,255,0.18);
    color:#00d9ff;
    font-size:0.9rem;
    font-weight:500;
}

/* HIGHLIGHT PROJECT */
.highlight-project{
    border:2px solid rgba(255,183,3,0.6);
}

/* RESPONSIVE */
@media(max-width:600px){
    .projects-bg span{
        font-size:36px;
    }
}
/* CONTACT SECTION */
.contact{
    position:relative;
    padding:120px 20px;
    background:#0b0f1a;
}

/* CONTENT */
.contact-container{
    max-width:1100px;
    margin:auto;
    text-align:center;
}

.contact h2{
    font-size:clamp(2rem,4vw,2.6rem);
    color:#00d9ff;
}

.contact-subtitle{
    margin-top:10px;
    color:#cbd5e1;
    margin-bottom:60px;
}

/* GRID */
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* SOCIAL */
.contact-info h3{
    font-size:1.6rem;
    margin-bottom:20px;
}

.social-links{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.social-links a{
    text-decoration:none;
    padding:12px;
    border-radius:30px;
    border:1px solid rgba(255,255,255,0.15);
    color:#ffffff;
    transition:0.3s ease;
}

.social-links a:hover{
    background:rgba(0,217,255,0.2);
    color:#00d9ff;
    transform:translateX(5px);
}

/* FORM */
.contact-form{
    background:rgba(255,255,255,0.04);
    padding:40px;
    border-radius:25px;
    border:1px solid rgba(255,255,255,0.1);
    backdrop-filter:blur(6px);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:14px 16px;
    margin-bottom:16px;
    background:transparent;
    border:1px solid rgba(255,255,255,0.15);
    border-radius:10px;
    color:#ffffff;
    font-size:1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:#94a3b8;
}

/* BUTTON */
.contact-form button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:30px;
    background:linear-gradient(135deg,#00d9ff,#ffb703);
    color:#0b0f1a;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    transition:0.4s ease;
}

.contact-form button:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 40px rgba(0,217,255,0.3);
}

/* RESPONSIVE */
@media(max-width:800px){
    .contact-grid{
        grid-template-columns:1fr;
    }
}
/* FOOTER */
.footer{
    background:#080b14;
    color:#cbd5e1;
    padding:80px 20px 30px;
}

/* CONTAINER */
.footer-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

/* INFO */
.footer-info h3{
    font-size:1.6rem;
    color:#00d9ff;
    margin-bottom:20px;
}

.footer-info p{
    font-size:1rem;
    margin-bottom:10px;
}

/* QUOTE */
.footer-quote{
    font-size:1.2rem;
    font-style:italic;
    line-height:1.7;
    color:#ffffff;
    position:relative;
}

.footer-quote::before{
    content:"“";
    font-size:4rem;
    position:absolute;
    top:-30px;
    left:-20px;
    color:#00d9ff;
    opacity:0.4;
}

/* BOTTOM BAR */
.footer-bottom{
    margin-top:50px;
    text-align:center;
    font-size:0.9rem;
    color:#94a3b8;
    border-top:1px solid rgba(255,255,255,0.08);
    padding-top:20px;
}

/* RESPONSIVE */
@media(max-width:800px){
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-quote::before{
        left:50%;
        transform:translateX(-50%);
    }
}
html{
    scroll-behavior: smooth;
}

