

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 45, 98, 0.8), rgba(0, 45, 98, 0.8)), 
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&q=80&w=1500');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    color: white;
}




.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
}

/* Intro */
.intro-section {
    padding: 80px 0;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: var(--goodyear-blue);
    margin-bottom: 20px;
}

.intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Feature Blocks */
.feature-block {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-2.reverse .image-content { order: 1; }
.grid-2.reverse .text-content { order: 2; }

.eyebrow {
    color: var(--goodyear-blue);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.text-content h3 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: var(--goodyear-blue);
}

.image-content img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: var(--goodyear-blue);
    font-weight: 700;
    border-bottom: 2px solid var(--goodyear-yellow);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-link:hover {
    color: var(--#ff3700);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--goodyear-blue);
    color: white;
    text-align: center;
}

.values-section h3 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    padding: 30px;
    background: rgba(255,255,255,0.05);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--#ff3700);
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .grid-2.reverse .text-content { order: 1; }
    .grid-2.reverse .image-content { order: 2; }
    .about-hero h1 { font-size: 2.5rem; }
}
/*aboutus tab */
/* Intro Section Styling */
.intro-section {
    background-color: #f4f5f7; /* Light gray background gaya ng screenshot */
    padding: 80px 20px;
    text-align: center;
}

.intro-container {
    max-width: 900px; /* Mas makitid para maganda ang bagsak ng text */
    margin: 0 auto;
}

.intro-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}
/* Eto ang code para sa background image */
.modern-hero {
    width: 100%;
    height: 600px; /* Taas ng banner */
    
    /* BACKGROUND IMAGE CODE */
 
    background-size: cover;      /* Pinupuno ang buong space ng banner */
    background-position: center; /* Pinapagitna ang focus ng litrato */
    background-repeat: no-repeat;
    background-attachment: scroll; /* Gawing 'fixed' kung gusto mo ng parallax effect */
    
    position: relative;
    display: block;
}

/* Overlay para magmukhang modern at mabasa ang text */
.hero-overlay {
    width: 100%;
    height: 100%;
    /* Gradient: Nagpapadilim sa kaliwa para lumitaw ang puting text */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
    display: flex;
    align-items: center;
}

.hero-container {
    padding-left: 10%;
    color: #ffffff;
}

.hero-container h1 {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
}

.hero-container p {
    font-size: 1.2rem;
    margin-top: 5px;
    opacity: 0.9;
}

/* --- MOBILE VIEW PARA SA HERO --- */
@media screen and (max-width: 768px) {
    .modern-hero {
        height: 400px; /* Mas maikli na taas para sa mobile */
        /* Optional: background-attachment: scroll; - mas okay ito sa mobile kaysa fixed */
    }

    .hero-overlay {
        /* Gradient: Sa mobile, mas maganda kung pantay ang dilim (to bottom o full overlay) */
        background: rgba(0, 0, 0, 0.5); 
        justify-content: center; /* I-center ang content horizontal */
        text-align: center;      /* I-center ang text alignment */
    }

    .hero-container {
        padding-left: 0;         /* Alisin ang 10% padding */
        width: 90%;              /* Bigyan ng saktong lapad */
        margin: 0 auto;          /* I-center ang container */
    }

    .hero-container h1 {
        font-size: 2.2rem;       /* Paliitin ang text para kumasya sa isang screen */
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-container p {
        font-size: 1rem;         /* Mas readable na sukat sa mobile */
        padding: 0 10px;
    }
}

/* Para sa mas liliit pang screens (Small Phones) */
@media screen and (max-width: 480px) {
    .modern-hero {
        height: 350px;
    }

    .hero-container h1 {
        font-size: 1.8rem;
    }
}
/* --- Desktop (Hayaan nating gumana gaya ng dati) --- */
.sub-menu-bar {
    background-color: #ffffff;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 70px;
    z-index: 999;
}

.sub-menu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0; padding: 0;
}

.custom-select-box { display: none; }

/* --- MOBILE "FAIL-PROOF" CSS --- */
@media screen and (max-width: 768px) {
    /* SIGURADUHIN NA HINDI NAKATAGO ANG BAR */
    .sub-menu-bar {
        position: relative !important;
        overflow: visible !important; /* PINAKAMAHALAGA: Para lumabas ang dropdown */
        display: block !important;
        background: #f4f5f7 !important;
        padding: 10px 0 !important;
        z-index: 2000 !important;
    }

    .sub-menu-container {
        overflow: visible !important;
        position: relative;
    }

    /* Ang Select Box (About Us) */
    .custom-select-box {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        padding: 12px 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin: 0 20px;
        cursor: pointer;
    }

    /* Ang Dropdown List */
    .sub-menu-list {
        display: none !important; /* Default: Tago */
        flex-direction: column !important;
        position: absolute !important; /* Nakatali sa sub-menu-bar */
        top: 100% !important; /* Lalabas sa mismong ilalim ng box */
        left: 20px !important;
        right: 20px !important;
        background: #ffffff !important;
        border: 1px solid #ccc !important;
        border-top: none !important;
        border-radius: 0 0 5px 5px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        z-index: 99999 !important; /* Higit pa sa timeline at hero */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Class na itotoggle ng JS */
    .sub-menu-list.is-open {
        display: block !important;
    }

    .sub-menu-list li {
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
    }

    .sub-menu-list li a {
        display: block !important;
        padding: 15px 20px !important;
        color: #333 !important;
        text-transform: none !important; /* Mas malinis tignan sa mobile */
    }
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f5f7;
}


.contact-stack {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column-reverse; /* Pinapaangat ang listahan */
    align-items: center; /* Iisang linya lang lahat */
    z-index: 10000;
}

/* Main Button & Tooltip */
.main-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.tooltip {
    position: absolute;
    right: 80px; /* Sa kaliwa ng button lalabas ang text */
    background: #c00d0d;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    transition: 0.4s ease; /* Transition para sa pagkawala */
}

/* Base Style para sa Circles */
.btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     background-color: white;
}

.main-red { background: #ff1e1e; }

/* Social Icons Wrapper */
.social-icons-wrapper {
    display: flex;
    flex-direction: column-reverse; /* Iisang linya paangat */
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Transition effect mula ilalim */
    transition: 0.5s ease;
}


.join-us-section {
    background: #f4f7f6;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
}

.application-container {
    max-width: 850px; /* Mas makitid para sa focus */
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.form-header-box {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2.5rem;
    color: #1a1a40;
    font-weight: 800;
    margin-bottom: 10px;
}

/* INPUT STYLES */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.input-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
}

.input-group input, 
.input-group textarea, 
.modern-select {
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    background: #fafafa;
    transition: 0.3s ease;
}

.input-group input:focus, 
.modern-select:focus {
    border-color: #a00; /* CSI Maroon */
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(160, 0, 0, 0.05);
}

/* Link Input Styling */
.link-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.link-icon {
    position: absolute;
    left: 15px;
    color: #a00; /* CSI Maroon */
}

.link-input-wrapper input {
    padding-left: 45px !important;
    width: 100%;
}

.file-hint {
    font-size: 0.8rem;
    color: #777;
    margin-top: 8px;
    
}

/* Submit Button Style */
.submit-app-btn {
    background-color: #a00; /* CSI Maroon */
    color: #fff;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-app-btn:hover {
    background-color: #800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 0, 0, 0.2);
}

.submit-app-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Modal Pop-up Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

/* Pop-up Box */
.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-icon {
    font-size: 4rem;
    color: #28a745; /* Success Green */
    margin-bottom: 20px;
}

.close-btn {
    background: #a00;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 700;
    width: 100%;
    transition: 0.3s;
}

/* Submit Button Style */
.submit-app-btn {
    background-color: #a00; /* CSI Maroon */
    color: #fff;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-app-btn:hover {
    background-color: #800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 0, 0, 0.2);
}

.submit-app-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Modal Pop-up Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

/* Pop-up Box */
.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-icon {
    font-size: 4rem;
    color: #28a745; /* Success Green */
    margin-bottom: 20px;
}

.close-btn {
    background: #a00;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 700;
    width: 100%;
    transition: 0.3s;
}

@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* --- JOIN US MOBILE VIEW --- */
@media (max-width: 768px) {
    .join-us-section {
        padding: 40px 15px; /* Bawasan ang padding sa paligid */
    }

    .application-container {
        padding: 100px 70px; /* Mas compact na box sa loob */
        border-radius: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-header-box {
        text-align: center;
        margin-bottom: 30px;
    }

    .form-title {
        font-size: 1.8rem; /* Mas maliit na title para magkasya */
    }

    /* Gawing single column ang lahat ng grid */
    .form-grid {
        grid-template-columns: 1fr !important; 
        gap: 15px; /* Mas maliit na gap sa pagitan ng inputs */
    }

    .input-group {
        margin-bottom: 15px;
    }

    /* iOS Auto-zoom fix: Dapat hindi bababa sa 16px ang font size */
    .input-group input, 
    .input-group select, 
    .input-group textarea {
        font-size: 16px !important;
        padding: 12px 15px;
    }

    .file-hint {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Full width button para madaling mapindot ng hinlalaki */
    .submit-app-btn {
        width: 100%;
        padding: 18px;
        font-size: 1rem;
        margin-top: 20px;
    }
}

/* Extra small devices like iPhone SE */
@media (max-width: 480px) {
    .form-title {
        font-size: 1.5rem;
    }
}