* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
}

/* Header Background */
.site-header {
    background:
        repeating-linear-gradient(
            45deg,
            #f2efe9,
            #f2efe9 10px,
            #ede8e0 10px,
            #ede8e0 20px
        );
    border-bottom: 6px solid #5a4a4a;
}

/* Top Section */
.top-header {
    text-align: center;
    padding: 30px 15px 20px;
}

.top-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #5a4a4a;
    letter-spacing: 1px;
}

.top-header p {
    margin-top: 8px;
    font-size: 15px;
    color: #6f6f6f;
}

/* Navigation Bar */
.navbar {
    background: #d9d5d2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}

.navbar a {
    text-decoration: none;
    font-size: 16px;
    color: #3f3f3f;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Hover underline effect */
.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #5a4a4a;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover {
    color: #5a4a4a;
}

/* Dropdown Menu */
.navbar li.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar .dropdown-link {
    text-decoration: none;
    font-size: 16px;
    color: #3f3f3f;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    flex: 1;
}

.navbar .dropdown-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #5a4a4a;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.navbar .dropdown-link:hover::after,
.navbar .dropdown-link.active::after {
    width: 100%;
}

.navbar .dropdown-link:hover,
.navbar .dropdown-link.active {
    color: #5a4a4a;
}

.navbar .dropdown-toggle {
    background: none;
    border: none;
    font-size: 16px;
    color: #3f3f3f;
    cursor: pointer;
    padding: 5px 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .dropdown-toggle:hover {
    color: #5a4a4a;
    transform: scale(1.2);
}

.navbar .dropdown-toggle.active {
    transform: rotate(180deg);
    color: #5a4a4a;
}

.navbar .dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #d9d5d2;
    width: 240px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-top: 3px solid #5a4a4a;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.navbar .dropdown-menu li {
    padding: 0;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
}

.navbar .dropdown-menu a {
    display: block;
    padding: 0 20px;
    color: #3f3f3f;
    font-size: 14px;
    border-bottom: 1px solid #e0dcd9;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .dropdown-menu a::after {
    display: none;
}

.navbar .dropdown-menu a:hover {
    background: #ede8e0;
    color: #5a4a4a;
}

.navbar .dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Show dropdown on hover or active */
.navbar li.dropdown:hover .dropdown-menu,
.navbar li.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar li.dropdown:hover .dropdown-toggle,
.navbar li.dropdown.active .dropdown-toggle {
    color: #5a4a4a;
    transform: rotate(180deg);
}

/* Main Content Section */
.main-content {
    padding: 40px 20px;
    background: #fafafa;
}

.welcome-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Section boxes used on specific content pages (infrastructure, about) */
.section-box {
    background: white;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    border-top: 4px solid #d4a574;
}

.section-box .section-title,
.section-box .section-heading {
    color: #5a4a4a;
    font-family: 'Playfair Display', serif;
    margin-bottom: 14px;
}

.section-box .section-title {
    font-size: 26px;
    padding-bottom: 10px;
    border-bottom: 3px solid #efe6dd;
}

.section-box .section-heading {
    font-size: 18px;
    font-weight: 600;
}

/* Welcome Left Content */
.welcome-left {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.welcome-left h2 {
    font-size: 32px;
    color: #5a4a4a;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    border-bottom: 3px solid #d4a574;
    padding-bottom: 15px;
}

.welcome-left p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
    text-align: justify;
}

.welcome-left h3 {
    font-size: 18px;
    color: #5a4a4a;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.activity-list {
    list-style: none;
    padding-left: 0;
}

.activity-list li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.activity-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
    font-size: 18px;
}

/* Welcome Right Sidebar */
.welcome-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.president-card,
.contact-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top: 4px solid #d4a574;
}

.president-card h3,
.contact-card h3 {
    font-size: 22px;
    color: #5a4a4a;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid #e0dcd9;
    padding-bottom: 12px;
}

.president-profile {
    text-align: center;
}

.president-profile:hover .president-image {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(212, 165, 116, 0.3);
}

.president-image {
    width: 140px;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 5px 15px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: all 0.3s ease;
    position: relative;
}

.president-profile h4 {
    font-size: 18px;
    color: #5a4a4a;
    margin-bottom: 10px;
    font-weight: 600;
}

.president-profile .position {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

.contact-info {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    color: #5a4a4a;
    display: block;
    margin-top: 12px;
    margin-bottom: 3px;
}

.contact-info a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #5a4a4a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .welcome-left {
        padding: 25px;
    }
    
    .welcome-left h2 {
        font-size: 24px;
    }
    
    .welcome-left p {
        font-size: 14px;
    }
}

/* Footer Section */
.site-footer {
    background: linear-gradient(135deg, #3d3633 0%, #5a4a4a 100%);
    color: #e0e0e0;
    padding: 50px 20px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 16px;
    color: #d4a574;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding-left: 10px;
    position: relative;
}

.footer-section ul li a:before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4a574;
    padding-left: 20px;
}

.footer-section ul li a:hover:before {
    opacity: 1;
}

.footer-section a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e8c9a0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #d4a574;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-icon:hover {
    background: #d4a574;
    color: #5a4a4a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 165, 116, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    color: #a0a0a0;
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-bottom a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #e8c9a0;
    text-decoration: underline;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer {
        padding: 35px 15px 0;
        margin-top: 40px;
    }
    
    .footer-section h4 {
        font-size: 15px;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 13px;
    }
}
