:root {
    --primary-color: #0a2540;      /* Deep Navy Blue from logo */
    --secondary-color: #d4af37;    /* Metallic Gold from logo */
    --accent-color: #f1c40f;       /* Brighter Gold/Yellow for hover */
    --text-color: #2c3e50;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--text-color); }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: var(--secondary-color); }
ul { list-style-position: inside; }

h1, h2, h3, h4 { font-family: var(--font-heading); margin-bottom: 1rem; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 3rem; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--secondary-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }

#navbar { background-color: var(--white); padding: 15px 50px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-bottom: 3px solid var(--secondary-color); }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: var(--text-color); font-weight: 500; transition: var(--transition); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.nav-links a:hover { color: var(--secondary-color); }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--text-color); margin: 5px; transition: var(--transition); }

.hero { background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.95)), url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&q=80') center/cover; height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); border-bottom: 5px solid var(--secondary-color); }
.hero-content h1 { margin-bottom: 0.5rem; color: var(--white); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content h2 { font-weight: 400; margin-bottom: 1rem; color: var(--secondary-color); }
.badges { margin: 20px 0 30px; }
.badge { background: var(--secondary-color); color: #000; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; margin: 0 5px; }

.cta-button { display: inline-block; background-color: var(--secondary-color); color: #000; padding: 12px 30px; border-radius: 5px; font-weight: bold; transition: var(--transition); border: none; cursor: pointer; font-size: 1rem; text-transform: uppercase; }
.cta-button:hover { background-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 40px 0; }
.info-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-left: 4px solid var(--primary-color); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.tag { background: var(--light-bg); border: 1px solid var(--secondary-color); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; color: var(--primary-color); font-weight: bold; }

.guidelines-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rules-list ul { line-height: 2; }
.submission-details { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #eee; }

.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.board-card { background: var(--white); padding: 30px 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid var(--secondary-color); transition: var(--transition); }
.board-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-top: 4px solid var(--primary-color); }
.board-card.chief { border-top-color: var(--primary-color); background-color: #fcfcfc; }
.board-card h3 { margin-bottom: 5px; color: var(--primary-color); font-size: 1.2rem; }

/* Updated image class to completely prevent head cropping */
.board-img { 
    width: 120px; 
    height: 120px; 
    object-fit: contain; 
    padding: 5px; 
    background-color: #fff;
    margin-bottom: 15px; 
    
    display: block; 
margin-top: auto;
    margin-left: auto; 
    margin-right: auto; 
    border: 2px solid #ccc; 
}

.role { font-weight: bold; color: var(--secondary-color); margin-bottom: 10px; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.affiliation { font-size: 0.9rem; margin-bottom: 15px; color: #555; }

.process-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.step { flex: 1; min-width: 150px; text-align: center; position: relative; }
.step-number { width: 50px; height: 50px; background: var(--primary-color); color: var(--secondary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 15px; border: 2px solid var(--secondary-color); }

.contact-form { max-width: 600px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--primary-color); }
.form-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.form-group input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input { width: auto; margin-top: 5px; }

.archive-list { display: flex; gap: 20px; justify-content: center; }
.archive-card { background: var(--white); padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.05); width: 250px; border-bottom: 4px solid var(--primary-color); }
.view-link { display: inline-block; margin-top: 15px; font-size: 0.9rem; font-weight: bold; color: var(--primary-color); }
.view-link:hover { color: var(--secondary-color); }
.disabled { color: #999; pointer-events: none; border: none; }

footer { background: var(--primary-color); color: var(--white); text-align: center; padding: 30px 0; border-top: 5px solid var(--secondary-color); }

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 60px; left: 0; background: var(--white); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; padding: 20px 0; text-align: center; }
    .hamburger { display: block; }
    .guidelines-content { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; }
}
