*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
header{
    padding: 2rem 0;
}
.navbar-brand img{
    height:58px;
}
:root {
    --primary: #2DD4BF;
    --primary-dark: #14B8A6;

    --text: #0F172A;
    --text-light: #64748B;

    --background: #FFFFFF;
}
body{
    font-family:Inter,sans-serif;
}

.text-end{
    display:flex;
    justify-content:flex-end;
    gap:18px;
}
.btn-outline,
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 24px;

    font-size: 1rem;
    font-weight: 500;

    border-radius: 999px;

    text-decoration: none;
    white-space: nowrap;   /* prevents text wrapping */

    transition: all .3s ease;
}
.btn-outline{
    color:var(--primary);
    border:2px solid var(--primary);
}

.btn-primary-custom{
    background:var(--primary);
    color:#fff;
    border:2px solid var(--primary);
}
.btn-outline:hover{
    background-color: var(--primary);
    color: var(--background);       /* White text */
    border-color: var(--primary);   /* Keep border mint */
}

.btn-primary-custom:hover{
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    color:#fff;
}
.hero{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:80px 20px 0;
    margin-bottom:0;
}
.hero h1{
    max-width:760px;

    font-size:3.2rem;

    font-weight:800;

    line-height:1.2;

    color:var(--text);

    letter-spacing:-1px;
}
.hero p{

    max-width:720px;

    margin-top:28px;

    font-size:1.25rem;

    line-height:1.7;

    color:var(--text-light);
}
.hero-avatar{

    width:190px;

    margin-top:70px;
}
.hero-illustration{
    display:block;
    width:100%;
    max-width:900px;
    margin:80px auto 0;
    margin-bottom:-5px;
}
.about{
    background: linear-gradient(135deg,#2DD4BF,#14B8A6);

    color:white;

    text-align:center;

    padding:120px 20px 190px;
    margin-top:0;
    padding-top:120px;
}
@media(max-width:768px){

.about{
    padding:80px 25px 140px;
}

}

.about h2{
    font-size:2.2rem;
    font-weight:700;

    margin-bottom:30px;
}

.about p{
    max-width:760px;

    margin:auto;

    font-size:1.2rem;

    line-height:1.8;
}
.skills{

    margin-top:-120px;

    margin-bottom:120px;

    position:relative;

    z-index:10;
}
.skill-wrapper{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);

    background:var(--background);

    border-radius:18px;
    overflow:hidden;

    box-shadow:0 15px 40px rgba(15,23,42,.08);
}
.skill h3{
    font-size:1.45rem;
    font-weight:700;

    color:var(--text);

    margin-bottom:22px;
}

.section-title{
    margin:45px 0 18px;
}
.skill p{
    max-width:280px;
    margin:0 auto;

    color:var(--text-light);

    line-height:1.8;
}
.section-title{

    color:var(--primary-dark);

    font-weight:700;

    margin:40px 0 15px;
}
.skill li{

    margin:12px 0;
    color:var(--text);

    font-size:.98rem;
    line-height:1.6;
}

.skill ul{
    list-style:none;

    padding:0;

    margin:18px auto 40px;
}
.skill{

    padding:60px 40px;

    min-height:720px;
    transition:transform .25s ease;
    border-right:1px solid #E2E8F0;
}
.skill:hover{
    transform:translateY(-8px);
}

.skill:last-child{
    border-right:none;
}
@media(max-width:768px){

.about{
    padding:80px 25px 140px;
}

}
.skill-icon{
    width:64px;
    transition:transform .25s ease;
    display:block;
    margin:0 auto 28px;
}
.skill:hover .skill-icon{
    transform:scale(1.08);
}
@media (max-width: 992px) {
    .skill-wrapper {
        grid-template-columns: 1fr;
    }

    .skill {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .skill:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        padding:0 15px;
    }

    .hero-avatar {
        width: 160px;
    }

    .about h2 {
        font-size: 2rem;
    }
}
.contact-page{

    max-width:1200px;

    margin:auto;

    padding:60px 40px 140px;

}

.contact-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:70px;
    padding:30px clamp(25px,5vw,60px);}
.contact-logo{
    width:55px;
}
.contact-actions{
    display:flex;
    gap:28px;
    align-items:center;
}

.icon-btn{
    width:44px;
    height:44px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:none;
    border:none;

    color:var(--primary);

    font-size:2rem;

    cursor:pointer;

    text-decoration:none;

    transition:.25s ease;
}

.icon-btn:hover{
    transform:rotate(-15deg) scale(1.08);
    color:var(--primary-dark);
}
.contact-hero{
    text-align:center;

    margin-bottom:90px;
}
.contact-avatar{
    width:125px;
    margin-bottom:40px;
}
.contact-title{
    font-size:2.2rem;
    font-weight:800;
    color:var(--text);

    line-height:1.15;

    margin-bottom:25px;
}

.contact-subtitle{
    font-size:1.1rem;
    color:var(--text-light);

    max-width:700px;
    margin:0 auto;
}
.contact-form-wrapper{
    max-width:1000px;
    margin:0 auto;
}

.form-label{

    color:#6B7280;

    font-size:1.1rem;

    margin-bottom:14px;

}
.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(45,212,191,.15);

}

/* Inputs */

.contact-input{
    height:72px;
    width: 100%;
    border:1px solid #dbe3ee;

    border-radius:8px;

    padding:20px;

    font-size:1.1rem;

    transition:.25s;
}

.contact-input:focus{
    border-color:var(--primary);

    box-shadow:0 0 0 .2rem rgba(45,212,191,.18);
}

/* Textarea */

.contact-message{
    min-height:260px;
    width: 100%;
    padding:18px;

    border-radius:8px;

    resize:none;
}

.contact-message:focus{
    border-color:var(--primary);

    box-shadow:0 0 0 .2rem rgba(45,212,191,.18);
}

/* Button */

.contact-submit{
    display:flex;
    justify-content:center;

    margin:55px 0 180px;
}
.toast-popup{
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 360px;

    background: white;

    border-radius: 18px;

    padding: 30px;

    box-shadow: 0 20px 60px rgba(0,0,0,.15);

    z-index: 1000;

    text-align: center;

    animation: popup .35s ease;
}
.cta-section{
    margin:120px 20px 0;
    position:relative;
    z-index:20;
}

.cta-card{

    max-width:1100px;
    margin:auto;

    background:#0F172A;

    border-radius:22px;

    padding:40px 25px;

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

    gap:40px;

    box-shadow:0 18px 45px rgba(15,23,42,.18);

}

.cta-content h2{

    color:#fff;

    font-size:2rem;
    font-weight:700;

    margin-bottom:15px;

}

.cta-content p{

    color:#CBD5E1;

    max-width:560px;

    font-size:1.08rem;

    line-height:1.8;

}

.cta-btn{

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:15px 34px;

    border:2px solid var(--primary);

    border-radius:999px;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.cta-btn i{
    font-size:1.1rem;
}

.cta-btn:hover{

    background:var(--primary);

    color:#fff;

}
@media (max-width: 768px){

    .cta-card{

        flex-direction:column;

        text-align:center;

        padding:45px 30px;

    }

    .cta-content p{

        margin:0 auto;

    }

}
.footer-space{
    height:120px;
}

.footer{

    text-align:center;

    padding:90px 20px 60px;

    background:#ffffff;

}

.footer-logo{

    width:70px;

    margin-bottom:35px;

}

.footer-tagline{

    max-width:520px;

    margin:0 auto 40px;

    font-size:1.15rem;

    color:var(--text-light);

    line-height:1.8;

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-bottom:45px;

}

.footer-social a{

    color:var(--primary);

    font-size:1.7rem;

    transition:.3s;

}

.footer-social a:hover{

    color:var(--primary-dark);

    transform:translateY(-4px);

}

.footer-copy{

    color:#94A3B8;

    font-size:.95rem;

}

.toast-icon{
    width:60px;
    height:60px;

    border-radius:50%;

    background:#2DD4BF;

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:2rem;

    margin:0 auto 20px;
}

.toast-popup h3{
    text-align:center;

    margin-bottom:10px;

    color:#0F172A;
}

.toast-popup p{
    text-align:center;

    color:#64748B;

    margin:0;
}

.toast-close{
    position:absolute;

    top:15px;
    right:18px;

    border:none;

    background:none;

    font-size:1.5rem;

    cursor:pointer;

    color:#94A3B8;
}

.toast-close:hover{
    color:#14B8A6;
}

@keyframes popup{

    from{
        opacity:0;
        transform:translateY(-20px) scale(.9);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}
@media (max-width:768px){

.text-end{
    width:100%;
    margin-top:20px;

    justify-content:center;
    flex-wrap:wrap;
}

}

/* ==============================
   FEATURED PROJECTS
================================= */

.featured-projects {
    background: linear-gradient(
        to bottom,
        #2DD4BF 0%,
        #14B8A6 50%,
        #fff 50%,
        #fff 100%
    );
    padding: 100px 25px 120px;
    text-align: center;
}

.projects-heading {
    max-width: 750px;
    margin: 0 auto 65px;
}

.projects-heading h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.projects-heading p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.projects-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #fff;
    padding: 45px 30px;

    border-radius: 12px;
    border: 1px solid #E2E8F0;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 390px;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);

    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.project-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(45, 212, 191, 0.12);
    color: var(--primary-dark);

    border-radius: 16px;

    font-size: 2rem;
    margin-bottom: 28px;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 750;
    color: var(--text);

    margin-bottom: 18px;
}

.project-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;

    margin-bottom: 28px;
}

.project-card a {
    margin-top: auto;

    color: var(--primary-dark);
    font-weight: 700;

    text-decoration: none;
    transition: color .25s ease;
}

.project-card a:hover {
    color: var(--text);
}

/* Responsive layout */

@media (max-width: 992px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .featured-projects {
        padding: 75px 20px;
    }

    .projects-heading h2 {
        font-size: 2rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 350px;
    }
}
/* ==============================
   LEARNING JOURNEY
================================= */

.project-card ul {
    text-align: left;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 2;
    padding-left: 22px;
    margin: 0;
    width: 100%;
}

.project-card li {
    padding-left: 5px;
}