:root {
    --primary-color: #5c3e76;
    --second-primary-color: #45bead;
    --accent-color: #a2dbd7;
    --text-color: #2d3748;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('fonts/DINNextLTArabic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('fonts/DINNEXTLTARABIC-LIGHT-2-2.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.h2{

   color: #561295 !important;
}
.logos{
    width: 350px;
    height: 350px;
    border-radius:7px;
    /* margin-top: 740px; */
    box-shadow: 0 4px 6px var(--second-primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logos:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--primary-color);
}
.logo img{

     width: 300px;
     margin-left: 10px; 
     height: 90px;
}
.table-striped h2{
    /*color: #6a0cc1;*/
    color: var(--primary-color);
 }
html, body {
    font-family: 'DIN Next LT Arabic', 'Noto Sans Arabic', Arial, sans-serif;
    color: var(--text-color);
    background-color: #f0f4f8;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    background-color: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.header-shrink {
    box-shadow: 0 1px 4px 0 var(--second-primary-color);
    background: #5c3e76;
}
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 12px;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link.active {
    color: var(--second-primary-color);
}
.navbar-nav .nav-link:hover {
    color: #5bb3a7;
}

.language-selector select {
    padding: 5px;
    border-radius: 5px;
    /* border: 1px solid #ddd; */
    font-size: 14px;
    cursor: pointer;
    background-color: none;
}

.language-selector select:hover {
    background-color: var(--second-primary-color); /* Change background color on hover */
    color: white; /* Change text color on hover */
}

/* Hero Section */
.hero-block {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 600px;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}


/* About Section */
.about-section {
    padding: 2rem 0;
    background: #fff;
}
.new-section{
    background-color: #f9f9f9;
    padding: 40px 0;
}
.section-heading {
    font-size: 1.7rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    /* margin: 0; */
}

.section-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 100%;
    margin: 0 auto 3rem;
}

/* Objectives list */
#objectives-content {
    max-width: 800px;
}

/* Tracks and Subtracks */
.track-card {
    background: var(--card-bg);
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--second-primary-color);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--primary-color);
}

.track-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.track-card p {
    color: var(--text-color);
    font-size: 1rem;
}

/* Schedule Section */
.schedule-section {
    padding: 4rem 0;
}

.nav-pills .nav-link {
    background: #e9ecef;
    color: var(--text-color);
    border-radius: 50px;
    padding: 12px 25px;
    margin: 0 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

.schedule-item {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-item::before {
    background: var(--accent-color);
    width: 12px;
    height: 12px;
    top: 20px;
    left: -6px;
}

.schedule-time {
    color: var(--accent-color);
    font-weight: 600;
}

.schedule-title {
    font-size: 1.25rem;
    font-weight: 600;
}
.panel-discussion{
    background: #fff;;
}
/* Venue Section */
.venue-section {
    padding: 4rem 0;
    /* background: #fff; */
    background-image:url("../images/slider-05.jpg");
    /* width: 100%; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: white;
}

.venue-carousel img {
    border-radius: 10px;
    object-fit: cover;
    height: 400px;
}

.venue-section iframe {
    border-radius: 10px;
    height: 400px;
    width: 100%;
    border: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0;
}

.footer .social-list a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer .social-list a:hover {
    color: #5bb3a7;
}

.footer-links li {
    font-size: 1rem;
    margin: 0 15px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modal */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-body {
    padding: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* RTL Support */
html[lang="ar"] {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .navbar-nav {
    flex-direction: row-reverse;
}

html[lang="ar"] .nav-link {
    margin-left: 0;
    margin-right: 15px;
}

html[lang="ar"] .section-intro,
html[lang="ar"] .schedule-item,
html[lang="ar"] .list-unstyled {
    text-align: right;
}

html[lang="ar"] .schedule-item {
    border-left: none;
    border-right: 4px solid var(--primary-color);
    padding-left: 0;
    padding-right: 1.5rem;
}

html[lang="ar"] .schedule-item::before {
    left: auto;
    right: -6px;
}

html[lang="ar"] .row {
    flex-direction: row-reverse;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-block {
        height: 50vh;
        max-height: 400px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .section-heading {
        font-size: 2rem;
    }
    .track-card {
        margin-bottom: 1.5rem;
    }
    .venue-section iframe, .venue-carousel img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-block {
        height: 40vh;
        max-height: 300px;
    }
}

.navbar-collapse {
    /* background-color: #000; */
    padding: 1rem;
}

.navbar-nav .nav-link {
    color: white;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

.speakers-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.speaker-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px var(--primary-color);
    transition: transform 0.3s ease;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-image-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.speaker-image-wrapper img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px var(--second-primary-color);
}

.speaker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.speaker-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.speaker-title {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .speaker-image-wrapper img {
        width: 120px;
        height: 120px;
    }
    
    .speaker-name {
        font-size: 1.1rem;
    }
}

/* RTL Styles */
[dir="rtl"] .section-intro {
    text-align: right; /* Align text to the right for RTL */
}

[dir="rtl"] .subtrack-card {
    text-align: right; /* Align text to the right for subtrack cards */
}

[dir="rtl"] .list-unstyled {
    padding-right: 20px; /* Add padding to the right for lists */
}

[dir="rtl"] .row {
    direction: rtl; /* Ensure row direction is right-to-left */
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    position: relative;
}

.card-img-top {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-text {
    font-size: 1rem;
    text-align: center;
}
.btnsubmit{
  font-family: myFirstFont;
  border: none;
  color: black;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 5px;
}

.btnsubmit{
	color: black; 
  border: 1px solid var(--primary-color);
}
.btnsubmit:hover{
	background-color: var(--second-primary-color);
	color: white;
}
.important_dates{
    color: var(--second-primary-color);
    font-weight: bold;
}
.submission {
    color: var(--second-primary-color); 
    font-weight: bold;
    position: relative;
}
.new-section {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 40px 0; /* Add padding for spacing */
}

.customthead{
    background-color: var(--second-primary-color);
}
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: transform 0.3s ease; /* Smooth transition */
}

.image-wrapper:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth image scaling */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth overlay appearance */
}

.image-wrapper:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

.overlay-text {
    font-size: 1.2rem; /* Adjust text size for readability */
    text-align: center; /* Center text */
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px; /* Set a fixed height for the map */
    overflow: hidden; /* Hide overflow */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Remove default border */
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.image-wrapper img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease; /* Smooth image scaling */
}

.image-wrapper:hover img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Styles for RTL header */
.rtl-header .navbar-nav {
    flex-direction: row-reverse; /* Reverse the order of nav items */
}

.rtl-header .language-selector {
    margin-left: 20px; /* Adjust margin for RTL */
}

/* Styles for LTR header */
.ltr-header .navbar-nav {
    flex-direction: row; /* Normal order of nav items */
}

.ltr-header .language-selector {
    margin-right: 20px; /* Adjust margin for LTR */
}

/* Styles for RTL */
[dir="rtl"] .section-heading {
    text-align: right; /* Align text to the right for RTL */
    margin-right: 20px; /* Optional: Add margin for spacing */
}

/* Styles for LTR */
[dir="ltr"] .section-heading {
    text-align: left; /* Align text to the left for LTR */
    margin-left: 20px; /* Optional: Add margin for spacing */
}

.icon-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between icons */
}

.icon-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 10px; /* Width of the circle */
    height: 10px; /* Height of the circle */
    border-radius: 50%; /* Circular shape */
    /* background-color: #5c3e76; Background color */
    color: white; /* Icon color */
    text-decoration: none; /* Remove underline from links */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Animation */
    position: relative; /* For pseudo-element positioning */
    animation: move 2s ease-in-out infinite; /* Add moving animation */
}

@keyframes move {
    0%, 100% {
        transform: translateY(0); /* Start and end at original position */
    }
    50% {
        transform: translateY(-10px); /* Move up by 10px */
    }
}

.icon-circle:hover {
    transform: scale(1.1) rotate(10deg); /* Scale and rotate effect on hover */
    /* background-color: #45bead; Change background color on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.icon-circle i {
    font-size: 24px; /* Icon size */
    margin-bottom: 5px; /* Space between icon and text */
    transition: transform 0.3s ease; /* Animation for icon */
}

.icon-circle:hover i {
    transform: translateY(-5px); /* Move icon up on hover */
}

.icon-circle span {
    font-size: 14px; /* Text size */
    transition: color 0.3s ease; /* Animation for text color */
}

.icon-circle:hover span {
    color: #fff; /* Change text color on hover */
}
