/* General body styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    /* font-size: 1.2em; */
}

/* Container */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Header styles */
header {
    text-align: center;
    padding: 10px 0;
}

header h1 {
    font-size: 2.5em;
}

/* Social links in the header */
header .social-links {
    margin-top: 15px;
}

header .social-links a {
    font-size: 1.8em; 
    color: #f0f0f0;
    margin: 0 10px; 
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

header .social-links a:hover {
    color: #ff8000; 
    transform: scale(1.3); 
}



/* Ensure background spans full width even if wrapped */
nav {
    width: 100%;
    overflow: hidden;
}

/* Responsive tweak: center items nicely on narrow screens */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 8px 0;
    }
}
/* Navigation styles */
nav ul {
    display: flex;
    flex-wrap: wrap;   
    justify-content: center;
    list-style: none;
    padding: 0;
    background: #1f1f1f;
    margin: 20px 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-size: 0.95em;
    padding: 5px 10px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
     
}

nav ul li a:hover {
    background: #ff8000;
    color: #fff;
    border-radius: 5px;
    transform: scale(1.3);
}

/* Section headers */
main h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #ff8000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Styled list for subpoints */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 1.1em;
}

.styled-list li i {
    color: #ff8000;
    margin-right: 10px;
    font-size: 1.3em;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.styled-list li:hover i {
    color: #00FFFF;
    transform: scale(1.2);
}

.styled-list li:hover {
    color: #00FFFF;
    transform: scale(1.02);
}

/* Contact section */
#contact {
    margin-top: 40px;
    padding: 20px;
    background: #1f1f1f;
    border-radius: 8px;
}

#contact h2 {
    font-size: 1.8em;
    color: #f0f0f0;
    text-align: center;
    border-bottom: 2px solid #ff8000;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contact-info {
    flex: 1 1 40%;
    color: #f0f0f0;
    font-size: 1.1em;
    line-height: 1.6;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #ff8000;
    margin-right: 10px;
    font-size: 1.3em;
}

.contact-info a {
    color: #f0f0f0;
    text-decoration: none;
    /* transition: color 0.3s ease, background-color 0.3s ease; */
}

.contact-info a:hover {
    color: #00FFFF;
    /* transform: scale(1.2); */
}

/* Contact form */
.contact-form {
    flex: 1 1 50%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    background: #121212;
    color: #f0f0f0;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 1em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #0056b3;
}

/* Media queries for responsiveness */

/* For tablets and below (max-width: 768px) */
@media (max-width: 768px) {

    /* Container */
    .container {
        padding: 10px;
        max-width: 100%;
    }

    /* Header */
    header h1 {
        font-size: 2em;
    }

    /* Navigation */
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        padding: 12px 20px;
        font-size: 1.1em;
    }

    /* Main section */
    main h2 {
        font-size: 1.5em;
    }

    /* Contact section */
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex: 1 1 100%;
        text-align: center;
    }

    .contact-form {
        flex: 1 1 100%;
    }

    /* Form inputs */
    .contact-form input,
    .contact-form textarea {
        font-size: 0.9em;
    }

    .contact-form button {
        font-size: 1em;
        padding: 10px 15px;
    }
}

/* For mobile devices (max-width: 480px) */
@media (max-width: 480px) {

    /* Header */
    header h1 {
        font-size: 1.5em;
    }

    /* Navigation */
    nav ul li a {
        padding: 10px;
        font-size: 1em;
    }

    /* Main section */
    main h2 {
        font-size: 1.3em;
    }

    /* Contact section */
    .contact-info {
        font-size: 1em;
    }

    /* Contact form */
    .contact-form input,
    .contact-form textarea {
        font-size: 0.9em;
    }

    .contact-form button {
        font-size: 1em;
        padding: 10px 15px;
    }
}

/* Header profile container */
header .profile-container {
    text-align: center;
    margin-bottom: 20px;
}

/* Profile picture styling */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #ff8000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

/* Centered text below the picture */
header h1 {
    margin-top: 15px;
    font-size: 2.5em;
    color: #f0f0f0;
}

header p {
    margin-top: 5px;
    font-size: 1.2em;
    color: #ddd;
}


/* Projects Section */
#projects {
    margin-top: 40px;
    padding: 20px;
    background: #1f1f1f;
    border-radius: 8px;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card {
    background: #121212;
    border: 1px solid #333;
    border-radius: 10px;
    width: 280px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(255, 128, 0, 0.3);
}

.project-card img {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

.project-card h3 {
    color: #ff8000;
    margin-bottom: 10px;
}

.project-card p {
    color: #ddd;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.project-card .btn {
    background-color: #ff8000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.project-card .btn:hover {
    background-color: #00ffff;
    color: #121212;
}
