﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
@font-face {
    font-family: 'Lyon Arabic Slanted Display';
    src: url('../fonts/lyonarabicslanteddisplay-reg.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}


@font-face {
    font-family: 'Basis Grotesque Arabic';
    src: url('../fonts/basisgrotesquearabictrial-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

/* English Font */
.english-font {
    font-family: 'ITC Garamond Std', serif;
}

/* Arabic Font for Non-Italic Text */
.arabic-font {
    font-family: 'Basis Grotesque Arabic', sans-serif;
    direction: rtl;
}

/* Arabic Font for Italic Text */
.arabic-italic {
    font-family: 'Lyon Arabic Slanted Display', serif;
    font-style: italic;
    direction: rtl;
}
/* CSS class for ITC Garamond Std with italic style */
.itc-garamond-italic {
    font-family: 'ITC Garamond Std', serif;
    font-style: italic;
    line-height: 1.2;
}
/* Arabic font for H1 with italic style */
.H1itc-garamond-italic {
    font-family: 'Lyon Arabic Slanted Display', serif;
    font-style: italic;
    line-height: 1.2;
    direction: rtl; /* Ensure right-to-left text direction */
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* General RTL styles */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

/* Example: Adjust padding/margin for RTL */
.navbar-nav {
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .navbar-nav {
    padding-right: 15px;
    padding-left: 0;
}

html[dir="ltr"] .navbar-nav {
    padding-left: 15px;
    padding-right: 0;
}

/* General RTL styles */
html[dir="rtl"] #contentSection {
    text-align: right; /* Align text to the right */
    left: 5%; /* Adjust position for RTL */
    right: auto; /* Reset right */
}

html[dir="rtl"] #socialButtons {
    left: auto; /* Reset left */
    right: 20px; /* Position social buttons on the right */
}

/* Default LTR positioning */
html[dir="ltr"] #languageSwitch {
    right: 20px;
    left: auto;
}

/* RTL positioning */
html[dir="rtl"] #languageSwitch {
    left: 20px;
    right: auto;
}
/* Full-screen video container */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

/* Make sure video covers the entire screen */
#bgVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* COMMON SECTION STYLES */
.section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: right;
}

/* ABOUT SECTION - VIDEO BACKGROUND */
.video-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

    .video-section video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .video-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

.margin-top {
    margin-top: 25rem !important;
}
/* IMAGE BACKGROUND FOR OTHER SECTIONS */
.image-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.Conference-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url('../contentreduced/6.jpg') no-repeat center center/cover;
   
}

/* CONFERENCE SECTION BACKGROUND */
#conference {
  /*  background-image: url('../newfolder/6.png');*/
    background-image: url('../contentreduced/6.jpg');
}

#conference2 {
    /*background-image: url('../newfolder/gradient 2-01.png');*/
    background-image: url('../contentreduced/gradient 2-01.jpg');
}

#conference3 {
    /*background-image: url('../newfolder/gradient 2-02.png');*/
    background-image: url('../contentreduced/gradient 2-02.jpg');
}

#conference4 {
    position: relative;
    background-image: url('../contentreduced/3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    #conference4::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Black with 40% transparency */
        z-index: 1; /* Ensure the overlay is below the content */
    }

    #conference4 .container,
    #conference4 a {
        position: relative;
        z-index: 2; /* Ensure the content and buttons are above the overlay */
    }

#conference5 {
    /*background-image: url('../newfolder/gradient 3-01.png');*/
    background-image: url('../contentreduced/gradient 3-01.jpg');
}

#conference6 {
   /* background-image: url('../newfolder/gradient 3-02.png');*/
    background-image: url('../contentreduced/gradient 3-02.jpg');
}

#conference7 {
   /* background-image: url('../newfolder/gradient 3-03.png');*/
    background-image: url('../contentreduced/gradient 3-03.jpg');
}

#conference8 {
   /* background-image: url('../newfolder/dsc09174-enhanced-nr.png');*/
    background-image: url('../contentreduced/dsc09174-enhanced-nr.jpg');
}

#conference9 {
   /* background-image: url('../newfolder/gradient 4-01.png');*/
    background-image: url('../contentreduced/gradient 4-01.jpg');
}

#conference10 {
   /* background-image: url('../newfolder/gradient 4-02.png');*/
    background-image: url('../contentreduced/gradient 4-02.jpg');
}

#conference11 {
   /* background-image: url('../newfolder/gradient 4-03.png');*/
    background-image: url('../contentreduced/gradient 4-02.jpg');
}

#conference12 {
    /*background-image: url('../newfolder/07 image.png');*/
    background-image: url('../contentreduced/07 image.jpg');
}

/* Scroll Button */
.scroll-button {
    width: 32px;
    height: 32px;
    left: 14%;
    top: 80%;
    position: absolute;
    transform: translateX(-50%);
    border: 1px solid #E7E9E8;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.scroll-buttonup {
    width: 32px;
    height: 32px;
    left: 8%;
    top: 80%;
    position: absolute;
    transform: translateX(-50%);
    border: 1px solid #E7E9E8;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.firstscroll-button {
    width: 32px;
    height: 32px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #E7E9E8;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Arrow inside the button */
.arrow {
    width: 50%;
    height: 50%;
    background: #E7E9E8;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.arrow-up {
    width: 50%;
    height: 50%;
    background: #E7E9E8;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Common Styles for Scroll Buttons */
.scroll-buttonup_new, .scroll-button_new {
    width: 32px;
    height: 32px;
    border: 1px solid #D9D9D9;
    background: transparent;
    position: absolute;
    cursor: pointer;
}

/* Arrow Up */
.arrow-up_new {
    width: 8px;
    height: 8px;
    background: #D9D9D9;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Arrow Down */
.arrow-down_new {
    width: 8px;
    height: 8px;
    background: #D9D9D9;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(180deg); /* Rotate for downward arrow */
}

/* Positioning for Left Side Buttons */
.left-side-button {
    left: 5%;
    top: 80%;
    transform: translateY(-50%);
    z-index: 10;
    margin-bottom: 10px;
}

.right-side-button {
    left: 7%;
    top: 80%;
    transform: translateY(-50%);
    z-index: 10;
    margin-bottom: 10px;
}

/* ABOUT SECTION */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url('../contentreduced/gradient 1-01.jpg') no-repeat center center/cover;
    
}

.about-section2 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url('../contentreduced/gradient 1-02.jpg') no-repeat center center/cover;
    
}

.about-section3 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url('../contentreduced/03 image.jpg') no-repeat center center/cover;
    
}

.about-section4 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url('../contentreduced/gradient 1-01.jpg') no-repeat center center/cover;
    
}

.about-section5 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url('../contentreduced/gradient 1-02.jpg') no-repeat center center/cover;
    
}

/* Navbar */
.navbar-nav .nav-item {
    margin: 5px;
}

.navbar-nav .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    gap: 8px;
    border: 1px solid #D9D9D9;
    border-radius: 30px;
    background-color: transparent;
    color: white !important;
    transition: all 0.3s ease-in-out;
}

    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

/* Jump Effect */
@keyframes jump {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.jump-effect {
    animation: jump 0.3s ease-in-out;
}
/* Add smooth transition */
.year-details {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

    .year-details.open {
        max-height: 500px; /* Adjust as needed for your content */
    }

.career-item {
    cursor: pointer;
}

.content1 {
    position:absolute;
    top:35%;
    left:55%;
}
