/* =============================
   GLOBAL STYLES
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1f4e79; /* AGREEMENT COLOR */
    color: #fff;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* =============================
   HEADER
============================= */
header {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo h1 {
    font-size: 1.6rem;
    color: #1f4e79;
    font-weight: 700;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    color: #2C3E50;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: #1f4e79;
    font-weight: 600;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =============================
   HERO SECTION
============================= */
#home {
    background: #1f4e79;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

#home h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

#home h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 300;
}

#home p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

button a {
    display: inline-block;
    background: #F39C12;
    color: #fff;
    padding: 12px 20px;
    margin: 8px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

button a:hover {
    background: #d68910;
}

/* =============================
   ABOUT SECTION
============================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-top: 60px;
    color: #2C3E50;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1f4e79;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-text button a {
    background: #1f4e79;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background 0.3s;
}

.about-text button a:hover {
    background: #163a59;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image img {
        max-width: 90%;
        margin-top: 20px;
    }
}

/* =============================
   PROJECTS
============================= */
#projects h2 {
    text-align: center;
    margin-top: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    color: #2C3E50;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #1f4e79;
    margin-bottom: 10px;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    background: #24292e;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.project-card a:hover {
    background: #444c56;
}

/* =============================
   EDUCATION & SKILLS
============================= */
.about-section {
    background: #fff;
    color: #2C3E50;
    padding: 40px;
    margin-top: 40px;
    border-radius: 10px;
}

.about-section h2 {
    color: #1f4e79;
    margin-bottom: 15px;
}

.edu-item .edu {
    margin-bottom: 5px;
}

.interests-skills-section {
    margin-top: 20px;
}

.interests ul, .skills ul {
    list-style: disc;
    margin-left: 20px;
}

.interests-skills-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
    padding: 20px;
}

.interests, .skills {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #2C3E50;
}

.interests h3, .skills h3 {
    color: #1f4e79;
    margin-bottom: 10px;
}

.interests ul, .skills ul {
    list-style: disc;
    margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .interests-skills-section {
        flex-direction: column;
    }
}


/* =============================
   CONTACT FORM
============================= */
#contact h2 {
    text-align: center;
    margin-top: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto;
    color: #2C3E50;
}

.contact-form label {
    font-weight: bold;
    color: #2C3E50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #F5F6FA;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1f4e79;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(31, 78, 121, 0.3);
}

.contact-form button {
    background-color: #1f4e79;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #163a59;
}

.social-links {
    text-align: center;
    margin-top: 15px;
}

.social-links a {
    margin: 0 10px;
    color: #F39C12;
    font-weight: bold;
    transition: 0.3s;
}

.social-links a:hover {
    color: #fff;
}

/* =============================
   FOOTER
============================= */
footer {
    text-align: center;
    padding: 20px;
    background: #0e2d4a;
    margin-top: 40px;
    color: #ddd;
    font-size: 0.9rem;
}
