@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

::selection {
    background: #f78fb3;
    color: #fff;
}

::-webkit-scrollbar {
    width: .6rem;
}

::-webkit-scrollbar-thumb {
    background: #ff69b4;
    border-radius: 1rem;
}

::placeholder {
    color: #fff;
}

html {
    font-size: 62.5%;
}

body {
    color: #ffb6c1;
    overflow: hidden;
    background: linear-gradient(135deg, #ff69b4, #ffa6c9);
}

p {
    font-size: 2rem;
}

.nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    padding: 2rem 0;
    background: #ff00778a;
    border-radius: 5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav .nav-list {
    display: flex;
    justify-content: space-around;
}

.nav-list li {
    position: relative;
    display: flex;
    font-size: 3rem;
    transition: color 0.3s ease-in-out;
}

.nav-list li:hover {
    color: #fff;
}

.tooltip {
    position: absolute;
    top: -5.2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1rem;
    background: #ff0077;
    border-radius: 1rem;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.nav-list li:hover .tooltip {
    opacity: 1;
}

.container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    perspective: 1500px;
    perspective-origin: 50%;
}

 .box {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform-origin: 50% 50% -50vw;
    transform: rotateY(-0deg);
    transition: 3s;
    animation: animate-cube 4s ease-in-out backwards;
    
}

@keyframes animate-cube {
    0% {
        transform: scale(0) rotateY(-360deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
    }
}

.section {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ff0077;
    padding: 0 10%;
    backface-visibility: hidden;
}
.section.about{
    transform: translateX(50vw) translateZ(-50vw) rotateY(90deg);
}
 .section.about-more{
    transform-origin: 50%;
    transform: translatez(-100vw) rotateY(-180deg);
 }
.section.some-photo{
    transform: translateX(-50vw) translateZ(-50vw) rotateY(-90deg);
}

.section.contact {
    visibility: hidden;
    transition-delay: .5s;
}

.section.contact.active {
    visibility: visible;
}
 
.section.contact.active-contact{
    transition-delay: 1.5s;
}
.section.contact.active-contact.active{
    transition-delay: 0s;
}

.home  {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.home-info h1 {
    font-size: 5.5rem;
    line-height: 1;
    color: #a90250;
}

.home-info h3 {
    font-size: 3rem;
    color: #ffa6c9;
}

.desc {
    margin: 1rem 0 2rem;
    color: #fff;
}

.btn-sci {
    display: flex;
    align-items: center;
}

.btn{
    display: inline-flex;
    padding: 1.2rem 3rem;
    background-color: #a90250;
    border-radius: 5rem;
    box-shadow: 0 0 1rem #a90250;
    font-size: 1.6rem;
    color: #ff0077;
    font-weight: 600;
    transition: .3s;
}
.btn:hover{
    box-shadow: none;
}


.btn-sci .sci {
    margin-left: 2rem;
}

.btn-sci .sci a {
    position: relative;
    display: inline-flex;
    padding: 0.8rem;
    border: 0.2rem solid #ff00bf;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 0.8rem;
    color: #fea2de;
    background-color: #ff00bf  ;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-sci .sci a:hover {
    background-color: #fea2de;
    color: #ff00bf;
}
.btn-more{
    padding: 15px 40px;
    border: none;
    outline: none;
    color: #f78fb3;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
   
    gap: 40px;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 12PX;
}
.btn-more::after{
    content: '';
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.btn-more::before{
    content: '';
    background: linear-gradient(
        45deg,
        #FFC0CB, /* Light Pink */
        #FFB6C1, /* Light Pink */
        #FF69B4, /* Hot Pink */
        #FF1493, /* Deep Pink */
        #DB7093, /* Pale Violet Red */
        #C71585, /* Medium Violet Red */
        #E6E6FA, /* Lavender */
        #FFD1DC, /* Cotton Candy */
        #FF82AB, /* Cotton Candy Pink */
        #F8BBD0  /* Pink Lavender */
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% + 4px  );
    height:calc(100% + 4px  );
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
    opacity: 0;

}
@keyframes glowing{
    0% {background-position: 0 0;}
    50% {background-position: 400% 0;}
    100% {background-position: 0 0;}
}

.btn-more:hover::before{
    opacity: 1;
}
 .btn-more:active::after{
    background: transparent;
 }


.img-box {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32vw;
   
    border-radius: 50%;
    border: 0.5rem solid #ff69b4;
    box-shadow: 0 0 2rem #ff69b4;
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow 0.8s ease-in-out;
}

.img-box:hover {
    box-shadow: 0 0 8rem #fea2de;
}

.img-box img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
} 

.about {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-info {
    flex: 1;
}

.img-box.about-img {
    flex: 1;
}
.title{
    font-size: 4rem;
    text-align: center;

}
.about-info .title{
     text-align: right;
}

.about-info h3{
    font-size: 2.5rem;
    color: #a90250;
    margin-top: -1rem;
}
.about-info .btn{
    padding: 1.2rem 4rem;
}
.about-more {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    
}
.img-box-more {
    border-radius: 50%; 
    overflow: hidden;
    width: 300px; 
    margin: 10rem;
    height: 300px; 
    position: relative; 
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.5); 
    animation: fadeIn 2.5s ease-in-out; 
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease, filter 0.3s ease; 
}

.img-box-more:hover .about-image {
    transform: scale(1.15); 
    filter: brightness(1.1); 
}

.about-info-more {
    text-align: center;
    padding: 20px;
  
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(255, 105, 180, 0.2); /* ظل بلون وردي */
    max-width: 800px;
    max-height: 400px;
    overflow-y: auto;
}

.about-title-more {
    font-size: 28px; 
    color: #a90250; 
    margin-bottom: 15px;
    transition: color 0.3s ease; 
    padding: 20px;
    border-radius: 10px; 
}

.about-title-more:hover {
    color: #ffb6c1 ; 
}

.about-description-more {
    line-height: 1.5;
    font-size: 16px;
    line-height: 1.6;
    color: white; 
}
.title {
    color: #b41768;
   font-size: 2.5rem;
    margin-bottom: 5px; 
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.image-container {
    position: relative;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.image-container:hover img {
    transform: scale(1.1);
}

.some-photo, .blog{
    padding-top: 2rem;
    padding-bottom: 28rem;
}

.tab-box{
    display: flex;
    width: 100%;
    height: 5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.tab-list{
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: .3rem solid #a90250;
    cursor: pointer;
    transition: .5s;
    color: #f78fb3;
}
.tab-list.photo-list.active, .tab-list.blog-list.active {
    border-color: #ff69b4;
    color: #ff69b4;
}

.photo-list:nth-child(1) {
    justify-content: flex-start;
}
.photo-list:nth-child(2) {
    justify-content: center;
}

.photo-list:nth-child(3) {
    justify-content: flex-end;
}

.tab-list h3{
    font-size: 2.5rem;
}

.tab-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
}

.tab-grid{
    position: absolute;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transform: scale(.8);
}

.tab-grid.photo-box.active, .tab-grid.blog-box.active{
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition: .5s;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 1rem; 
    padding: 2rem; 
    height: 100vh;
    overflow-y: auto; 
    animation: fadeIn 1s ease-in; 
}

.image-container {
    position: relative;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(135deg, #ff69b4, #ff0077);
    padding: 5px;
    height: 300px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-basis: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 10px;
    opacity: 1; /* عرض الصورة فورًا بدون تأثير */
}



.image-container:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.image-container:hover img {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInImage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact-section {
    text-align: center;
    overflow: auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.contact-section img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-position: center;
}

.contact-section .title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-section p {
    font-size: 1.2rem;
    color: #555;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* للسماح بالالتفاف على الشاشات الصغيرة */
}

.social-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px; /* عرض الأيقونات */
    height: auto;
    transition: transform 0.3s ease;
    position: relative; /* للسماح بوضع العناصر المطلقة */
    overflow: hidden; /* لمنع العناصر المطلقة من الخروج خارج الأيقونة */
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff; /* خلفية بيضاء للأيقونات */
}

.social-icons a:hover {
    transform: scale(1.05);
}

.social-icons img {
    width: 100%; 
    height: auto;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 30px;
}

.social-icons a:hover .hover-info {
    opacity: 1;
}

.follower-count {
    font-size: 1.5rem;
    font-weight: bold;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.platform-name {
    margin-top: 10px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.visible {
    opacity: 1;
}

.info-type h6 span a .info-value::before {
    color: #fc0076;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-info {
    opacity: 1;
    animation: fadeIn 2s ease-in-out forwards;
}

.content-title {
    font-size: 2.5rem;
    color: #fc00d6; 
}

.info-description {
    font-size: 2.3rem; 
    color: #a90250; 
}

.info-description span {
    color: #fc00d6; 
}

.info-value {
    font-size: 2.5rem; 
    color: #a90250; 
}

.info-type{
    font-size: 3rem;
    color: #fc00d6;
}

.info-value span {
    color: #3498db; 
}

.info-value a {
    font-size: 1.8rem; 
    color: #a90250; 
    text-decoration: none;
}

.info-value a:hover {
    color: #c92f77d8; 
}

.media {
    opacity: 1;
    animation: bounceIn 1s ease-in-out forwards;
}

.media.align-items-center:nth-child(2) {
    animation-delay: 0.5s;
}

.info-icon {
    margin-right: 10px;
}

.hover-info .text-info{
    font-size: 2.5rem;
    color: #f78fb3;
    display: flex; 
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}


@media screen and (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    
  
}


@media screen and (max-width: 992px) {
    .section {
        padding: 0 4%;
    }
    .some-photo {
        padding-top: 1.5rem;
       
        padding-bottom: 15rem;
    }
  
}


@media screen and (max-width: 768px) {
    html {
        font-size: 50%;
    }
    .home, .about {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 1.5rem; 
        padding-bottom: 4rem; 
    }
    .home p, .desc {
        font-size: 2rem; 
    }
    .about {
        text-align: center;
    }
    .about-info {
        width: 100%;
        padding: 1rem;
        order: 2; 
    }
    .img-box.about-img {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
        order: 1; 
    }
    .img-box {
        width: 30rem; 
        height: 30rem; 
    }
    .some-photo {
        padding-bottom: 15rem; 
    }
   
}


@media screen and (max-width: 600px) {
    .about, .some-photo {
        padding-top: 1rem;
        padding-bottom: 15rem; 
    }
    .tab-box {
        margin-top: 0;
    }
  
}


@media screen and (max-width: 400px) {
    .home-info, .about-info {
        text-align: center;
    }
    .home-info h1 {
        font-size: 3rem;
    }
    .home-info .btn-sci {
        flex-direction: column-reverse;
    }
    .home-info .btn-sci .sci {
        margin-left: 0;
        margin-bottom: 1rem; 
    }
    .img-box {
        width: 35rem; 
        height: 35rem; 
    }
    .about-info .title {
        text-align: center;
    }
}







@media (max-width: 1200px) and (min-width: 992px) {
    .contact-section {
        padding: 35px;
    }
    .contact-section .title {
        font-size: 2.3rem;
    }
    .contact-section p {
        font-size: 1.4rem;
    }
    .social-icons a {
        width: 300px;
    }








    .section.about-more {
        padding: 30px;
        gap: 30px;
    }
    .img-box-more {
        width: 250px;
        height: 250px;
        margin: 5rem;
    }
    .about-title-more {
        font-size: 2rem;
    }
    .about-description-more {
        font-size: 1.9rem;
    }
   
    .title {
        font-size: 2.5rem;
    }
}


@media (max-width: 991px) and (min-width: 768px) {
    .contact-section {
        padding: 30px;
    }
    .contact-section .title {
        font-size: 2rem;
    }
    .contact-section p {
        font-size: 1.3rem;
    }
    .social-icons a {
        width: 265px;
    }
    .content-title {
        font-size: 2.2rem;
    }
    .info-description {
        font-size: 2rem;
    }
    .info-type {
        font-size: 2.8rem;
    }
    .info-value {
        font-size: 2.2rem;
    }
    .info-value a {
        font-size: 1.6rem;
    }
    .hover-info .text-info{
        font-size: 2.2rem;
    }
    


    .section.about-more {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .img-box-more {
        width: 200px;
        height: 200px;
        margin: 3rem auto;
    }
    .about-info-more {
        max-width: 90%;
        max-height: none;
    }
    .about-title-more {
        font-size: 2rem;
    }
    .about-description-more {
        font-size: 1.8rem;
    }
    .btn-more {
        padding: 12px 30px;
        font-size: 1rem; 
    }
    .title {
        font-size: 2rem; 
    }
}


@media (max-width: 767px) and (min-width: 600px) {
    .contact-section {
        padding: 25px;
    }
    .contact-section .title {
        font-size: 1.8rem;
    }
    .contact-section p {
        font-size: 1.2rem;
    }
    .social-icons a {
        width: 250px;
    }
    .content-title {
        font-size: 2rem;
    }
    .info-description {
        font-size: 1.8rem;
    }
    .info-type {
        font-size: 2.5rem;
    }
    .info-value {
        font-size: 2rem;
    }
    .info-value a {
        font-size: 1.4rem;
    }
    .hover-info .text-info{
        font-size: 2rem;
    }




    .img-box-more {
        width: 180px;
        height: 180px;
        margin: 2rem auto;
    }
    .about-title-more {
        font-size: rem;
    }
    .about-description-more {
        font-size: 2rem;
    }
    .btn-more {
        padding: 10px 25px;
        font-size: 0.95rem; 
    }
    .title {
        font-size: 2.8rem; 
    }
}


@media (max-width: 599px) and (min-width: 400px) {
    .contact-section {
        padding: 20px;
    }
    .contact-section .title {
        font-size: 1.6rem;
    }
    .contact-section p {
        font-size: 1rem;
    }
    .social-icons {
        gap: 15px;
    }
    .social-icons a {
        width: 220px;
    }
    .content-title {
        font-size: 1.8rem;
    }
    .info-description {
        font-size: 1.6rem;
    }
    .info-type {
        font-size: 2.2rem;
    }
    .info-value {
        font-size: 1.8rem;
    }
    .info-value a {
        font-size: 1.2rem;
    }
    .hover-info .text-info{
        font-size: 1.8rem;
    }



    .section.about-more {
        flex-direction: column; 
        padding: 20px;
        gap: 20px;
    }
    .img-box-more {
        width: 150px;
        height: 150px;
        margin: 1.5rem auto;
    }
    .about-title-more {
        font-size: 2rem;
    }
    .about-description-more {
        font-size: 1.2rem;
    }
    .btn-more {
        padding: 8px 20px;
        font-size: 0.9rem; 
    }
    .title {
        font-size: 1.6rem; 
    }
}


@media (max-width: 399px) {
    .contact-section {
        padding: 15px;
    }
    .contact-section .title {
        font-size: 1.4rem;
    }
    .contact-section p {
        font-size: 0.9rem;
    }
    .social-icons {
        gap: 10px;
    }
    .social-icons a {
        width: 150px;
    }
    .content-title {
        font-size: 1.6rem;
    }
    .info-description {
        font-size: 1.4rem;
    }
    .info-type {
        font-size: 2rem;
    }
    .info-value {
        font-size: 1.6rem;
    }
    .info-value a {
        font-size: 1rem;
    }
    .hover-info .text-info{
        font-size: 1.6rem;
    }






    .section.about-more {
        padding: 10px;
        flex-direction: column; 
    }
    .img-box-more {
        width: 120px;
        height: 120px;
        margin: 1rem auto;
    }
    .about-info-more {
        padding: 15px;
    }
    .about-title-more {
        font-size: 2.5rem;
    }
    .about-description-more {
        font-size: 2rem;
    }
    .btn-more {
        padding: 6px 15px;
        font-size: 0.9rem; 
    }
    .title {
        font-size: 2.5rem;
    }

}
.highlight-text {
    color: #ffffff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-weight: bold;
    text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    padding: 5px;
    font-size: 14px;
    z-index: 9999;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.highlight-text:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 5px;
    z-index: -1;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4, 0 0 15px #ff69b4;
    }
    100% {
        text-shadow: 0 0 20px #ff69b4, 0 0 30px #ff69b4, 0 0 40px #ff69b4;
    }
}

.highlight-text:hover {
    transform: scale(1.1);
    color: #ff69b4;
    text-shadow: 0 0 20px #ff69b4, 0 0 30px #ff69b4, 0 0 40px #ff69b4; /* يظل التوهج متسق */
}

.highlight-text:hover:before {
    opacity: 1;
}

.highlight-text:active, .highlight-text:not(:hover) {
    transform: scale(1); /* إعادة الحجم إلى الوضع الأصلي */
    color: #ffffff; /* إعادة اللون إلى اللون الأصلي */
    text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4; /* إعادة تأثير التوهج الأصلي */
}

@media only screen and (max-width: 600px) {
    .highlight-text {
        font-size: 12px;
        bottom: 10px;
        right: 10px;
    }
}
