html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
}

header {
    background: linear-gradient(45deg, #009999, #006666);
    color: white;
    padding: 10px 20px;
}

header .brand {
    font-size: 1.8rem;
    font-weight: 600;
}

nav a {
    color: white;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffcc00;
}

.hero {
    text-align: center;
    background: linear-gradient(60deg, #009999, #006666);
    color: white;
    padding: 100px 20px;
}

.cta a {
    text-decoration: none;
    color: white;
    background-color: #ffcc00;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta a:hover {
    background-color: #ff9900;
}

.features i {
    font-size: 3rem;
    color: #009999;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

header {
    background: rgba(0, 0, 0, 0.85);
    transition: all 0.3s ease-in-out;
}

header:hover {
    background: rgba(0, 0, 0, 1);
}

.navbar-nav .nav-link {
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

.navbar-toggler {
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

.collapse .nav-link {
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.collapse .nav-link:hover {
    color: #ffcc00;
}

.nav-link.active {
    color: #ffcc00;
    font-weight: bold;
    border-bottom: 2px solid #ffcc00;
    transition: all 0.3s ease;
}

.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffcc00;
    height: 5px;
    width: 0;
    border-radius: 5px;
    z-index: 1000;
    transition: width 0.3s ease-in-out;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #006666;
    z-index: 1;
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 40%;
    z-index: 2;
}

.timeline-right .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-left .timeline-content {
    margin-right: auto;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #006666;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-right .timeline-icon {
    left: calc(50% - 30px);
    /* Move right of the timeline */
}

.timeline-left .timeline-icon {
    right: calc(50% - 30px);
    /* Move left of the timeline */
}

.details {
    background: #f9f9f9;
    border-left: 4px solid #006666;
    padding: 1rem;
    border-radius: 8px;
    animation: fadeIn 0.5s ease-in-out;
}

.animate-bounce {
    animation: bounce 1.5s infinite;
}

.language-selector {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.language-btn {
    background: linear-gradient(135deg, #009999, #006666);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.language-btn:hover {
    background: linear-gradient(135deg, #006666, #004c4c);
    transform: scale(1.1);
}

/* منوی زبان */
.language-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.language-selector.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-header {
    font-size: 1rem;
    font-weight: bold;
    color: #009999;
    text-align: center;
    margin: 10px 0;
}

.language-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.language-menu li:last-child {
    border-bottom: none;
}

.language-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-menu a:hover {
    background: #009999;
    color: white;
}

/* Icon Style */
.cookie-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.cookie-icon:hover {
    transform: scale(1.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-banner .cookie-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-banner .cookie-buttons {
    margin-top: 15px;
}

.cookie-banner .btn {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-banner .btn-primary {
    background-color: #007bff;
    color: white;
}

.cookie-banner .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.cookie-banner .btn:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    #about img {
        margin-bottom: 20px;
    }

    .timeline::before {
        left: 50%;
        /* Align timeline closer to the left */
    }

    .timeline-step {
        flex-direction: column;
        align-items: center;
    }

    .timeline-right .timeline-content,
    .timeline-left .timeline-content {
        margin: 0 auto;
        text-align: center;
        max-width: 90%;
    }

    .timeline-icon {
        position: relative;
        top: auto;
        left: auto;
        transform: translate(0, 0);
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .timeline-right .timeline-icon,
    .timeline-left .timeline-icon {
        left: auto;
        right: auto;
    }
    .language-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .language-menu {
        width: 180px;
    }
    .language-menu a {
        padding: 8px;
    }
    .cookie-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}
@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}