/* Font Declarations */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("./webfonts/fa-solid-900.woff2") format("woff2"),
         url("./webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("./webfonts/fa-regular-400.woff2") format("woff2"),
         url("./webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("./webfonts/fa-brands-400.woff2") format("woff2"),
         url("./webfonts/fa-brands-400.ttf") format("truetype");
}

.fa,
.fa-classic,
.fa-sharp,
.fas,
.fa-solid {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.far,
.fa-regular {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.fab,
.fa-brands {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}

@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('NotoKufiArabic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('NotoKufiArabic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ECDEC7;
    --secondary-color: #faf8f5;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --trial-color: #f0d78c;
    --arabic-font: 'Noto Kufi Arabic', sans-serif;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* RTL Support */
body.rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--arabic-font);
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.rtl a,
body.rtl span,
body.rtl div {
    font-family: var(--arabic-font);
}

body.rtl .objective-item p {
    font-family: var(--arabic-font);
    font-size: 1rem;
    line-height: 1.8;
}

body.rtl .council-objectives h4 {
    font-family: var(--arabic-font);
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: right;
}

body.rtl h2 {
    font-size: 2.2rem;
}

body.rtl h3 {
    font-size: 1.5rem;
}

body.rtl .hero-title {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
    font-size: 2.3rem;
}

body.rtl .main-nav a {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 1rem;
}

body.rtl .language-switch button {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

body.rtl .trial-tag {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
    font-size: 0.85rem;
}

body.rtl p {
    font-family: 'Noto Kufi Arabic', sans-serif;
    line-height: 1.7;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 1.5rem 0;
}

/* Header Divider */
.header-divider {
    height: 2px;
    background: #B78637;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80px;
}

.logo {
    padding: 0.5rem 0;
}

.logo-img {
    height: 120px;
    width: auto;
}

.language-switch button {
    background: #B78637;
    border: 1px solid #B78637;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    padding: 0 3rem;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    height: 100%;
}

.main-nav a {
    color: #B78637;
    text-decoration: none;
    padding: 1rem;
    display: inline-block;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.main-nav a:hover {
    color: #8b632a;
}

/* Trial Banner */
.trial-banner {
    background-color: #B78637;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    width: 100%;
}

.trial-banner span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.rtl .trial-banner span {
    font-family: var(--arabic-font);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #B78637 !important;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: rgba(183, 134, 55, 0.1);
}

/* RTL Support for Dropdowns */
html[dir="rtl"] .dropdown-content {
    left: auto;
    right: 0;
    text-align: right;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.1);
        min-width: 100%;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        color: #B78637 !important;
        padding: 0.75rem 2rem;
    }

    .dropdown-content a:hover {
        background-color: rgba(183, 134, 55, 0.1);
    }

    html[dir="rtl"] .dropdown-content {
        padding-left: 0;
        padding-right: 2rem;
    }
}

/* Main Content Styles */
.hero {
    background-color: var(--primary-color);
    padding: 0;
    color: white;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-row {
    display: flex;
    padding-bottom: 3rem;
}

.hero-column {
    position: relative;
    display: flex;
}

.large-column {
    width: 100%;
    display: flex;
}

.hero-image {
    width: 50%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
    border-radius: 8px;
    margin-top: 3rem;
}

.hero-content {
    padding: 3rem 0 0 3rem;
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
}

.hero-tag {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    color: #B78637;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    color: #977f57;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.arrow-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: auto;
    margin-bottom: 1rem;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.arrow-link:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

/* We're removing these styles since we no longer need them */
.hero-caption {
    display: none;
}

.main-title {
    color: #B78637;
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    padding-bottom: 1rem;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #B78637;
    border-radius: 2px;
}

.text-content {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* RTL Support for Hero */
body.rtl .hero-content {
    padding: 3rem 3rem 0 0;
    text-align: right;
}

body.rtl .arrow-link {
    align-self: flex-start;
    transform: scaleX(-1);
}

/* Responsive design for Hero */
@media (max-width: 1024px) {
    .hero-image {
        max-height: 450px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        padding: 2.5rem 0 0 2.5rem;
    }
    
    body.rtl .hero-content {
        padding: 2.5rem 2.5rem 0 0;
    }
}

@media (max-width: 768px) {
    .large-column {
        flex-direction: column;
    }
    
    .hero-image {
        width: 100%;
        max-height: 350px;
        margin-top: 2rem;
        margin-bottom: 0;
    }
    
    .hero-content {
        width: 100%;
        padding: 2rem 0 0 0;
    }
    
    body.rtl .hero-content {
        padding: 2rem 0 0 0;
    }
    
    body.rtl .hero-title {
        font-size: 2rem;
    }
    
    body.rtl h2 {
        font-size: 1.8rem;
    }
    
    body.rtl h3 {
        font-size: 1.3rem;
    }
    
    body.rtl p {
        line-height: 1.6;
    }
    
    .arrow-link {
        margin-top: 1.5rem;
        align-self: flex-start;
    }
    
    .hero-row {
        padding-bottom: 2rem;
    }
    
    body.rtl .form-group {
        margin-bottom: 1.2rem;
    }
    
    body.rtl .contact-item {
        margin-bottom: 1.5rem;
    }
    
    body.rtl .objective-item {
        padding: 1rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-image {
        max-height: 250px;
    }
    
    body.rtl .hero-title {
        font-size: 1.7rem;
    }
    
    body.rtl h2 {
        font-size: 1.5rem;
    }
    
    body.rtl h3 {
        font-size: 1.2rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
    }
    
    .arrow-link {
        width: 40px;
        height: 40px;
    }
    
    .arrow-link svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-row {
        padding-bottom: 1.5rem;
    }
    
    body.rtl .submit-btn {
        padding: 0.8rem 1.5rem;
    }
    
    body.rtl .hero-content {
        padding: 2rem 0 0 2rem;
    }
    
    body.rtl .trial-tag {
        padding: 0.3rem 0.7rem;
    }
}

/* Section Styles */
.page-section {
    padding: 4rem 2rem;
    background-color: var(--light-gray);
}

.page-section:nth-child(odd) {
    background-color: white;
}

.page-section:nth-child(even) {
    background-color: var(--light-gray);
}

.page-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 4rem;
}

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

.section-container h2 {
    color: #B78637;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    position: relative;
}

.section-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #B78637;
    border-radius: 2px;
}

.subsection {
    margin-bottom: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection h3 {
    color: #B78637;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.subsection p {
    line-height: 1.8;
    color: var(--text-color);
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0a2c4a;
}

/* Members Grid Styles */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membership-note {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: 6px;
    line-height: 1.6;
}

.member-country {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.member-country:hover {
    transform: translateY(-5px);
}

.country-flag {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-country h4 {
    color: #B78637;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.member-role {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background-color: var(--secondary-color);
    border-radius: 4px;
    display: inline-block;
}

/* RTL Support for Member Countries */
body.rtl .member-country {
    text-align: center;
}

/* Responsive Design for Member Countries */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .country-flag {
        width: 80px;
        height: 80px;
    }

    .member-country h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .country-flag {
        width: 60px;
        height: 60px;
    }

    .member-country {
        padding: 1rem;
    }

    .member-role {
        font-size: 0.8rem;
    }
}

/* Contact Page Styles */
.contact-page {
    background-color: var(--light-gray);
}

.page-title {
    color: #B78637;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-block {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-block h2 {
    color: #B78637;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info-block p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0;
}

/* RTL Support for Contact Page */
body.rtl .contact-info-block h2,
body.rtl .contact-item {
    text-align: right;
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    .contact-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info-block,
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }

    .contact-info-block h2 {
        font-size: 1.5rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: #B78637;
    padding: 3rem 2rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.footer-content h3 {
    color: #B78637;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #B78637;
    border-radius: 1px;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links a {
    color: #B78637;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-logo img {
    height: 150px;
    width: auto;
    opacity: 0.9;
}

/* RTL Support for Footer */
body.rtl .footer-content h3::after {
    left: auto;
    right: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    body.rtl .footer-content h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .quick-links a {
        padding: 0.75rem 0;
    }

    .footer-logo {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-logo img {
        height: 70px;
    }
}

/* Council Objectives Styles */
.council-objectives {
    margin-top: 2rem;
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
}

.council-objectives h4 {
    color: #B78637;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.objective-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.objective-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    padding: 0.5rem;
    color: #B78637;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.objective-icon i {
    font-size: 1.8rem;
}

.objective-item:hover .objective-icon {
    background-color: #B78637;
    color: var(--secondary-color);
    transform: scale(1.1);
}

.objective-item p {
    margin: 0;
    flex: 1;
    line-height: 1.8;
    display: flex;
    align-items: center;
    min-height: 60px;
}

/* RTL Support for Council Objectives */
html[dir="rtl"] .objective-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .objective-icon {
    margin-right: 0;
    margin-left: 1.5rem;
}

html[dir="rtl"] .objective-item p {
    text-align: right;
}

/* Responsive Design for Council Objectives */
@media (max-width: 768px) {
    .council-objectives {
        padding: 1.5rem;
    }

    .objective-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        width: 100%;
    }

    .objective-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
        width: 80px;
        height: 80px;
    }

    .objective-item p {
        min-height: auto;
        justify-content: center;
        font-size: 1.1rem;
    }

    html[dir="rtl"] .objective-item {
        flex-direction: column;
        align-items: center;
    }
    
    html[dir="rtl"] .objective-icon {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .council-objectives {
        padding: 1rem;
    }

    .council-objectives h4 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .objective-item {
        padding: 1.5rem 1rem;
    }

    .objective-icon {
        width: 70px;
        height: 70px;
    }

    .objective-item p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Secretary-General Profile Styles */
.secretary-profile {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
}

.secretary-info {
    flex: 1;
}

.secretary-name {
    color: #B78637;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.secretary-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #B78637;
}

.secretary-bio {
    line-height: 1.8;
    color: var(--text-color);
}

.secretary-image {
    flex: 0 0 300px;
    order: -1;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* RTL Support for Secretary Profile */
html[dir="rtl"] .secretary-profile {
    flex-direction: row-reverse;
}

html[dir="rtl"] .secretary-image {
    order: 1;
}

body.rtl .secretary-name::after {
    left: auto;
    right: 0;
}

/* Responsive Design for Secretary Profile */
@media (max-width: 1024px) {
    .secretary-profile {
        gap: 2rem;
    }

    .secretary-image {
        max-width: 250px;
    }

    .secretary-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .secretary-profile {
        flex-direction: column;
        gap: 2rem;
    }

    .secretary-image {
        flex: 0 0 200px;
        margin: 0 auto;
    }

    html[dir="rtl"] .secretary-profile {
        flex-direction: column;
    }

    html[dir="rtl"] .secretary-info {
        text-align: right;
    }

    .secretary-name::after {
        left: 50%;
        transform: translateX(-50%);
    }

    body.rtl .secretary-name::after {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .secretary-profile {
        padding: 1.5rem;
    }

    .secretary-image {
        flex: 0 0 150px;
    }

    .secretary-name {
        font-size: 1.2rem;
    }
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: #B78637;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Media Queries for Header */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .main-nav {
        padding: 0 1.5rem;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .main-nav a {
        padding: 1.5rem 0.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .header-container {
        position: relative;
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .menu-toggle {
        order: 3;
        flex: 0 0 auto;
    }
    
    .language-switch {
        order: 2;
        flex: 1;
        text-align: right;
        margin-left: auto;
        padding-right: 1rem;
    }
    
    body.rtl .language-switch {
        text-align: left;
        margin-right: auto;
        margin-left: 0;
        padding-right: 0;
        padding-left: 1rem;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        right: auto;
        width: 100%;
        background-color: var(--primary-color);
        height: auto;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 999;
        padding: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    body.rtl .main-nav {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    body.rtl .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        align-items: flex-start;
    }
    
    .main-nav a {
        padding: 0.75rem 2rem;
        width: 100%;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 2rem;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-content a {
        color: #B78637 !important;
        background-color: transparent;
        margin: 5px 0;
        border-radius: 4px;
        padding: 0.75rem 1.5rem;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    body.rtl .main-nav ul {
        align-items: flex-end;
    }
    
    body.rtl .dropdown-content {
        padding-left: 0;
        padding-right: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .language-switch button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Form elements RTL support */
body.rtl .form-group label {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

body.rtl input,
body.rtl textarea,
body.rtl button,
body.rtl select {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

body.rtl .submit-btn {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
}

/* Contact page RTL support */
body.rtl .contact-info-block h2,
body.rtl .contact-form h2 {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
}

body.rtl .contact-item h3 {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
}

/* Footer RTL support */
body.rtl .footer-content h3 {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
}

body.rtl .quick-links a {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

/* Other text elements RTL support */
body.rtl .hero-text,
body.rtl p,
body.rtl .objective-item p,
body.rtl .secretary-bio {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

body.rtl h2 {
    font-size: 2.2rem;
}

body.rtl h3 {
    font-size: 1.5rem;
}

/* Tags Container */
.tags-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Remove old trial tag styles */
.tags-container,
.trial-tag {
    display: none;
}

/* Beta Tag Style */
.beta-tag {
    background-color: #B78637;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
    letter-spacing: 0.5px;
    border: 2px solid #B78637;
}

/* RTL Support for tags */
body.rtl .trial-tag,
body.rtl .beta-tag {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Responsive design for tags */
@media (max-width: 768px) {
    .tags-container {
        margin: 10px 20px;
    }
    
    .trial-tag,
    .beta-tag {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .tags-container {
        margin: 8px 16px;
    }
    
    .trial-tag,
    .beta-tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Text Alignment */
p, 
.hero-text,
.objective-item p,
.secretary-bio,
.subsection p,
.membership-note,
.aboutExecutiveText {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

body.rtl p,
body.rtl .hero-text,
body.rtl .objective-item p,
body.rtl .secretary-bio,
body.rtl .subsection p,
body.rtl .membership-note,
body.rtl .aboutExecutiveText {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}
