/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    /* margin-left: -125px; */
    margin: auto;
    /* background-color: #333;  */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 10px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 20; /* Add a z-index if needed */
    left: 50%;
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show-snackbar {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein_snackbar 0.5s, fadeout_snackbar 0.5s 2.5s;
    animation: fadein_snackbar 0.5s, fadeout_snackbar 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein_snackbar {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein_snackbar {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout_snackbar {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout_snackbar {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Change *2 to half number of children */
@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--total-width)));
    }
}
@keyframes carousel-scroll-ar {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(var(--total-width)));
    }
}

:root {
    --color-text: #a6a6ab;
    --color-bg: #030014;
    --color-link: rgb(142, 100, 255);
    --color-link-hover: rgb(249, 38, 114);
}

/* * {
    outline: none !important;
    cursor: none !important;
} */

.unbutton {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    /* cursor: pointer; */
}

.unbutton:focus {
    outline: none;
}

main {
    max-width: 1400px;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.custom_grid {
    display: grid;
    margin: 10vh 12px;
    grid-template-columns: 1fr;
    /* border: 1px solid #2a2b3a;
	background: #2a2b3a; */
    gap: 1px;
}

/* .grid__item {
	padding: 1.5rem 1.5rem 2rem;
	display: grid;
	gap: 1.5rem;
	align-content: start;
	grid-template-rows: auto 1fr auto;
} */

.grid__item-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1.6rem;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    --x: 0px;
    --y: 0px;
}

.grid__item-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        rgb(23, 37, 28) 40%,
        rgb(43, 172, 125) 50%,
        rgb(129, 189, 66),
        rgb(255, 90, 125)
    );
    /* background: radial-gradient(rgb(23, 24, 37) 40%, rgb(102, 51, 238) 50%, rgb(142, 100, 255), rgb(249, 38, 114)); */
    /* mix-blend-mode: darken; */
}

.grid__item-img-deco {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    font-family: "input-mono", monospace;
    font-size: 0.85rem;
    word-wrap: break-word;
    line-height: 1.15;
    color: #fff;
    opacity: 0;
    -webkit-mask-image: radial-gradient(
        300px circle at var(--x) var(--y),
        black 20%,
        rgba(0, 0, 0, 0.25),
        transparent
    );
    mask-image: radial-gradient(
        300px circle at var(--x) var(--y),
        black 20%,
        rgba(0, 0, 0, 0.25),
        transparent
    );
}

.grid__item-img svg {
    width: 75%;
    max-width: 180px;
    position: relative;
    z-index: 1;
}

.grid__item-label {
    line-height: 1.4;
    margin: 0;
}

.grid__item-tag {
    align-self: end;
    justify-self: start;
    border: 1px solid #2a2b3a;
    border-radius: 1em;
    line-height: 0.75;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

@media screen and (min-width: 33em) {
    .custom_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* @media screen and (min-width: 43em) {
	.custom_grid {
		grid-template-columns: repeat(3,1fr);
	}
} */

@media screen and (min-width: 53em) {
    .custom_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.single-portfolio img {
    margin: 12px 0;
    width: 50%;
    height: auto;
    border-radius: 12px;
}

@media screen and (max-width: 480px) {
    .single-portfolio img {
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 768px) {
    /* CUSTOM CURSOR */
    .custom-cursor {
        position: fixed;
        opacity: 0;
        pointer-events: none;
        /* mix-blend-mode: difference; */
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #fff;
        transition: transform 350ms ease;
        transform: translate(-50%, -50%) scale(0.3);
        z-index: 999;
    }

    .custom-cursor--link {
        transform: translate(-50%, -50%) scale(1);
    }
}

.menu-symbol {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.menu-symbolRotate.active {
    transform: rotate(45deg);
}
.menu-symbol .line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
}
.menu-symbol .top {
    stroke-dasharray: 40 121;
}
.menu-symbol .bottom {
    stroke-dasharray: 40 121;
}
.menu-symbol.active .top {
    stroke-dashoffset: -68px;
}
.menu-symbol.active .bottom {
    stroke-dashoffset: -68px;
}

@keyframes sdb10 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(0, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Scroll Down Animation */
@keyframes sdb10mobile {
    0% {
        transform: translate(0, 20px);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(0, 0);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

:root {
    --primary_color: #b09b77;
    --primary_color_hover: #ceb78f;
    --secondary_color: #1f2937;
    --darkblue: #101624;
    --text_light: #9ca3af;
    --card_bg: #20283a;
    --border_color: #2d3748;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* النص والوصف */
.text-content {
    flex: 1;
    min-width: 300px;
    text-align: start;
    padding: 1rem;
}

.text-content h3 {
    color: var(--primary_color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.text-content h2 {
    color: var(--secondary_color);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-content p {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 140px;
}

.btn-outline {
    border: 2px solid var(--primary_color);
    color: var(--primary_color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary_color);
    color: white;
}

.btn-primary {
    background-color: var(--primary_color);
    color: white;
    border: 2px solid var(--primary_color);
}

.btn-primary:hover {
    background-color: var(--primary_color_hover);
    border-color: var(--primary_color_hover);
}

.circles-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    margin: 0 auto;
}

.circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.circle-primary {
    background-color: var(--primary_color);
    color: white;
    z-index: 2;
}

.circle-outline {
    border: 2px solid var(--primary_color);
    background-color: white;
    color: var(--secondary_color);
}

.circle-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.circle-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .circle-1 {
        top: 19%;
        left: 49%;
        transform: translateX(-50%);
    }
    .circle-2 {
        top: 8%;
        left: 18%;
    }
    .circle-3 {
        top: 8%;
        right: 19%;
    }
    .circle-4 {
        top: 40%;
        left: 25%;
    }
    .circle-5 {
        top: 40%;
        right: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .circle-1 {
        top: 19%;
        left: 49%;
        transform: translateX(-50%);
    }
    .circle-2 {
        top: 8%;
        left: 18%;
    }
    .circle-3 {
        top: 8%;
        right: 19%;
    }
    .circle-4 {
        top: 40%;
        left: 25%;
    }
    .circle-5 {
        top: 40%;
        right: 25%;
    }

    .circle {
        width: 150px;
        height: 150px;
    }

    .circle-number {
        font-size: 1.5rem;
    }

    .circle-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .content-wrapper {
        flex-direction: column-reverse;
    }

    .text-content {
        text-align: center;
        padding: 0.5rem;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .buttons {
        justify-content: center;
    }

    .circles-container {
        min-height: 600px;
    }

    .circle {
        width: 110px;
        height: 110px;
    }

    .circle-number {
        font-size: 1.4rem;
    }

    .circle-text {
        font-size: 0.8rem;
    }

    .circle-1 {
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .circle-2 {
        top: 25%;
        left: 10%;
    }
    .circle-3 {
        top: 25%;
        right: 10%;
    }
    .circle-4 {
        top: 55%;
        left: 25%;
    }
    .circle-5 {
        top: 55%;
        right: 25%;
    }
}

@media (max-width: 480px) {
    .circle {
        width: 100px;
        height: 100px;
    }

    .circle-number {
        font-size: 1.2rem;
    }

    .circle-text {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        min-width: 120px;
        font-size: 0.9rem;
    }

    .text-content h2 {
        font-size: 1.75rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .circle-2 {
        left: 5%;
    }
    .circle-3 {
        right: 5%;
    }
    .circle-4 {
        left: 20%;
    }
    .circle-5 {
        right: 20%;
    }
}

.swiper-wrapper {
    width: 100%;
    height: max-content !important;
    padding-bottom: 64px !important;
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    position: relative;
}
.swiper-pagination-bullet {
    background: #b09b77;
}
.swiper-pagination-bullet-active {
    background: #b09b77 !important;
}

footer {
    background: linear-gradient(to bottom, #192133, #101624);
    color: white;
    padding: 2rem 0 1rem;
    /* margin-top: 4rem; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.subscribe-section {
    background-color: var(--card_bg);
    border-radius: 1rem;
    padding: 2rem;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.subscribe-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subscribe-content p {
    color: var(--text_light);
    font-size: 0.9rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--primary_color);
    background: transparent;
    color: var(--primary_color);
    font-size: 1rem;
    outline: none;
}

.subscribe-form input::placeholder {
    color: var(--primary_color);
    opacity: 0.8;
}

.subscribe-form button {
    background-color: var(--primary_color);
    color: var(--secondary_color);
    font-weight: 700;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.subscribe-form button:hover {
    background-color: #f5e3b3;
}

/* الأقسام الأربعة */
.footer-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary_color);
    display: inline-block;
}

.footer-section p {
    color: var(--text_light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--card_bg);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary_color);
}

.social-icons svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary_color);
}

.social-icons a:hover svg {
    color: var(--darkblue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text_light);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text_light);
    font-size: 0.9rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background-color: var(--primary_color);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.contact-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-social a {
    color: var(--text_light);
    transition: color 0.3s;
}

.contact-social a:hover {
    color: var(--primary_color);
}

.copyright {
    border-top: 1px solid #2d3748;
    padding-top: 1rem;
    text-align: center;
    color: var(--text_light);
    font-size: 0.8rem;
}

@media (min-width: 640px) {
    .subscribe-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .subscribe-content {
        text-align: right;
    }
  }



.circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.circle-primary {
    background-color: var(--primary_color);
    color: white;
    z-index: 2;
}

.circle-outline {
    border: 2px solid var(--primary_color);
    background-color: white;
    color: var(--secondary_color);
}

.circle-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.circle-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .circle-1 {
        top: 19%;
        left: 49%;
        transform: translateX(-50%);
    }
    .circle-2 {
        top: 8%;
        left: 18%;
    }
    .circle-3 {
        top: 8%;
        right: 19%;
    }
    .circle-4 {
        top: 40%;
        left: 25%;
    }
    .circle-5 {
        top: 40%;
        right: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .circle-1 {
        top: 19%;
        left: 49%;
        transform: translateX(-50%);
    }
    .circle-2 {
        top: 8%;
        left: 18%;
    }
    .circle-3 {
        top: 8%;
        right: 19%;
    }
    .circle-4 {
        top: 40%;
        left: 25%;
    }
    .circle-5 {
        top: 40%;
        right: 25%;
    }

    .circle {
        width: 150px;
        height: 150px;
    }

    .circle-number {
        font-size: 1.5rem;
    }

    .circle-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .content-wrapper {
        flex-direction: column-reverse;
    }

    .text-content {
        text-align: center;
        padding: 0.5rem;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .buttons {
        justify-content: center;
    }



    .circle {
        width: 110px;
        height: 110px;
    }

    .circle-number {
        font-size: 1.4rem;
    }

    .circle-text {
        font-size: 0.8rem;
    }

    .circle-1 {
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .circle-2 {
        top: 25%;
        left: 10%;
    }
    .circle-3 {
        top: 25%;
        right: 10%;
    }
    .circle-4 {
        top: 55%;
        left: 25%;
    }
    .circle-5 {
        top: 55%;
        right: 25%;
    }
}

@media (max-width: 480px) {
    .circle {
        width: 100px;
        height: 100px;
    }

    .circle-number {
        font-size: 1.2rem;
    }

    .circle-text {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        min-width: 120px;
        font-size: 0.9rem;
    }

    .text-content h2 {
        font-size: 1.75rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .circle-2 {
        left: 5%;
    }
    .circle-3 {
        right: 5%;
    }
    .circle-4 {
        left: 20%;
    }
    .circle-5 {
        right: 20%;
    }
}
