body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px 20px;
    background-color: white;
}

header {
    background-color: white;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Basic styling */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align vertically center */
    padding: 10px 20px;
    height: 65px;
    background-color: #fff;
}

.logo {
    color: #333;
    font-size: 36px;
    font-weight: bold;
    text-align: left;
}

nav {
    display: flex;
    align-items: center;
    justify-content: right;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

/* nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    transition: all 0.3s ease;
} */

/* Align navigation in middle vertically */
nav ul li {
    display: flex;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative; /* Add this */
}

nav ul li a:hover {
    color: #ffc100; /* Change text color on hover */
    transform: translateY(-2px); /* Reduced transform */
}

/* Add this new hover effect */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffc100;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

/* Login icon in the same set as navigation links */
.avatar-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Hamburger menu */
.hamburger {
    font-size: 30px;
    cursor: pointer;
    display: none;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-right: 10px; /* Ensure it's to the right next to login */
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: #fff;
        width: auto;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }
}

@keyframes glowPopSide {
    0% {
        box-shadow: 10px 0 5px rgba(255, 193, 0, 0.5), -10px 0 5px rgba(255, 193, 0, 0.5);
        filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
    }
    50% {
        box-shadow: 10px 0 20px rgba(255, 193, 0, 0.8), -20px 0 20px rgba(255, 193, 0, 0.8);
        filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2));
    }
    100% {
        box-shadow: 10px 0 5px rgba(255, 193, 0, 0.5), -10px 0 5px rgba(255, 193, 0, 0.5);
        filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
    }
}



.top-section {
    padding: 30px 1px 0; /* Reduce top and bottom padding */
    background-color: #f9f9f9;
    min-height: calc(70vh - 80px); /* Adjust the minimum height to reduce overall section height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0; /* Ensure no bottom margin */

}

/* Slider Button  */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 0, 0);
    }
}

.button-text {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid #ffc100; /* Add a solid border */
 
    animation: pulse 3s infinite; /* Slow pulse when idle */
    box-shadow: inset 0 0 0 2px rgba(255, 193, 0, 0.7), /* Inner border glow */
                inset 0 0 10px rgba(255, 193, 0, 0.3); /* Inner glow */
}

.button-text:hover {
    animation: pulse 1.5s infinite; /* Faster pulse on hover */
    box-shadow: inset 0 0 0 2px rgba(255, 193, 0, 1), /* Stronger inner border glow */
                inset 0 0 15px rgba(255, 193, 0, 0.5), /* Stronger inner glow */
                0 0 20px rgba(255, 193, 0, 0.5); /* Outer glow */
}

.button-text h2 {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white for better visibility */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

.button-text:hover h2 {
    font-size: calc(36px + 1px); /* Increase font size by 1px on hover */
    color: #ffffff; /* Full white on hover */
    text-shadow: 0 0 10px rgba(255, 193, 0, 0.5); /* Golden text shadow on hover */
}

.button-text::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: transparent;
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.button-text:hover::before {
    opacity: 50;
    box-shadow: 0 0 20px #ffc100, 0 5px 15px rgba(0,0,0,0.3); /* Outer glow and drop shadow */
}



.slider-container {
    position: relative;
    width: 100%;
    height: 65vh; /* Adjust slider height */
    overflow: hidden;
    margin-top: 0px;
}


.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    /* background-color: rgba(0, 0, 0, 0.7); */
    padding: 20px;
    color: white;
    max-width: 50%;
    box-shadow: 0 0 20px #ffc100;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.slide.active .slide-text {
    opacity: 1;
}

.slide-text h2 {
    font-size: 36px;
    margin: 0;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



/* Main buuttons  */

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.glow-button {
    padding: 15px 30px;
    font-size: 18px;
    color: #333;
    background-color: white;
    border: 2px solid #ffc100;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #ffc100;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-button:hover {
    color: white;
    background-color: #ffc100;
}

.glow-button:hover::before {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 0, 0);
    }
}

.glow-button:hover {
    animation: pulse 1.5s infinite;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.image-item {
    text-align: center;
    transition: all 0.3s ease;
}

.image-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-item:hover img {
    box-shadow: 0 0 20px rgba(255, 193, 0, 0.7);
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

@keyframes glowPop {
    0% {
        box-shadow: 0 0 5px rgba(255, 193, 0, 0.5);
        filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 193, 0, 0.8);
        filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.2));
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 193, 0, 0.5);
        filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
    }
}

.image-item:hover img {
    animation: glowPop 1.5s infinite;
}

/* New styles for the table */

/*Search bar for the table */
.table-container {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.table-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.search-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#searchInput {
    width: 50%;
    max-width: 600px;
    min-width: 300px;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#searchInput:hover {
    transform: translateY(-5px);
    border-color: #ff7e00;
}

#searchInput:focus, #searchInput:active {
    outline: none;
    animation: glowingEffect 1.5s infinite alternate;
}

@keyframes glowingEffect {
    0% {
        box-shadow: 0 0 10px rgba(255, 81, 47, 0.4),
                    0 0 20px rgba(255, 126, 0, 0.4),
                    0 0 30px rgba(240, 152, 25, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 81, 47, 0.7),
                    0 0 30px rgba(255, 126, 0, 0.7),
                    0 0 40px rgba(240, 152, 25, 0.7),
                    0 0 50px rgba(255, 193, 0, 0.7);
    }
}

.table-wrapper {
    max-height: 600px; /* Adjust this value to fit approximately 20 rows */
    overflow-y: auto;
    margin-top: 40px; /* Add space for the search bar */
}

#companyTable {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#companyTable th, #companyTable td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#companyTable th {
    background-color: #ffc100;
    color: white;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
}

#companyTable tr:nth-child(even) {
    background-color: #f8f8f8;
}

#companyTable tr:hover {
    background-color: #f0f0f0;
}

/* Footer  */

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer a {
    color: #ffc100;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffdb70;
    text-decoration: underline;
}

/* Keep the original button styles */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.glow-button {
    padding: 15px 30px;
    font-size: 18px;
    color: #333;
    background-color: white;
    border: 2px solid #ffc100;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-body {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-left,
.modal-right {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.modal-left {
    justify-content: center; /* Center the button vertically */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.upload-button {
    width: 100%;
    height: 100%; /* Make the button fill the entire height of its container */
    padding: 15px;
    font-size: 16px;
    background-color: white;
    color: #333;
    border: 2px solid #ffc100;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.upload-button:hover {
    background-color: #ffc100;
    color: white;
}

.modal-right h2 {
    margin-top: 0; /* Remove top margin to align with the upload button */
    margin-bottom: 15px;
}

.modal-right input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal-footer {
    text-align: center;
}

.submit-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #ffc100;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #e6b000;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-left,
    .modal-right {
        width: 100%;
        margin-bottom: 20px;
    }

    .upload-button {
        height: auto; /* Reset height for mobile */
        padding: 15px;
    }
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 8px;
    margin-bottom: 10px;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
}

.job-listing {
    /* border: 1px solid #ddd; */
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.upload-note {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.modal-left {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hiringFileName {
    margin-top: 10px;
    font-size: 0.9em;
    color: #333;
    word-break: break-all;
}

.modal-left {
    padding: 20px;
    /* border: 2px dashed #ccc; */
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-left.drag-over {
    background-color: rgba(0, 0, 0, 0.1);
    /* border-color: #666; */
}

.upload-note {
    font-size: 0.8em;
    color: #666;
    margin-top: 10px;
}


#jobRoleFilter {
    display: none;
  }