 * {
     padding: 0;
     margin: 0;
     box-sizing: border-box;
 }

 body {
     background-color: #282c33;
     color: #ffffff;
     font-family: "Fira Code", monospace;
     overflow-x: hidden;
     transition: all 0.3s ease;
 }

 body[dir="rtl"] {
     font-family: "Cairo", "Fira Code", sans-serif;
 }

 /* Information Bar */
 .info-bar {
     background: linear-gradient(135deg, #c778dd 0%, #833ab4 100%);
     color: #ffffff;
     padding: 12px 5%;
     text-align: center;
     font-size: 14px;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1001;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
     animation: slideDown 0.5s ease-out;
 }

 @keyframes slideDown {
     from {
         transform: translateY(-100%);
     }

     to {
         transform: translateY(0);
     }
 }

 .info-bar p {
     margin: 0;
     line-height: 1.6;
 }

 .info-bar a {
     color: #ffffff;
     font-weight: 700;
     text-decoration: underline;
     margin: 0 4px;
     transition: opacity 0.3s;
 }

 .info-bar a:hover {
     opacity: 0.8;
 }

 .info-bar .close-btn {
     position: absolute;
     right: 20px;
     top: 50%;
     transform: translateY(-50%);
     background: none;
     border: none;
     color: #ffffff;
     font-size: 20px;
     cursor: pointer;
     padding: 5px 10px;
     transition: opacity 0.3s;
 }

 .info-bar .close-btn:hover {
     opacity: 0.7;
 }

 body.info-bar-visible {
     padding-top: 50px;
 }

 /* Scroll animations */
 .scroll-fade-in {
     opacity: 0;
     transform: translateY(50px);
     transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .scroll-fade-in.visible {
     opacity: 1;
     transform: translateY(0);
 }

 .scroll-scale {
     opacity: 0;
     transform: scale(0.9);
     transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .scroll-scale.visible {
     opacity: 1;
     transform: scale(1);
 }

 /* Header & Navigation */
 header {
     position: fixed;
     top: 50px;
     left: 0;
     right: 0;
     z-index: 1000;
     background-color: #282c33;
     display: flex;
     align-items: flex-start;
     transition: top 0.3s ease;
 }

 body:not(.info-bar-visible) header {
     top: 0;
 }

 aside {
     width: 32px;
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-left: 14px;
     margin-top: 70px;
     position: fixed;
     left: 0;
     top: 0;
     transition: margin-top 0.3s ease;
 }

 body:not(.info-bar-visible) aside {
     margin-top: 20px;
 }

 body[dir="rtl"] aside {
     left: auto;
     right: 0;
     margin-left: 0;
     margin-right: 14px;
 }

 .vertical-line {
     border-left: 1px solid #abb2bf;
     height: 220px;
     margin-left: 6px;
     margin-bottom: 10px;
 }

 body[dir="rtl"] .vertical-line {
     border-left: none;
     border-right: 1px solid #abb2bf;
     margin-left: 0;
     margin-right: 6px;
 }

 aside i {
     color: #abb2bf;
     font-size: 24px;
     cursor: pointer;
     transition: color 0.3s;
 }

 aside i:hover {
     color: #c778dd;
 }

 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 5%;
     padding-left: 150px;
     width: 100%;
     background-color: #282c33;
 }

 body[dir="rtl"] nav {
     padding-left: 5%;
     padding-right: 150px;
 }

 .logo img {
     width: 60px;
     height: 60px;
 }

 nav ul {
     display: flex;
     list-style: none;
     gap: 32px;
 }

 nav ul a {
     text-decoration: none;
     color: #abb2bf;
     font-size: 16px;
     font-weight: 400;
     transition: color 0.3s;
 }

 nav ul a:hover {
     color: #c778dd;
 }

 nav ul a span {
     color: #c778dd;
 }

 #language {
     background-color: #282c33;
     color: #ffffff;
     border: none;
     cursor: pointer;
     outline: none;
     font-size: 16px;
     font-weight: 500;
     font-family: "Fira Code", monospace;
 }

 #language:hover {
     color: #c778dd;
 }

 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     color: #ffffff;
     font-size: 24px;
     cursor: pointer;
 }

 /* Hero Section */
 #home {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 150px 5% 50px;
     max-width: 1200px;
     margin: 0 auto;
     gap: 60px;
 }

 .group1 {
     flex: 1;
     max-width: 537px;
 }

 .greeting {
     font-size: 32px;
     color: #c778dd;
     margin-bottom: 20px;
     transition: color 0.3s ease;
 }

 .maintext {
     font-size: 32px;
     font-weight: 600;
     line-height: 1.4;
     margin-bottom: 20px;
 }

 .description {
     font-size: 16px;
     color: #abb2bf;
     margin-bottom: 24px;
 }

 .group1 button {
     padding: 8px 16px;
     background: transparent;
     color: #ffffff;
     border: 1px solid #c778dd;
     font-size: 16px;
     font-family: inherit;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .group1 button:hover {
     background-color: rgba(199, 120, 221, 0.2);
 }

 .group2 {
     flex: 1;
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .slogo {
     position: absolute;
     font-size: 150px;
     display: flex;
     z-index: 1;
     top: 10px;
     left: 70px;
 }

 body[dir="rtl"] .slogo {
     left: auto;
     right: -20px;
 }

 .slogo .letter {
     -webkit-text-stroke: 1px #c778dd;
     color: transparent;
     font-weight: bold;
 }

 .mainp {
     width: 100%;
     max-width: 457px;
     position: relative;
     z-index: 2;
     width: 457px;
     height: 380px;
     overflow: hidden;
 }

 .mainp img {
     width: 100%;
     height: auto;
     display: block;
 }



 .dots {
     position: absolute;
     bottom: 60px;
     right: -30px;
     color: #abb2bf;
     line-height: 1.5;
     z-index: 0;
 }

 body[dir="rtl"] .dots {
     right: auto;
     left: -30px;
 }

 .current {
     position: absolute;
     bottom: -55px;
     left: 52%;
     transform: translateX(-50%);
     display: flex;
     align-items: center;
     gap: 8px;
     border: 1px solid #abb2bf;
     padding: 8px 16px;
     color: #abb2bf;
     background-color: #282c33;
     white-space: nowrap;
     font-size: 14px;
 }

 .current .mark {
     width: 16px;
     height: 16px;
     background-color: #c778dd;
     flex-shrink: 0;
 }

 .current img {
     width: 32px;
     height: 32px;
 }

 /* Quote Section */
 .qoute {
     padding: 80px 5%;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 16px;
 }

 .quote-container {
     max-width: 712px;
     border: 1px solid #abb2bf;
     padding: 32px;
     text-align: center;
     position: relative;
 }

 .commas,
 .commas1 {
     position: absolute;
     background-color: #282c33;
     padding: 0 5px;
 }

 .commas {
     top: -10px;
     left: 20px;
 }

 body[dir="rtl"] .commas {
     left: auto;
     right: 20px;
 }

 .commas1 {
     bottom: -10px;
     right: 20px;
 }

 body[dir="rtl"] .commas1 {
     right: auto;
     left: 20px;
 }

 .commas img,
 .commas1 img {
     width: 40px;
     height: 40px;
 }

 .quote {
     font-size: 24px;
     font-weight: 500;
     color: #ffffff;
     line-height: 1.6;
 }

 .quoter {
     border: 1px solid #abb2bf;
     padding: 16px 24px;
     font-style: italic;
     font-size: 24px;
     color: #ffffff;
     align-self: flex-end;
     margin-right: 10%;
 }

 body[dir="rtl"] .quoter {
     align-self: flex-start;
     margin-right: 0;
     margin-left: 10%;
 }

 /* Projects Section */
 #works {
     padding: 80px 5%;
     max-width: 1200px;
     margin: 0 auto;
 }

 .group3 {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-bottom: 48px;
 }

 .group3 h2 {
     font-size: 32px;
     white-space: nowrap;
 }

 .group3 h2 span {
     color: #c778dd;
 }

 .group3 hr {
     flex: 1;
     border: none;
     border-top: 1px solid #c778dd;
 }

 .group3 a {
     color: #ffffff;
     text-decoration: none;
     white-space: nowrap;
     display: flex;
     align-items: center;
     gap: 8px;
     transition: transform 0.3s;
 }

 .group3 a:hover {
     transform: translateX(5px);
 }

 body[dir="rtl"] .group3 a:hover {
     transform: translateX(-5px);
 }

 .group4 {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 16px;
 }

 .card,
 .card2,
 .card3 {
     border: 1px solid #abb2bf;
     display: flex;
     flex-direction: column;
     transition: all 0.3s ease;
 }

 .card:hover,
 .card2:hover,
 .card3:hover {
     transform: translateY(-10px);
     border-color: #c778dd;
     box-shadow: 0 10px 30px rgba(199, 120, 221, 0.3);
 }

 .card img,
 .card2 img,
 .card3 img {
     width: 100%;
     height: 200px;
     object-fit: cover;
 }

 .card h3,
 .card2 h3,
 .card3 h3 {
     font-size: 24px;
     color: #ffffff;
     padding: 16px 16px 8px;
 }

 .card h6,
 .card2 h6,
 .card3 h6 {
     font-size: 16px;
     color: #abb2bf;
     padding: 0 16px 16px;
     font-weight: 400;
 }

 .card button,
 .card2 button,
 .card3 button {
     margin: 0 16px 16px;
     padding: 8px 16px;
     background-color: transparent;
     color: #ffffff;
     border: 1px solid #c778dd;
     font-family: inherit;
     font-size: 16px;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .card button:hover,
 .card2 button:hover,
 .card3 button:hover {
     background-color: rgba(199, 120, 221, 0.2);
 }

 /* Skills Section */
 .skills {
     padding: 80px 5%;
     overflow: hidden;
 }

 .group5 {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-bottom: 48px;
     max-width: 1200px;
     margin-left: auto;
     margin-right: auto;
 }

 .group5 h2 {
     font-size: 32px;
     white-space: nowrap;
 }

 .group5 h2 span {
     color: #c778dd;
 }

 .group5 hr {
     flex: 1;
     border: none;
     border-top: 1px solid #c778dd;
 }

 .logos {
     white-space: nowrap;
     overflow: hidden;
     padding: 60px 0;
     position: relative;
 }

 .logos::before,
 .logos::after {
     content: "";
     position: absolute;
     top: 0;
     width: 200px;
     height: 100%;
     z-index: 2;
     pointer-events: none;
 }

 .logos::before {
     left: 0;
     background: linear-gradient(to right, #282c33 0%, transparent 100%);
 }

 .logos::after {
     right: 0;
     background: linear-gradient(to left, #282c33 0%, transparent 100%);
 }

 .logos:hover .logos-slide {
     animation-play-state: paused;
 }

 .logos-slide {
     display: inline-block;
     animation: slide 20s linear infinite;
 }

 @keyframes slide {
     from {
         transform: translateX(0);
     }

     to {
         transform: translateX(-50%);
     }
 }

 .logos-slide i {
     font-size: 80px;
     margin: 0 40px;
     transition: transform 0.3s;
 }

 .logos-slide i:hover {
     transform: scale(1.2);
 }

 /* About Section */
 #about-me {
     padding: 80px 5%;
     max-width: 1200px;
     margin: 0 auto;
 }

 .group6 {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-bottom: 48px;
 }

 .group6 h2 {
     font-size: 32px;
     white-space: nowrap;
 }

 .group6 h2 span {
     color: #c778dd;
 }

 .group6 hr {
     flex: 1;
     border: none;
     border-top: 1px solid #c778dd;
 }

 .content {
     display: flex;
     gap: 60px;
     align-items: center;
 }

 .about-me-img {
     flex: 1;
     display: flex;
     justify-content: center;
 }

 .about-me-img img {
     width: 100%;
     max-width: 400px;
     height: auto;
     border: 1px solid #c778dd;
 }

 .info {
     flex: 1;
     color: #ffffff;
     font-size: 16px;
     line-height: 1.8;
 }

 .info span {
     color: #c778dd;
     font-weight: 600;
 }

 .info p {
     margin-bottom: 24px;
 }

 .download-btn {
     display: inline-block;
     padding: 8px 16px;
     background-color: transparent;
     color: #ffffff;
     text-decoration: none;
     border: 1px solid #c778dd;
     font-weight: 600;
     font-family: inherit;
     transition: background-color 0.3s;
 }

 .download-btn:hover {
     background-color: rgba(199, 120, 221, 0.2);
 }

 /* Contacts Section */
 #contacts {
     padding: 80px 5%;
     max-width: 1200px;
     margin: 0 auto;
 }

 .group7 {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-bottom: 48px;
 }

 .group7 h2 {
     font-size: 32px;
     white-space: nowrap;
 }

 .group7 h2 span {
     color: #c778dd;
 }

 .group7 hr {
     flex: 1;
     border: none;
     border-top: 1px solid #c778dd;
 }

 .contentcont {
     color: #ffffff;
     margin-bottom: 48px;
     line-height: 1.8;
 }

 .contentcont h2 {
     font-size: 24px;
     margin-bottom: 16px;
 }

 .contentcont p {
     color: #abb2bf;
     font-size: 16px;
 }

 .socialmedia {
     display: flex;
     justify-content: center;
     margin-top: 48px;
 }

 .wrapper {
     display: flex;
     gap: 16px;
     flex-wrap: wrap;
     justify-content: center;
 }

 .wrapper .button {
     display: inline-block;
     height: 60px;
     width: 60px;
     overflow: hidden;
     background: #abb2bf;
     border-radius: 50px;
     cursor: pointer;
     box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease-out;
     position: relative;
 }

 .wrapper .button:hover {
     width: 200px;
 }

 .wrapper .button .icon {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 60px;
     width: 60px;
     border-radius: 50px;
     transition: all 0.3s ease-out;
 }

 .wrapper .button:nth-child(1):hover .icon {
     background: #4267b2;
 }

 .wrapper .button:nth-child(2):hover .icon {
     background: #333;
 }

 .wrapper .button:nth-child(3):hover .icon {
     background: linear-gradient(45deg,
             #405de6,
             #5851db,
             #833ab4,
             #c13584,
             #e1306c,
             #fd1d1d);
 }

 .wrapper .button:nth-child(4):hover .icon {
     background: #333;
 }

 .wrapper .button:nth-child(5):hover .icon {
     background: #ff0000;
 }

 .wrapper .button .icon i {
     font-size: 25px;
     line-height: 60px;
     transition: all 0.3s ease-out;
 }

 .wrapper .button:hover .icon i {
     color: #fff;
 }

 .wrapper .button span {
     font-size: 20px;
     font-weight: 500;
     line-height: 60px;
     margin-left: 10px;
     opacity: 0;
     transition: all 0.3s ease-out;
     position: absolute;
     top: 0;
     left: 70px;
     white-space: nowrap;
 }

 body[dir="rtl"] .wrapper .button span {
     left: auto;
     right: 70px;
     margin-left: 0;
     margin-right: 10px;
 }

 .wrapper .button:hover span {
     opacity: 1;
 }

 .wrapper .button:nth-child(1) span {
     color: #4267b2;
 }

 .wrapper .button:nth-child(2) span {
     color: #333;
 }

 .wrapper .button:nth-child(3) span {
     color: #fd0054;
 }

 .wrapper .button:nth-child(4) span {
     color: #333;
 }

 .wrapper .button:nth-child(5) span {
     color: #ff0000;
 }

 /* Footer */
 footer {
     padding: 40px 5%;
     text-align: center;
 }

 footer img {
     width: 100%;
     max-width: 800px;
     margin-bottom: 20px;
 }

 .informations {
     color: #ffffff;
     font-size: 14px;
     line-height: 1.8;
 }

 .informations a {
     color: #c778dd;
     text-decoration: none;
     font-weight: 600;
     transition: color 0.3s;
 }

 .informations a:hover {
     color: #833ab4;
     text-decoration: underline;
 }

 .maimg {
     width: 20px;
     height: 20px;
     vertical-align: middle;
 }

 /* Responsive Design */
 @media (max-width: 1024px) {
     #home {
         flex-direction: column;
         text-align: center;
     }

     .group2 {
         order: -1;
     }

     .content {
         flex-direction: column;
         text-align: center;
     }

     .quoter {
         align-self: center;
         margin-right: 0;
     }

     body[dir="rtl"] .quoter {
         margin-left: 0;
     }
 }

 @media (max-width: 768px) {
     aside {
         display: none;
     }

     .info-bar {
         font-size: 12px;
         padding: 10px 5%;
     }

     .info-bar .close-btn {
         right: 10px;
         font-size: 18px;
     }

     nav {
         padding-left: 5%;
     }

     body[dir="rtl"] nav {
         padding-right: 5%;
     }

     nav ul {
         position: fixed;
         top: 80px;
         left: -100%;
         width: 100%;
         height: calc(100vh - 80px);
         background-color: #282c33;
         flex-direction: column;
         padding: 40px;
         gap: 24px;
         transition: left 0.3s;
         z-index: 999;
     }

     body[dir="rtl"] nav ul {
         left: auto;
         right: -100%;
         transition: right 0.3s;
     }

     nav ul.active {
         left: 0;
     }

     body[dir="rtl"] nav ul.active {
         left: auto;
         right: 0;
     }

     .mobile-menu-btn {
         display: block;
     }

     #home {
         padding-top: 120px;
     }

     .slogo {
         font-size: 100px;
     }

     .group3,
     .group5,
     .group6,
     .group7 {
         flex-wrap: wrap;
     }

     .group3 hr,
     .group5 hr,
     .group6 hr,
     .group7 hr {
         width: 100%;
     }

     .quote {
         font-size: 18px;
     }

     .quoter {
         font-size: 18px;
     }

     .wrapper {
         display: flex;
         gap: 60px;
         flex-wrap: wrap;
         justify-content: center;
     }
 }

 @media (max-width: 480px) {
     .maintext {
         font-size: 24px;
     }

     .greeting {
         font-size: 24px;
     }

     .slogo {
         font-size: 80px;
         top: -20px;
     }

     .current {
         font-size: 12px;
         padding: 6px 12px;
     }

     .current .mark {
         width: 12px;
         height: 12px;
     }

     .group4 {
         grid-template-columns: 1fr;
     }

     .logos-slide i {
         font-size: 60px;
         margin: 0 20px;
     }

     .wrapper .button:hover {
         width: 160px;
     }

     .wrapper {
         display: flex;
         gap: 60px;
         flex-wrap: wrap;
         justify-content: center;
     }
 }