/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #D4AF37;
    --text-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f4f4f4;
    --dark-gray: #666666;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

html[dir="rtl"] .logo img {
    margin-right: unset;
    margin-left: 10px;
}

.logo img {
    width: 80px; /* Increased logo size from 50px to 80px */
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--light-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.language-switch {
    display: flex;
    align-items: center;
}

.language-switch a {
    color: var(--light-color);
    margin-left: 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.language-switch a:hover,
.language-switch a.active {
    color: var(--secondary-color);
}

.nav-menu li a:hover, .nav-menu a.active {
    color: var(--secondary-color);
}

html[dir="rtl"] .form-group select {
    background-position: left 10px center;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill= "black" height= "24" viewBox= "0 0 24 24" width= "24" xmlns= "http://www.w3.org/2000/svg" ><path d= "M7 10l5 5 5-5z" /><path d= "M0 0h24v24H0z" fill= "none" /></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    color: var(--light-color);
    cursor: pointer;
}

/* Hero Image Background */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transition: opacity 0.5s ease;
}

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

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* When video is active */
.hero[data-mode="video"] .hero-video {
    opacity: 1;
}

.hero[data-mode="video"] .hero-image {
    opacity: 0;
}

/* Dark overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Play Button Styles */
.hero-play-btn {
    position: absolute;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border: 3px solid var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-play-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.hero-play-btn i {
    font-size: 1.5rem;
    color: var(--light-color);
}

/* Language-sensitive positioning */
/* English (LTR) - Bottom Left */
html[dir="ltr"] .hero-play-btn,
.hero-play-btn {
    left: 30px;
}

/* Arabic (RTL) - Bottom Right */
html[dir="rtl"] .hero-play-btn {
    right: 30px;
    left: auto;
}

/* Play button states */
.hero[data-mode="video"] .hero-play-btn {
    background: rgba(0, 0, 0, 0.7);
}

.hero[data-mode="video"] .hero-play-btn i::before {
    content: '\f04c'; /* Pause icon */
}

.hero[data-mode="image"] .hero-play-btn i::before {
    content: '\f04b'; /* Play icon */
}

/* Hero Content */
.hero-content {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Section Styles */
.services {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

/* About Section Styles */
.about {
    padding: 80px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Stats Section Styles */
.stats {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.1rem;
}

/* Contact Section Styles */
.contact {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

html[dir="rtl"] .contact-info-item i {
    margin-right: unset;
    margin-left: 15px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 20px;
    color: #aaa;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-play-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }

    html[dir="ltr"] .hero-play-btn,
    .hero-play-btn {
        left: 20px;
    }

    html[dir="rtl"] .hero-play-btn {
        right: 20px;
    }

    .hero-play-btn i {
        font-size: 1.2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-play-btn {
        width: 45px;
        height: 45px;
        bottom: 15px;
    }

    html[dir="ltr"] .hero-play-btn,
    .hero-play-btn {
        left: 15px;
    }

    html[dir="rtl"] .hero-play-btn {
        right: 15px;
    }

    .hero-play-btn i {
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .about-content h2,
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

/* International Expertise Section */
.expertise-section {
    padding: 60px 0;
    background-color: var(--gray-color);
}

.expertise-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expertise-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-10px);
}

.expertise-item img {
    width: 100%;
    height: 146px;
    margin-bottom: 15px;
}

.expertise-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.expertise-item p {
    color: var(--dark-gray);
}

/* Female Security Section */
.female-security {
    padding: 80px 0;
    background-color: var(--light-color);
}

.female-security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.female-security-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.female-security-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.female-security-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* AI Technology Section */
.ai-technology {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.ai-technology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ai-technology-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.ai-technology-content p {
    margin-bottom: 20px;
}

.ai-technology-image img {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .female-security-container,
    .ai-technology-container {
        grid-template-columns: 1fr;
    }

    .female-security-image,
    .ai-technology-image {
        order: -1;
    }
}


/* Page Banner Styles */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%);
    color: var(--light-color);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/banner-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    color: var(--light-color);
    font-size: 1.1rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 15px;
    color: var(--secondary-color);
}

.breadcrumb a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

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

.breadcrumb .active {
    color: var(--secondary-color);
}

/* About Page Styles */
.about-page {
    padding: 80px 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* Vision & Mission Styles */
.about-vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    padding: 60px 0;
    background-color: var(--gray-color);
    border-radius: 15px;
}

.vision, .mission {
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.vision:hover, .mission:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vision h3, .mission h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.vision h3 i, .mission h3 i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.vision p, .mission p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Values Section Styles */
.about-values {
    margin-bottom: 80px;
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-values h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.value-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* History & Timeline Styles */
.about-history {
    margin-bottom: 80px;
    padding: 60px 0;
    background-color: var(--gray-color);
    border-radius: 15px;
}

.about-history h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--light-color);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    margin: 0 30px;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Team Section Styles */
.team-section {
    margin-bottom: 80px;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 30px 25px;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.member-info .position {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-info .bio {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Certifications Styles */
.certifications {
    padding: 60px 0;
    background-color: var(--gray-color);
    border-radius: 15px;
}

.certifications h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.certification-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.certification-item:hover img {
    filter: grayscale(0%);
}

.certification-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.certification-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Enhanced Font Hierarchy for English */
body {
    font-family: 'Roboto', 'Cairo', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Cairo', sans-serif;
    font-weight: 700;
}

/* Responsive Adjustments for About Page */
@media (max-width: 992px) {
    .about-vision-mission {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        margin: 0;
    }

    .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }

    .about-intro h2,
    .about-values h2,
    .team-section h2,
    .certifications h2 {
        font-size: 2rem;
    }

    .vision, .mission {
        padding: 30px 20px;
    }

    .vision h3, .mission h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-banner {
        padding: 60px 0 40px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .about-page {
        padding: 60px 0;
    }

    .about-intro {
        margin-bottom: 60px;
    }

    .about-vision-mission,
    .about-values,
    .about-history,
    .team-section {
        margin-bottom: 60px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-year {
        padding: 10px 15px;
        font-size: 1rem;
        min-width: 60px;
    }

    .timeline-content {
        padding: 20px;
    }

    .member-image {
        height: 250px;
    }

    .member-info {
        padding: 25px 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-video,
.hero-image img {
    animation: fadeIn 0.5s ease-in-out;
}

/* Pulse animation for play button when in image mode */
.hero[data-mode="image"] .hero-play-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.page-banner {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 100px 0 50px;
    text-align: center;
    margin-bottom: 50px;
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb li a {
    color: var(--text-light);
}

.breadcrumb li.active {
    color: var(--secondary-color);
}

.contact-page {
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-box h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-left: 15px;
    margin-top: 5px;
}

.contact-info-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-info-content p {
    font-size: 16px;
    line-height: 1.6;
}

.contact-form-box {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-box h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #b8960c;
    transform: translateY(-3px);
}

.map-section {
    margin-top: 80px;
}

.map-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.faq-section {
    margin-top: 80px;
    padding: 50px 0;
    background-color: #f9f9f9;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: all 0.3s ease;
}

.faq-question.active:after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-answer.active {
    padding: 15px 20px;
    max-height: 1000px;
}

@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        order: 2;
    }

    .contact-form-box {
        order: 1;
    }
}

.service-detail {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

html[dir="rtl"] .service-detail-content {
    flex: 1;
    min-width: 300px;
    padding-left: 40px;
}

.service-detail-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
}

.service-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-features {
    margin-top: 30px;
}

.service-features h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
}

html[dir="rtl"] .feature-item svg{
    margin-left: 15px;
    margin-right: unset;
}

.feature-item svg {
    color: var(--secondary-color);
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-left: 15px;
    margin-top: 5px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* Alternate layout for even services */
html[dir="rtl"] .service-detail:nth-child(even) .service-detail-content {
    order: 2;
    padding-left: 0;
    padding-right: 40px;
}

.service-detail:nth-child(even) .service-detail-content {
    order: 2;
    padding-left: 40px;
    padding-right: 0;
}

.service-detail:nth-child(even) .service-detail-image {
    order: 1;
}

@media screen and (max-width: 768px) {
    .service-detail-content,
    .service-detail:nth-child(even) .service-detail-content {
        order: 1;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .service-detail-image,
    .service-detail:nth-child(even) .service-detail-image {
        order: 2;
    }
}
