/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background: linear-gradient(135deg, #0a2b3e 0%, #1a4a6f 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: auto;
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.logo span {
    color: #ffd700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    border-bottom-color: #ffd700;
    color: #ffd700;
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    margin: 20px 0;
}

.banner-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ========================================
   WELCOME SECTION (HOME PAGE)
   ======================================== */

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.welcome-text h2 {
    color: #0a2b3e;
    margin-bottom: 20px;
    font-size: 2rem;
}

.welcome-text p {
    margin-bottom: 15px;
}

.welcome-message {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.welcome-message img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffd700;
    margin-bottom: 15px;
}

.welcome-message h3 {
    color: #0a2b3e;
    margin-bottom: 15px;
}

.message {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.signature {
    font-weight: bold;
    color: #1a4a6f;
}

.signature span {
    font-weight: normal;
    font-size: 0.9rem;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

.history, .organogram, .mission-vision {
    margin: 40px 0;
}

.history h2, .organogram h2, .mission-vision h2 {
    color: #0a2b3e;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.history p {
    margin-bottom: 15px;
}

.organogram-img {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.organogram-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission, .vision {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 5px solid #ffd700;
}

.mission h3, .vision h3 {
    color: #0a2b3e;
    margin-bottom: 15px;
}

/* ========================================
   ORGANIZATION PAGE STYLES
   ======================================== */

.management-team, .units {
    margin: 40px 0;
}

.management-team h2, .units h2 {
    color: #0a2b3e;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

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

.team-card {
    background: white;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
    margin-bottom: 15px;
}

.team-card h3 {
    color: #0a2b3e;
    margin-bottom: 5px;
}

.team-card p {
    color: #666;
}

.unit {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    background: white;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.unit:hover {
    transform: translateX(5px);
}

.unit img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.unit-info h3 {
    color: #0a2b3e;
    margin-bottom: 10px;
}

.unit-info ul {
    margin-left: 20px;
    margin-top: 10px;
}

.unit-info li {
    margin-bottom: 5px;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-info, .contact-form {
    margin: 40px 0;
}

.contact-info h2, .contact-form h3 {
    color: #0a2b3e;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.detail i {
    font-size: 1.8rem;
    color: #ffd700;
    background: #0a2b3e;
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 26px;
}

.detail h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-map img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form button {
    background: linear-gradient(135deg, #0a2b3e, #1a4a6f);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #ffd700;
    color: #0a2b3e;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

footer {
    background: #0a2b3e;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .welcome-content,
    .mission-vision,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .unit {
        grid-template-columns: 1fr;
    }
    
    .unit img {
        height: 200px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        justify-content: center;
    }
    
    .welcome-text h2 {
        font-size: 1.5rem;
    }
}