/* ============================================
   Common Pages CSS Framework
   Reusable components for all information pages
   ============================================ */

/* Common Page Banner */
.common-page-banner {
    position: relative;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    padding: 40px 0 40px;
    overflow: hidden;
    margin-bottom: 0;
}

.common-page-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.common-page-banner .container {
    position: relative;
    z-index: 2;
}

.common-page-banner .banner-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    color: yellow;
}

.common-page-banner .banner-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.common-page-banner h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: yellow;
}

.common-page-banner .banner-subtitle {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.common-page-banner .banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

/* Common Content Section */
.common-content-section {
    padding: 60px 0;
    background: #fff;
}

.common-content-section.bg-light {
    background: #f8f9fa;
}

/* Content Card */
.content-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.content-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-card h2 i {
    color: #10b981;
}

.content-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.common-content-section .content-card h3 {
    margin-top: 10px;
}

.process-steps .process-step .step-content h3 {
    margin-top: 10px;
}

.content-card h3 i {
    color: #10b981;
}

.content-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 10px;
}

.content-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.content-card strong {
    color: #10b981;
}

/* Modern List */
.modern-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.modern-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.modern-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
    font-size: 18px;
}

.modern-list li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-item {
    display: block;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-grid .feature-item h3 {
    color: #028358;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.feature-item:hover h3,
.feature-item:hover p {
    color: #fff;
}

.feature-item .feature-content p:hover {
    color: #fff;
}

.feature-item i {
    font-size: 35px;
    color: #ffff;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Process Steps */
.process-steps {
    margin: 30px 0;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% - 60px);
    background: linear-gradient(to bottom, #10b981, #047857);
    opacity: 0.3;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 30px 0;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    color: inherit;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background: rgba(255, 255, 255, 0.3);
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer>div {
    padding: 0 25px 25px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    padding: 10px;
}

.faq-answer ul {
    margin: 15px 0;
}

.faq-answer .modern-list {
    margin: 10px 0;
}

/* Info Badge */
.info-badge {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin: 5px;
}

/* Column Image */
.column-image {
    text-align: center;
    margin: 20px 0;
}

.column-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Info Box */
.info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #10b981;
    margin: 20px 0;
}

.info-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Alert Box */
.alert-box {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-box.alert-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.alert-box.alert-warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.alert-box.alert-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.alert-box i {
    font-size: 24px;
    margin-top: 2px;
}

.alert-box.alert-info i {
    color: #2196f3;
}

.alert-box.alert-warning i {
    color: #ff9800;
}

.alert-box.alert-success i {
    color: #4caf50;
}

.alert-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Table Styling */
.content-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-card table th,
.content-card table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.content-card table th {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    font-weight: 600;
}

.content-card table tr:hover {
    background: #f8f9fa;
}

/* Button Styling */
.btn-primary-gradient {
    padding: 12px 30px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991px) {
    .common-page-banner {
        padding: 80px 0 60px;
    }

    .common-page-banner h1 {
        font-size: 36px;
    }

    .common-page-banner .banner-icon {
        font-size: 50px;
    }

    .content-card {
        padding: 30px;
    }

    .content-card h2 {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .common-page-banner {
        padding: 60px 0 40px;
    }

    .common-page-banner h1 {
        font-size: 28px;
    }

    .common-page-banner .banner-subtitle {
        font-size: 16px;
    }

    .common-page-banner .banner-icon {
        font-size: 40px;
    }

    .common-content-section {
        padding: 40px 0;
    }

    .content-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .content-card h2 {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .content-card h3 {
        font-size: 20px;
    }

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

    .content-card p,
    .modern-list li {
        font-size: 15px;
    }

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

    .feature-item {
        padding: 25px;
    }

    .process-step {
        gap: 15px;
    }

    .step-number {
        min-width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .step-content h4 {
        font-size: 18px;
    }

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

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h4 {
        font-size: 16px;
    }

    .faq-answer>div {
        padding: 0 20px 20px;
    }
}

@media (max-width: 575px) {
    .common-page-banner h1 {
        font-size: 24px;
    }

    .common-page-banner .banner-subtitle {
        font-size: 14px;
    }

    .content-card {
        padding: 20px;
    }

    .content-card h2 {
        font-size: 22px;
    }

    .content-card h3 {
        font-size: 18px;
    }

    .modern-list li {
        padding-left: 30px;
        font-size: 14px;
    }

    .feature-item i {
        font-size: 35px;
    }

    .feature-item h4 {
        font-size: 18px;
    }

    .step-number {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .faq-question h4 {
        font-size: 15px;
    }

    .info-box,
    .alert-box {
        padding: 15px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card,
.feature-item,
.process-step,
.faq-item {
    animation: fadeInUp 0.6s ease;
}