* { margin: 0; padding: 0; box-sizing: border-box; } body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #121212; color: #fff; } /* Navbar (unchanged from your original) */ .navbar { display: flex; justify-content: space-between; align-items: center; background-color: #1a1a1a; padding: 1rem 2rem; position: relative; transition: background-color 0.3s ease; } .logo img { height: 80px; width: 80px; border-radius: 50%; box-shadow: 0 2px 6px rgba(130, 241, 230, 0.549); transition: all 0.3s ease; object-fit: contain; background-color: #fff; border: 1px solid #ddd; margin-right: 200px; } .logo img:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(67, 72, 21, 0.521); border-color: #223523; } .navbar-list { list-style: none; display: flex; gap: 2rem; } .navbar-item a { text-decoration: none; color: #fff; font-size: 1.1rem; position: relative; transition: color 0.3s ease; } .navbar-item a:hover { color: #ffeb3b; } .navbar-item a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0%; height: 3px; background-color: #ffeb3b; transition: width 0.3s ease; } .navbar-item a:hover::after { width: 100%; } .d-flex { display: flex; align-items: center; margin-left: 20px; position: relative; /* اضافه شد */ } .form-control { position: relative; padding: 10px 40px 10px 15px; border: 2px solid #444; border-radius: 25px; background-color: #2b2b2b; color: #fff; font-size: 14px; transition: all 0.3s ease; width: 200px; } .form-control:focus { outline: none; border-color: #ffeb3b; box-shadow: 0 0 8px rgba(221, 207, 76, 0.563); width: 250px; } .form-control::placeholder { color: #aaa; } .btn-outline-success { display: none; /* Hide the button */ } /* Search icon inside input */ .d-flex::after { content: "\f002"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 20px; /* تغییر از 35px به 20px */ top: 50%; transform: translateY(-50%); color: #aaa; pointer-events: none; transition: all 0.3s ease; } .form-control:focus + .btn-outline-success + ::after, .form-control:focus ~ ::after { color: #ffeb3b; } /* Responsive adjustments */ @media (max-width: 768px) { .d-flex { margin-left: 10px; } .form-control { width: 150px; } .form-control:focus { width: 180px; } } .about-hero { background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg') center/cover; height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; } .hero-content { max-width: 800px; padding: 0 20px; z-index: 2; } .hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; color: #FFD700; text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5); animation: glow 2s infinite alternate; } @keyframes glow { from { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); } to { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); } } .hero-content p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 30px; } .gold-btn { display: inline-block; background-color: #FFD700; color: #121212; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; border: 2px solid #FFD700; } .gold-btn:hover { background-color: transparent; color: #FFD700; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3); } /* About Sections */ .about-container { max-width: 1200px; margin: 80px auto; padding: 0 20px; } .section-title { text-align: center; margin-bottom: 60px; position: relative; } .section-title h2 { font-size: 2.5rem; color: #FFD700; display: inline-block; padding-bottom: 15px; } .section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: #FFD700; } .about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-bottom: 80px; } .about-card { background-color: #1a1a1a; border-radius: 10px; padding: 30px; transition: all 0.4s ease; border: 1px solid #333; position: relative; overflow: hidden; } .about-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background-color: #FFD700; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; } .about-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1); border-color: #FFD700; } .about-card:hover::before { transform: scaleX(1); } .about-card i { font-size: 3rem; color: #FFD700; margin-bottom: 20px; transition: transform 0.3s ease; } .about-card:hover i { transform: rotate(15deg) scale(1.1); } .about-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #FFD700; } .about-card p { line-height: 1.6; color: #ccc; } /* Timeline */ .timeline { position: relative; max-width: 1000px; margin: 0 auto; } .timeline::before { content: ''; position: absolute; width: 2px; background-color: #FFD700; top: 0; bottom: 0; left: 50%; margin-left: -1px; } .timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; margin-bottom: 30px; } .timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; background-color: #FFD700; border-radius: 50%; top: 15px; z-index: 1; } .left { left: 0; text-align: right; padding-right: 70px; } .left::after { right: -10px; } .right { left: 50%; text-align: left; padding-left: 70px; } .right::after { left: -10px; } .timeline-content { padding: 20px; background-color: #1a1a1a; border-radius: 8px; border: 1px solid #333; transition: all 0.3s ease; } .timeline-content:hover { transform: scale(1.03); box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2); border-color: #FFD700; } .timeline-content h3 { color: #FFD700; margin-bottom: 10px; } .timeline-content p { color: #ccc; line-height: 1.6; } .timeline-date { color: #FFD700; font-weight: bold; margin-bottom: 5px; } /* Team Section */ .team-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 60px; } .team-member { background-color: #1a1a1a; border-radius: 10px; overflow: hidden; text-align: center; transition: all 0.4s ease; border: 1px solid #333; position: relative; } .team-member:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2); border-color: #FFD700; } .member-img { height: 300px; overflow: hidden; position: relative; } .member-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .team-member:hover .member-img img { transform: scale(1.1); } .member-info { padding: 20px; } .member-info h3 { color: #FFD700; margin-bottom: 5px; font-size: 1.3rem; } .member-info p { color: #aaa; margin-bottom: 15px; font-style: italic; } .social-links { display: flex; justify-content: center; gap: 15px; } .social-links a { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; background-color: #333; border-radius: 50%; color: #FFD700; transition: all 0.3s ease; } .social-links a:hover { background-color: #FFD700; color: #121212; transform: translateY(-3px); } /* Footer (unchanged from your original) */ .footer { background-color: #1e1e1e; color: #ccc; font-family: Arial, sans-serif; padding: 2rem; margin-top: 100px; } .footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 2rem; border-bottom: 1px solid #333; padding-bottom: 2rem; } .footer-logo img { width: 120px; margin-bottom: 1rem; } .footer-logo p { font-size: 0.9rem; color: #aaa; } .footer-middle { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .footer-column h3 { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; } .footer-column ul { list-style: none; padding: 0; } .footer-column li { margin-bottom: 0.5rem; } .footer-column a { text-decoration: none; color: #ccc; transition: color 0.3s ease; } .footer-column a:hover { color: #f5a623; } .social-icons a { display: inline-block; width: 40px; height: 40px; line-height: 40px; background-color: #2b2b2b; border-radius: 50%; text-align: center; margin-right: 0.5rem; color: #ccc; transition: background-color 0.3s ease; } .social-icons a:hover { background-color: #f5a623; color: #fff; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; border-top: 1px solid #333; padding-top: 1.5rem; color: #777; font-size: 0.9rem; } .footer-links a { color: #ccc; margin-left: 1rem; text-decoration: none; transition: color 0.3s ease; } .footer-links a:hover { color: #f5a623; } /* Responsive */ @media (max-width: 768px) { .timeline::before { left: 31px; } .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; } .timeline-item::after { left: 21px; } .left, .right { left: 0; text-align: left; } .hero-content h1 { font-size: 2.5rem; } }
    
    /* Bouton de langue */
    #language-toggle {
      position: fixed;
      bottom: 20px;
      left: 20px;
      z-index: 9999;
      padding: 10px 20px;
      background-color: #121212;
      color: #FFD700;
      border: 2px solid #FFD700;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }
    
    #language-toggle:hover {
      background-color: #FFD700;
      color: #121212;
      transform: translateY(-2px);
    }
    
    #language-toggle:active {
      transform: translateY(0);
    }
    