/* Global Styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    padding-top: 4rem; /* To ensure the content doesn't hide behind the fixed header */
    transition: background-color 0.3s, color 0.3s;
}

/* Light Mode Styles */
body.light-mode {
    background-color: #f0f0f0;
    color: #333;
}

header.light-mode {
    background-color: #4db6ac; /* Lighter Teal Blue */
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

header.dark-mode {
    background-color: #00796b;
}

.hero.dark-mode {
    background-color: #004d40; /* Darker Teal Blue */
}

.skills.dark-mode {
    background-color: #333; /* Darker Backgroubd for Dark Mode */
}

.skills h2,
.skill h3 {
    color: #a8e6cf; /* Light Mint Green */
}

.contact.dark-mode {
    background-color: #1c1c1c; /* Dark Background for contact section */
}

.contact h2 {
    color: #a8e6cf; /* Light Mint Green */ 
}

.contact-inputs {
    border: 1px solid #555; /* Darker Border Color */
    background-color: #333; /* Daarker input background */
    color: #e0e0e0; /* Lighter text color */
}

.contact-inputs::placeholder {
    color: #888; /* Placeholder text color */
}

button {
    background-color: #004d40; /* Darker teal blue for buttons */
}
/* Other Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    position: fixed; /* Make header fixed*/
    top: 0;
    left: 0;
    width: 100%; /* Ensure header spans full width */
    background-color: #4db6ac; /* Default lighter teal Blue*/
    color: #fff;
    z-index: 1000; /* Make sure header is on top of other content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: #004d40; /* Darker Teal Blue for hover effect*/
}

/* Hero Section*/
.hero {
    background-color: #008080; /* Teal Blue */
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 0.5rem 0 1.5rem;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
}

.btn {
    background-color: #a8e6cf; /* Light Mint Green*/
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    margin: 0.5rem;
    display: inline-block;
}

.btn-secondary {
    background-color: #004d40; /* Darker Teal Blue*/
}

.btn:hover {
    opacity: 0.8;
}

/* Introduction */
.intro {
    padding: 2rem 0;
}

.intro h2 {
    text-align: center;
    color: #008080; /* Teal Blue*/
}

/* Featured Skills */
.skills {
    padding: 2rem 0;
    background-color: #f9f9f9;
}

.skills h2 {
    text-align: center;
    color: #008080; /* Teal Blue */
}

.skills-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.skill {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(25% - 1rem); /* Adjusted to fit four skills*/
    margin: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.skill img {
    max-width: 60px;
    margin-bottom: 1rem;
}

.skill h3 {
    color: #008080; /* Teal Blue*/
    margin: 0.5rem 0;
}

.skill p {
    font-size: 0.9rem;
    color: #666;
}

/* Portfolio */
.portfolio {
    text-align: center;
    color: #008080; /* Teal Blue*/
}

.portfolio h2 {
    text-align: center;
    color: #008080; /* Teal Blue */
}

.project-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(33% - 1rem);
    margin: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.project img {
    max-width: 100%;
    border-radius: 8px;
}

.project h3 {
    color: #008080; /* Teal Blue */
}

/* Contact */
.contact {
    padding: 3rem 0;
    background-color: #e0f2f1; /* Light Teal Blue Background */
}
.contact-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    /* height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly; */
}

.contact-left {
    flex: 1;
    /* display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px; */
}

.contact-right {
    flex: 1;
    text-align: center;
}

.contact-right img {
    max-width: 100%;
    height: auto;
    /* width: 500px; */
}

.contact-inputs{
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    border-radius: 50px; */
}

button {
    background-color: #008080; /* Teal Blue */
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
}

button img {
    height: 15px;
    vertical-align: middle;
}


/* .contact-title p {
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 5px;
} */


.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

/* .contact-inputs:focus {
    border: 2px solid #a8e6cf;
} */

.contact-inputs::placeholder {
    color: #a9a9a9;
}

/* .contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background-color: #008080;
    cursor: pointer;
} */

/* .contact-left button img {
    height: 15px;
} */



@media (max-width:800px) {
    .contact-inputs {
        width: 80vw;
    }
    .contact-right {
        display: none;
    }
    
}
/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 1rem;
    }

    .skills-grid, .project-grid{
        flex-direction: column;
        align-items: center;
    }

    .skill, .project {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}