/*
About Us Template Styles
Template: page-about-us.php
*/

/* About Us Content Container */
.about-us-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    direction: rtl;
}

.tab-button {
    background: transparent;
    border: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 15px 30px;
    margin: 0 10px;
    font-size: 1.2em;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: inherit;
    direction: rtl;
}

.tab-button:hover {
    color: #2c5aa0;
    background-color: rgba(44, 90, 160, 0.05);
}

.tab-button.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
    background-color: rgba(44, 90, 160, 0.1);
}

/* Tab Content */
.tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Tab Title */
.tab-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 30px 0 40px 0;
    direction: rtl;
    transition: all 0.3s ease;
}

/* Page Info Text Container */
.page-info-text {
    padding: 60px 40px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: right;
    direction: rtl;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* Typography */
.page-info-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1em;
    text-align: justify;
    color: var(--text-body);
}

.page-info-text h1,
.page-info-text h2,
.page-info-text h3,
.page-info-text h4,
.page-info-text h5,
.page-info-text h6 {
    margin: 30px 0 20px 0;
    color: var(--text-body);
    font-weight: 600;
    text-align: right;
}

.page-info-text h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.page-info-text h2 {
    font-size: 2em;
    margin-bottom: 25px;
    color: #2c5aa0;
}

.page-info-text h3 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #3a6bb3;
}

.page-info-text h4 {
    font-size: 1.4em;
    margin-bottom: 18px;
}

.page-info-text h5,
.page-info-text h6 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* Break styling */
.page-info-text br {
    margin-bottom: 15px;
}

/* Content Cards */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.content-card:last-child {
    margin-bottom: 0;
}

/* Content Subsections */
.content-subsection {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.content-subsection:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-info-text {
        max-width: 900px;
        padding: 50px 30px;
    }
    
    .about-us-content {
        padding: 30px 15px;
    }
    
    .tab-button {
        padding: 12px 25px;
        font-size: 1.1em;
        margin: 0 5px;
    }
    
    .content-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .tab-title {
        font-size: 2.2em;
        margin: 25px 0 35px 0;
    }
}

@media (max-width: 768px) {
    .page-info-text {
        padding: 40px 20px;
        max-width: 100%;
    }
    
    .about-us-content {
        padding: 20px 10px;
    }
    
    .tab-navigation {
        margin-bottom: 30px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 1em;
        margin: 0 3px;
    }
    
    .content-card {
        padding: 20px;
        margin-bottom: 18px;
        border-radius: 10px;
    }
    
    .content-subsection {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .tab-title {
        font-size: 2em;
        margin: 20px 0 30px 0;
    }

    .page-info-text h1 {
        font-size: 2em;
    }

    .page-info-text h2 {
        font-size: 1.7em;
    }

    .page-info-text h3 {
        font-size: 1.4em;
    }

    .page-info-text h4 {
        font-size: 1.2em;
    }

    .page-info-text p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-info-text {
        padding: 30px 15px;
    }
    
    .about-us-content {
        padding: 15px 5px;
    }
    
    .tab-navigation {
        margin-bottom: 25px;
        justify-content: center;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 0.9em;
        margin: 0 5px;
        min-width: 80px;
        text-align: center;
    }
    
    .content-card {
        padding: 18px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .content-subsection {
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    
    .tab-title {
        font-size: 1.8em;
        margin: 18px 0 25px 0;
    }

    .page-info-text h1 {
        font-size: 1.8em;
    }

    .page-info-text h2 {
        font-size: 1.5em;
    }

    .page-info-text h3 {
        font-size: 1.3em;
    }

    .page-info-text h4 {
        font-size: 1.1em;
    }
    
    .page-info-text p {
        font-size: 0.95em;
        line-height: 1.7;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .tab-button {
        padding: 6px 8px;
        font-size: 0.85em;
        margin: 0 3px;
        min-width: 70px;
    }
    
    .tab-title {
        font-size: 1.6em;
    }
}

/*--------------------------------------- */