* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: white;
}

/* Navbar */
header {
    background: rgba(15, 23, 42, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 10%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: cyan;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    color: cyan;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 10%;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text h3 {
    color: cyan;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 55px;
    margin-bottom: 20px;
}

.hero-text span {
    color: cyan;
}

.hero-text p {
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.btn {
    background: cyan;
    color: black;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid cyan;
}

/* About */
.about {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image img {
    width: 400px;
    border-radius: 20px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Skills */
.skills {
    padding: 100px 10%;
    text-align: center;
}

.skills h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.skill-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.box {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-10px);
    background: cyan;
    color: black;
}

/* Projects */
.projects {
    padding: 100px 10%;
    text-align: center;
}

.projects h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
}

.project-card h3 {
    margin: 20px 0 10px;
}

.project-card p {
    color: #cbd5e1;
    padding-bottom: 20px;
}
/* Contact Section Styling */
.Contact {
    padding: 100px;
    text-align: center;
    margin-bottom: 80px;
    margin-top: 100px;
    background-color: #0f172a; /* Light background to separate from footer */
}

.Contact h2 {
    font-size: 2rem;
    line-height: 6;
    margin-bottom: 25px;
    width: 600px;
    padding-top: 20px;
    color: #eee9e9;
}
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
/* Social Icons Container */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between links */
    flex-wrap: wrap;
}

.social-icons a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hover Effect for Links */
.social-icons a:hover {
    background-color: #646464;
    color: #fff;
    border-color: #646464;
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Footer */
footer {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #cbd5e1;
    text-align: center;
    padding: 25px 10%;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

/* Small glowing line */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: cyan;
    border-radius: 10px;
    box-shadow: 0 0 15px cyan;
}

/* Footer text */
footer p {
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

/* Highlight name */
footer span {
    color: cyan;
    font-weight: bold;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    footer {
        padding: 20px;
    }

    footer p {
        font-size: 14px;
        line-height: 1.6;
    }
}