/* article_style.css */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

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

/* === HERO SECTION === */
.articleship-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(42, 52, 62, 0.75) 100%),
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2000') center/cover;
    color: white;
    padding: 50px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.articleship-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.articleship-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.articleship-hero p {
    font-size: 18px;
    opacity: 0.95;
}

/* === INFORMATION SECTION === */
.info-section {
    padding: 70px 0;
    background: white;
}

.info-header {
    text-align: center;
    margin-bottom: 50px;
}

.info-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.info-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.info-intro strong {
    color: #1e3c72;
    font-weight: 700;
}

/* About Firm Box */
.about-firm-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;;
}

.about-firm-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-firm-box h3 i {
    color: #667eea;
    font-size: 26px;
}

.about-firm-box p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Facilities Section */
.facilities-section {
    margin-top: 50px;
}

.facilities-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.facilities-title i {
    color: #667eea;
    font-size: 30px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Center the 10th card (Bank Accounts) */
.facility-card:nth-child(10) {
    grid-column: 2 / 3;
}

.facility-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.facility-card:hover {
    border-top-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

.facility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.facility-icon i {
    font-size: 26px;
    color: white;
}

.facility-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.facility-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.allowance-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.allowance-list p {
    font-size: 13px;
    color: #555;
}

.allowance-list strong {
    color: #667eea;
    font-weight: 700;
}

/* === FORM SECTION WRAPPER === */
.form-section-wrapper {
    padding: 70px 0;
    background: #f8f9fa;
}

/* Form Wrapper */
.form-wrapper {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
    text-align: center;
    color: #1e3c72;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}


/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    border-radius: 15px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.form-section:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.form-section h4 {
    color: #1e3c72;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h4::before {
    content: '●';
    color: #667eea;
    font-size: 24px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.form-group:focus-within label {
    color: #667eea;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    appearance: none;
}

/* File Upload */
.form-group input[type="file"] {
    width: 100%;
    padding: 15px;
    border: 2px dashed #dfe6e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    font-size: 14px;
}

.form-group input[type="file"]:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.form-group input[type="file"]:focus {
    outline: none;
    border-color: #667eea;
    border-style: solid;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal !important;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
}

.checkbox-group label:hover {
    background: #f8f9ff;
    color: #667eea;
    transform: translateX(5px);
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal !important;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background: #f8f9ff;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.btn-submit,
.btn-reset {
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-reset {
    background: white;
    color: #495057;
    border: 2px solid #dee2e6;
}

.btn-reset:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .articleship-hero {
        padding: 60px 0 50px;
    }

    .articleship-hero h1 {
        font-size: 32px;
    }

    .articleship-hero p {
        font-size: 16px;
    }

    .info-section {
        padding: 50px 0;
    }

    .info-header h2 {
        font-size: 28px;
    }

    .info-intro {
        font-size: 15px;
    }

    .about-firm-box {
        padding: 30px 20px;
    }

    .about-firm-box h3 {
        font-size: 20px;
    }

    .about-firm-box p {
        font-size: 14px;
    }

    .facilities-title {
        font-size: 24px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Reset centering for mobile */
    .facility-card:nth-child(10) {
        grid-column: auto;
    }

    .facility-card {
        padding: 25px 20px;
    }

    .facility-icon {
        width: 55px;
        height: 55px;
    }

    .facility-icon i {
        font-size: 24px;
    }

    .facility-card h4 {
        font-size: 16px;
    }

    .facility-card p {
        font-size: 13px;
    }

    .form-section-wrapper {
        padding: 50px 0;
    }

    .form-wrapper {
        padding: 40px 25px;
    }

    .form-title {
        font-size: 26px;
    }

    .form-section {
        padding: 25px 20px;
    }

    .form-section h4 {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group input[type="number"],
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        padding: 14px 40px;
        font-size: 15px;
    }

    .checkbox-group label {
        font-size: 14px;
        padding: 8px 12px;
    }

    .checkbox-label {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .articleship-hero h1 {
        font-size: 28px;
    }

    .info-header h2 {
        font-size: 24px;
    }

    .about-firm-box {
        padding: 25px 15px;
    }

    .about-firm-box h3 {
        font-size: 18px;
        flex-direction: column;
        text-align: center;
    }

    .facilities-title {
        font-size: 22px;
        flex-direction: column;
    }

    .form-title {
        font-size: 24px;
    }

    .form-section {
        padding: 20px 15px;
    }

    .allowance-list p {
        font-size: 12px;
    }
}

/* === UTILITY === */
.text-center {
    text-align: center;
}

small {
    display: block;
    margin-top: 5px;
}