body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #555;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

#hero {
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    text-align: center;
    padding: 100px 0;
    color: white;
}

#hero h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.button {
    display: inline-block;
    background-color: #ff8c00;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #e07b00;
}

#services, #about, #contact, #projects {
    padding: 60px 0;
}

#services, #about {
    background-color: #f8f9fa; /* Light grey background for these sections */
}

#projects {
    background-color: #eef1f5; /* A slightly cooler, more distinct grey to stand out */
}

#services h2, #about h2, #contact h2, #projects h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2em;
    color: #2c3e50;
}

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

/* Other styles remain the same */

.service {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Added flare for the projects section cards */
#projects .service {
    border-left: 4px solid #ff8c00; /* Orange accent border for flare */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Slightly deeper shadow */
}


.service h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* NEW/ADJUSTED style for lists inside the service/skill boxes */
.service ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.service li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service li:before {
    content: '✓';
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}


.about-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: #555;
}

/* This can be removed if you no longer need it */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
}

/* This can be removed if you no longer need it */
.skill-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

/* ... Other styles remain the same */

.skill-card h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.skill-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skill-card li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.skill-card li:before {
    content: '✓';
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

#contact input, #contact textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

#contact button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        margin: 0 10px;
    }

    #hero h2 {
        font-size: 2em;
    }

    .service-grid, .skills-grid {
        grid-template-columns: 1fr;
    }
}