
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #000000;
    color: #ffffff;
    
}


html {
    scroll-behavior: smooth;
}

section {
    min-width: 80vh;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: #000000;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    transition: 0.3s ease;
     
}
.nav-center{
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 999px;          
    border: 1px solid #6b6b6b;
    transition: 0.3s ease;
}
.nav-center a {
    position: relative;
}

.nav-center a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #000000;
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-center a:hover::after {
    width: 100%;
}
.nav-center a {
    position: relative;
}

.nav-center a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-center a:hover::after {
    width: 100%;
}




.logo {
    font-weight: bold;
    font-size: 18px;
}

.navbar nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #fffcfc;
    font-size: 15px;
}
.navbar nav a:hover {
    color: #ffffff;
    font-weight: bold;
}

.nav-icons {
    display: flex;
    gap: 12px;
}

.nav-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
}

.nav-icons a i {
    font-size: 18px;
}

/* Hover effect */
.nav-icons a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000;
}




/* Hero Section */

.Home {
    min-height: 100vh;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Heading */
.Home h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.Home h1 span {
    font-weight: 700;
}

/* Description */
.Home p {
   
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
}


/* Buttons */
.buttons a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Primary */
.Projects {
    padding: 14px 26px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
}
.Projects:hover {
    background: #ffffff;
    color: #000;
}

/* Secondary */
.Contact {
    padding: 14px 26px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #000;
    font-size: 15px;
}
.Contact:hover {
    background: #000;
    color: #fff;
}

/* About Section */

.about {
   min-height: 80vh;
    padding: 80px;
    display: flex;
    align-items: center;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image */
.about-img img {

    border-radius: 18px;
    object-fit: cover;
    height: auto;
    max-width: 450px;
    transition: 0.3s ease;
}

.about-img img:hover {
    transform: scale(1.05);
}


/* Content */
.about-content {
    max-width: 520px;
    margin-bottom: 250px;
}

.about-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 20px;
    color: #555;
    line-height: 1.7;
    
}


/* Skills Section */

.skills {
   min-height: 80vh;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skills h2 {
    margin-bottom: 8px;
     font-size: 50px;
}

.skills .subtitle {
    color: #979797;
    margin-bottom: 50px;
    max-width: 500px;
     font-size: 20px;
}
.badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px 0 40px;
}

.badge {
    padding: 8px 18px;
    background: #636363;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}


/* Cards Layout */
.skills-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Skill Card */
.skill-card {
    width: 300px;
    padding: 28px;
    border: 1px solid #000000;
    border-radius: 18px;
    background: #3b3b3b;
    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
}

/* Card Title */
.skill-card h3 {
    margin-bottom: 18px;
    font-size: 20px;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    padding: 6px 14px;
    background: #f4f4f4;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
}

/* Center Cards on Large Screens */
@media (min-width: 1200px) {
    .skills-container {
        justify-content: center;
    }
}

/* Projects Section */
.projects {
    min-height: 80vh;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projects h2 {
    margin-bottom: 8px;
     font-size: 50px;
}

.projects .subtitle {
    color: #adadad;
    margin-bottom: 50px;
    max-width: 500px;
     font-size: 20px;
}

/* Cards Layout */
.projects-container {
    display: flex;
    gap: 30px;
}

/* Project Card */
.project-card {
    width: 320px;
    height: 260px;
    border: 1px solid #000000;
    border-radius: 18px;
    background: #5e5e5e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    background: #fff;
}

/* Content */
.project-content h3 {
    font-size: 20px;
    color: #888;
    letter-spacing: 1px;
}

/* Optional: Center container */
@media (min-width: 1200px) {
    .projects-container {
        justify-content: center;
    }
}

/* Contact Section */
.contact {
    min-height: 100vh;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact h2 {
    
    margin-bottom: 8px;
     font-size: 50px;
}

.contact .subtitle {
    color: #b1b1b1;
    margin-bottom: 50px;
    max-width: 500px;
     font-size: 17px;
}

/* Layout */
.contact-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Form Card */
.contact-form {
    width: 420px;
    border: 1px solid #000000;
    border-radius: 18px;
    padding: 32px;
    background: #6b6b6b;
}

.contact-form h3 {
    margin-bottom: 6px;
}

.contact-form p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: none;
    background: #cdcdcd;
    font-size: 14px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #000000;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

/* Info Section */
.contact-info {
    max-width: 360px;
}

.contact-info h3 {
    margin-bottom: 14px;
}

.contact-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Info Item */
.info-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 25px;
}

.info-item span {
    background: #f1f1f1;
    padding: 12px;
    border-radius: 12px;
}

.info-item small {
    color: #c9c9c9;
}

/* Social Icons */
.icons {
    display: flex;
    gap: 12px;
}

.icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
}

.icons a i {
    font-size: 18px;
}

.icons a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
} 
/* Footer */
.footer {
    background: #3e3e3e;
    color: #fff;
    padding: 60px 80px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left */
.footer-left h3 {
    margin-bottom: 10px;
}

.footer-left p {
    color: #d1d1d1;
    max-width: 320px;
    line-height: 1.6;
}

/* Center Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #fff;
    color: #000;
}

/* Bottom */
.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #c5c5c5;
}
