* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    color: white;
    background: linear-gradient(135deg,
            #020714 0%,
            #071528 25%,
            #0d2a4a 50%,
            #123a63 75%,
            #050a1e 100%
    );
    background-attachment: fixed;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
header {
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 11, 31, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(80, 83, 84, 0.3);
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
header nav ul {
    display: flex;
    list-style: none;
    flex-direction: row;
    gap: 25px;
}
header nav ul li {
    margin-left: 0;
}
header nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    display: block;
    padding: 5px 0;
}
header nav ul li a:hover {
    color: #38bdf8;
}
.logo {
    font-size: 20px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.logo img{
    width: 50px;
}
.logo span {
    color: #38bdf8; 
}
section, .container {
    padding: 80px 20px;
    margin: 0 auto;
    scroll-margin-top: 60px;
}
.main {
    text-align: center;
    padding: 120px 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about_content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.profile_img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #38bdf8;
    object-fit: cover;
}
.hero h1 {
    margin-bottom: 15px;
    font-size: 48px;
}
.hero h1 span {
    color: #38bdf8;
}
.hero h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
}
.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #cbd5e1;
    line-height: 1.6;
}
.button {
    display: inline-block;
    padding: 12px 30px;
    background: #38bdf8;
    color: #1c1c29;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}
.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    border-top: 1px solid rgba(83, 83, 83, 0.3);
}
.container h2 {
    font-size: 30px;
    margin-bottom: 40px;
    position: relative;
    color: #f8fafc;
}
.container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: #38bdf8;
    border-radius: 2px;
}
.skill_category {
    background: rgba(28, 32, 48, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
}
.skill_category h3 {
    color: #38bdf8;
    margin-bottom: 15px;
    font-size: 20px;
}
.skill_category ul {
    list-style-type: none;
}
.skill_category ul li {
    padding: 8px 0;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.skills_style {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
}
.project_header {
    display: flex;
    align-items: center;
    gap: 12px; 
    margin-bottom: 12px;
    display: flex;
}    
.project_header h3 {
    margin-bottom: 0; 
    font-size: 25px;
    color: #f8fafc;
}
.projects_style {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}
.project_icon {
    font-size:30px;
    color: #38bdf8;
    transition: 3s;
}
.project_card:hover .project_icon {
    color: #60a5fa; 
}
.project_card {
    background: rgba(28, 32, 48, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
    margin-bottom: 20px;
}
.project_card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}
.project_link:link, 
.project_link:visited {
    color: #38bdf8; 
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: 0.3s ;
    display: inline-block;
    margin-top: 5px;
}
.project_link:hover, 
.project_link:active {
    color: #60a5fa; 
    text-decoration: underline;
    transform: translateX(3px);
}
.project_card h3 {
    margin-bottom: 12px;
    color: #f8fafc;
}
.project_card p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.5;
}
.project_link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}
.project_link:hover {
    text-decoration: underline;
}
.icon-mail { 
    color: #831527; 
}   
.icon-phone {
     color: #10b981;
}    
.icon-github { 
    color: #f8fafc;
}   
.icon-linkedin { 
    color: #0077b5; 
} 
.icon-location { 
    color: #38bdf8; 
}  
footer {
    background: rgba(5, 11, 31, 0.9);
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    padding: 50px 20px 30px;
    text-align: center;
}
.footer_title {
    font-size: 18px;
    font-weight: 600;
    color: #38bdf8;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.footer_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}
.footer_item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start; 
    background: rgba(28, 32, 48, 0.6);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 10px 18px;
    border-radius: 30px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    width: 20%;
    justify-content: center;
}
.footer_item:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    color: #f8fafc;
    transform: translateY(-2px);
}
.footer_item i {
    font-size: 15px;
}
.footer_item.no_link:hover {
    background: rgba(28, 32, 48, 0.6);
    border-color: rgba(255,255,255,0.07);
    color: #cbd5e1;
    transform: none;
}
.footer_copy {
    color: #475569;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        gap: 15px;
    }
    .hero h1 {
        font-size: 35px;
    }
    .container h2 {
        font-size: 30px;
    }
    .projects_style ,.skills_style {
        grid-template-columns: 1fr;
    }
    .footer_links {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .footer_item{
        width: 100%;
        justify-content: center;
    }
}