/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4; /* Light background for the page */
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 3D effect */
}

header h1 .highlight {
    color: #28a745; /* Green color for the last two words */
}

header .company-logo {
    max-height: 50px;
    margin-left: 15px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.cta {
    background-color: #ff6347;
    color: #ffffff;
}

/* Dropdown Styles */
.services-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a2a2a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 15;
    top: 100%;
    left: 0;
    width: 200px;
    border-radius: 5px;
}

.services-dropdown:hover .dropdown-content {
    display: block;
}

.services-dropdown .dropdown-content li {
    width: 100%;
}

.services-dropdown .dropdown-content li a {
    padding: 10px 15px;
    display: block;
    color: #cccccc;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.services-dropdown .dropdown-content li a:hover {
    background-color: #ff6347;
    color: #ffffff;
    border-radius: 5px;
}

/* Hero Section */
.career-hero {
    background: linear-gradient(to right, #ff6347, #ff4500);
    color: #fff;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Added shadow for 3D effect */
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-hero:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.career-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.career-hero p {
    font-size: 18px;
}

/* Career Overview Styles */
.career-overview {
    padding: 40px 0;
    background-color: #ffffff;
}

.career-overview .container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
    color: #2c3e50;
}

.career-overview .container p {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.career-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.option {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.option h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 24px;
}

.option p {
    color: #555;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Career CTA Button Styles */
.career-cta {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #ff6347; /* Original button color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.career-cta:hover {
    background-color: #28a745; /* Green color on hover */
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #ff6347;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-info {
    flex: 1;
    text-align: left;
    font-size: 14px;
    margin-bottom: 15px;
}

footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    background-color: #ff6347; /* Orange background */
    border-radius: 3px; /* Square with slight rounding */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

footer .social-icons a:hover {
    background-color: #ff4500;
}

footer .footer-links {
    flex: 1;
    text-align: right;
    margin-bottom: 15px;
}

footer .container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .container ul li {
    margin-bottom: 10px;
}

footer .container ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .container ul li a:hover {
    color: #ffffff;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6347;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: #ffffff;
    color: #ff6347;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position to overlay the entire page */
    z-index: 1000; /* Sit on top of other elements */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Width of the modal */
    max-width: 500px; /* Max width of the modal */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .logo-nav {
        flex-direction: column;
        align-items: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-info,
    footer .footer-links {
        margin-bottom: 15px;
        text-align: center;
    }

    footer .social-icons {
        justify-content: center;
    }

    .career-options {
        grid-template-columns: 1fr;
    }
}

/* Add a pale slight orangish shade on hover over the tiles */
.option:hover {
    background-color: #fdebd0; /* Pale orange shade on hover */
    border-color: #f5cba7; /* Slightly darker orange border */
}

/* Label styles aligned to the top left */
.option {
    position: relative; /* Position relative for the label */
    padding-top: 40px; /* Add padding at the top to prevent overlap with the label */
}

.option .label-green,
.option .label-red {
    position: absolute;
    top: 10px;
    left: 10px; /* Align to the left instead of right */
    background-color: #28a745; /* Green background for No code course */
    color: #fff; /* White text */
    padding: 5px 15px; /* Adjusted padding for better spacing */
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
    z-index: 1; /* Ensure the label is on top */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
}

.option .label-red {
    background-color: #dc3545; /* Red background for Includes coding */
}

.option h3 {
    margin-top: 0;
    font-size: 24px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

/* Darker text on hover */
.option:hover h3 {
    color: #1a1a1a; /* Darker grey color */
}

.option p {
    color: #555;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Style for the new contact button */
.contact-cta-container {
    text-align: center;
    margin-top: 40px;
}

.contact-cta-container p {
    font-size: 18px;
    color: #555;
}

.contact-cta-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #ff6347; /* Initial color */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-cta-button:hover {
    background-color: #28a745; /* Green color on hover */
}
