/* General Styles */
body {
    font-family: 'Rockford Sans', sans-serif; /* Ensure a fallback font */
    font-size: 1rem;
    background-image: url('bgcolor.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@supports (-webkit-touch-callout: none) {
    body {
        font-weight: 400; /* Adjust as needed */
		font-family: 'Rockford Sans', sans-serif; /* Ensure a fallback font */
		font-size: 1rem;
    }
}

.burger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Side Menu Styling */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Initially position it completely off the right side of the screen */
    width: 300px;
    height: 100%;
    background-image: url('bgcolor.png'); /* Replace with the path to your image */
    background-size: cover; /* Make the image cover the entire side menu */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    color: white;
    z-index: 99;
    transition: right 0.3s ease; /* Use right instead of left to open from the right */
    padding: 20px;
    box-sizing: border-box;
}

.side-menu ul {
    list-style: none;
    padding: 0;
}

.side-menu ul li a:hover {
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.side-menu ul li {
    margin: 20px 0;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
}

/* Show the side menu when open */
.side-menu.open {
    right: 0;
}

/* Full-width image style */
.full-width-image {
    width: 100%; /* Set the width to 100% to cover the entire width of the container */
    height: 300px; /* Adjust the height as needed */
    overflow: hidden;
    border-radius: 10px; /* Keep the rounded corners */
    margin: 0; /* Remove any extra margins */
    padding: 0; /* Remove any extra padding */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.full-width-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.job-openings-container {
    max-width: 900px;
    margin: 20px auto;
    border-radius: 10px;
}

.main-header {
    text-align: left;
    color: #f4f4f4;
    margin-bottom: 20px;
    margin-top: -40px;
    font-size: 2rem;
}

/* Job Cards */
.job-card, .compact-job-card, .third-job-card, .fourth-job-card, .fifth-job-card, .sixth-job-card {
    background-color: #f4f4f4;
    color: #000;
    padding: 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding-top: 0;
}

.job-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.header-details {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: -10px;
}

.header-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #0b2c48;
    margin: 0 10px;
}

.header-item i {
    margin-right: 5px;
}

.apply-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 15px;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #357ab8;
}

.job-description {
    padding-top: 0;
    font-size: 1rem;
}

.short-description, .full-description {
    margin-bottom: 5px;
    font-size: 1rem;
}

.full-description {
    display: none;
}

.full-description ul {
    list-style-type: none;
    padding-left: 20px;
    position: relative;
}

.full-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: #000000;
}

.full-description li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgb(0, 0, 0);
}

.toggle-link {
    color: #0066ff; /* Set the text color */
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex; /* Use flex to align text and icon */
    align-items: center; /* Vertically align the icon */
    text-decoration: none; /* Remove the underline */
    font-weight: bold; /* Make the text bold */
    text-transform: uppercase; /* Make text all caps */
    padding: 8px 12px; /* Equal padding on all sides */
    transition: color 0.3s; /* Smooth transition for hover effect */
    margin-left: -1px; /* Smooth transition for hover effect */
}

.toggle-link:hover {
    color: darkblue; /* Change text color on hover */
}

.toggle-link:hover .toggle-text {
    text-decoration: underline; /* Underline only the text on hover */
    color: darkblue; /* Change text color on hover */
}

.arrow-icon {
    margin-left: 5px; /* Space between the text and the arrow */
    margin-top: -5px; /* Space between the text and the arrow */
    font-size: 1.5rem; /* Increase the size of the arrow */
    transition: transform 0.3s; /* Smooth transition for rotation */
}

.arrow-icon.show-less {
    transform: rotate(180deg); /* Rotate arrow to point up for "Show Less" */
}

.toggle-link.open .arrow-icon {
    transform: rotate(90deg); /* Rotate the arrow when the link is toggled */
}

.details {
    display: flex;
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-right: 30px;
}

.detail-item i {
    margin-right: 10px;
    font-size: 1rem;
}

.compact-job-card {
    background-color: #ffe7e0;
    color: #333;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-top: 0;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.tag {
    background-color: #D4F6FF;
    color: #000000;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.95rem;
    margin-left: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    display: flex; /* To align icon and text properly */
    align-items: center; /* Vertically align icon and text */
}

.tag i {
    margin-right: 8px; /* Adjust this value as needed for the desired spacing */
}

.job-salary-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.job-salary {
    font-weight: bold;
    font-size: 1rem;
}

.job-card-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.third-job-card, .compact-job-card {
    flex: 1;
    margin-right: 10px;
}

.third-job-card {
    margin-right: 0;
}

.third-job-card {
    background-color: #ffe7e0;
    color: #333;
    padding: 20px;
    border-radius: 10px;
}

.third-job-header h2 {
    margin: 0;
    padding: 5px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.third-job-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.apply-now {
    background-color: #0066ff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    align-self: flex-end;
}

.apply-now:hover {
    background-color: #0051cc;
}

.fourth-job-card {
    background-color: #fff;
    color: #000;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1.5rem;
}

.header-details {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
}

.fifth-job-card {
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    margin-bottom: 20px;
}

.fifth-job-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fifth-job-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #0b2c48;
}

.company-name {
    font-size: 1rem;
    color: #666;
    font-weight: bold;
}

.qualifications h3 {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 15px;
	margin-left: 10px;
}

.qualifications ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-left: 20px;
    margin-bottom: 5px;
    padding-left: 0;
}

.qualifications li {
    font-size: 1rem;
    color: #000000;
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
	margin-left: 5px;
}

.qualifications li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
	margin-left: 5px;
}

.sixth-job-card {
    background-color: #f4f4f4;
    color: #000;
    padding: 8px 12px; /* Equal padding on all sides */
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
}

.sixth-job-header {
	margin-left: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sixth-job-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #000000;
    font-weight: 500;
	margin-bottom: -10px;
	margin-top: 5px;
	margin-left: 5px;
}

.header {
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    max-width: 100%;
    box-sizing: border-box;
}

.header nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

.header nav ul li {
    display: inline;
    margin: 0 15px;
}

.header nav ul li a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.footer {
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.logo {
    width: auto;
    height: auto;
    margin-right: 24px;
    margin-left: -15px;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    min-height: 89.9vh; /* Full viewport height */
}

.intro-section {
    margin: 20px 0;
}

.intro-content {
    margin: 0;
    padding: 10px;
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 2.5rem;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: aliceblue;
    margin-top: -300px;
    margin-left: 10px;
}

.join-us-header {
    font-size: 3.5rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.sub-header {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 10px;
}

.intro-content p {
    font-size: 1.2rem;
    color: #ffffff;
    padding-right: 0px;
    margin-left: 10px;
}

.intro-image img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}


.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
}

.navbar li {
    margin: 0 15px;
    white-space: nowrap;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
}

.navbar a:hover {
    color: #00A3E0;
}

.navbar li:not(:last-child)::after {
    content: '|';
    margin-left: 10px;
    margin-right: -20px;
    color: #ffffff;
    font-size: 1rem;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.line-break {
    border-top: 0.005px solid #ccc;
    margin: 15px 0;
}

.job-section-title {
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    color: #000000;
    display: block;
    margin-top: 10px;
    margin-left: 10px;
}

#no-jobs-message {
    color: #ffffff; /* White text to match your theme */
    text-align: left;
    font-size: 1.2rem;
    margin: 20px auto; /* Center the message horizontally */
}

/* Responsive Styles */
@media (max-width: 930px) {
	
	body {
		margin-left: -10px; /* Center horizontally */
    	font-family: 'Rockford Sans', sans-serif; /* Ensure a fallback font */
		font-size: 1rem;
		background-image: url('bgcolor.png');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	    -webkit-font-smoothing: antialiased;
    	-moz-osx-font-smoothing: grayscale;
	}
	
@supports (-webkit-touch-callout: none) {
	body {
		font-weight: 400; /* Adjust as needed */
		font-family: 'Rockford Sans', sans-serif; /* Ensure a fallback font */
		font-size: 1rem;
	}
}
	
	.qualifications h3 {
		font-size: 1rem;
		color: #000000;
		margin-bottom: 15px;
	}
	
	.job-section-title {
		font-family: inherit;
		font-size: inherit;
		font-weight: bold;
		color: #000000;
		display: block;
		margin-top: 10px;
	}

    .burger-menu {
        display: flex;
        align-items: center;
        position: absolute;
        right: 20px; /* Adjust this value to control how far from the right you want the icon */
        top: 20px; /* Adjust this value as needed for vertical positioning */
    	margin-top: 5px;
    }
	
	.navbar {
        display: none;
    }
	
	.full-width-image {
		width: calc(100% - 20px); /* Keep padding on mobile to prevent image touching edges */
		height: 200px;
		margin-left: 10px;
    }
	
    .header {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Align items to the left */
        padding: 10px;
        text-align: left;
        box-sizing: border-box;
        width: calc(100% - 30px); /* Match the intro image width */
        margin: 0 auto; /* Center horizontally */
        margin-top: 10px;
        position: relative; /* Ensure positioning within the header */
    }
	
	.header-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px; /* Reduce the gap to better fit in mobile view */
        margin-left: 0; /* Align properly in mobile view */
    }

    .tag {
        width: auto;
        text-align: left; /* Align tags to the left for better readability */
		margin-left: 0px;
		margin-bottom: 0px;
	}

    .logo {
        width: auto;
        margin-bottom: 10px;
        margin-left: -20px;
    }

    .full-width-image {
        height: 200px;
    }

    .intro-content {
        padding: 10px;
        text-align: left;
    }

    .intro-content h2 {
        font-size: 1.5rem;
        margin-top: -200px;
    }

    .sub-header {
        font-size: 1.2rem;
    }

	.main-header {
		text-align: left;
		color: #f4f4f4;
		margin-bottom:25px;
		margin-top: -50px;
		margin-left: 0px;
		font-size: 2rem;
	}

    .job-openings-container {
        margin: 10px auto;
        padding: 10px;
    }

	.sixth-job-card {
		background-color: #f4f4f4;
		color: #000;
		padding: 20px; /* Ensure equal padding on all sides */
		margin-bottom: 20px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
		border-radius: 10px;
		font-size: 1rem;
	}

    .sixth-job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-details {
        justify-content: flex-start;
        text-align: left;
    }

    .job-title {
        font-size: 1.4rem;
    }

    .tag {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
	
	.apply-now {
		background-color: #0066ff;
		color: #fff;
		border: none;
		padding: 8px 15px;
		font-size: 1rem;
		cursor: pointer;
		border-radius: 4px;
		transition: background-color 0.3s;
		margin-top: 10px;
		margin-bottom: 10px;
		align-self: flex-end;
	}
	
	.apply-now:hover {
		background-color: #0051cc;
	}

    .footer {
        font-size: 0.9rem;
	    padding: 10px 0;
		text-align: center;
    }
	#no-jobs-message {
		color: white; /* White text to match your theme */
		text-align: left;
		font-size: 1.2rem;
		margin-left: 10px;
		margin-top: -20px;
	}
	.arrow-icon {
		margin-left: 5px; /* Space between the text and the arrow */
		margin-top: 0px; /* Space between the text and the arrow */
		font-size: 1.5rem; /* Increase the size of the arrow */
		transition: transform 0.3s; /* Smooth transition for rotation */
	}
}
