/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1d1d1f;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 123, 255, 0.025) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 180px;
}

.nav-logo img {
    height: 160px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
    letter-spacing: -0.012em;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* Sections */
.section {
    padding: 0;
}

.section-gray {
    background-color: #fafafa;
}

/* Typography */
h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    color: #000000;
}

h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 80px;
    color: #000000;
    text-align: center;
}

h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #000000;
}

/* Hero Section */
.hero-section {
    margin-top: 0;
    padding-top: 220px;
    padding-bottom: 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 123, 255, 0.04) 0%, transparent 50%);
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border: 1px solid rgba(0, 123, 255, 0.1);
    animation: techFloat 25s infinite ease-in-out;
}

.shape-1 {
    width: 3px;
    height: 80px;
    top: 0;
    left: 10%;
    animation: moveUp 15s infinite linear;
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.3), rgba(0, 123, 255, 0.1));
    border-radius: 2px;
}

.shape-2 {
    width: 70px;
    height: 3px;
    top: 20%;
    left: 0;
    animation: moveRight 12s infinite linear;
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.3), rgba(0, 123, 255, 0.1));
    border-radius: 2px;
}

.shape-3 {
    width: 2px;
    height: 60px;
    top: 0;
    left: 30%;
    animation: moveUp 18s infinite linear;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.1));
    border-radius: 1px;
}

.shape-4 {
    width: 50px;
    height: 2px;
    top: 40%;
    left: 0;
    animation: moveRight 14s infinite linear;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.1));
    border-radius: 1px;
}

.shape-5 {
    width: 4px;
    height: 100px;
    top: 0;
    left: 60%;
    animation: moveUp 20s infinite linear;
    background: linear-gradient(180deg, rgba(108, 117, 125, 0.3), rgba(108, 117, 125, 0.1));
    border-radius: 2px;
}

.shape-6 {
    width: 80px;
    height: 4px;
    top: 60%;
    left: 0;
    animation: moveRight 16s infinite linear;
    background: linear-gradient(90deg, rgba(108, 117, 125, 0.3), rgba(108, 117, 125, 0.1));
    border-radius: 2px;
}

.shape-7 {
    width: 2px;
    height: 70px;
    top: 0;
    left: 80%;
    animation: moveUp 13s infinite linear;
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.25), rgba(0, 123, 255, 0.08));
    border-radius: 1px;
}

.shape-8 {
    width: 60px;
    height: 2px;
    top: 80%;
    left: 0;
    animation: moveRight 11s infinite linear;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.25), rgba(255, 193, 7, 0.08));
    border-radius: 1px;
}

.shape-9 {
    width: 3px;
    height: 90px;
    top: 0;
    left: 45%;
    animation: moveUp 17s infinite linear;
    background: linear-gradient(180deg, rgba(108, 117, 125, 0.2), rgba(108, 117, 125, 0.05));
    border-radius: 1.5px;
}

.shape-10 {
    width: 40px;
    height: 3px;
    top: 30%;
    left: 0;
    animation: moveRight 13s infinite linear;
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.05));
    border-radius: 1.5px;
}

.shape-11 {
    width: 2px;
    height: 50px;
    top: 0;
    left: 70%;
    animation: moveUp 19s infinite linear;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05));
    border-radius: 1px;
}

.shape-12 {
    width: 90px;
    height: 2px;
    top: 70%;
    left: 0;
    animation: moveRight 15s infinite linear;
    background: linear-gradient(90deg, rgba(108, 117, 125, 0.2), rgba(108, 117, 125, 0.05));
    border-radius: 1px;
}

@keyframes techFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-25px) translateX(15px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
}

@keyframes moveUp {
    0% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0.6;
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(-100px);
        opacity: 0.2;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0.6;
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* About Section */
#about {
    margin-top: 0;
    text-align: center;
}

.about-text {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.65;
    color: #4a4a4a;
    max-width: 1000px;
    margin: 0 auto 32px;
    letter-spacing: -0.012em;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Why Bataan Section */
.why-bataan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
    padding: 40px 24px;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* News Section */
#news {
    padding: 140px 0;
}

.news-subscription {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 0;
}

.subscription-content h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
}

.subscription-content p {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.facebook-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #1877f2;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.2s;
    letter-spacing: -0.012em;
}

.facebook-button:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    opacity: 1;
}

.facebook-button svg {
    flex-shrink: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-bottom: 32px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 0;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-category {
    color: #737373;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.news-date {
    color: #737373;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.news-content h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.news-content p {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.news-link {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
    letter-spacing: -0.01em;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.news-link:hover {
    opacity: 0.6;
    border-bottom-color: #000000;
}

/* Officers Section */
#officers {
    padding: 140px 0;
}

.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.officer-card {
    text-align: left;
    padding: 40px 32px;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid #e5e5e5;
    transition: transform 0.2s;
}

.officer-card:hover {
    transform: translateY(-2px);
}

.officer-card h3 {
    margin-bottom: 12px;
}

/* National Agencies */
.national-agencies {
    text-align: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.national-agencies h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000000;
}

.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.agency-item {
    font-size: 20px;
    font-weight: 600;
    color: #4a4a4a;
    padding: 20px 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.2s;
    letter-spacing: -0.012em;
}

.agency-item:hover {
    color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
}

.officer-title {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.012em;
    margin-bottom: 8px;
}

.officer-org {
    color: #737373;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.012em;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 80px 0 32px;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo img {
    height: 130px;
    width: auto;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: #737373;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: -0.012em;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
    color: #999999;
    font-size: 13px;
    letter-spacing: -0.012em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .nav-container {
        padding: 0 32px;
        height: 160px;
    }

    .nav-logo img {
        height: 140px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
        margin-bottom: 60px;
    }

    h3 {
        font-size: 24px;
    }

    .about-text {
        font-size: 20px;
    }

    .floating-shape {
        opacity: 0.2;
    }

    .shape-1, .shape-3, .shape-5 {
        height: 40px;
    }

    .shape-2, .shape-4, .shape-6 {
        width: 40px;
    }

    .why-bataan-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .why-item {
        padding: 32px 16px;
    }

    .why-item h3 {
        font-size: 18px;
    }

    .why-item p {
        font-size: 15px;
    }

    .section {
        padding: 0;
    }

    #about {
        margin-top: 0;
        padding-top: 200px;
        padding-bottom: 120px;
    }

    #news {
        padding: 120px 0;
    }

    #officers {
        padding: 120px 0;
    }

    .news-subscription {
        padding: 40px 24px;
        margin-bottom: 60px;
    }

    .subscription-content h3 {
        font-size: 28px;
    }

    .subscription-content p {
        font-size: 16px;
    }

    .facebook-button {
        padding: 14px 28px;
        font-size: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 100%;
    }

    .news-image {
        height: 200px;
        margin-bottom: 24px;
    }

    .news-content h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .news-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .news-meta {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .officers-grid {
        grid-template-columns: 1fr;
    }

    .national-agencies h3 {
        font-size: 28px;
    }

    .agencies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .agency-item {
        font-size: 18px;
        padding: 16px 12px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-logo img {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
        height: 140px;
    }

    .nav-logo img {
        height: 120px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    .about-text {
        font-size: 18px;
    }

    .floating-shape {
        opacity: 0.15;
    }

    .shape-1, .shape-3, .shape-5 {
        height: 25px;
    }

    .shape-2, .shape-4, .shape-6 {
        width: 25px;
    }

    @keyframes moveUp {
        0% {
            transform: translateY(100vh);
            opacity: 0.1;
        }
        100% {
            transform: translateY(-100px);
            opacity: 0.4;
        }
    }

    @keyframes moveRight {
        0% {
            transform: translateX(-100px);
            opacity: 0.1;
        }
        100% {
            transform: translateX(100vw);
            opacity: 0.4;
        }
    }

    .why-bataan-grid {
        gap: 24px;
    }

    .why-item {
        padding: 24px 12px;
    }

    .why-item h3 {
        font-size: 16px;
    }

    .why-item p {
        font-size: 14px;
    }

    .section {
        padding: 0;
    }

    #about {
        padding-top: 180px;
        padding-bottom: 100px;
    }

    #news {
        padding: 100px 0;
    }

    #officers {
        padding: 100px 0;
    }

    .news-content {
        padding: 0;
    }

    .news-grid {
        gap: 48px;
    }

    .news-image {
        height: 180px;
        margin-bottom: 20px;
    }

    .news-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .news-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .news-meta {
        margin-bottom: 16px;
        font-size: 11px;
    }

    .news-link {
        font-size: 14px;
    }

    .news-subscription {
        padding: 32px 16px;
        margin-bottom: 48px;
    }

    .subscription-content h3 {
        font-size: 24px;
    }

    .subscription-content p {
        font-size: 15px;
    }

    .facebook-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .officer-card {
        padding: 32px 20px;
    }

    .national-agencies {
        margin-top: 60px;
        padding-top: 40px;
    }

    .national-agencies h3 {
        font-size: 24px;
    }

    .agencies-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .agency-item {
        font-size: 16px;
        padding: 16px 12px;
    }
}

