/* Global Styles */
body {
    font-family: 'Krub', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('') no-repeat center center fixed;
    background-size: cover;
    color: #f0f0f5; /* Light gray text color */
    overflow-x: hidden;
    background-color: white;
}

/* Header Styles */
header {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background-color: rgba(26, 26, 29, 0.9); /* Dark sidebar background */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-right: 2px solid rgba(255, 165, 0, 0.7); /* Orange border */
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar:hover {
    width: 350px; /* Expand to the right on hover */
}

.logo-section {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.logo {
    width: 550px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 20px;
    object-position: center;
    shape-outside: circle();
}

.sidebar-items {
    margin-top: 20px;
    width: 100%;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 0;
    color: #f0f0f5; /* Light gray text color */
    text-decoration: none;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: rgba(60, 60, 60, 0.7); /* Gray background color */
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.sidebar-item:hover {
    background-color: rgba(255, 165, 0, 0.3); /* Orange hover effect */
    color: #f0f0f5; /* Light gray text color */
    transform: scale(1.05);
}

.home-btn {
    font-weight: bold;
    background-color: rgba(255,70,18,0.7); /* Bright orange button */
    color: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 20px; /* Ensure there's enough space below */
    margin-top: 10px; /* Adjust this value to move the button up, if needed */
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

.home-btn:hover {
    background-color: #e67600; /* Darker orange on hover */
    transform: scale(1.05);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
    animation: fadeIn 1s ease-out;
    overflow-x: auto;
}
section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: rgba(50, 50, 50, 0.5); /* Dark section background */
    opacity: 1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255,70,18,0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-out;
}

section:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7); /* Enhanced shadow */
}

/* Heading Styles */
h1, h2, h3 {
    font-family: 'Krub', sans-serif;
    color: #f0f0f5; /* Light gray text color */
    text-shadow: 0 0 3px #ff8c00; /* Orange text outline */
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

h1:hover, h2:hover, h3:hover {
    color: black; /* Bright orange text color on hover */
    text-shadow: 0 0 10px gray;
    transform: scale(1.05);
}

/* Content Section with Gold Frame */
.content-section {
    position: relative;
    background: rgba(50, 50, 50, 0.8); /* Dark overlay */
    border: 3px solid rgba(255,70,18,0.7); /* Orange frame */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,70,18,0.7);
}

/* Hover Effects for Images */
img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

/* List Styles */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

ul li:hover {
    transform: scale(1.03);
}

/* Link Styles */
a {
    text-decoration: none;
    color: #f0f0f5; /* Light gray text color */
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #ff8c00; /* Orange color on hover */
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Zoom Effect */
.hover-zoom {
    transition: transform 0.3s ease;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: #ff8c00; /* Orange progress bar */
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 2px solid rgba(255, 140, 0, 0.5);
    }

    .main-content {
        padding: 10px;
    }
}

/* .gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.gallery img {
    width: calc(50% - 10px);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}




.gallery img {
    display: flex;
    justify-content: center;
    overflow: hidden; /* Hide overflow images 
} */



/* .gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* To scale the video to fit the container without cropping */
  /* controls: none;  Hides the default video controls
} */


.gallery {
  width: 100%;
}

.section-image {
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}

.section-image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Light/Dark Theme Switcher */
.theme-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.theme-btn {
    cursor: pointer;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 165, 0, 0.7); /* Orange switcher */
    color: #fff;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

.theme-btn:hover {
    background-color: rgba(255, 140, 0, 0.9); /* Darker orange on hover */
    transform: scale(1.05);
}




/* Styles for the left sidebar */
.left-sidebar {
    width: 300px;
    top: 0;
    background-color: rgba(26, 26, 29, 0.9);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-right: 2px solid rgba(255, 165, 0, 0.7);
    transition: width 0.3s ease;
    overflow: hidden;
}

.left-sidebar:hover {
  width: 400px; /* Expanded width on hover */
}

/* Adjust content area to account for the sidebar */
.content {
  margin-left: 270px; /* Initial margin-left matching initial sidebar width */
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.left-sidebar:hover ~ .content {
  margin-left: 400px; /* Adjust margin-left to match expanded sidebar width */
}

.left-sidebar:hover {
  width: 400px;
}

.content {
  margin-left: 270px;
  transition: margin-left 0.3s ease;
}

/* Fallback for older browsers */
.left-sidebar:hover + .content {
  margin-left: 400px;
}




/* Add this to your existing CSS */

.section-image {
    position: relative;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    width: 100%; /* Adjust the width as needed */
    height: 100%; /* Maintain aspect ratio */
    margin-top: -20px;
}

.section-image:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay effect */
    transition: transform 0.5s ease-in-out;
}

.section-image:hover:after {
    transform: translateX(-100%);
}




/* Global Styles */
body {
    /* ... other styles ... */
    overflow-y: hidden; /* Hide vertical scrollbar */
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    /* ... other styles ... */
    height: calc(100vh - 100px); /* Adjust height to leave space for lower part */
}

/* Section Styles */
#about-team {
    height: calc(100%); /* Adjust height to fill remaining space */
    margin-top: 50px;
}

/* Lower Part Styles */
#about-order {
    /* position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Adjust height as needed */
    /* background-color: #f0f0f5; /* Match background color */
    position: relative;
    background: rgba(50, 50, 50, 0.8); /* Dark overlay */
    border: 3px solid rgba(); /* Orange frame */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 60px;
}

.timeline-image {
    gap: 25px;
    width: 100%;
    height: 100%;
}

.about-title {
    font-size: 24px;
    font-weight: bold;
    color: #f0f0f5; /* Light gray text color */
    text-shadow: 0 0 3px #ff8c00; /* Orange text outline */
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.covervid {
    position: relative;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    width: 100%; /* Adjust the width as needed */
    height: 100%; /* Maintain aspect ratio */
}