/* Modern Professional CSS for iCulture Website */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Font Families */
    --font-arabic: 'Tajawal', 'Tahoma', sans-serif;
    --font-english: 'Poppins', 'Arial', sans-serif;
    --font-heading: 'Poppins', 'Arial', sans-serif;
    
    /* Base Font Sizes */
    --font-size-base: 16px;
    --line-height-base: 1.7;
    --line-height-heading: 1.3;
    
    /* Colors */
    --text-dark: #2c3e50;
    --text-light: #5d6d7e;
    --white: #ffffff;
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    
    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Body Typography */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    font-family: var(--font-english);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-align: left;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* RTL Support */
[dir="rtl"], .rtl {
    font-family: var(--font-arabic) !important;
    direction: rtl;
    text-align: right;
}

/* Text alignment for RTL/LTR */
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] li,
[dir="rtl"] span,
[dir="rtl"] div {
    text-align: right;
}

[dir="ltr"] p,
[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4,
[dir="ltr"] h5,
[dir="ltr"] h6,
[dir="ltr"] li,
[dir="ltr"] span,
[dir="ltr"] div {
    text-align: left;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    margin: 1.5em 0 0.8em;
    color: var(--text-dark);
}

h1 { 
    font-size: 2.5rem; 
    font-weight: 800;
}

h2 { 
    font-size: 2rem;
    font-weight: 700;
}

h3 { 
    font-size: 1.75rem;
    font-weight: 600;
}

h4 { 
    font-size: 1.5rem;
    font-weight: 600;
}

h5 { 
    font-size: 1.25rem;
    font-weight: 500;
}

h6 { 
    font-size: 1.1rem;
    font-weight: 500;
}

/* Paragraphs */
p {
    margin: 1.2em 0;line-height: 40px !important;
    color: var(--text-light);
    font-weight: 400;
    color: var(--text-light);
    font-weight: 400;
    font-size: var(--font-size-md);
    line-height: var(--line-height-base);
}

/* Section Separators */
.section-separator {
    margin-top: 0px;
    padding-top: 0px;
    position: relative;
    transition: all 0.3s ease;
}

/* About List Styling */
.about-list {
    margin-top: 15px !important;margin-bottom: 28px !important;
    padding: 35px 40px 0px 40px;    position: relative;
    transition: all 0.3s ease;
}
.consulting-list li strong {
    color: #f4981d;
}
.section-separator::before,
.about-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        rgba(255,107,53,0) 0%, 
        rgba(255,107,53,0.5) 50%, 
        rgba(255,107,53,0) 100%);
}

.section-separator:hover {
    padding-top: 35px;
}

.about-list:hover,
.section-separator:hover {
    padding-top: 30px;
}

/* RTL support */
[dir="rtl"] .section-separator::before,
[dir="rtl"] .about-list::before {
    background: linear-gradient(270deg, 
        rgba(255,107,53,0) 0%, 
        rgba(255,107,53,0.5) 50%, 
        rgba(255,107,53,0) 100%);
}

/* Responsive Typography */
@media (max-width: 992px) {
    :root {
        --font-size-base: 15px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 14px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.15rem; }
}

/* Container and Layout */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

/* Header and Logo */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
}

.logo-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(var(--shadow));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Modern Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;font-size: medium;
    align-items: center;
    justify-content: space-between;

    min-height: 70px;
}

/* Adjust navigation for RTL */
html[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: var(--primary-dark);
}

/* Navbar logo image */
.nav-logo {
    height: 115px;  /* Increased to 115px as requested */
    width: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;    margin-left: -55px;
}

/* Hover effect */
.nav-brand:hover .nav-logo {
    transform: scale(1.05);
}

.nav-menu {
  display: flex;
    list-style: none;
    flex-wrap: wrap;
  gap: 0px;
    justify-content: center;
    align-items: center;
}


.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0px 20px 0px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: bolder !important;
    border-radius: var(--radius-md);
    transition: all 0.3s 
ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.1);
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* In RTL, align dropdowns to the right edge */
html[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    margin: var(--spacing-xs);
}

.dropdown-item:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Language toggle button */
.lang-toggle {
    margin-left: var(--spacing-md);
    padding: 8px 14px;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 999px;
    cursor: pointer;    margin-right: -30px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-1px);
}

html[dir="rtl"] .lang-toggle {
    margin-left: 0;
    margin-right: var(--spacing-md);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--shadow-hover);
}

.hero-video {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(255, 107, 53, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;    color: #f5bd39;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;    color: #ffffff;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Content Sections */
.content-section {    
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

/* Typography direction for cards in RTL */
html[dir="rtl"] .card-text,
html[dir="rtl"] .section-header p,


.section-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 1500px;padding: 0px 40px 0px 40px;
    margin: 0 auto;
    margin-top: var(--spacing-xxl);
}

.vision-card,
.mission-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);    justify-items: anchor-center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.card-text {    text-align: center !important;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
    direction: rtl;
    font-family: 'Tajawal', var(--font-primary);
    overflow: hidden;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.2rem;
}

.footer .section-title::after {
    background: linear-gradient(90deg, var(--primary-color), #f39c12);
}

/* Contact Layout */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    justify-content: space-between;
}

/* Left Column */
.left-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
}

.social-section,
.address-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.25rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.social-section {
    padding-bottom: 2.5rem;
}

.social-section h3,
.address-section h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 1.75rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.social-section h3::after,
.address-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #f39c12);
    border-radius: 3px;
}

.social-section:hover,
.address-section:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Address Section */
.address-item {
    display: flex;
    align-items: flex-start;
    text-align: right;
    padding: 1.5rem 0 0;
    margin-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.address-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-left: 1.5rem;
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.address-details {
    flex: 1;
    text-align: right;
}

.address-details span {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.address-item:hover .address-details span {
    color: #fff;
}

.address-item:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Inquiries Column */
.inquiries-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.inquiries-column h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 2.25rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.inquiries-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #f39c12);
    border-radius: 3px;
}

.inquiries-column:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Inquiries specific styles */
.inquiries-column {
    justify-content: flex-start;
}

.inquiries-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1.5rem;
}

.inquiry-item {
    display: flex;
    align-items: center;
    text-align: right;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.inquiry-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-left: 1.25rem;
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.inquiry-details {
    flex: 1;
    text-align: right;
    padding-left: 1rem;
}

.inquiry-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.inquiry-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.inquiry-item a:hover {
    color: var(--primary-color);
}

.inquiry-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.inquiry-item:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.contact-column:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-column h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    position: relative;
    width: 100%;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #f39c12);
    border-radius: 3px;
}

/* Social Icons */
.social-icons-contact {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 1.5rem 0 0;
    max-width: 100%;
}

.social-icons-contact li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #e74c3c);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    color: var(--white);
    cursor: pointer;
}

.social-icons-contact li:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #e74c3c, var(--primary-color));
}

.social-icons-contact li i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-list {
    /* List items */
    ul, ol {
        text-align: center;
        list-style-position: inside;
        padding: 0;
        margin: 1em 0;
    }

    li {
        text-align: center;
        margin: 0.5em 0;
        padding: 0;
    }
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #e74c3c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-list li:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-list li:hover::before {
    opacity: 1;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li i {
    color: #fff;
    margin: 0 0 0.75rem 0;
    font-size: 1.75rem;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #e74c3c);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.contact-list li:hover i {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.contact-list li span,
.contact-list li a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-list li a:hover {
    color: var(--primary-color);
}

/* Museum Section Styles */
.museum-intro {
    margin-bottom: -20px;
    text-align: center;
    margin-top: 15px;
}

.museum-intro .lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    max-width: 800px;text-align: center;
    margin: 0 auto;
}

.museum-section {
    margin-bottom: 0px;
    padding: 0px 30px 0px 30px;    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f39c12;
    text-align: right;
}

.section-content {
    line-height: 1.8;
    color: #34495e;
}

.goals-list {
    list-style-type: none;
    padding: 0;
}

.goals-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 15px;
}

.goals-list li:before {
    content: "•";
    color: #e74c3c;
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    top: -5px;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.participant-card {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 8px 15px;
    min-height: 80px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 36%);
    transition: all 0.3s ease;
}

.participant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.participant-icon {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-left: 15px;
}

.participant-details {
    flex: 1;
}

.participant-name {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.participant-bio {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    /* Base Typography */
    :root {
        --font-size-base: 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Layout */
    .container {
        padding: 0 15px;
    }
    .footer-grid1{
        display: flex !important;
    flex-direction: column;
    }
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-menu {
        padding: 15px 0;
    }
    
    .nav-link {
        padding: 12px 20px;
    }
    
    /* Content */
    .participants-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .museum-section {
        padding: 15px;
        margin: 10px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    /* Forms and Buttons */
    button, 
    .btn,
    input[type="text"],
    input[type="email"],
    textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    /* Touch Targets */
    a, button, .btn, [role="button"] {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* RTL Specific */
    [dir="rtl"] {
        text-align: right;
    }
    
    [dir="rtl"] .nav-menu {
        right: -100%;
    }
    
    [dir="rtl"] .nav-menu.active {
        right: 0;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-lg);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    direction: ltr;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: left 0.3s ease;
        padding: 20px 0;
        box-shadow: var(--shadow);
        overflow-y: auto;
    }
    .navbar{    
        position: relative;
        top: 0;
        width: 90%;
        left: 20px;
        z-index: 1000;
        transition: all 0.3s 
    ease;
    }
        .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 12px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-menu {
        position: static !important;
        width: 100%;
        box-shadow: none;
        padding: 0 !important;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        display: none;
        background-color: rgba(0, 0, 0, 0.03);
        border: none;
        margin: 0;
    }
    
    .dropdown-menu.show {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .dropdown-toggle::after {
        content: '▼';
        font-size: 0.6rem;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }
    
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 12px 40px !important;
        display: block !important;
        color: var(--text-dark) !important;
        text-decoration: none;
        transition: all 0.2s ease;
        text-align: left;
        width: 100%;
        background: none;
        border: none;
        font-size: 0.9em;
    }
    
    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
.slider-wrapper{
    display: flex
;
   
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.event-content-large{
    padding: 25px !important;
    width: 95% !important;
}   
/* RTL: slide in from the right */
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;flex-direction: column !important;
        transition: right 0.3s ease;
    }
    html[dir="rtl"] .nav-menu.active {
        right: 0;display: flex
        ;
                      flex-direction: column !important;
                         flex-wrap: wrap;
                align-content: center;
                align-items: center;
    }

    .mobile-menu-toggle { display: flex; }
    .lang-toggle { padding: 8px 12px; }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    @media (max-width: 992px) {
        .vision-mission {
            max-width: 100%;
            padding: 0 var(--spacing-md);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--spacing-lg);
        }

        .container {
            padding: 0 var(--spacing-sm);
        }
    }

    .event-content-large {
        width: 100%;
        padding: 20px;
    }

    /* Vision & M
    @media (max-width: 768px) {
        .vision-mission {
            padding: 0 var(--spacing-sm);
        }

        .vision-card,
        .mission-card {
            padding: var(--spacing-lg);
    }

    /* About Section */
    .about-section {
        padding: 40px 0;
    }
    
    .about-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-layout {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 14px;
    }
    
    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    /* Adjust padding and margins */
    .section {
        padding: 30px 0;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-links,
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .footer .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .footer .container {
        padding: 0 1rem;
    }
    
    /* Ensure map iframe is responsive */
    .footer iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
    }
    
    /* Ensure all clickable elements are large enough for touch */
    a, button, .btn, [role="button"],
    input[type="submit"],
    input[type="button"] {
        min-width: 48px;
        min-height: 48px;
        padding: 10px 0px;
        }

    /* General Elements */
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .nav-logo {
        height: 80px;  /* Slightly smaller for mobile, but still larger than before */
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.nav-link:focus,
.cta-button:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
