* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy', sans-serif; /* Ensure you have this font or a fallback */
    color: #fff;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #0f0f0f;
    overflow-x: hidden; /* Prevent horizontal scroll */
    /* overflow-y: hidden; */
    
}

.no-underline {
    text-decoration: none;
    color: inherit;
    display: block;
}

.about-project .no-underline {
    flex: 1;
}

.no-underline .card {
    height: 100%;
}

/* --- Navigation --- */
#nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vw 5vw;
}

#nav h1 {
    font-size: 2vw;
    font-weight: 800;
}

#nav-center {
    display: flex;
    align-items: center;
    gap: 3vw;
}

#nav-center h4 {
    font-size: 1vw;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    color: #bbb;
    transition: color 0.3s;
}

#nav-center h4 a {
    color: inherit;
    text-decoration: none;
}

#nav-center h4:hover {
    color: #fff;
}

#nav h2 {
    font-size: 1.1vw;
    font-weight: 600;
    border: 1px solid #5a8dee;
    padding: 0.8vw 1.5vw;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#nav h2:hover {
    background-color: #5a8dee;
}

#nav h2 a {
    color: #fff;
    text-decoration: none;
}
#nav-center a {
    text-decoration: none;
    color: inherit;
}

#menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #0f0f0f;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
}

#mobile-menu.active {
    right: 0;
}

#close-icon {
    position: absolute;
    top: 2.3vw;
    right: 5.5vw;
    font-size: 2.5rem;
    cursor: pointer;
}

#mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

#mobile-links a {
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s;
}

#mobile-links a:hover {
    color: #fff;
}
/* --- Section 1 --- */
#line {
    display: flex;
    justify-content: center;
    width: 100%;
    /* Allow height to fit content on smaller screens */
    min-height: 40vh; 
    padding: 1vw;
    gap: 1vw;
}

#line1-part1 {
    width: 30%;
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 1vw;
}

#line1-part2 {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

/* Profile Card */
#pic-name {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5vw;
}

#image {
    width: 15vw;
    height: 12vw;
    background-image: url('assets/img2.jpeg'); /* Make sure path is correct */
    background-size: cover;
    background-position: top;
    border-radius: 50%; /* Circle looks better generally */
    border: 2px solid #5a8dee;
}

#name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#name h3 {
    font-size: 1vw;
    font-weight: 400;
    color: #5a8dee;
    margin-bottom: 5px;
}

#name h1 {
    font-size: 2.5vw;
    line-height: 1;
}

#name p {
    margin-top: 1vh;
    font-size: 0.8vw;
    color: #888;
    line-height: 1.4;
}

/* Marquee */
.line-div {
    background-color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    padding: 1vw 2vw;
    border-radius: 50px;
}

.line-div h1 {
    font-size: 3vw;
    font-weight: 400;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    display: inline-block;
    margin-right: 20px;
    animation: anime1 10s linear infinite;
}

.line-div h1 .blue {
    color: #5a8dee;
    -webkit-text-stroke: 1px #5a8dee;
}

@keyframes anime1 {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Three Cards */
.about-project {
    width: 100%;
    display: flex;
    gap: 1vw;
    height: 100%;
}

.card {
    background-color: #1a1a1a;
    flex: 1;
    border-radius: 20px;
    padding: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.card:hover {
    background-color: #222;
}

.icon-header i {
    font-size: 2vw;
    color: #5a8dee;
}

.card h4 {
    font-size: 0.9vw;
    color: #666;
    text-transform: uppercase;
    margin-top: 1vw;
}

.under-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.under-box h1 {
    font-size: 2vw;
}

/* Count Project specific styling */
#count-project {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
#count-project h1 { font-size: 3.5vw; font-style: italic; }
#count-project h2 { font-size: 3.5vw; font-style: italic; color: #5a8dee; }

/* --- Section 2 --- */
#line2 {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1vw;
    gap: 1vw;
    min-height: 35vh;
}

#line2-part1 {
    width: 47%; /* Roughly half */
}

.card-box {
    display: flex;
    gap: 1vw;
    height: 100%;
}

.wide-card {
    width: 50%; /* Split the space */
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vw;
}

.service-header i {
    font-size: 2vw;
    color: #5a8dee;
}

.wide-card p {
    font-size: 0.9vw;
    color: #888;
}

#line2-part2 {
    width: 48%;
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#social-media-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-header h1 {
    font-size: 3vw;
    line-height: 1;
}

.social-header i {
    font-size: 3vw;
    color: #5a8dee;
    margin-top: 10px;
}

.social-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
}

.social-icons a {
    background-color: #2a2a2a;
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: #5a8dee;
}

.social-icons i {
    font-size: 1.5vw;
}
.magnet-target a{
    cursor: pointer;
    text-decoration: none;
}