/*/////////////////////header////////////////////////////*/
.logo {
    max-height: 50px;
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

/* Navbar Brand with Gradient Text */
.navbar-brand {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand:hover .logo {
    transform: scale(1.3);
}

.navbar-brand span {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin-right: 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

[dir="rtl"] .navbar-brand span {
    margin-right: 0;
    margin-left: 1rem;
}

.navbar-brand:hover span {
    letter-spacing: 1px;
}

/* Navbar Enhancements */
.nav-link {
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: #667eea !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Logo spacing for RTL/LTR */
[dir="rtl"] .navbar-brand {
    margin-left: 3rem;
    margin-right: 0;
}

[dir="ltr"] .navbar-brand {
    margin-right: 3rem;
    margin-left: 0;
}

[dir="rtl"] .navbar-nav {
    margin-right: 1.5rem;
    margin-left: 0;
}

[dir="ltr"] .navbar-nav {
    margin-left: 1.5rem;
    margin-right: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-brand span {
        font-size: 1.1rem;
    }

    .logo {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 0.95rem;
        white-space: normal;
        max-width: 180px;
        line-height: 1.3;
    }

    .logo {
        max-height: 35px;
    }
}
/*///////////////////////////////////about_us///////////////////////////////////////////////////////*/
.about-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.about-subtitle {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 3px solid #3498db;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.about-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-right: 1.5rem;
    position: relative;
}

[dir="rtl"] .about-list li::before {
    content: "◄";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    right: 0;
}

[dir="ltr"] .about-list li {
    padding-left: 1.5rem;
    padding-right: 0;
}

[dir="ltr"] .about-list li::before {
    content: "►";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.structure-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.structure-box:hover {
    border-color: #3498db;
    background: white;
}

.structure-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.structure-list {
    list-style: none;
    padding: 0;
}

.structure-list li {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.structure-list li:hover {
    background: #3498db;
    color: white;
    transform: translateX(5px);
}

[dir="rtl"] .structure-list li:hover {
    transform: translateX(-5px);
}
