/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Professional Color Palette for MSG GROUP */
:root {
    --primary-blue: #1e3a5f;
    --secondary-blue: #2c5280;
    --accent-gold: #d4af37;
    --accent-light-blue: #4a90e2;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.nav-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0;
    letter-spacing: 1px;
    line-height: 1;
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--accent-light-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Language Switcher Styles */
.language-switcher .lang-btn {
    background: linear-gradient(135deg, var(--accent-gold), #DAA520);
    border: none;
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.2);
}

.language-switcher .lang-btn:hover {
    background: linear-gradient(135deg, #DAA520, var(--accent-gold));
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.4);
}

.language-switcher .lang-btn i {
    font-size: 0.9rem;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] body, [dir="rtl"] html {
    font-family: 'Cairo', 'Poppins', sans-serif;
    line-height: 1.9;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-logo {
    align-items: flex-end;
}

/* Ensure branding (logo + tagline) sits at the far right in RTL and text aligns right */
[dir="rtl"] .nav-logo {
    /* remove auto margins to avoid overlap; use explicit flex order instead */
    margin-left: 0;
    margin-right: 0;
    align-items: flex-end;
    text-align: right;
    order: 2; /* place logo at the end (right) in RTL */
}

[dir="rtl"] .nav-brand,
[dir="rtl"] .nav-tagline {
    text-align: right;
}

/* Ensure nav menu and toggle order in RTL: toggle at start (left), menu next, logo at end (right) */
[dir="rtl"] .nav-menu {
    order: 1;
    flex-direction: row-reverse; /* keep items flowing right-to-left */
}

[dir="rtl"] .nav-toggle {
    order: 0;
}

/* Ensure language switcher spacing in RTL to prevent overlap */
[dir="rtl"] .nav-menu .language-switcher {
    margin-inline-start: 0.75rem;
    margin-inline-end: 0.25rem;
}

/* Mirror navbar layout in RTL: put logo on the right and menu to the left */
[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

/* Ensure the mobile slide-in menu comes from the right in RTL */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        text-align: center;
    }

    [dir="rtl"] .nav-menu.active {
        right: 0;
        left: auto;
    }

    /* Place the nav toggle on the left visually when RTL to match expected layout */
    [dir="rtl"] .nav-toggle {
        order: 1;
    }
}

/* RTL Form Support */
[dir="rtl"] .contact-form input,
[dir="rtl"] .contact-form textarea {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .contact-form .btn {
    font-family: 'Inter', 'Cairo', Arial, sans-serif;
}

[dir="rtl"] .contact-item {
    text-align: right;
}

[dir="rtl"] .contact-info {
    direction: rtl;
}

[dir="rtl"] .section-header h2,
[dir="rtl"] .section-header p {
    /* keep section headers centered in RTL just like LTR */
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo {
    width: 150px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border: 2px solid var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
    opacity: 0.8;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1.5rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: justify;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.sector-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-gold);
    background: var(--bg-white);
}

.sector-item i {
    font-size: 3rem;
    color: var(--accent-light-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.sector-item:hover i {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.sector-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Vision, Mission, Values */
.vmv-section {
    padding: 100px 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.vmv-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

.vmv-item:hover {
    transform: translateY(-5px);
}

.vmv-icon {
    background: var(--primary-blue);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.vmv-icon i {
    font-size: 2.5rem;
    color: white;
}

.vmv-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.vmv-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.vmv-item ul {
    list-style: none;
    text-align: left;
}

.vmv-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.vmv-item li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gold);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    text-align: left;
    padding-left: 3rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 22px;
    height: 22px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--accent-gold);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -41px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -41px;
}

.timeline-year {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.timeline-content h3 {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: var(--primary-blue);
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent-gold);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Companies Section */
.companies-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.company-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.company-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.company-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.company-item h4 {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Leadership Section */
.leadership-section {
    padding: 100px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.leader-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.leader-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.leader-avatar i {
    font-size: 3rem;
    color: white;
}

/* Circular photo styling to match "iPhone"-style polished avatars */
.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 4px solid rgba(255,255,255,0.85);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Slightly larger avatars on wide screens for a more prominent look */
@media (min-width: 1100px) {
    .leader-avatar {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .leader-avatar {
        width: 88px;
        height: 88px;
        margin-bottom: 1.25rem;
    }
}

.leader-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.leader-title {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-description {
    color: #666;
    line-height: 1.6;
}

/* Future Section */
.future-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.future-item {
    text-align: center;
    padding: 2rem;
}

.future-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.future-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.future-item p {
    opacity: 0.9;
}

/* Make Future Vision header text lighter for contrast on dark background */
.future-section .section-header h2,
.future-section .section-header p {
    color: rgba(255,255,255,0.95);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #3498db;
    min-width: 30px;
}

.contact-item h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Make executive section span full width and center its cards */
.footer-executive {
    grid-column: 1 / -1;
}

.footer-executive .executive-list {
    justify-content: center;
    gap: 2rem;
}

.footer-executive .executive-item {
    max-width: 260px;
    flex: 0 0 260px;
}

.footer-executive .executive-item h5 {
    font-size: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

/* Executive Team Styling */
.executive-list {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Responsive design for smaller screens */
@media (max-width: 992px) {
    .executive-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .executive-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.executive-item {
    background: var(--bg-white);
    padding: 1.35rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%; /* ensure cards stretch to column width */
    min-height: 140px;
}

/* Make each executive item take approx a third of the row on wide screens */
.executive-list .executive-item {
    flex: 1 1 30%;
    max-width: 32%;
}

@media (max-width: 1100px) {
    .executive-list .executive-item {
        flex: 1 1 45%;
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .executive-list {
        justify-content: center;
    }
    .executive-list .executive-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.executive-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.executive-item h5 {
    color: var(--accent-gold);
    font-size: 1.05rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.executive-item span {
    color: var(--text-gray);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.executive-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.executive-item a:hover {
    color: var(--accent-gold);
}

.executive-item a i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .timeline-content::before {
        left: -41px !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .companies-grid {
        grid-template-columns: 1fr;
    }

    .vmv-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .executive-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .executive-item {
        padding: 1.2rem;
    }

    .executive-item h5 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .executive-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .executive-item h5 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .executive-item {
        padding: 1rem;
    }

    .executive-item a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-padding-top: 70px;
}

/* Loading animation for interactive elements */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Success message styles */
.success-message {
    background: #27ae60;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Gallery Styles */
.gallery-container {
    padding: 4rem 0;
    background: #f8f9fa;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
}

/* Marquee / Carousel Styles */
.logo-marquee {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
}

.logo-card {
    width: 220px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.08));
}

.logo-card .logo-caption {
    display: block;
    margin-top: 6px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.marquee-item:hover .logo-card {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.logo-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Make sure duplicated items are visually identical */
.marquee-item.duplicate { opacity: 0.999; }

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.gallery-overlay p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    direction: rtl;
    text-align: center;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10001;
}

.modal-close {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-body img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: white;
}

.modal-caption {
    padding: 1.5rem;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    direction: rtl;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

/* Statistics Styles */
.stats-container {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    text-align: center;
}

.stats-container .section-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stats-container .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-gold);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Testimonials Styles */
.testimonials-container {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.testimonials-container .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    background: white;
    padding: 3rem;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.testimonial-author span {
    color: #666;
    font-size: 1rem;
}

.testimonials-dots {
    text-align: center;
    padding: 1.5rem;
    background: white;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 0.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev {
    left: 15px;
}

.testimonial-next {
    right: 15px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .gallery-header h3 {
        font-size: 2rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .modal-navigation {
        padding: 0 10px;
    }
    
    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonial-slide {
        padding: 2rem 1rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}