/* ===== GLOBAL RESET ===== */
body {
    margin: 0;
    font-family: "Times New Roman", Georgia, serif;
    background-color: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background-color: #002147; /* University Blue */
    color: #ffffff;
    padding: 25px 10px;
    border-bottom: 5px solid #bfa46f; /* Gold accent */
}

header h1 {
    margin: 0;
    font-size: 28px;
}

header p {
    margin: 5px 0 0;
    font-size: 16px;
}

/* ===== NAVIGATION ===== */
nav {
    background-color: #e6e6e6;
    border-bottom: 1px solid #ccc;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #002147;
}

nav a:hover {
    text-decoration: underline;
}

/* ===== MAIN CONTENT ===== */
.container {
    max-width: 1000px;
    margin: 30px auto;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

/* ===== PROFILE ===== */
.profile {
    display: flex;
    gap: 30px;
}

.profile img {
    width: 180px;
    border: 1px solid #ccc;
}

.profile-info h2 {
    margin-top: 0;
    color: #002147;
}

/* ===== HEADINGS ===== */
h2 {
    color: #002147;
    border-bottom: 2px solid #bfa46f;
    padding-bottom: 5px;
}
/* ===== CONTACT LAYOUT ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.contact-card{background:#fafafa;border:1px solid #ddd;padding:20px}
.contact-item{margin-bottom:15px}
.contact-item strong{display:block;color:#002147}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin: 40px 0 20px;
}
form input,form textarea{
    width:100%;
    padding:10px;
    margin-bottom:12px;
    border:1px solid #ccc;
    font-family:inherit;
}

button{
    background:#002147;
    color:#fff;
    padding:10px 18px;
    border:none;
    cursor:pointer;
}
button:hover{background:#bfa46f;color:#000}

@media(max-width:800px){.contact-grid{grid-template-columns:1fr}}
.map{width:100%;height:220px;border-radius:12px;overflow:hidden;margin-top:15px}
iframe{width:100%;height:100%;border:0}


/* ===== WORK EXPERIENCE ===== */

.experience-item {
    border-left: 5px solid #bfa46f;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: #fafafa;
    transition: 0.2s;
}

.experience-item:hover {
    background: #f0f4fa;
    transform: translateX(5px);
}

.experience-item h3 {
    margin: 0;
    color: #002147;
}

.org {
    font-weight: bold;
    margin-top: 5px;
}

.date {
    color: #555;
    font-style: italic;
    margin-top: 3px;
}

.duration {
    margin-top: 5px;
}
/* ===== MEMBERSHIP SECTION ===== */
.membership-list {
    list-style: none;
    padding-left: 0;
}

.membership-list li {
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #fafafa;
    border-left: 5px solid #bfa46f; /* gold accent */
    border-bottom: 1px solid #ddd;
    transition: 0.2s;
}

.membership-list li:hover {
    background: #f0f4fa;
    transform: translateX(4px);
}
/* ===== STUDY MATERIAL ===== */
.material {
    margin-bottom: 25px;
}

.material h3 {
    background: #002147;
    color: white;
    padding: 8px 12px;
    font-size: 18px;
}

.material ul {
    list-style: none;
    padding-left: 0;
    border: 1px solid #ddd;
    border-top: none;
}

.material li {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.material li:last-child {
    border-bottom: none;
}

.material a {
    text-decoration: none;
    color: #002147;
}

.material a:hover {
    color: #bfa46f;
    text-decoration: underline;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 280px;
    height: auto;
    border-radius: 12px;      /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-image img {
        width: 200px;
    }
}




