/* prevent users from selecting and copying text */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
}   


/*Resume style*/
     /* Container styling for positioning */
     .resume-container {
        position: relative;
        display: inline-block;
      }
      
      /* Initially hide the text */
      .hover-text {
        position: absolute;
        bottom: -20px; /* Adjust position below the icon */
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease;
      }
      
      /* On hover, show the text */
      .resume-container:hover .hover-text {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px); /* Add slight upward animation */
      }


/* LinkedIn button styling */
.linkedin-section {
    display: flex;
    align-items: center;
  }
  
  .linkedin-btn-alt {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    padding: 8px 15px;
    background-color: #0077b5; /* LinkedIn blue */
    color: #fff;
    text-decoration: none;
    border-radius: 25px; /* Rounded button */
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .linkedin-btn-alt i {
    font-size: 18px;
  }
  
   /* Darker LinkedIn blue */
  /* .linkedin-btn-alt:hover {
    background-color: #005582; 
   
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  } */
/********** Template CSS **********/
:root {
    /* --primary: #1363C6; */
    --primary: #0e0d35 !important
    /* --secondary: #15ACE1; */
    /* --light: #F4F7FE; */
    /* --dark: #14183E; */
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3 {
    font-weight: 700 !important;
}

h5 {
    font-weight: 500 !important;
}


/*** Button ***/
/* .btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}
 */

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

/* .navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
} */

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {

    /* .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    } */
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    /* background: url(../img/bg-hero.png) center center no-repeat; */
    background: url(../img/header.jpg) center center no-repeat;
    background-size: cover;
}


/*** Section Title ***/


/*** About ***/


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

/* .service-item:hover {
    background: var(--primary);
} */

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

/* .service-item:hover .service-icon {
    background: #FFFFFF;
} */

.service-item h5 {
    transition: .5s;
}

/* .service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
} */

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

/* .service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
} */

.service-item:hover a.btn::before {
    width: 100%;
    /* background: var(--light); */
}


/*** Feature  ***/
.feature {
    /* background: url(../img/bg-hero.png) center center no-repeat; */
    background-size: cover;
}



/*** logo ***/
.logo {
    width: 130px;
    height: auto;
    margin: 0 auto;
    display: block;
}


@media (max-width: 1200px) {
    .logo {
        width: 150px; /* Smaller width for large screens */
    }
}
@media (max-width: 768px) {
    .logo {
        width: 180px; /* Smaller width for tablets */
        margin: auto;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 100px; /* Smaller width for mobile devices */
        margin: auto;
        padding: 20px 5px;
    }
}

/* .logo {
    max-width: 100%;
    padding: 0 5px;
    margin: 0 auto;
} */





/*** Case Study ***/
.case-item img {
    transition: .8s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 10px;
    width: 100%;
    /* height: 100%; */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

/* .case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}
 */

/*** FAQs ***/
/* .accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
} */


/*** Testimonial ***/


/*** Team ***/


/*** Footer ***/
.footer {
    /* background: url(../img/footers/footer1.jpg) center center no-repeat; */
    background: url(../img/footers/footer5.jpg) center center no-repeat;
    /* background: url(../img/footers/footer3.jpg) no-repeat; */
    background-size: cover;
    color: #0e0d35;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    /* color: rgba(255,255,255,.5); */
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    /* color: rgba(255,255,255,.5); */
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/* img header */
img.headerimg{
    width: 1000px;
    /* height: auto; */
    /* padding-bottom: 200px; */
}

/* img hero(fadi) */
.img-fluid{
    width: 500px;
    height: auto;
    padding-bottom: 200px;
}

/* Events stylesheet */

main {
    padding: 10px;
}

h2 {
    text-align: center;
}



.timeline-content {
    padding: 10px;
    /* background-color: #f9f9f9; */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-top: 0;
}





/* Course div styling */

/* Initially hide the button */

/* Show the button on hover */

/* Button hover effect */
/* .hover-button:hover {
    background-color: #45a049; 
} */






/*  */
       /* FM Animation */
        /* Full-Screen Overlay */
    /* Full-Screen Overlay */
/* Full-Screen Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    color: red;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensures it is on top of other content */
}

/* Centered Text */
#overlay-text {
    font-size: 5rem; /* Adjust size as needed */
    font-weight: bold;
}

/* Animated Text */
#animated-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem; /* Adjust size as needed */
    font-weight: bold;
    color: #b7bdc7;
    opacity: 0; /* Hidden by default */
    z-index: 10000; /* Ensure it is on top of other content */
    animation: fadeInOut 1.5s ease-out; /* Animation applied */
}

/* Animation Keyframes */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}


/* Ensure footer is at the bottom of the viewport */

        
                /* End FM Animation */

/*  */





/* Extra style for events , Created By Fadi */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adjust the gap between timeline items */
    padding: 20px;
  }
  
  .timeline-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between date and content */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    padding: 15px;
    width: 100%;
    max-width: 100%;
  }
  
  /* .timeline-item:hover {
    transform: scale(1.05);
  } */
  
  .timeline-date {
    /* background: #2980b9; */
    padding: 15px;
    color: white;
    text-align: center;
    border-radius: 8px;
  }
  
  .timeline-day {
    font-size: 20px;
    font-weight: bold;
  }
  
  .timeline-month {
    font-size: 16px;
    text-transform: uppercase;
  }
  
  .timeline-content {
    display: flex;
    flex-direction: column;
  }
  
  .timeline-title {
    margin: 0;
    font-size:5px;
    /* font-weight: bold; */
  }
  
  .timeline-location {
    margin: 10px 0 0 0;
    color: #7f8c8d;
  }




  /* NEW Scrollbar */
  .back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* background: #007bff; */
    background: #1a1c2c;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease;
}
.back-to-top.show {
    display: block;
    animation: pulse 2s infinite;
}

/*Styling for blue circles that contain shortcut icons in the home page*/

       .vertical-strip {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 160px;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  color: white;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  z-index: 1;
}

.circle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 25px #00d2ff;
}

.btns {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  background: #00d2ff;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s, transform 0.3s;
}

.btns:hover {
  background: #4facfe;
  transform: scale(1.05);
}

.title {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  text-align: center;
  width: 100%;
}

.btns:hover + .title {
  opacity: 1;
  transform: translateY(0);
}

/* End styling for blue circles that contain shortcut icons in the home page */
  

/* Style for Latest Technologies */

        .tech-section {
            background: #f9f9f9;
            padding: 60px 20px;
        }
        .tech-header {
            text-align: center;
            margin-bottom: 50px;
        }
        .tech-header img {
            width: 100px;
            margin-bottom: 15px;
        }
        .tech-header h2 {
            font-size: 28px;
            font-weight: 700;
        }
        .tech-header p {
            font-size: 18px;
            color: #666;
        }
        .tech-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }
        .tech-card {
            width: 180px;
            aspect-ratio: 1;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            overflow: hidden;
            text-align: center;
            position: relative;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }
        .tech-card img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-bottom: 15px;
            transition: transform 0.4s ease;
        }
        .tech-card small {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }
    
        .tech-card:hover {
            transform: scale(1.08) rotate(-2deg);
            box-shadow: 0 12px 25px rgba(0, 123, 255, 0.2);
        }
    
        .tech-card:hover img {
            transform: scale(1.2) rotate(5deg);
        }
  


/* Style of new Events cards */
/* Timeline Item Container */
.timeline-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #ff7a18, #af002d 70%, #319197);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-8px) scale(1);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.15);
}

/* Timeline Date Section */
.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    text-align: center;
}

.timeline-icon {
    width: 50px;  /* Slightly smaller logo */
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
}

.timeline-day-month {
    color: #fff;
}

.timeline-day {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-month {
    font-size: 16px;
    font-weight: 500;
}

/* Timeline Content Section */
.timeline-content {
    flex: 1;
    color: #fff;
}

.timeline-title {
    font-size: 16px;  /* Reduced size for smaller box */
    /* font-weight: 500; */
    margin-bottom: 15px;
    color: #ffec40;
    transition: color 0.3s ease;
}

.timeline-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.timeline-title a:hover {
    color: #fff;
    text-decoration: underline;
}

.timeline-location {
    font-size: 14px;  /* Slightly smaller text */
    color: #f0f0f0;
}

.timeline-location a {
    color: #ffec40;
    text-decoration: none;
    transition: color 0.3s ease;
}

.timeline-location a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Animation for Timeline Item */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    .timeline-item {
      flex-direction: column;
      align-items: center;
      padding: 10px;
      gap: 10px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      margin: 10px 0;
    }
  
    .timeline-date {
      width: auto;
      text-align: center;
      margin: 0;
    }
  
    .timeline-icon {
      width: 36px;
      height: 36px;
      margin-bottom: 5px;
    }
  
    .timeline-day {
      font-size: 18px;
    }
  
    .timeline-month {
      font-size: 14px;
    }
  
    .timeline-content {
      width: 100%;
      padding: 0;
      text-align: center;
    }
  
    .timeline-title {
      font-size: 15px;
      margin: 8px 0;
    }
  
    .timeline-location {
      font-size: 13px;
    }
  }
  
  @media (max-width: 480px) {
    .timeline-item {
      padding: 8px;
      gap: 8px;
    }
  
    .timeline-title {
      font-size: 13px;
    }
  
    .timeline-location {
      font-size: 12px;
    }
  
    .timeline-day {
      font-size: 16px;
    }
  
    .timeline-icon {
      width: 30px;
      height: 30px;
    }
  }
  

/* Emd Style of new Events cards */

/* Center and resize the image on Skills.html page */
img[alt="system-report"] {
    display: block;
    margin: 0 auto; /* Center the image horizontally */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    height: auto; /* Maintain aspect ratio */
}

/* Adjustments for tablet and mobile screens */
@media (max-width: 768px) {
    img[alt="system-report"] {
        max-width: 70%; /* Reduce size for tablets */
    }
}

@media (max-width: 576px) {
    img[alt="system-report"] {
        max-width: 70%; /* Further reduce size for mobile */
    }
}