body {
    background: #FAFAF8;
    color: #23272F;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #7EC8E3;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover, a:focus {
    color: #599fb0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.navbar {
    background: #fff;
    border-bottom: 1.5px solid #E6EEF3;
    box-shadow: 0 2px 10px rgba(126, 200, 227, 0.05);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #7EC8E3;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-links li a.active,
.nav-links li a:hover,
.nav-links li a:focus {
    background: #E6EEF3;
    color: #1396c7;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    background: #7EC8E3;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, #eaf8fd 60%, #7EC8E3 100%);
    padding: 70px 0 50px 0;
    text-align: center;
/* Highlight "Medical Doctor" inside hero-section for emphasis and readability */
.hero-section span.medical-doctor {
    font-weight: 800;
    color: #1E3A8A; /* Deep blue, matching and contrasting theme */
    background-color: #eaf8fd; /* Soft theme color for subtle highlight */
    padding: 0.05em 0.35em;
    border-radius: 0.25em;
    font-size: 1.15em;
    letter-spacing: 0.02em;
    display: inline-block; 
}
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #2B3A44;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: #7EC8E3;
}

.hero-content p {
    color: #4A565D;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn {
    background: #7EC8E3;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 3px 18px rgba(126,200,227,0.13);
    outline: none;
}

.btn:hover, .btn:focus {
    background: #1396c7;
    color: #FAFAF8;
}

/* About Section */
.about-section {
    background: #FAFAF8;
    padding: 60px 0;
}

.about-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-img {
    max-width: 210px;
    width: 100%;
    border-radius: 100px;
    box-shadow: 0 2px 16px rgba(126, 200, 227, 0.24);
    border: 5px solid #e6eef3;
}

.about-text {
    max-width: 550px;
}

.about-text h2 {
    color: #2B3A44;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #4A565D;
    margin: 0;
}

/* Skills Section */
.skills-section {
    background: #E6EEF3;
    padding: 60px 0;
}

.skills-section h2 {
    color: #2B3A44;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    text-align: center;
}

.skills-list {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.skill-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 28px rgba(126, 200, 227, 0.11);
    padding: 2rem 1.5rem;
    max-width: 270px;
    width: 100%;
}

.skill-item h3 {
    color: #7EC8E3;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-item ul {
    padding-left: 1.1rem;
    color: #426280;
    font-size: 1rem;
    margin: 0;
}

/* Projects Section */
.projects-section {
    background: #FAFAF8;
    padding: 60px 0;
}

.projects-section h2 {
    color: #2B3A44;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.projects-list {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(126, 200, 227, 0.14);
    padding: 2rem 1.2rem;
    max-width: 325px;
    width: 100%;
    color: #393E46;
    transition: transform 0.15s, box-shadow 0.15s;
}

.project-card h3 {
    color: #7EC8E3;
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.project-card p {
    margin: 0;
    color: #4A565D;
    font-size: 1.05rem;
}

.project-card:hover, .project-card:focus-within {
    transform: translateY(-7px) scale(1.025);
    box-shadow: 0 10px 38px rgba(126, 200, 227, 0.18);
}

/* Contact Section */
.contact-section {
    background: #E6EEF3;
    padding: 60px 0 40px 0;
}

.contact-section h2 {
    color: #2B3A44;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form {
    max-width: 430px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 18px rgba(126, 200, 227, 0.13);
    padding: 2.2rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="email"],
textarea {
    border: 1.5px solid #CfE6F2;
    background: #FAFAF8;
    border-radius: 5px;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    transition: border 0.22s;
    margin-top: 0.1rem;
    resize: vertical;
}

input:focus, textarea:focus {
    border-color: #7EC8E3;
    outline: none;
}

#formMessage {
    margin-top: 1rem;
    color: #1396c7;
    text-align: center;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #7EC8E3;
    color: #fff;
    padding: 1.6rem 0;
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 1.07rem;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1020px) {
    .about-content,
    .skills-list,
    .projects-list {
        flex-direction: column;
        gap: 1.7rem;
        align-items: center;
    }
    .about-text, .profile-img,
    .skill-item, .project-card {
        max-width: 95vw;
    }
}

@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .footer {
        font-size: 0.99rem;
    }
    .about-section,
    .skills-section,
    .projects-section,
    .contact-section {
        padding: 35px 0;
    }
    .navbar .container {
        padding: 0.8rem 0;
    }
}

/* Nav Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 2rem;
        top: 70px;
        flex-direction: column;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(126, 200, 227, 0.12);
        width: 180px;
        padding: 1.5rem 0;
        gap: 0.5rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-15px);
        transition: all 0.35s cubic-bezier(0.76, 0.05, 0.24, 1);
        z-index: 999;
    }
    .nav-links.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    .menu-toggle {
        display: flex;
    }
}
  
@media (max-width: 480px) {
    .container {
        padding: 0 0.7rem;
    }
    .hero-content h1 {
        font-size: 1.35rem;
    }
    .btn {
        font-size: 0.97rem;
        padding: 0.6rem 1.5rem;
    }
    .profile-img {
        max-width: 120px;
    }
    .footer {
        font-size: 0.91rem;
    }
}
/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 100px;
    background-color: #F4F4F9;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.hero-image img {
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.2s forwards;
    animation-delay: 0.5s;
}

/* About Section */
.about-section .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-img {
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Fade-in Animation */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content, .about-section .about-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 300px;
        margin-top: 20px;
    }

    .profile-img {
        width: 200px;
        margin-bottom: 20px;
    }