/* P.7 Program Page Styles */

/* Hero Section */
.p7-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-img.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p7-hero-overlay {
    width: 100%;
}

.p7-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.p7-hero-title {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.p7-hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.p7-hero-btn {
    background: #313DE4;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.p7-hero-btn:hover {
    background: #2831b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 61, 228, 0.4);
}

/* Order Form Section */
.p7-order-section {
    background: #D5EBE4;
    padding: 60px 20px;
    min-height: 70vh;
}

.p7-order-container {
    max-width: 700px;
    margin: 0 auto;
}

.p7-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.p7-info-box {
    background: #28732C;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.p7-info-box i {
    font-size: 18px;
    margin-top: 2px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert i {
    font-size: 18px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.p7-order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28732C;
    box-shadow: 0 0 0 3px rgba(40, 115, 44, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.candidates-info {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 10px 0;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 10px 0;
}

.price-item {
    display: flex;
    flex-direction: column;
}

.price-item label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.price-input-group {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.price-input-group input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.price-input-group input:focus {
    outline: none;
}

.price-label {
    background: #D5EBE4;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #28732C;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.total-amount-group input {
    background: #28732C;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.p7-submit-btn {
    background: #28732C;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.p7-submit-btn:hover {
    background: #1f5c24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 115, 44, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .p7-hero-title {
        font-size: 28px;
    }

    .p7-hero-subtitle {
        font-size: 14px;
    }

    .p7-hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .p7-order-section {
        padding: 40px 20px;
    }

    .p7-form-wrapper {
        padding: 30px 20px;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .p7-info-box {
        font-size: 13px;
    }
}