/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background-color: #2c3e50;
    position: sticky;
    top: 0;
    padding: 1rem 0;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.navbar li {
    margin: 0 20px;
}

.navbar a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 300;
}

.hero .cta-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .cta-btn:hover {
    background-color: #2980b9;
}

/* About Section */
.about {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.about h2 {
    font-size: 2.5rem;
    color: #2980b9;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Skills Section */
.skills {
    padding: 60px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.skills h2 {
    font-size: 2.5rem;
    color: #2980b9;
    margin-bottom: 30px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.skill-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Projects Section */
.projects {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    color: #2980b9;
    margin-bottom: 30px;
}

.project {
    background-color: #ecf0f1;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project h3 {
    font-size: 1.8rem;
    color: #2c3e50;
}

.project p {
    font-size: 1.1rem;
    margin-top: 10px;
}

.project a {
    font-weight: bold;
    color: #3498db;
    text-decoration: none;
}

.project a:hover {
    color: #2980b9;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: #2980b9;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    color: #2980b9;
}

/* Footer Section */
footer {
    padding: 20px 0;
    text-align: center;
    background-color: #2c3e50;
    color: white;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #3498db;
}
