* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.6s ease;
}

.navbar.scrolled {
    background-color: #004a8f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar Left Container */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background-color: #00b5e2;
}

.navbar .logo img {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .nav-links li {
    position: relative;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #00b5e2;
}

.navbar .nav-links li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #004a8f;
    min-width: 250px;
    border-radius: 5px;
    margin-top: 0;
    padding-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar .nav-links li:hover ul {
    display: block;
}

.navbar .nav-links li ul::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.navbar .nav-links li ul li {
    padding: 0;
    margin: 0;
}

.navbar .nav-links li ul li a {
    padding: 12px 20px;
    display: block;
}

.navbar .nav-links li ul li:hover {
    background-color: #166dbe;
}

.navbar .cta a {
    color: white;
    background-color: transparent;
    padding: 10px 24px;
    text-decoration: none;
    border: 2px solid #ff5733;
    border-radius: 5px;
    transition: all 0.3s;
}

.navbar .cta a:hover {
    background-color: #ff5733;
}

/* ========== HERO SECTION ========== */
.background {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../pictures/background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 143, 0.3), rgba(0, 0, 0, 0.5));
}

.background .content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.background h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.separator-box {
    width: 2px;
    height: 20px;
    background-color: #ccc;
    margin: 0 20px;
}

.home-btn {
    color: white;
}

.about-btn {
    color: #166dbe;
}

.about-btn,
.home-btn {
    text-decoration: none;
    font-weight: bold;
}

/* ========== HOME HERO SECTION ========== */
.home-background {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95vh;
    background: url("../pictures/background.jpg") no-repeat center center/cover;
    position: relative;
}

.home-background .home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.home-background .home-content {
    color: white;
    text-align: center;
    z-index: 1;
    position: relative;
}

.home-background h1 {
    font-size: 60px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.home-background p {
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.home-background .btn {
    background-color: #00b5e2;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.home-background .btn:hover {
    background-color: #0095c0;
}

/* ========== CONTACT SECTION ========== */
.contact-information {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.contact-container h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00b5e2, #004a8f);
    border-radius: 2px;
}

.contact-item {
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #00b5e2;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 181, 226, 0.1);
}

.contact-item h3 {
    font-size: 26px;
    color: #004a8f;
    margin-bottom: 18px;
    font-weight: 600;
}

.contact-item p {
    font-size: 17px;
    color: #555;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-item ul {
    list-style: none;
    padding-left: 0;
}

.contact-item ul li {
    margin-bottom: 10px;
}

.contact-item ul li a {
    color: #00b5e2;
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.contact-item ul li a:hover {
    color: #004a8f;
    transform: translateX(5px);
}

/* ========== USER DROPDOWN ========== */
.user-container {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 250px;
    background-color: black;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.user-container.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.profile-info {
    text-align: center;
    padding: 20px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.username-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.logout-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #c04a28;
}

/* ========== MOBILE SIDEBAR ========== */
.mobile-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    height: 100vh;
    background-color: #004a8f;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header img {
    width: 50px;
    height: 50px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sidebar-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-links li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.sidebar-links li a:hover {
    background-color: #166dbe;
}

.sidebar-links .has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-links .arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.sidebar-links .has-submenu.open .arrow {
    transform: rotate(180deg);
}

.sidebar-links .submenu {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.sidebar-links .has-submenu.open .submenu {
    max-height: 500px;
}

.sidebar-links .submenu li {
    border-bottom: none;
}

.sidebar-links .submenu li a {
    padding-left: 40px;
    font-size: 14px;
}

.sidebar-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #004a8f;
}

.sidebar-logout {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sidebar-logout:hover {
    background-color: #c04a28;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== FOOTER ========== */
.footer {
    background: #1d1d1d;
    color: #bbb;
    padding: 60px 20px 30px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo {
    flex: 1 1 250px;
    text-align: center;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1 1 200px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #166dbe;
    display: block;
    margin-top: 6px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #166dbe;
}

.footer-contact ul li i {
    color: #166dbe;
    margin-right: 8px;
}

.footer-social .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s;
}

.footer-social .social-icons a:hover {
    background: #166dbe;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #777;
}

/* ========== ENHANCED ABOUT SECTION ========== */
.about-section-enhanced {
    background: white;
    padding: 0;
}

.about-intro {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(to right, #f8f9fa 50%, white 50%);
}

.intro-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.intro-image {
    position: sticky;
    top: 120px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 8px solid white;
}

.intro-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.intro-text h2 {
    font-size: 48px;
    color: #004a8f;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    border-bottom: 5px solid #00b5e2;
    display: inline-block;
    padding-bottom: 10px;
}

.intro-description {
    font-size: 19px;
    color: #555;
    line-height: 1.9;
    margin: 0 0 40px 0;
    text-align: justify;
}

.history-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
}

.section-header-styled {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-styled h2 {
    font-size: 48px;
    color: #004a8f;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
    display: inline-block;
}

.section-header-styled h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 5px;
    background: #00b5e2;
}

/* Replace the timeline CSS with this in your about_style.css */

.history-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
}

.section-header-styled {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-styled h2 {
    font-size: 48px;
    color: #004a8f;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
    display: inline-block;
}

.section-header-styled h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 5px;
    background: #00b5e2;
}

.history-box {
    background: white;
    border-radius: 15px;
    padding: 50px 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 6px solid #00b5e2;
}

.history-box h3 {
    font-size: 24px;
    color: #004a8f;
    margin: 35px 0 15px 0;
    font-weight: 600;
}

.history-box h3:first-child {
    margin-top: 0;
}

.history-box p {
    font-size: 18px;
    color: #555;
    line-height: 1.9;
    text-align: justify;
    margin: 0 0 20px 0;
}

.history-box p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .history-section {
        padding: 60px 20px;
    }

    .section-header-styled h2 {
        font-size: 40px;
    }

    .history-box {
        padding: 40px 35px;
    }

    .history-box h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 60px 20px;
    }

    .section-header-styled h2 {
        font-size: 32px;
    }

    .history-box {
        padding: 30px 25px;
    }

    .history-box h3 {
        font-size: 20px;
        margin: 30px 0 12px 0;
    }

    .history-box p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .section-header-styled h2 {
        font-size: 26px;
    }

    .history-box {
        padding: 25px 20px;
        border-top: 4px solid #00b5e2;
    }

    .history-box h3 {
        font-size: 18px;
        margin: 25px 0 10px 0;
    }

    .history-box p {
        font-size: 14px;
        line-height: 1.8;
    }
}

.community-values {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.community-values h2 {
    font-size: 48px;
    color: #004a8f;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.community-values h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 5px;
    background: #00b5e2;
    margin: 15px auto 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 6px solid #00b5e2;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    background: #004a8f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 40px;
    color: white;
}

.value-card h3 {
    font-size: 26px;
    color: #004a8f;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: left;
}

.value-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (min-width: 992px) {
    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
    
    .hamburger-menu {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hamburger-menu {
        display: flex;
    }

    .navbar-left .logo {
        cursor: default;
    }

    .navbar {
        padding: 12px 20px;
    }

    .navbar .logo img {
        width: 60px;
        height: 60px;
    }

    .navbar .nav-links {
        display: none;
    }

    .navbar .cta a {
        padding: 8px 16px;
        font-size: 14px;
    }

    .background h1,
    .home-background h1 {
        font-size: 36px;
    }

    .home-background p {
        font-size: 16px;
    }

    .contact-information {
        padding: 60px 20px;
    }

    .contact-container {
        padding: 40px 25px;
    }

    .contact-container h2 {
        font-size: 36px;
    }

    .contact-item {
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .about-intro {
        background: #f8f9fa;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .intro-image img {
        height: 400px;
    }

    .intro-text h2 {
        font-size: 40px;
    }

    .section-header-styled h2 {
        font-size: 40px;
    }

    .community-values h2 {
        font-size: 40px;
    }

    .history-timeline {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .background h1 {
        font-size: 28px;
    }

    .home-background {
        height: 70vh;
    }

    .home-background h1 {
        font-size: 32px;
    }

    .home-background p {
        font-size: 14px;
    }

    .home-background .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .contact-container h2 {
        font-size: 28px;
    }

    .contact-item h3 {
        font-size: 22px;
    }

    .contact-item p {
        font-size: 15px;
    }

    .contact-item ul li a {
        font-size: 17px;
    }

    .about-intro {
        padding: 60px 20px;
    }

    .intro-text h2 {
        font-size: 32px;
    }

    .intro-description {
        font-size: 17px;
    }

    .intro-image {
        border: 5px solid white;
    }

    .intro-image img {
        height: 300px;
    }

    .history-section {
        padding: 60px 20px;
    }

    .section-header-styled h2 {
        font-size: 32px;
    }

    .timeline-item {
        padding: 25px;
    }

    .timeline-year {
        font-size: 14px;
        padding: 8px 20px;
    }

    .timeline-content h3 {
        font-size: 22px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .community-values {
        padding: 60px 20px;
    }

    .community-values h2 {
        font-size: 32px;
    }

    .value-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .value-icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .value-icon i {
        font-size: 35px;
    }

    .value-card h3 {
        font-size: 22px;
        text-align: center;
    }

    .value-card p {
        font-size: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hamburger-menu {
        width: 25px;
        height: 20px;
    }
    
    .hamburger-menu span {
        height: 2px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .navbar .logo img {
        width: 50px;
        height: 50px;
    }

    .navbar .cta a {
        padding: 6px 12px;
        font-size: 12px;
    }

    .background h1 {
        font-size: 24px;
    }

    .separator-box {
        margin: 0 10px;
    }

    .home-background h1 {
        font-size: 26px;
    }

    .contact-container {
        padding: 30px 20px;
    }

    .contact-container h2 {
        font-size: 24px;
    }

    .contact-item {
        padding: 18px;
    }

    .contact-item h3 {
        font-size: 20px;
    }

    .intro-text h2 {
        font-size: 26px;
    }

    .intro-description {
        font-size: 15px;
    }

    .section-header-styled h2 {
        font-size: 26px;
    }

    .community-values h2 {
        font-size: 26px;
    }

    .timeline-item {
        padding: 20px;
        border-left: 4px solid #00b5e2;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .value-card {
        padding: 25px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .value-icon i {
        font-size: 30px;
    }

    .value-card h3 {
        font-size: 20px;
    }

    .value-card p {
        font-size: 14px;
    }
}