* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    line-height: 1.6;
    color: #333;
}

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

.text-center {
    text-align: center;
}

/* HEADER & NAVIGATION */
header {
    background-color: #2c3e50;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

header .logo img {
    height: 70px;
    margin-right: 1rem;
}

nav {
    display: flex;
    justify-content: center;
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 0.5rem;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 1rem 0.5rem;
    display: block;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-signin {
     background-color: #e74c3c;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-right: 0;
}

.btn-signin:hover {
    background-color: #053256;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Resource/hero-mining.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background-color: #084574;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #053256;
}

.btn-secondary {
    display: inline-block;
    background-color: #8a5221;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #6d3f18;
}

.btn-tertiary {
    display: inline-block;
    background-color: transparent;
    color: #084574;
    padding: 8px 15px;
    border: 1px solid #084574;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-tertiary:hover {
    background-color: #084574;
    color: white;
}

/* ORGANIZATION OVERVIEW */
.org-overview {
    padding: 80px 0;
}

.org-overview h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
    position: relative;
}

.org-overview h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #8a5221;
    margin: 15px auto 0;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.overview-text {
    flex: 1;
}

.overview-text p {
    margin-bottom: 20px;
}

.overview-image {
    flex: 1;
}

.overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* CURRENT CABINET */
.current-cabinet {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.current-cabinet h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #084574;
}

.cabinet-tagline {
    text-align: center;
    font-style: italic;
    margin-bottom: 40px;
    color: #8a5221;
}

.cabinet-leaders {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.leader-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

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

.leader-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.leader-card h3 {
    margin-top: 15px;
    color: #084574;
}

.leader-card p {
    color: #8a5221;
    margin-bottom: 15px;
}

.leader-card .btn-tertiary {
    margin-bottom: 15px;
}

.cabinet-departments h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #084574;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.department-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

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

.department-card i {
    font-size: 40px;
    color: #084574;
    margin-bottom: 15px;
}

.department-card h4 {
    color: #8a5221;
}
.logo-kabinet {
    height: 120px;
    margin-top: 0;
}
/* UPCOMING EVENTS */
.upcoming-events {
    padding: 80px 0;
}

.upcoming-events h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
    position: relative;
}

.upcoming-events h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #8a5221;
    margin: 15px auto 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #084574;
    color: white;
    padding: 15px;
    min-width: 80px;
}

.event-date .day {
    font-size: 26px;
    font-weight: bold;
}

.event-date .month {
    font-size: 16px;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-details h3 {
    color: #084574;
    margin-bottom: 10px;
}

.event-details p {
    margin-bottom: 10px;
    font-size: 14px;
}

.event-details i {
    color: #8a5221;
    margin-right: 5px;
}

/* FOOTER */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p i {
    margin-right: 10px;
    color: #3498db;
}

.footer-section address {
    font-style: normal;
  }
  
  .footer-section address a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
  }
  
  .footer-section address a:hover {
    color: var(--secondary-color);
  }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #34495e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background-color: #3498db;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    width: 100%;
    color: #bdc3c7;
}


/* ORGANIZATION STRUCTURE PAGE */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Resource/header-structure.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.org-structure {
    padding: 80px 0;
}

.org-chart {
    margin: 50px 0;
    overflow-x: auto;
}

.org-chart svg {
    display: block;
    margin: 0 auto;
}

.cabinet-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.cabinet-tab {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.cabinet-tab.active, .cabinet-tab:hover {
    background-color: #084574;
    color: white;
}

.leadership-team {
    margin-bottom: 60px;
}

.leadership-team h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
}

.team-member {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.member-image {
    flex: 1;
    max-width: 300px;
}

.member-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-info {
    flex: 2;
}

.member-info h3 {
    color: #084574;
    margin-bottom: 5px;
}

.member-info h4 {
    color: #8a5221;
    margin-bottom: 15px;
    font-weight: normal;
}

.member-contact {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.member-contact a {
    color: #084574;
    text-decoration: none;
}

.member-contact a:hover {
    text-decoration: underline;
}

.departments-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
}

.department-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-header {
    background-color: #f5f5f5;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    margin: 0;
    color: #084574;
}

.accordion-content {
    padding: 20px;
    background-color: white;
    display: none;
}

.accordion-content.active {
    display: block;
}

.department-head {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.department-head img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.department-roles h4 {
    color: #8a5221;
    margin-bottom: 10px;
}

.department-roles ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.department-roles li {
    margin-bottom: 5px;
}

.department-contacts {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.department-contacts h4 {
    color: #8a5221;
    margin-bottom: 10px;
}

/* DEPARTMENT PAGE */
.department-header {
    background-color: #084574;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.department-header h1 {
    margin-bottom: 10px;
}

.department-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.department-mission {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mission-text {
    flex: 1;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
}

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

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-content {
    padding: 20px;
}

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

.team-card p {
    color: #8a5221;
    margin-bottom: 10px;
}

.projects-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    color: #084574;
    margin-bottom: 10px;
}

.project-content .project-date {
    color: #8a5221;
    margin-bottom: 15px;
    font-style: italic;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.project-images img {
    width: 100%;
    border-radius: 5px;
}

.contact-section {
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #084574;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: #084574;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: #084574;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    color: #084574;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .overview-content,
    .mission-content,
    .contact-content {
        flex-direction: column;
    }
    
    .member-image {
        max-width: 100%;
    }
    
    .team-member:nth-child(even) {
        flex-direction: column;
    }
    
    .team-member {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 15px;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: #2c3e50;
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 0 30px;
        transition: left 0.3s ease;
        z-index: 101;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        padding: 15px 25px;
        display: block;
        width: 100%;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .dropdown:hover .dropdown-content {
        max-height: 300px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cabinet-leaders {
        gap: 20px;
    }
    
    .leader-card {
        width: calc(50% - 20px);
    }
    
    .department-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .leader-card {
        width: 100%;
    }
    
    .cabinet-tabs {
        flex-direction: column;
    }
    
    .team-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}