
:root {
    --main-color: #ff9800;
    box-sizing: border-box;
    --main-font-size: 16px ;
}

body {
    font-family: 'Rubik', sans-serif;
}

.container {

    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
    

}

.settings-box {
    position: fixed;
    right:-200px;
    top:0px;
    background-color: #fff;
    width: 200px;
    z-index: 1000;
    min-height:100vh ;
    transition: 0.4s;
    border: 1px solid #eee;

}
.settings-box.open{
    right:0;
}
.settings-box .toggle-settings {
    position: absolute;
    left: -30px;
    top: 100px;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
}

.settings-box .toggle-settings .fa-cog {
    padding: 8px 0;
    width: 30px;
}

.settings-box .option-box {
    padding: 10px;
    text-align: center;
    background-color: #eee;
    margin: 10px;

}
.settings-box .option-box h4 {
    margin: 0;
    color: #666;
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
}
.settings-box .option-box .colors-list {
    list-style: none;
    text-align: center;
    padding: 0px;
    margin: 10px 0 0;
}
.settings-box .option-box .colors-list li {
    width: 20px;
    height:20px;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.3;
    display: inline-block;
}

.settings-box .option-box .colors-list li.active {
opacity: 1;
/* border: 3px solid #fff; */
}

.settings-box .option-box .colors-list li:first-child {
    background-color: #ff9800;
}

.settings-box .option-box .colors-list li:nth-child(2) {
    background-color: #e91e63;
}
.settings-box .option-box .colors-list li:nth-child(3) {
    background-color: #009688;
}
.settings-box .option-box .colors-list li:nth-child(4) {
    background-color: #03a9f4;
}
.settings-box .option-box .colors-list li:nth-child(5) {
    background-color: #4caf50;

}

.settings-box .option-box .yes, 
.settings-box .option-box .no {
    width: 40px;
    background-color: var(--main-color);
    color: #fff;
    margin-top: 10px;
    display: inline-block;
    font-size:  var(--main-font-size);
    padding: 4px 1px;
    font-weight: bold;
    border-radius: 4px;
    opacity: .5;    
    cursor: pointer;
    text-align: center;
}

.settings-box .option-box span.active {
    opacity: 1;
}

.settings-box .random-backgrounds .yes{
    background-color: var(--main-color);
} 
.settings-box .random-backgrounds .no {
    background-color: var(--main-color);
}

.settings-box .reset-options {
    background-color: #f44336;
    border: none;
    width: 178px;
    margin: 10px auto;
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}


/* End Setteing Box */

/* Start Nav Bullets */
.nav-bullets {
    position: fixed;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 1000;
}

.nav-bullets .bullet {
    width: 15px;
    height: 15px;
    background-color: var(--main-color);
    margin: 20px auto;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 1px solid #fff;
    
}

.nav-bullets .bullet:hover {
    opacity: 0.6;
}

.nav-bullets .bullet:hover .tooltip {
    display: block;
    
}

.nav-bullets .bullet .tooltip {
    background-color:  var(--main-color);
    width: 100px;
    color: #fff;
    padding: 8px 10px;
    position: absolute;
    left: 30px;
    top: -10px;
    text-align: center;
    cursor: default;
    pointer-events: none;
    display: none;
}


.nav-bullets .bullet .tooltip:after {
    content: '';
    border-style: solid;
    border-width: 10px;
    border-color: transparent var(--main-color) transparent transparent ;
    height: 0;
    width: 0;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}


.landing-page .indroduction-text .sham {
    text-align: center;
    color: var(--main-color);
    font-size: var(--main-font-size);
}

.landing-page .indroduction-text .sham a {
    text-align: center;
    color: var(--main-color);
    font-size: var(--main-font-size);
    color: #ccc;
}
/* End Nav Bullets */


/* Start Landing Page */
.landing-page{
    min-height: 100vh;
    background-image: url('../imgs/01.jpg');
    background-size: cover;
    position: relative;
}

.landing-page .overlay {
    background-color: rgba(0,0,0, 0.7);
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top:0;
    z-index: 1;
}

.header-area {
    position: relative;
    z-index: 1000;
    color: aliceblue;
    display: flex;
    padding: 10px;
}

.header-area .logo{
    width: 300px;
    padding: 15px;
    font-weight: bold;
}

.header-area .links-container {
    width: 100%;
    text-align: left;
}
.header-area .links {
    list-style: none;
    padding-right: 0px;
    
}

.header-area .links li {
    display: inline;
    margin-right: 10px;
    
}

.header-area .links li a {
    color: aliceblue;
    text-decoration: none;
    transition: .3s;
}

.header-area .links li a:hover, 
.header-area .links li a.active {
    color: var(--main-color);
}


.header-area .toggle-menu:focus { 
    outline:none ;

}

.header-area .toggle-menu span { 
    display: block;
    background-color: #fff;
    height: 4px;
    margin-bottom: 4px;

}

.indroduction-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: aliceblue;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    width: 85%;
    max-width: 800px;
}

.indroduction-text h1 {
font-size: 40px;
margin: 0 0 12px;
}

@media (max-width: 575px) {
    .indroduction-text h1 {
        font-size: 25px;
    }
}


.indroduction-text h1 span {
    color: var(--main-color);
}


.indroduction-text p {
    font-size: var(--main-font-size);
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 575px) {
    .indroduction-text p {
        font-size:  var(--main-font-size);
    }
}


@media (max-width: 991px) {
    .header-area .links{
        display: none;
    }

    .nav-bullets {
        display: block;
    }
}



@media (min-width: 992px) {
    .header-area .links{
        display: block;
    }

    .nav-bullets {
        display: none;
    }
}
/* End Landing Page */


/* start about Page  */
.about-us {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
}

@media (max-width: 575px) {
    .about-us {
        display: block;
        text-align: center;
    }
}


@media (max-width:767px) {
    .about-us {
        display: block;
        text-align: center;
    }
}

.about-us .info-box {
    flex: 1;
    padding: 30px;
}

.about-us .info-box h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    font-family: 'Rubik', sans-serif;
    margin: 0 0 10px;

}

.about-us .info-box p {
    font-family: 'Rubik', sans-serif;
    line-height: 1.8;
    color:#868686;
    margin: 0;
    font-size: var(--main-font-size);
}

.about-us .info-box .hadgash {
    color: var(--main-color);
    font-weight: bold;
}


@media (max-width: 575px) {
    .about-us .info-box p {
        font-size:  var(--main-font-size);
    }
}


@media (max-width:767px) {
    .about-us .info-box p {
        font-size:  var(--main-font-size);
    }
}

.about-us .image-box {
    flex: 1;
    text-align: center;
}
.about-us .image-box img{
    width: 250px;
}

/* End about Page  */


.container .nextPage {
    background-color: #ddd;
    text-decoration: none;
    color: #333;
    padding: 10px;
    z-index: 999;
    width: 30%;
    display: block;
    margin-top: -10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-radius: 4px;
    
}


.container .nextPage:hover {
    background-color: #333;
    color:  #fff;
    font-weight: bold;
    
}

/* Start testmonials page */

.testimonials {
    position: relative;
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;

}
.testimonials:before {
    content: '';
    width: 50%;
    position: absolute;
    right: 0;
    top:0;
    background-color: var(--main-color);
    height: 100%;
}
.testimonials:after {
    content: '';
    width: 50%;
    position: absolute;
    left: 0;
    top:0;
    background-color: #333;
    height: 100%;
}

.testimonials .container {
    margin: auto;
}

.testimonials h2 {
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    margin: 0 0 30px;
    text-align: right;
    position: relative ;
    z-index: 2;
}

.testimonials .ts-box {
    position: relative;
    z-index: 2;
    width:calc(80%/3);
    float: right;
    background-color: #fff;
    padding: 20px;
    margin-top: 10px;
    margin-right: 1%;

}


@media (max-width: 991px) {
    .testimonials .ts-box {
        position: relative;
        z-index: 2;
        width:calc(80%/2);
        float: right;
        background-color: #fff;
        padding: 20px;
        margin-top: 10px;
        
    }
    
}

@media (max-width: 767px) {
    .testimonials .ts-box {
        width: 80%;
        float: none;
        margin-bottom: 10px;
        padding: 20px;
    }
}



.testimonials .ts-box > p  {
    margin: 0 0 10px;
    line-height: 1.5;
    font-size:  var(--main-font-size);
    color: #707070 ;
}



.testimonials .ts-box .person-info {
    overflow: hidden;
}

@media (max-width: 991px) {
    .testimonials .ts-box .person-info {
        text-align: center;
        overflow: visible;
    }
}


.testimonials .ts-box .person-info img {
    width: 80px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    padding: 3px;
    
}


.testimonials .ts-box .person-info img:hover {
    box-shadow: 0 0.2rem 0.4rem 0 var(--main-color);   
    transition: transform 150ms;
    transform: scale(1.01);
    border-radius: 10%;
    
}


@media (max-width: 991px) {
    .testimonials .ts-box .person-info img {
    float: none;
    margin-left: 0;
    }
}


.testimonials .ts-box .person-info h4 {
    margin: 14px 0 10px;
    text-align: center;
    color: var(--main-color);
    font-size: 18px;
}

@media (max-width: 991px) {
    .testimonials .ts-box .person-info h4 {
        text-align: center;
    }
}

.testimonials .ts-box .person-info p {
    color: #707070;
    margin:10px 0;
    font-size: var(--main-font-size);

}

@media (max-width: 991px) {
    .testimonials .ts-box .person-info p {
    text-align: center;
    }
}


.testimonials .ts-box .keshor a {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
}


.testimonials .ts-box .keshor a:hover {
    background-color: var(--main-color);
    color: #eee;
}
/* End testmonials page */


/* Start Features */
.features {
    padding-top: 80px;
    padding-bottom: 80px;
    
}

.features h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    font-family: 'Rubik', sans-serif;
    margin: 0 0 50px;
    text-align: center;
}

.features .feat-box {
    width: calc(88% /4);
    float: right;
    text-align: center;
    margin: 5px;
    padding: 5px;
    background-color: rgb(246, 243, 243);

}


@media (max-width: 991px) {
    .features .feat-box {
        width: calc(88% / 2);
    }
}

@media (max-width: 575px) {
    .features .feat-box {
        width: 70%;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}

.features .feat-box img  {
    width: 80px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    opacity: 1;
    padding: 3px;
}


.features .feat-box img:hover  {
    box-shadow: 0 0.2rem 0.4rem 0 var(--main-color);
    transition: transform 150ms;
    transform: scale(1.01);
    /*opacity: 0.7;*/
    border-radius: 10%;
}


.features .feat-box h4  {
    font-size: 18px;
    margin: 5px 0 20px;
    position: relative;
}

.features .feat-box h4:before  {
    content: '';
    width: 40px;
    height: 4px;
    background-color: var(--main-color);
    position: absolute;
    right: 45%;
    margin-top: -20px;
    bottom: -15px;

}

.features .feat-box p  {
    width: 70%;
    margin: 0 auto;
    color: #707070;
    line-height: 1.6;
    font-size:  var(--main-font-size);
}


.features .feat-box .keshor a {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
    
}

.features .feat-box .keshor a:hover {
    background-color: var(--main-color);
    color: #eee;
}
/* End Features */


.clearfix {
    clear: both;
}

/* Start Contact us */
.contact {
    
    background-image: url('imgs/contact.png');
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    margin-top: 10px;
}

.contact .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

.contact .container {
    position: relative;
    z-index: 2;
    margin: auto;
}
.contact h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    font-family: 'Rubik', sans-serif;
    margin: 0 0 60px;
    text-align: center;
}


.contact form {
    overflow: hidden;
    width: 90%;
    margin: auto;
}

.contact form .right {
    float: right;
    width: 49%;
}


.contact form .left {
    float: left;
    width: 49%;
}


@media (max-width: 767px) {
    .contact form .right,
    .contact form .left {
        float: none;
        width: 100%;
    }
}

.contact form input:not([type="submit"]), 
.contact form textarea {
    display: block;
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background-color: rgba(218, 218, 218, 0.19);
}

.contact form input:not([type="submit"]):focus, 
.contact form textarea:focus {
outline: 1px solid var(--main-color);
}

.contact form input {
    height: 30px;
}

.contact form textarea {
    height: 160px;
}

.contact form input[type="submit"] {
    padding: 10px;
    height: 55px;
    width:95%;
    border-color: transparent;
    background-color: var(--main-color);
    color: #fff;
    cursor: pointer;
}

.contact form textarea:focus::-webkit-input-placeholder, 
.contact form input:not([type="submit"]):focus::-webkit-input-placeholder {
    opacity: 0;
    transition: .3s;
}


.contact form textarea:focus::-ms-input-placeholder, 
.contact form input:not([type="submit"]):focus::-ms-input-placeholder {
    opacity: 0;
    transition: .3s;
}


.contact form textarea:focus::placeholder, 
.contact form input:not([type="submit"]):focus::placeholder {
    opacity: 0;
    transition: .3s;
}

/* End Contact us */

.footer {
    background-color: #333;
    color: #eee;
    padding: 15px;
    text-align: center;
}


/* Start Grid System */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }

    
}


@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

}


@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* End Grid System */

/* Favorites Icon */
.fav-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.fav-icon:hover {
    color: var(--main-color);
    transform: scale(1.2);
}

.fav-icon.active {
    color: var(--main-color);
}


/* === RESPONSIVE HAMBURGER MENU === */
.header-area .links {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-area .toggle-menu {
    background: transparent;
    border: none;
    width: 45px;
    cursor: pointer;
    display: none;
}

.header-area .toggle-menu.menu-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    transition: 0.3s;
}
.header-area .toggle-menu.menu-active span:nth-child(2) {
    opacity: 0;
    transition: 0.3s;
}
.header-area .toggle-menu.menu-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    transition: 0.3s;
}

.header-area .toggle-menu span {
    transition: 0.3s;
}

@media (max-width: 991px) {
    .header-area .toggle-menu {
        display: block;
        margin-right: auto; /* Aligns to the left side in RTL */
        z-index: 1000;
        position: relative;
    }
    
    .header-area .links {
        display: none; /* Hidden by default on mobile */
    }
    
    .header-area .links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #1e1e1e; /* SOLID COLOR */
        z-index: 9999;
        justify-content: center;
        align-items: center;
        gap: 25px;
    }
    
    .header-area .links.open li {
        margin: 0;
    }
    
    .header-area .links.open li a {
        font-size: 1.6rem;
        padding: 10px 20px;
        border-radius: 8px;
    }
    
    .header-area .links.open li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}
/* ================================= */

/* PORTAL SIDEBAR OVERRIDES removed - sidebar replaced by .portal-subnav */


/* Transform the header-area into a fixed right sidebar */
.landing-page .header-area {
    position: fixed;
    right: 0;
    top: 130px; /* Below the global navbar */
    width: 250px;
    height: calc(100vh - 130px);
    background: #1e293b;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px 15px;
    border-radius: 0;
    box-shadow: -3px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

/* Adjust the container wrapping the header-area so it doesn't restrict it */
.landing-page .container {
    position: static; /* Let the fixed sidebar break out */
}

/* Adjust logo inside the sidebar */
.landing-page .header-area .logo {
    margin-bottom: 30px;
    width: 100%;
    justify-content: center;
}

/* Make links stack vertically */
.landing-page .header-area .links-container {
    width: 100%;
}

.landing-page .header-area .links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.landing-page .header-area .links li {
    width: 100%;
}

.landing-page .header-area .links li a {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: right;
}

.landing-page .header-area .links li a i {
    width: 25px;
    text-align: center;
    margin-left: 5px;
}

/* Hide the hamburger toggle for the old menu on desktop */
@media (min-width: 992px) {
    .landing-page .header-area .toggle-menu {
        display: none !important;
    }
}

/* On mobile, revert to a collapsible top menu or hide it entirely */
@media (max-width: 991px) {
    .landing-page .header-area {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    .landing-page .header-area .links {
        position: absolute;
        top: 100%;
        right: 0;
        background: #1e293b;
        z-index: 999;
        display: none; /* hidden by default on mobile */
    }
    
    .landing-page .header-area .links.open {
        display: flex;
    }
    
    .landing-page .header-area .toggle-menu {
        display: block !important;
    }
}


/* ===== Portal Sub-Navigation (shared across all portal pages) ===== */
.portal-subnav {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-bottom: 1px solid rgba(255, 179, 0, 0.25);
  padding: 0;
  position: sticky;
  top: 60px;
  z-index: 99;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.portal-subnav .container {
  overflow-x: auto;
  scrollbar-width: none;
}
.portal-subnav .container::-webkit-scrollbar { display: none; }

.portal-subnav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
}

.portal-subnav-list li {
  flex-shrink: 0;
}

.portal-subnav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.portal-subnav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #ffb300;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-subnav-link i {
  font-size: 1rem;
  transition: transform 0.25s ease, color 0.2s ease;
  color: rgba(255,179,0,0.55);
}

.portal-subnav-link:hover {
  color: #fff;
  background: rgba(255,179,0,0.08);
}
.portal-subnav-link:hover i {
  transform: translateY(-2px);
  color: #ffb300;
}
.portal-subnav-link:hover::after {
  transform: scaleX(0.6);
}

.portal-subnav-link.active {
  color: #ffb300;
  font-weight: 700;
}
.portal-subnav-link.active i {
  color: #ffb300;
}
.portal-subnav-link.active::after {
  transform: scaleX(1);
}

.portal-subnav-separator {
  width: 1px;
  background: rgba(255,255,255,0.08);
  margin: 10px 0;
  align-self: stretch;
}

@media (max-width: 768px) {
  .portal-subnav-list {
    justify-content: flex-start;
  }
  .portal-subnav-link {
    padding: 12px 14px;
    font-size: 0.82rem;
    gap: 5px;
  }
  .portal-subnav-link span { display: none; }
  .portal-subnav-link i { font-size: 1.15rem; }
}
