body {
    font-family: exo;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
    
}

.header-section {
    text-align: left;
    margin: 50px;
    
}

.header-section h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #655B70;
}

.row-c-p {
    display: flex;
    text-align: center;
    margin-bottom: -30px;
    
}

.circle {
    width: 45px;
    height: 20px;
    background-color: #9B86BD;
    border-radius: 50%;
    display: flex;
    margin-bottom: 20px;
    justify-content: end;
}

.p-circle {
    display: flex;
    padding: 0px 0px 0px 10px;
    text-align: start;
    align-items: start;
}

.header-section p {
    font-size: 18px;
    margin-top: -20px;
    margin-bottom: 40px;
    padding: 20px;
}

.mentor-images {
    display: flex;
    gap: 270px;
    margin-left: 50px;
    margin-right: 180px;
    justify-content: space-between;
}

.mentor {
    text-align: center;
}

.mentor img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
    background: linear-gradient(180deg, #5A639C, #7776B3, #9B86BD, #E2BBE9);
    animation: move-down 3s ease-in-out infinite;
}

.mentor p {
    margin-top: 10px;
    font-size: 16px;
}

@keyframes move-down {
    0% {
        transform: translateY(-3px);
        opacity: 1;
    }
    50% {
        transform: translateY(2px);
        opacity: 1;
    }
    100% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

.navbar {
    background: linear-gradient(97.77deg, #b43dc1 8.31%, #98A5D5 48.87%, #84BCDC 73.3%, #7AC8E0 85.51%, #70D4E3 97.73%);
    background-size: cover;
    position: relative;
    color: #fff;
    padding: 3px 20px;
    box-sizing: border-box;
}

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

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

.logo img {
    max-height: 40px;
    width: auto; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 70px;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center; 
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff; 
}

.icons {
    display: flex;
    gap: 20px;
}

.icon {
    text-decoration: none;
    font-size: 18px;
    color: #fff; 
}

.profile-icon {
    font-size: 20px; 
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff; 
    cursor: pointer;
}

.fixed-icons {
    display: none; 
    position: fixed;
    top: 10px; 
    right: 10px; 
    display: flex;
    gap: 10px;
    z-index: 1000; 
}

.fixed-icons .icon {
    font-size: 24px; 
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: rgba(0, 0, 0, 0.8); 
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .fixed-icons {
        display: flex; 
    }
}

.dark-mode {
    background-color: #333;
    color: #f8f9fa;
}

.dark-mode .navbar {
    background: url('dark-background-image.jpg') no-repeat center center;
    background-size: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-mode .nav-links a {
    color: #f8f9fa;
}

.dark-mode .icon {
    color: #f8f9fa;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 46px; 
        left: 0;
        background: linear-gradient(90deg, #ac37b9 0%, #97A4D5 60.75%, #91ABD7 67.48%, #8FAED8 71.1%, #8AB5DA 76.65%, #99B8DE 85.5%, #7BC7DF 100%);
        padding: 10px 0;
        gap: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        align-items: center;
        justify-content: center;
    }

    .menu-toggle {
        display: block; 
    }

    .fixed-icons {
        display: flex;
        position: fixed;
        top: 10px;
        right: 10px;
        gap: 10px;
        z-index: 1000;
    }
}

.dark-mode .nav-links {
    background: #333;
}

body.dark-mode .footer {
    background-color: #1e1e1e; 
    color: #e0e0e0; 
    padding: 40px 20px;
    animation: fadeIn 1s ease-in-out;
}

body.dark-mode .footer-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

body.dark-mode .footer-logo {
    flex: 0 0 auto;
    margin-right: 20px;
}

body.dark-mode .footer-logo-image {
    width: 100px;
    height: auto;
}

body.dark-mode .footer-description,
body.dark-mode .footer-links,
body.dark-mode .footer-social {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

body.dark-mode .footer-links {
    animation-delay: 0.2s;
}

body.dark-mode .footer-social {
    animation-delay: 0.4s;
}

body.dark-mode .footer-links h3,
body.dark-mode .footer-social h3 {
    margin-bottom: 15px;
    color: #e0e0e0; 
}

body.dark-mode .footer-links ul,
body.dark-mode .footer-social ul {
    list-style-type: none;
    padding: 0;
}

body.dark-mode .footer-links ul li,
body.dark-mode .footer-social ul li {
    margin: 5px 0;
}

body.dark-mode .footer-links a,
body.dark-mode .footer-social a {
    color: #e0e0e0; 
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

body.dark-mode .footer-links a:hover,
body.dark-mode .footer-social a:hover {
    color: #d8aaff; 
}

body.dark-mode .footer-social a {
    display: flex;
    align-items: center;
}

body.dark-mode .footer-social i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    color: #e0e0e0; 
}

body.dark-mode .footer-social a:hover i {
    transform: scale(1.2) rotate(15deg);
    color: #d8aaff;
}

body.dark-mode .footer-social a:hover {
    color: #d8aaff; 
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body.dark-mode .footer {
        padding: 20px 10px;
    }

    body.dark-mode .footer-container {
        flex-direction: column;
        align-items: center;
    }

    body.dark-mode .footer-logo {
        margin-bottom: 10px;
    }
}


@media (max-width: 768px) {
    .header-section {
        margin: 20px;
        padding: 10px;
    }

    .header-section h1 {
        font-size: 30px;
        text-align: center;
    }

    .mentor-images {
        flex-direction: column;
        gap: 20px;
        margin: 0;
    }

    .mentor img {
        width: 120px;
        height: 120px;
    }

    .mentor p {
        font-size: 14px;
    }
    
}

@media (max-width: 480px) {
    .header-section {
        margin: 10px;
        padding: 5px;
    }

    .header-section h1 {
        font-size: 24px;
        text-align: center;
    }

    .mentor-images {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .mentor img {
        width: 60px;
        height: 60px;
    }

    .mentor p {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .header-section {
        margin: 5px;
        padding: 5px;
        text-align: center;
    }

    .header-section h1 {
        font-size: 22px;
    }

    .mentor-images {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .mentor img {
        width: 50px;
        height: 50px;
    }

    .mentor p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .row-c-p {
        flex-direction: column;
    }

    .circle {
        margin: 0 auto;
    }

    .p-circle {
        padding-left: 0;
        text-align: center;
    }
    .header-section p {
        font-size: 14px; /* تصغير حجم النص أكثر على الشاشات الأصغر */
   padding-bottom: 0%;
    }
}

.footer {
    background-color: #F3F0F7; 
    color: rgb(0, 0, 0);
    padding: 40px 20px;
    animation: fadeIn 1s ease-in-out;
}

.footer-container {
    display: flex;
    align-items: flex-start; 
    flex-wrap: wrap;
}

.footer-logo {
    flex: 0 0 auto; 
    margin-right: 20px; 
}

.footer-logo-image {
    width: 100px; 
    height: auto; 
}

.footer-description,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 200px; 
    margin: 10px;
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeInUp 0.5s forwards; 
}

.footer-links {
    animation-delay: 0.2s; 
}

.footer-social {
    animation-delay: 0.4s; 
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 15px;
}

.footer-links ul,
.footer-social ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin: 5px 0;
}

.footer-links a,
.footer-social a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s; 
}

.footer-links a:hover,
.footer-social a:hover {
    color: #883788; 
}

.footer-social a {
    display: flex;
    align-items: center;
}

.footer-social i {
    margin-right: 8px; 
    transition: transform 0.3s ease; 
    color: rgb(0, 0, 0); 
}

.footer-social a:hover i {
    transform: scale(1.2) rotate(15deg); 
    color: #883788; 
}

.footer-social a:hover {
    color: #883788; 
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .footer {
        padding: 20px 10px; 
    }

    .footer-container {
        flex-direction: column; 
        align-items: center; 
    }

    .footer-logo {
        margin-bottom: 10px; 
    }

    .footer-description,
    .footer-links,
    .footer-social {
        width: 100%; 
        text-align: center; 
        margin: 5px 0; 
    }
}


body.dark-mode .footer {
    background-color: #1e1e1e; 
    color: #e0e0e0; 
    padding: 40px 20px;
    animation: fadeIn 1s ease-in-out;
}

body.dark-mode .footer-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

body.dark-mode .footer-logo {
    flex: 0 0 auto;
    margin-right: 20px;
}

body.dark-mode .footer-logo-image {
    width: 100px;
    height: auto;
}

body.dark-mode .footer-description,
body.dark-mode .footer-links,
body.dark-mode .footer-social {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

body.dark-mode .footer-links {
    animation-delay: 0.2s;
}

body.dark-mode .footer-social {
    animation-delay: 0.4s;
}

body.dark-mode .footer-links h3,
body.dark-mode .footer-social h3 {
    margin-bottom: 15px;
    color: #e0e0e0; 
}

body.dark-mode .footer-links ul,
body.dark-mode .footer-social ul {
    list-style-type: none;
    padding: 0;
}

body.dark-mode .footer-links ul li,
body.dark-mode .footer-social ul li {
    margin: 5px 0;
}

body.dark-mode .footer-links a,
body.dark-mode .footer-social a {
    color: #e0e0e0; 
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

body.dark-mode .footer-links a:hover,
body.dark-mode .footer-social a:hover {
    color: #d8aaff; 
}

body.dark-mode .footer-social a {
    display: flex;
    align-items: center;
}

body.dark-mode .footer-social i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    color: #e0e0e0; 
}

body.dark-mode .footer-social a:hover i {
    transform: scale(1.2) rotate(15deg);
    color: #d8aaff;
}

body.dark-mode .footer-social a:hover {
    color: #d8aaff; 
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body.dark-mode .footer {
        padding: 20px 10px;
    }

    body.dark-mode .footer-container {
        flex-direction: column;
        align-items: center;
    }

    body.dark-mode .footer-logo {
        margin-bottom: 10px;
    }

    body.dark-mode .footer-description,
    body.dark-mode .footer-links,
    body.dark-mode .footer-social {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
}

.header {
    position: relative;
    width: 100%;
    height: 500px;
}

.header-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.header-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

#header-img2 {
    opacity: 0;
}

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

@media (max-width: 480px) {
    .header {
        height: 200px;
    }
}
body.dark-mode .header-section h1 {
    color: #f8f9fa;
    font-weight: bold;
}
body.dark-mode .mentor img {
  
    background:linear-gradient(135deg, #6a0dad, #a24d91, #9b59b6, #183f5e);
}

.header-section {
    overflow: hidden;
}

.mentor-images {
    display: flex;
    gap: 200px; 
    margin: 0 auto; 
    justify-content: center; 
   
}


@media (max-width: 768px) {
    .mentor-images {
        flex-direction: row; 
        gap: 10px; 
        padding-top: 20px;
    }

    .mentor img {
        width: 90px; 
        height: 90px; 
    }
}

@media (max-width: 480px) {
    .mentor img {
        width: 90px; 
        height: 90px; 
        
    }
    .mentor p {
        font-size: 10px; 
    }
}

.icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon {
font-size: 17px;
}
.sign-up {
    color: #fff; /* Text color */
    font-size: 17px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


.dark-mode .sign-up:hover {
    background-color: #333;
    color: #f8f9fa;
}

/* Responsive design for small screens 
@media (max-width: 768px) {
    .sign-up {
        padding: 8px 12px;
    }
}*/

.translate-icon {
    font-size: 17px;
    color: #fff;
    cursor: pointer;
}