* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {

    --bg-color: #0a0a0a;
    --text-color: #e5e5e5;
    --muted-color: #9a9a9a;

    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);

    --accent-bg: linear-gradient(135deg, #ff1e1e, #8b0000);
    --accent-solid: #ff1e1e;

    --radius: 14px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.75;
    font-size: 16px;
}

#particles-js {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero {
    padding: 90px 20px;
    text-align: center;
    background: radial-gradient(
        circle at top,
        rgba(255, 30, 30, 0.18),
        transparent 60%
    );
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 8px;
}

.hero h2 {
    margin-top: 10px;
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10%;

    border: 3px solid var(--accent-solid);

    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 0, 0.2);

    transition: transform 0.3s ease;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image-container {
    flex: 0 0 auto;
}

.about-image {
    width: 180px;
    border-radius: 12px;
    border: 2px solid var(--accent-solid);

    box-shadow:
        0 0 15px rgba(255,0,0,0.3),
        0 0 30px rgba(255,0,0,0.15);
}

.about-section{
max-width:1400px;
}

.about-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:40px;
align-items:start;
margin-top:20px;
}

.about-left p{
margin-bottom:16px;
color:var(--muted-color);
}

.about-highlights{
display:flex;
gap:30px;
margin-top:25px;
flex-wrap:wrap;
}

.highlight{
display:flex;
gap:12px;
align-items:center;
}

.highlight i{
font-size:20px;
color:var(--accent-solid);
}

.highlight h4{
font-size:14px;
margin-bottom:2px;
}

.highlight p{
font-size:13px;
color:var(--muted-color);
}

.about-right{
padding:28px;
min-width:350px;
}

.about-right:hover{
box-shadow:0 0 25px rgba(0,186,255,0.15);
transition:0.3s;
}

.about-right h4{
margin-bottom:20px;
font-size:18px;
}

.info-item{
display:grid;
grid-template-columns:140px 1fr;
gap:15px;
margin-bottom:14px;
font-size:14px;
align-items:start;
}

.info-item span:first-child{
color:var(--text-color);
font-weight:600;
}

.info-item span:last-child{
color:var(--muted-color);
line-height:1.5;
}

.hero-image img:hover {
    transform: scale(1.05);
}

.hero-text {
    max-width: 500px;
}

.tech-stack {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--muted-color);
}

.section {
    max-width: 1000px;
    margin: 70px auto;
    padding: 0 20px;
}

.section h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--accent-solid);
}

.section p {
    max-width: 800px;
    margin-bottom: 12px;
}

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

.image-grid img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.architecture-img {
    display: block;
    max-width: 450px;
    width: 100%;
    margin: 20px auto;
    border-radius: 8px;
}

.architecture-points li,
.section ul li {
    margin-bottom: 8px;
}

.footer {
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}

.portfolio .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    backdrop-filter: blur(10px);
    background: rgba(10, 15, 25, 0.6);
    border-bottom: 1px solid var(--card-border);
}

.portfolio .nav-logo {
    font-weight: 700;
    letter-spacing: 0.4px;
}

.portfolio .nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
}

.portfolio .nav-links a {
    text-decoration: none;
    color: var(--muted-color);
}

.portfolio .nav-links a:hover {
    color: var(--accent-solid);
}

.portfolio .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portfolio .nav-resume {
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--accent-bg);
    color: #00111f;
    font-weight: 600;
    text-decoration: none;
}

.portfolio .hero {
    padding: 120px 20px 100px;
}

.portfolio .hero-buttons {
    margin-top: 30px;
}

.portfolio .hero-buttons a {
    text-decoration: none;
    padding: 12px 24px;
    margin: 6px;
    border-radius: 22px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
}

.portfolio .project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 26px;
    margin-bottom: 28px;
    border-radius: var(--radius);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.portfolio .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.portfolio .project-tech {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.project-page .hero {
    position: relative;
}

.card-grid{
display:flex;
flex-direction:row;
gap:30px;
justify-content:center;
align-items:stretch;
flex-wrap:wrap;
width:100%;
}

.card-grid .project-card{
width:350px;
flex-shrink:0;
}

.card{
background:var(--card-bg);
padding:25px;
border-radius:16px;
border:1px solid var(--card-border);
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

#experience{
max-width:1000px;
}

#experience .card{
width:100%;
margin-bottom:20px;
}

.experience-duration{
color: var(--accent-solid);
font-size: 0.9rem;
margin-bottom: 8px;
}

.experience-list{
margin-left: 18px;
margin-top: 8px;
}

.experience-list li{
margin-bottom: 6px;
color: var(--muted-color);
}

.experience-card{
background: var(--card-bg);
border:1px solid var(--card-border);
border-radius:18px;
padding:28px;
margin-bottom:28px;
box-shadow:0 10px 30px rgba(0,0,0,0.25);
transition:0.3s;
}

.experience-card:hover{
transform:translateY(-4px);
box-shadow:0 15px 40px rgba(0,0,0,0.35);
}

.experience-header{
display:flex;
gap:18px;
align-items:flex-start;
}

.experience-icon{
width:50px;
height:50px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background:rgba(0,186,255,0.1);
color:var(--accent-solid);
font-size:20px;
flex-shrink:0;
}

.experience-title-group{
flex:1;
}

.experience-title-row{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:10px;
}

.experience-company{
color:var(--accent-solid);
margin-top:4px;
}

.experience-meta{
margin-top:6px;
display:flex;
gap:20px;
color:var(--muted-color);
font-size:0.9rem;
flex-wrap:wrap;
}

.experience-subheading{
margin-top:18px;
margin-bottom:12px;
font-weight:600;
}

.experience-points{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px 30px;
padding-left:18px;
}

.experience-points li{
color:var(--muted-color);
}

.badge{
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:600;
}

.badge.internship{
background:rgba(0,255,170,0.12);
color:#00ffaa;
}

.badge.current{
background:rgba(180,140,255,0.15);
color:#b48cff;
}

.skill-card{
background:var(--card-bg);
padding:25px;
border-radius:16px;
}

.skill{
margin:15px 0;
}

.skill-bar{
height:8px;
background:#222;
border-radius:10px;
overflow:hidden;
}

.skill-fill{
height:100%;
background:var(--accent-bg);
}

#skills .card-grid{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

#skills .skill-card{
width:260px;
}

.project-tags span{
background:var(--accent-bg);
padding:4px 10px;
border-radius:12px;
font-size:12px;
margin-right:5px;
}

.project-badge{
display:inline-block;
margin-top:10px;
padding:6px 14px;
border-radius:20px;
background:var(--card-bg);
border:1px solid var(--card-border);
font-size:13px;
color:var(--accent-solid);
}

.project-page .hero-buttons{
margin-top:25px;
display:flex;
gap:18px;
justify-content:center;
flex-wrap:wrap;
}

.project-page .hero-buttons a{
padding:10px 22px;
border-radius:22px;
background:var(--card-bg);
border:1px solid var(--card-border);
color:var(--text-color);
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.project-page .hero-buttons a:hover{
background:var(--accent-solid);
color:white;
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.project-links{
margin-top:20px;
display:flex;
gap:18px;
flex-wrap:wrap;
}

.project-links .project-button{
display:inline-flex;
align-items:center;
gap:8px;
padding:10px 20px;
border-radius:20px;
background:var(--card-bg);
border:1px solid var(--card-border);
color:var(--text-color);
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.project-links .project-button:hover{
background:var(--accent-solid);
color:white;
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.project-cta{
margin-top:60px;
}

.project-cta .card{
text-align:center;
padding:40px;
border-radius:20px;
border:1px solid var(--card-border);
background:var(--card-bg);
box-shadow:0 10px 30px rgba(0,0,0,0.25);
transition:0.3s;
}

.project-cta .card:hover{
transform:translateY(-5px);
box-shadow:0 15px 40px rgba(0,0,0,0.35);
}

.project-cta h3{
margin-bottom:12px;
color:var(--accent-solid);
}

.project-cta p{
max-width:600px;
margin:0 auto 25px auto;
color:var(--muted-color);
}

.project-cta .cta-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.project-cta .cta-buttons a{
padding:12px 26px;
border-radius:25px;
background:var(--accent-bg);
color:white;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.project-cta .cta-buttons a:hover{
transform:translateY(-3px);
box-shadow:0 10px 30px rgba(0,0,0,0.35);
}



.portfolio .project-card img.project-image{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
border:1px solid var(--card-border);
transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio .project-card:hover img.project-image{
transform:scale(1.03);
box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

.portfolio .project-card .project-button{
display:inline-block;
margin-top:14px;
padding:8px 18px;
border-radius:20px;
background:var(--accent-bg);
color:white;
text-decoration:none;
font-size:14px;
font-weight:600;
transition:all 0.25s ease;
}

.portfolio .project-card .project-button:hover{
transform:translateY(-2px);
box-shadow:0 8px 25px rgba(0,0,0,0.3);
}

.portfolio .project-card h4{
margin-bottom:6px;
font-size:1.2rem;
}

.portfolio .project-card p{
margin-bottom:6px;
}

.portfolio .project-tech{
margin-top:4px;
margin-bottom:8px;
font-size:0.9rem;
color:var(--muted-color);
}

#projects{
max-width:1300px;
margin:70px auto;
padding:0 20px;
}

#projects .card-grid{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:nowrap;
overflow-x:auto;
padding-bottom:10px;
}

#projects .project-card{
width:350px;
flex-shrink:0;
}

.project-page .project-footer{
margin-top:80px;
padding:50px 30px 20px 30px;
background:var(--card-bg);
border-top:1px solid var(--card-border);
}

.project-page .footer-top{
display:flex;
justify-content:space-between;
gap:40px;
flex-wrap:wrap;
margin-bottom:30px;
}

.project-page .footer-brand h3{
margin-bottom:10px;
color:var(--accent-solid);
}

.project-page .footer-brand p{
color:var(--muted-color);
max-width:300px;
}

.project-page .footer-nav h4,
.project-page .footer-social h4{
margin-bottom:12px;
font-size:15px;
color:var(--text-color);
}

.project-page .footer-nav a{
display:block;
margin-bottom:8px;
text-decoration:none;
color:var(--muted-color);
transition:0.3s;
}

.project-page .footer-nav a:hover{
color:var(--accent-solid);
}

.project-page .social-icons{
display:flex;
gap:15px;
}

.project-page .social-icons a{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:rgba(255,255,255,0.04);
border:1px solid var(--card-border);
color:var(--accent-solid);
font-size:18px;
transition:0.3s;
}

.project-page .social-icons a:hover{
background:var(--accent-solid);
color:white;
transform:translateY(-4px);
box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.project-page .footer-bottom{
display:flex;
justify-content:space-between;
align-items:center;
border-top:1px solid var(--card-border);
padding-top:20px;
flex-wrap:wrap;
gap:15px;
}

.project-page .footer-bottom p{
color:var(--muted-color);
font-size:14px;
}

.section-title{
color:var(--accent-solid);
margin-bottom:40px;
}

.skills-summary{
display:flex;
gap:25px;
justify-content:center;
flex-wrap:wrap;
margin-bottom:50px;
}

.summary-card{
background:var(--card-bg);
padding:25px;
border-radius:16px;
width:220px;
text-align:center;
border:1px solid var(--card-border);
transition:0.3s;
}

.summary-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,0,0,0.4);
}

.summary-card i{
font-size:24px;
margin-bottom:12px;
color:var(--accent-solid);
}

#skills{
max-width:1400px;
margin:70px auto;
padding:0 20px;
}

.skills-container{
display:flex;
gap:30px;
justify-content:flex-start;
flex-wrap:wrap;
}

.skills-card{
background:var(--card-bg);
padding:30px;
border-radius:18px;
flex:0 0 calc(33.333% - 20px);
min-width:300px;
border:1px solid var(--card-border);
transition:0.3s;
}

.skills-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 50px rgba(0,0,0,0.5);
}

.skills-card-header{
display:flex;
align-items:center;
gap:15px;
margin-bottom:20px;
}

.skills-icon{
width:45px;
height:45px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
}

.frontend{
background:rgba(0,186,255,0.15);
color:#00baff;
}

.backend{
background:rgba(255,100,100,0.15);
color:#ff6464;
}

.skills-icon.integration{
background:rgba(59,130,246,0.15);
color:#3b82f6;
}

.skills-icon.database{
background:rgba(34,197,94,0.15);
color:#22c55e;
}

.integration-progress{
background:linear-gradient(90deg,#3b82f6,#06b6d4);
}

.database-progress{
background:linear-gradient(90deg,#22c55e,#14b8a6);
}

.tools{
background:rgba(170,120,255,0.15);
color:#aa78ff;
}

.skill{
margin-bottom:18px;
}

.skill-row{
display:flex;
justify-content:space-between;
margin-bottom:6px;
font-size:14px;
}

.skill-bar{
height:8px;
background:#1a1a1a;
border-radius:10px;
overflow:hidden;
}

.skill-progress{
height:100%;
border-radius:10px;
}

.frontend-progress{
background:linear-gradient(90deg,#00baff,#2ad1ff);
}

.backend-progress{
background:linear-gradient(90deg,#ff6464,#ff1e1e);
}

.tools-progress{
background:linear-gradient(90deg,#aa78ff,#6a5cff);
}


.contact-section{
max-width:1200px;
}

.contact-subtitle{
color:var(--muted-color);
margin-bottom:40px;
text-align:left;
}

.contact-container{
display:flex;
gap:40px;
flex-wrap:wrap;
justify-content:center;
}

.contact-left,
.contact-form{
flex:1;
min-width:320px;
padding:30px;
}

.contact-item{
display:flex;
gap:15px;
align-items:center;
margin-top:20px;
}

.contact-item i{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:rgba(0,186,255,0.12);
color:var(--accent-solid);
font-size:18px;
}

.contact-item span{
font-size:13px;
color:var(--muted-color);
}

.contact-item p{
font-size:14px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:12px;
margin-top:15px;
border-radius:10px;
border:1px solid var(--card-border);
background:var(--card-bg);
color:var(--text-color);
}

.contact-form textarea{
min-height:120px;
resize:none;
}

.contact-btn{
margin-top:20px;
width:100%;
padding:12px;
border:none;
border-radius:25px;
background:var(--accent-bg);
color:white;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.contact-btn:hover{
transform:translateY(-2px);
box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.contact-cta{
margin-top:50px;
padding:40px;
border-radius:20px;
text-align:center;
background:var(--card-bg);
color:var(--text-color);
border:1px solid var(--accent-solid);
box-shadow:0 8px 25px rgba(0,0,0,0.3);
transition:0.3s;
}

.contact-cta:hover{
transform:translateY(-3px);
box-shadow:0 12px 35px rgba(0,0,0,0.4);
}

.contact-cta h3{
margin-bottom:10px;
color:white;
}

.contact-cta p{
margin:0 auto 20px auto;
max-width:600px;
text-align:center;
margin-bottom:20px;
color:white;
}

.cta-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.cta-buttons a{
padding:12px 28px;
border-radius:25px;
background:rgba(255,255,255,0.95);
color:#0a0a0a;
text-decoration:none;
font-weight:600;
transition:0.3s;
border:1px solid rgba(255,255,255,0.3);
}

.cta-buttons a:hover{
background:white;
transform:translateY(-3px);
box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

.footer{
margin-top:60px;
padding:30px;
border-top:1px solid var(--card-border);
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.footer-left{
font-weight:800;
margin-left: 10px;
}

.footer-icons{
display:flex;
justify-content:space-between;
align-items:center;
gap:15px;
}

.footer-icons a{
width:50px;
height:50px;
display:flex;
align-items:center;
justify-content:center;
border-radius:10px;
background:var(--card-bg);
color:var(--accent-solid);
text-decoration:none;
}

.footer-icons a i{
font-size:24px;
}

html{
scroll-behavior:smooth;
}

.back-to-top{
position:fixed;
bottom:30px;
right:30px;
width:45px;
height:45px;
border-radius:50%;
border:1px solid var(--card-border);
background:var(--card-bg);
color:var(--accent-solid);
font-size:18px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
opacity:0;
visibility:hidden;
transition:0.3s;
box-shadow:0 5px 20px rgba(0,0,0,0.3);
z-index:999;
}

.back-to-top:hover{
transform:translateY(-4px);
background:var(--accent-solid);
color:white;
}

.back-to-top.show{
opacity:1;
visibility:visible;
}

@media (max-width:1100px){
.section{
max-width:900px;
}

#projects .card-grid{
flex-wrap:wrap;
justify-content:center;
}

.skill-card{
width:240px;
}

.contact-container{
gap:30px;
}

.contact-left,
.contact-form{
padding:25px;
}

.contact-cta{
padding:35px 25px;
}

}

@media (max-width:900px){

.hero h1{
font-size:2.2rem;
}

.hero h2{
font-size:1.1rem;
}

.hero-container{
flex-direction:column;
text-align:center;
gap:30px;
}

.hero-image img{
width:180px;
height:180px;
}

.section{
margin:50px auto;
}

.portfolio .nav-links{
gap:16px;
font-size:0.9rem;
}

#skills .card-grid{
flex-wrap:wrap;
justify-content:center;
}

.about-grid{
grid-template-columns:1fr;
}

.about-highlights{
justify-content:center;
}

.about-right{
margin-top:20px;
}

.contact-container{
flex-direction:column;
align-items:center;
}

.contact-left,
.contact-form{
width:100%;
max-width:600px;
}

.contact-cta{
margin-top:40px;
padding:30px 20px;
}

.cta-buttons{
gap:15px;
}

.cta-buttons a{
padding:10px 22px;
font-size:14px;
}

.footer{
flex-direction:column;
gap:15px;
text-align:center;
}

.project-links{
justify-content:center;
}

.project-page .hero-buttons{
gap:14px;
}

.project-page .footer-top{
flex-direction:column;
}

.project-page .footer-bottom{
flex-direction:column;
text-align:center;
}

}


@media (max-width:768px){

.portfolio .navbar{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.portfolio .nav-actions{
align-self:flex-end;
}

.about-container{
flex-direction:column;
text-align:center;
}

.about-image{
width:150px;
}

#projects .card-grid{
flex-direction:column;
align-items:center;
}

.project-card{
width:100%;
max-width:380px;
}

.skill-card{
width:100%;
max-width:320px;
}

.experience-header{
flex-direction:column;
}

.experience-title-row{
flex-direction:column;
align-items:flex-start;
}

.experience-points{
grid-template-columns:1fr;
}

}

@media (max-width:600px){

.hero{
padding:70px 15px;
}

.portfolio .hero{
padding:90px 15px 70px;
}

.hero h1{
font-size:1.8rem;
}

.hero h2{
font-size:1rem;
}

.tech-stack{
font-size:0.85rem;
}

.section{
margin:40px auto;
padding:0 15px;
}

.section h3{
font-size:1.2rem;
}

.portfolio .hero-buttons a{
padding:10px 18px;
font-size:0.9rem;
}

.image-grid{
grid-template-columns:1fr;
}

.contact-section{
padding:0 15px;
}

.contact-subtitle{
font-size:14px;
margin-bottom:25px;
}

.contact-left,
.contact-form{
padding:20px;
min-width:auto;
}

.contact-item{
gap:12px;
}

.contact-item i{
width:40px;
height:40px;
font-size:16px;
}

.contact-form input,
.contact-form textarea{
padding:10px;
font-size:14px;
}

.contact-btn{
padding:11px;
font-size:14px;
}

.contact-cta{
padding:25px 15px;
border-radius:16px;
}

.contact-cta h3{
font-size:18px;
}

.contact-cta p{
font-size:14px;
}

.cta-buttons{
flex-direction:column;
gap:12px;
}

.cta-buttons a{
width:100%;
text-align:center;
}

.footer{
padding:20px 15px;
}

.footer-left{
font-size:15px;
}

.footer-icons a{
width:36px;
height:36px;
}

.project-links{
flex-direction:column;
align-items:center;
}

.project-links .project-button{
width:100%;
justify-content:center;
}

.project-page .hero-buttons{
flex-direction:column;
}

.project-page .hero-buttons a{
width:100%;
text-align:center;
}

.project-cta .cta-buttons{
flex-direction:column;
}

.project-cta .cta-buttons a{
width:100%;
text-align:center;
}

}

@media (max-width:400px){

.hero h1{
font-size:1.6rem;
}

.hero h2{
font-size:0.9rem;
}

.portfolio .nav-links{
font-size:0.8rem;
gap:8px;
}

.hero-image img{
width:150px;
height:150px;
}

.project-card{
max-width:100%;
}

.contact-left,
.contact-form{
padding:18px 15px;
}

.contact-item span{
font-size:12px;
}

.contact-item p{
font-size:13px;
}

.contact-cta h3{
font-size:16px;
}

.contact-cta p{
font-size:13px;
}

.footer-left{
font-size:14px;
}


}