:root {
    --primary-color: #007BFF;     /* Blue */
    --secondary-color: #FF5733;   /* Red */
    --background-color: rgb(236, 230, 243);  /* Light Yellow */
    --text-color: #000000;        /* Black */
    --hover-color: #0056b3;       /* Darker Blue for hover */

    --egg: #FAF8E7;
    --egg-hover: #FAF8E7;

    --purple: rgba(180, 164, 197, 0.6);
    --purple-clear: rgba(180, 164, 197);
    --purple-bottom: #CABED7;

    --gold: #f7e98e;
}


/* overall page css */
body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: var(--background-color);

    height: 100%; /* Ensure the body takes full viewport height */
    display: flex; /* Use flexbox layout */
    flex-direction: column; /* Stack children vertically */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

html {
    height: 100%; /* Ensure the HTML tag takes the full viewport height */
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox layout */
    flex-direction: column; /* Stack children vertically */
    /* scroll-snap-type: y mandatory; */
}

.preserve-line {
    white-space: pre-line; /* Preserves line breaks from the HTML */
    direction: rtl;
}

/* top page bar */
/* top page bar */
/* top page bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: var(--purple);
    transition: background 0.3s;
    z-index: 1000;
}

.top-bar.scrolled {
    background: rgba(0, 0, 0, 0.7);
}


.bar-right {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-grow: 1;
}

.bar-left {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-grow: 2;
}
/* top page bar */
/* top page bar */
/* top page bar */



/* bars left side - whats app, mail, phone */
/* bars left side - whats app, mail, phone */
/* bars left side - whats app, mail, phone */
.chat-buttons {
    background: none;
    color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;

    background-color: var(--egg);
    border: none;
    border-radius: 15px;
}

.chat-buttons img {
    height: 25px; /* Adjust the size of the bottom-left logo */
    width: auto;
    padding: 7px;
    align-self: center;
}

.chat-buttons img:hover {
    height: 24px; /* Adjust the size of the bottom-left logo */
    width: auto;
    padding: 7px;
}
/* bars left side - whats app, mail, phone */
/* bars left side - whats app, mail, phone */
/* bars left side - whats app, mail, phone */



/* data cards for other pages redirection */
/* data cards for other pages redirection */
/* data cards for other pages redirection */
.container-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between boxes */
    padding: 10px;

    justify-content: space-evenly; /* Center items horizontally in each row */
    align-items: center;
}

.card {
    width: 100%;
    max-width: 25%; /* Maximum width for larger screens */
    aspect-ratio: 2 / 3; /* Maintain aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: right;

    justify-content: center;
    align-items: center;
    text-align: center;

    flex: 1 1 calc(33.333% - 20px); /* Adjust to 3 per row on larger screens */
    min-width: 100px;
    padding: 20px;
}

.card img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity 0.2s ease-out;
}

.card h2 {
    position: absolute;
    right: 5%;
    bottom: 20px;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 1.5rem;
    text-align: right;
    z-index: 2;
    transition: bottom 0.3s ease-out, font-size 0.3s ease-out;
}

.card p {
    position: absolute;
    right: 5%;
    bottom: 80px;
    max-width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    text-align: right;
    font-size: 1rem;
    z-index: 1;

    color: #ffffff;
}

.card a {
    position: absolute;
    right: 5%;
    bottom: 40px;
    color: inherit;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
    z-index: 1;
}

.card:hover h2 {
    bottom: calc(100% - 999px);
    transition: bottom 0.3s ease-out;
}

.card:hover p,
.card:hover a {
    opacity: 1;
    transition: opacity 0.5s 0.1s ease-in;
}

.card:hover img {
    transition: opacity 0.3s ease-in;
    transition: filter 0.3s ease-in;
    filter: brightness(0.4); /* Darken the image */
    opacity: 0.9;
}
/* data cards for other pages redirection */
/* data cards for other pages redirection */
/* data cards for other pages redirection */



/* bars right side - menu of pages */
/* bars right side - menu of pages */
/* bars right side - menu of pages */
.menu {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    padding-right: 40px;
    background-color: var(--egg);
    color: black;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    overflow: visible; /* Keeps the animation visible outside the button */
    transition: border-radius 0.5s ease;
    transition: padding-left 0.5s ease;
}

.menu:hover {
    background-color: var(--egg-hover);
    padding-left: 300px;
    border-radius: 15px;
}

.button {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.button img {
    height: 25px; /* Adjust the size of the bottom-left logo */
    width: auto;
}

.menu-options {
    position: absolute;
    top: -130%;
    right: -15px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.menu-options .m-option {
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    color: black; /* Default color */
    text-decoration: none; /* Remove underline from links */
}

.m-option:hover {
    color: var(--purple-clear); /* Red color on hover */
    transition: color 0.1s ease; /* Smooth color transition */
    text-decoration:underline;
}

.menu-options .m-option:nth-child(7) {
    transition-delay: 0.1s;
}
.menu-options .m-option:nth-child(5) {
    transition-delay: 0.2s;
}
.menu-options .m-option:nth-child(3) {
    transition-delay: 0.3s;
}
.menu-options .m-option:nth-child(1) {
    transition-delay: 0.4s;
}

.menu:hover .menu-options .m-option {
    opacity: 1;
    transform: translateY(60px);
}
/* bars right side - menu of pages */
/* bars right side - menu of pages */
/* bars right side - menu of pages */



/* logo for pages - bottom~left */
/* logo for pages - bottom~left */
/* logo for pages - bottom~left */
.bottom-logo {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
}

.bottom-logo img {
    height: 100px; /* Adjust the size of the bottom-left logo */
    width: auto;
}
/* logo for pages - bottom~left */
/* logo for pages - bottom~left */
/* logo for pages - bottom~left */



/* image at top */
/* image at top */
/* image at top */
.sentance{
    position: relative;
    top: -20px;
    padding-bottom: 50px;

    scroll-snap-align: start;
}

.sentance img{
    width: 100%;
    height: auto;
}
/* image at top */
/* image at top */
/* image at top */



main {
    margin-top: -170px; /* Keep your margin if you need it */
    padding: 10%;
    text-align: center;
    flex-grow: 1; /* Ensures the main content takes up the remaining space */
    display: flex; /* Use flexbox to ensure content is flexible */
    flex-direction: column; /* Stack content vertically if needed */
}

.para{
    padding: 15px 80px;
    background-color: var(--egg);
    color: black;
    font-size: 100%;
    border: none;
    border-radius: 5px;
    text-align: center;
}



/* containers for all data+image */
/* containers for all data+image */
/* containers for all data+image */
.spacer {
    height: 80px; /* Spacer height to create the Y-offset */
}

.data{
    scroll-snap-align: start;
    flex-grow: 1;
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
    padding-inline: 20px;

    background-color: var(--egg);
    border: none;
    border-radius: 30px;
}

.container p{
    display: block; /* Remove flex behavior */
    margin-top: 0; /* Reset margin */
    margin-bottom: 10px; /* Set bottom margin for proper spacing */
    text-align: right; /* Align text to the right */
    width: 100%; 
}

.text {
    flex: 1;
}
.text p{
    text-align: right;
}

.image {
    flex: 1;
}

.image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}
/* containers for all data+image */
/* containers for all data+image */
/* containers for all data+image */



/* bottom bar */
/* bottom bar */
/* bottom bar */
/* Main content */
/* Bottom tab container */
.bottom{
    scroll-snap-align: end;
}

.bottom-tab {
    display: flex;
    position:initial;
    justify-content: space-between;
    align-items: center;
    background-color: var(--purple-bottom);
    color: white;
    padding: 20px;
    width: 100%;
    height: auto;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding doesn't cause overflow */
    flex-wrap: nowrap; /* Allows content to wrap on smaller screens */
}

/* Right sector: Text */
.text-sector {
    flex: 1;
    text-align: right;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Middle sector: Menu */
.menu1 {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Ensure menu items wrap if needed */
}

.menu1 a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.menu1 a:hover {
    color: var(--gold);
}

/* Left sector: Contact */
.contact-sector {
    flex: 1;
    text-align: left;
    font-size: 14px;
    margin-bottom: 5px;
}

.text-sector a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.text-sector a:hover {
    color: var(--gold);
}

.bottom-tab {
    overflow-x: hidden; /* Prevent overflow */
}
/* bottom bar */
/* bottom bar */
/* bottom bar */



/* paging comment */
/* paging comment */
/* paging comment */
.comments-container {
    height: 150px;
    overflow: hidden;
    position: relative;
    border: none;
    border-radius: 30px;
    background-color: var(--egg);
    text-align: right; /* Align text to the right for RTL */
    direction: rtl; /* Enable right-to-left text direction */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

.comment {
    position: absolute;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center text horizontally */
    line-height: 1.5; /* Space out lines for readability */
}

.comment.active {
    opacity: 1;
    transform: translateX(0);
}

.comment.previous {
    transform: translateX(-100%);
}

.comment:last-child {
    border-bottom: none;
}
/* paging comment */
/* paging comment */
/* paging comment */



/* tbox for swapping card */
/* tbox for swapping card */
/* tbox for swapping card */
.tbox-container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tbox {
    width: 100%;
    height: 400px;
    margin-bottom: 10px; /* Space between the card and the peeping container */
    padding: 20px;
    border-radius: 15px;
    background: #FAF8E7;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Slightly below */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transitions */
    display: none; /* Hide all cards initially */
    visibility: hidden; /* Keep layout intact while hidden */
}

.tbox.active {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Reset position */
    visibility: visible; /* Make it visible */
}

.tbox:hover {
    background: #FAF8E7;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.tbox header {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    transition: font-size 0.3s ease;
}

.tbox:hover header {
    font-size: 1.5rem; /* Shrinks the header on hover */
}

.tbox .content {
    font-size: 1rem;
    line-height: 1.6;
    transition: font-size 0.3s ease;
}

.tbox:hover .content {
    font-size: 1.2rem; /* Adapts text size on hover */
}

.tbox-button {
    position: absolute;
    top: 10px; /* Align button dynamically */
    left: 10px;
    width: 50px;
    height: 50px;
    background-color: #CABED7;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10; /* Ensure the button stays on top */
}

.tbox-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.peeping-container {
    width: 100%;
    height: 460px;
    background: #e7e6d7;
    border-radius: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: -450px; /* Overlaps with the card slightly */
}
/* tbox for swapping card */
/* tbox for swapping card */
/* tbox for swapping card */



/* text+pictures for group meetings+one on one meetings */
/* text+pictures for group meetings+one on one meetings */
/* text+pictures for group meetings+one on one meetings */
.group-container{
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    scroll-snap-align: start;
}

.group {
    width: 90%;
    max-width: 1200px;
    background: var(--egg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.group-text {
    padding: 20px;
    color: #333;
    border-bottom: 1px solid #ddd;
}
.group-text p{
    text-align: right;
}

.group-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 5px;
}

.group-image img {
    width: 100%;
    max-width: 100%;
    max-width: 400px;
    border-radius: 8px;
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.group-image img.active {
    opacity: 1;
}

@media (min-width: 768px) {
    .group-image img {
        position: static;
        opacity: 1;
    }

    .group-image {
        height: auto;
        display: flex;
        gap: 10px;
        justify-content: space-evenly;
    }

    .group-image img {
        width: calc(33.333% - 10px);
    }
}
/* text+pictures for group meetings+one on one meetings */
/* text+pictures for group meetings+one on one meetings */
/* text+pictures for group meetings+one on one meetings */



/* tpop for group meetings+one on one meetings */
/* tpop for group meetings+one on one meetings */
/* tpop for group meetings+one on one meetings */
.tpop-container {
    display:flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 100%;
}

.tpop {
    width: 100%;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
}

.tpop-button {
    display: flex;
    position: relative;
    width: 100%; /* Full width to divide into thirds */
    height: 60px; /* Adjust height as needed */
    margin-bottom: 20px;
}

.tpop-button button {
    position: absolute;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--purple);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Positioning each button in its respective third */
.tpop-button button:nth-child(1) {
    left: 16.66%; /* Center of the first third */
}

.tpop-button button:nth-child(2) {
    left: 50%; /* Center of the second third */
}

.tpop-button button:nth-child(3) {
    left: 83.33%; /* Center of the third third */
}

.tpop-button button:hover {
    background-color: var(--purple-bottom);
}

.tpop-text {
    display: none;
    font-size: 1rem;
    color: #333;
    text-align: right;
}

.tpop-text.active {
    display: block;
}


/* tpop for group meetings+one on one meetings */
/* tpop for group meetings+one on one meetings */
/* tpop for group meetings+one on one meetings */










@media (max-width: 768px) {
    /* top bar */
    /* top bar */
    /* top bar */
    .top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding-left: 3px;
    }

    .bar-right {
        order: 2;
        display: flex;
        justify-content: flex-end;
        width: 50%;
    }

    .bar-left {
        order: 1;
        display: flex;
        justify-content: flex-start;
        width: 50%;
    }

    .menu{
        padding-right: 15px;
    }

    .menu-options {
        padding-top: 5%;
    }

    .menu:hover {
        padding-left: 220px;
    }

    .menu-options {
        position: absolute;
        top: -170%;
        right: -45px;
        transform: translateX(-50%);
        white-space: nowrap;
    }
    /* top bar */
    /* top bar */
    /* top bar */


    /* bottom logo */
    /* bottom logo */
    /* bottom logo */
    .bottom-logo {
        position: fixed;
        bottom: 10px;
        left: 10px;
        z-index: 1000;
    }
    
    .bottom-logo img {
        height: 80px; 
        width: auto;
    }
    /* bottom logo */
    /* bottom logo */
    /* bottom logo */

    main {
        margin-top: -100px;
        padding: 5%;
        padding-top: 10%;
    }

    .para{
        font-size: 18px;
        padding: 15px 65px;
    }



    /* containers for all data+image */
    /* containers for all data+image */
    /* containers for all data+image */
    .container {
        flex-direction: column;
        align-items: center;
    }

    .text {
        font-size: 1.2rem;
        text-align: center;
    }

    .image img {
        max-width: 100%;
    }

    .image {
        order: 1; /* Make image appear first */
        margin-top: 0px
    }

    .spacer {
        height: 20px; /* Spacer height to create the Y-offset */
    }
    /* containers for all data+image */
    /* containers for all data+image */
    /* containers for all data+image */



    /* bottom bar */
    /* bottom bar */
    /* bottom bar */
    .text-sector, .contact-sector {
        text-align: center;
        flex: 100%;
    }

    .menu1 {
        flex: 100%;
        justify-content: center;
    }
    /* bottom bar */
    /* bottom bar */
    /* bottom bar */



    /* data cards for other pages redirection */
    /* data cards for other pages redirection */
    /* data cards for other pages redirection */
    .container-row {
        flex-direction: column-reverse;
    }
    
    .card {
        flex: 1 1 auto; /* Keep 3 items per row */
        max-width: 75%;
        min-width: 100px;
        scroll-snap-align: start;
    }
    
    .card h2 {
        font-size: 1.2rem;
        bottom: 15px;
    }
    
    .card p {
        font-size: 2rem;
        bottom: 70px;
    }
    
    .card a {
        font-size: 1rem;
        bottom: 30px;
    }
    /* data cards for other pages redirection */
    /* data cards for other pages redirection */
    /* data cards for other pages redirection */


    /* tbox for swapping card */
    /* tbox for swapping card */
    /* tbox for swapping card */
    .tbox {
        padding: 15px;
    }

    .tbox header {
        font-size: 1.8rem;
    }

    .tbox .content {
        font-size: 0.9rem;
    }

    .tbox-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 5px; /* Adjust button for smaller screens */
        left: 5px;
    }

    .peeping-container{
        height: 440px;
        margin-top: -430px;
    }
    /* tbox for swapping card */
    /* tbox for swapping card */
    /* tbox for swapping card */



    /* tpop for three paragraghs */
    /* tpop for three paragraghs */
    /* tpop for three paragraghs */
    .tpop-button {
        flex-direction: column; /* Stack buttons vertically on smaller screens */
    }

    .tpop-button button {
        flex: none; /* Buttons return to their natural size */
        margin: 3px 0; /* Adds spacing between buttons */
    }
    /* tpop for three paragraghs */
    /* tpop for three paragraghs */
    /* tpop for three paragraghs */



}







  
  
  
  

