/* تعميم */
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background: #f9f9f9;
  color: #333;
  direction: rtl;
}



/* Header Styles */
.main-header {
  background-color: #264a5a;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffd700;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    color: white;
  }

  .nav.active {
    display: block;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #264a5a;
    padding: 10px 20px;
    border-radius: 10px;
  }

  .nav.active ul {
    flex-direction: column;
    gap: 10px;
  }
}





/*البرواز الخاص بالبنر*/
.caller{
  background: #8e9da3;
  border-radius: 20px;
  border: 10px;
  padding: 10px;
}


























/* Hero Section */
.hero-rail {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e6b800;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}
































/* Project Intro Section */
.project-intro {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.project-intro .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1 1 500px;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.intro-text ul {
    list-style: none;
    padding: 0;
}

.intro-text ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.intro-text ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-weight: bold;
}

.intro-image {
    flex: 1 1 400px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    .intro-text h2 {
        font-size: 2rem;
    }
}







































/* Features Section */
.project-features {
    background: linear-gradient(135deg, #f4f4f4, #ffffff);
    padding: 80px 0;
    text-align: center;
}

.project-features .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
}

.project-features .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

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

.feature-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card .icon {
    font-size: 40px;
    color: #ffcc00;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .project-features .section-title {
        font-size: 2rem;
    }
    .project-features .section-subtitle {
        font-size: 1rem;
    }
}








































/* Project Works Slider */
.project-works {
    background: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.project-works .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
}

.project-works .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.mySwiper {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.mySwiper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slide-caption {
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffcc00;
}

.swiper-pagination-bullet {
    background: #ffcc00;
}

@media (max-width: 768px) {
    .mySwiper img {
        height: 300px;
    }
}




































/* Work Process Timeline */
.work-process {
    background: #fff;
    padding: 80px 0;
}

.work-process .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}

.work-process .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

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

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ffcc00;
    transform: translateX(-50%);
    animation: drawLine 3s ease forwards;
}

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

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

.timeline-icon {
    width: 60px;
    height: 60px;
    background: #ffcc00;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 1;
    animation: popIcon 0.8s ease forwards;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 0 20px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #333;
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
}

/* Animations */
@keyframes drawLine {
    from { height: 0; }
    to { height: 100%; }
}

@keyframes popIcon {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        flex-direction: row !important;
        margin-left: 40px;
    }
    .timeline-content {
        margin: 0 10px;
    }
}






































/* CTA Railway Section */
.cta-railway {
    position: relative;
    background: url('../images/images/oo/3.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.cta-railway .cta-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 80px 20px;
}

.cta-railway h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-railway p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #f1f1f1;
}

.cta-btn {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-railway h2 {
        font-size: 1.8rem;
    }
    .cta-railway p {
        font-size: 1rem;
    }
}































.footer {
  background-color: #264a5a;
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Cairo', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 16px;
  line-height: 1.7;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #00d4ff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #bbb;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}
  


.footer-contact a:hover i {
  color: #264a5a; /* لون عند المرور */
}

















/* تأثير الدخول */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
