/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #111;
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('./photo/mainphoto.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4em;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content .description {
    font-size: 1.5em;
    margin-bottom: 30px;
    opacity: 0.8;
    text-transform: capitalize;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 20px;
    transition: 0.3s ease;
}

.social-icon:hover {
    background: #3498db;
    color: #fff;
}

/* About Section */
.about {
    padding: 60px 20px;
    background: #222;
    text-align: center;
}

/* Skills Section */
.skills {
    padding: 60px 20px;
    background: #121212;
    text-align: center;
}

/* Resume Section */
.resume {
    padding: 60px 20px;
    background: #222;
    text-align: center;
}

.resume .download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2em;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
}

.resume .download-btn:hover {
    background: #2980b9;
}

/* Footer */
footer {
    padding: 20px;
    background: #111;
    text-align: center;
    color: #fff;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

#back-to-top:hover {
    background: #2980b9;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #3498db;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    animation: fade 1s linear;
}

@keyframes fade {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Skills Progress Bar */
.progress-bar {
    position: relative;
    width: 100%;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
    height: 10px;
    margin-top: 5px;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: #3498db;
    transition: width 1s ease-in-out;
}
/* Contact Section */
.contact {
    background: #111; /* Match the portfolio theme */
    padding: 60px 20px;
    border-top: 1px solid #333;
    color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #fff;
    font-weight: 600;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    color: #fff;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    background: #333;
}

.contact-item h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #ddd;
    font-weight: 500;
}

.contact-item a {
    text-decoration: none;
    color: #3498db;
    font-size: 0.95em;
}

.contact-item i {
    font-size: 2.5em;
    color: #3498db;
    transition: color 0.3s;
}

.contact-item:hover i {
    color: #42a7f5;
}

.contact-item iframe {
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #3498db;
}