/* Base Styles - Apply to all pages */
html {
    scroll-behavior: smooth; /* Add smooth scrolling */
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* Assuming Montserrat is the primary font based on Figma */
    color: #252B42; /* Default text color */
    background-color: #FFFFFF; /* Default background */
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700; /* Bold headings */
}

a {
    text-decoration: none;
    color: #007AFF; /* Default link color, adjust as needed */
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1050px; /* Common container width from Figma */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Add Keyframes for subtle background zoom */
@keyframes subtleZoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}

/* Add Keyframes for breathing effect */
@keyframes breathingEffect {
    0% { opacity: 1; }
    50% { opacity: 0.85; } /* Adjust opacity value for desired effect */
    100% { opacity: 1; }
}

/* Add Keyframes for text bounce effect */
@keyframes textBounce {
  0%, 20%, 80%, 100% { /* Adjusted keyframes for opacity */
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateY(-2px); /* Subtle upward bounce */
    opacity: 0.7; /* Reduce opacity at peak */
  }
  60% {
    transform: translateY(-1px);
    opacity: 0.85; /* Start restoring opacity */
  }
}

/* Common Button Styles */
.btn {
    display: inline-block;
    padding: 10px 30px; /* Adjust padding as needed */
    border: none;
    border-radius: 5px; /* Default border radius */
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Added transform & shadow */
}

.btn:hover {
    transform: scale(1.05); /* Slight scale up on hover */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Enhance shadow */
}

.btn-primary {
    background-color: #007AFF;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker shade for hover */
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #00A0C1; /* Outline color from Figma */
    color: #00A0C1;
}

.btn-outline:hover {
    background-color: #00A0C1;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-round {
    border-radius: 37px; /* Rounded button style from Figma */
}

/* Common Header Styles */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Add container if needed */
}

.navbar-brand img {
    height: 40px; /* Adjust logo height */
    width: auto;
}

.navbar-nav {
    list-style: none;
    padding: 5px 15px; /* Added padding for shared background */
    margin: 0;
    display: inline-flex; /* Changed to inline-flex for shared background */
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8); /* Moved background here */
    border-radius: 8px; /* Moved border-radius here */
}

.nav-item {
    margin-left: 21px; /* Restored spacing between links */
    /* Removed background properties from individual items */
    /* background-color: rgba(255, 255, 255, 0.8); */
    /* border-radius: 8px; */
    /* padding: 2px 8px; */
    /* transition: background-color 0.3s ease; */
}

.nav-item:first-child {
    margin-left: 0; /* Remove margin from the first item inside the container */
}

/* Remove background hover from individual item */
/*
.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.95);
}
*/

.nav-link {
    font-weight: 600;
    font-size: 14px;
    color: #737373; /* Default nav link color */
    position: relative; /* Needed for pseudo-element */
    /* padding-bottom: 5px; */ /* Removed for background */
    transition: color 0.3s ease;
    padding: 5px 0; /* Adjust vertical padding if needed */
}

/* Remove underline effect */
/*
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #007AFF; 
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%; 
    left: 0;
}
*/

.nav-link:hover,
.nav-link.active {
    color: #007AFF; /* Active/hover color */
    text-decoration: none; /* Remove default underline */
}

/* Common Footer Styles */
.main-footer {
    background-color: #FAFAFA; /* Light background for the top part */
    padding-top: 40px;
}

.footer-cta {
    background-color: #FAFAFA;
    padding: 40px 0;
}

.footer-cta .container {
    display: flex;
    justify-content: space-between; /* Align items to sides */
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 20px; /* Add gap for wrapping */
}

.footer-cta-content {
    text-align: left; /* Align text to left */
    flex-basis: 50%; /* Adjust basis */
    flex-grow: 1;
}

.footer-cta-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.33;
    letter-spacing: 0.1px; /* Approximated */
    color: #252B42;
    margin-bottom: 10px;
}

.footer-cta-content p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: 0.2px; /* Approximated */
    color: #737373;
    margin: 0;
}

.footer-cta-button {
    text-align: right; /* Align button to right */
    flex-basis: auto; /* Allow button to take its own width */
}

.footer-cta-button .btn {
    padding: 15px 40px; /* Specific padding from Figma */
    border-radius: 5px;
}

/* Main Footer Content */
.footer-content {
    background-color: #16697A;
    color: #FFFFFF;
    padding: 50px 0;
}

.footer-content .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px; /* Gap between columns */
}

.footer-col {
    flex: 1; /* Allow columns to grow */
    min-width: 200px; /* Minimum width for wrapping */
}

.footer-col.company-info {
    flex-basis: 40%; /* Give more space to company info */
}

.footer-col.links {
    flex-basis: 20%; /* Adjust basis for link columns */
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1px; /* Approximated */
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.71;
    letter-spacing: 0.2px; /* Approximated */
    color: #FFFFFF;
    display: block; /* Make links block for easier spacing */
    margin-bottom: 5px; /* Space between lines/links */
}

.footer-col a {
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer-col a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mt-80 { margin-top: 80px; }
.pt-50 { padding-top: 50px; }
.pb-50 { padding-bottom: 50px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }

/* Section Specific Styles will go below */

/* --- Index Page: Hero Section --- */
.hero-section {
    position: relative;
    height: 800px; /* Adjust height as needed based on content/design */
    display: flex;
    align-items: center;
    color: #252B42; /* Text color on hero */
    /* background-image: url('../cover_252_367.png'); */ /* Removed static background image */
    background-color: #f0f0f0; /* Optional: Add a fallback background color */
    background-size: cover;
    background-position: center;
    padding-top: 100px; /* Adjust padding considering header height */
    overflow: hidden; /* Prevent background overflow */
}

/* Remove ::before overlay styles */
/*
.hero-section::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../generated_image_1_255_18.png'); 
    background-color: rgba(255, 255, 255, 0.94); 
    background-size: cover; 
    background-position: center;
    z-index: 1;
}
*/

.hero-section .hero-bg-animated {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../cover_252_367.png');
    background-size: 100% auto;
    background-position: center;
    animation: subtleZoom 40s infinite alternate linear, breathingEffect 8s infinite ease-in-out; /* Apply BOTH animations */
    z-index: 0;
}

/* Add styles for the video overlay */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire section */
    z-index: 1; /* Position it above the main background (if any), but below content */
    /* Add opacity if needed, e.g., opacity: 0.9; */
    opacity: 0.3; /* Set video opacity to 30% */
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
    display: flex; /* Using flex for layout based on Figma */
    justify-content: space-between; /* Adjust based on Figma layout */
    align-items: center;
}

.hero-content {
    max-width: 521px; /* Width from Figma */
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.38;
    letter-spacing: 0.2px; /* Approximated from 0.34% */
    margin-bottom: 35px;
    /* Remove animation from H1 itself */
    /* animation: textBounce 2.5s infinite ease-in-out; */
}

.hero-content h1 span {
    display: inline-block; /* Allows transform */
    position: relative; /* Optional: if needed for other effects */
    animation: textBounce 1.5s infinite ease-in-out; /* Apply bounce to spans */
    animation-delay: var(--delay); /* Use the custom property from inline style */
}

.hero-content h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px; /* Approximated from 1% */
    color: #737373;
    margin-bottom: 35px;
}

.hero-cta {
    display: flex;
    gap: 10px;
}

/* --- Index Page: Shared Header Styles --- */
/* Making header specific styles if they differ per page */
.index-header .nav-link {
    color: #737373; /* Specific nav link color for index */
}

.index-header .nav-link:hover,
.index-header .nav-link.active {
    color: #007AFF; /* Specific active/hover color for index */
}

/* --- Index Page: Testimonials Section --- */
.testimonials-section {
    background-color: #FAFAFA; /* Section background color */
    padding: 80px 0; /* Padding from Figma */
}

.section-header {
    text-align: center;
    margin-bottom: 45px; /* Space below header */
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.425;
    letter-spacing: 0.2px; /* Approximated */
    color: #252B42;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: 0.2px; /* Approximated */
    color: #737373;
    max-width: 100%; /* Limit width for better readability */
    margin: 0 auto; /* Center the paragraph */
}

.testimonials-grid {
    display: flex;
    justify-content: center; /* Center items if fewer than max */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px; /* Gap between cards */
}

.testimonial-card {
    background-color: #FFFFFF; /* Card background */
    width: calc(25% - 22.5px); /* Adjust width for 4 cards with gap (30px * 3 / 4 = 22.5px) */
    min-width: 230px; /* Minimum width from Figma */
    max-width: 240px; /* Max width observed */
    text-align: center; /* Center text within the card */
    border-radius: 5px; /* Optional: Add slight rounding */
    overflow: hidden; /* Ensure image fits */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02); /* Lift and slightly scale card */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12); /* Enhance shadow */
}

.testimonial-content {
    padding: 30px;
    flex-grow: 1; /* Allow content to fill space */
}

.testimonial-content h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1px; /* Approximated */
    color: #252B42;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: 0.2px; /* Approximated */
    color: #737373;
    text-align: left; /* Align paragraph text left */
}

.testimonial-media {
    width: 100%; /* Make media container full width of card */
    padding-top: 56.25%; /* Aspect ratio for image container (adjust if needed) */
    position: relative;
}

.testimonial-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area */
}

/* --- Index Page: Company Stats Section --- */
.company-stats-section {
    background-color: #FAFAFA; /* Section background color */
    padding: 80px 0; /* Padding from Figma */
}

/* Reusing .section-header styles */

.stats-grid {
    display: flex; /* Uses flexbox */
    justify-content: space-between; /* Distributes space between items */
    gap: 20px; /* Reduced Gap between cards */
    flex-wrap: wrap; /* Allows wrapping if container is too small */
}

.stat-card {
    background-color: #FFFFFF;
    padding: 30px 20px; /* Reduced horizontal Padding inside the card */
    text-align: center;
    flex: 1; /* Allows cards to grow and shrink */
    min-width: 200px; /* Minimum width before wrapping */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow */
    border-radius: 5px; /* Optional rounding */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02); /* Lift and slightly scale card */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12); /* Enhance shadow */
}

.stat-card .icon {
    margin-bottom: 10px;
    /* Adjust icon size if needed */
    height: 72px; /* Height from Figma */
    width: 72px; /* Width from Figma */
    display: inline-block;
}

.stat-card .icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.stat-card h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.425;
    letter-spacing: 0.2px; /* Approximated */
    color: #252B42;
    margin-bottom: 10px;
}

.stat-card h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1px; /* Approximated */
    color: #737373;
}

/* --- Index Page: Contact Section --- */
.contact-section {
    background-color: #F3F3F3; /* Section background color */
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px; /* Larger gap from Figma */
}

.contact-card {
    background-color: #FFFFFF; /* Card background */
    padding: 50px 40px;
    text-align: center;
    width: 328px; /* Width from Figma */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow */
    border-radius: 5px; /* Optional rounding */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02); /* Lift and slightly scale card */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12); /* Enhance shadow */
}

.contact-card .icon {
    margin-bottom: 15px;
    height: 72px; /* Icon size */
    width: 72px;
    display: inline-block;
}

.contact-card .icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.contact-card h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.71;
    letter-spacing: 0.2px; /* Approximated */
    color: #252B42;
    margin: 0; /* Remove default margins */
}

/* Adjust email link style */
.contact-card a {
    color: #252B42; /* Match text color */
    text-decoration: none;
}

.contact-card a:hover {
    color: #007AFF; /* Link hover color */
    text-decoration: underline;
}

/* --- About Page Specific Styles --- */
.about-header {
    position: static; /* Header is not absolute on this page */
    background-color: #FFFFFF; /* White background */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* Adjust nav link colors for about page header */
.about-header .nav-link {
    color: #737373;
}

.about-header .nav-link:hover,
.about-header .nav-link.active {
    color: #007AFF;
}

.about-main-section {
    padding: 100px 0; /* Padding from Figma */
    background-color: #FFFFFF;
}

/* Reusing .section-header from index */
.about-main-section .section-header {
    margin-bottom: 100px; /* Increased margin from Figma */
}

.about-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 120px; /* Gap from Figma */
    margin-bottom: 100px; /* Space between rows */
    flex-wrap: wrap; /* Allow wrapping */
}

.about-row:last-child {
    margin-bottom: 0;
}

/* Style for alternating image/text layout */
.about-row:nth-child(even) .about-image {
    order: 2; /* Image on the right for even rows */
}
.about-row:nth-child(even) .about-text {
    order: 1; /* Text on the left for even rows */
}


.about-image {
    flex-basis: calc(60% - 60px); /* Adjust basis considering gap */
    min-width: 300px; /* Minimum width for wrapping */
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #DEDEDE; /* Border from Figma */
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.03);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex-basis: calc(40% - 60px); /* Adjust basis */
    min-width: 300px;
    padding: 20px 0; /* Vertical padding from Figma */
}

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.425;
    letter-spacing: 0.2px; /* Approximated */
    color: #252B42;
    margin-bottom: 40px; /* Space below title */
}

.about-text p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.2px; /* Approximated */
    color: #737373;
    white-space: pre-line; /* Preserve line breaks from Figma text */
}

/* --- Job Page Specific Styles --- */
.job-header {
    position: static; /* Header is not absolute on this page */
    background-color: #FFFFFF;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.job-header .nav-link {
    color: #737373;
}

.job-header .nav-link:hover,
.job-header .nav-link.active {
    color: #007AFF;
}

.job-listings-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

/* Reusing .section-header */
.job-listings-section .section-header {
    margin-bottom: 100px;
}

.job-listings-grid {
    display: flex;
    flex-direction: column; /* Stack job cards vertically */
    gap: 20px; /* Gap between cards */
    max-width: 1050px; /* Match container width */
    margin: 0 auto; /* Center the grid */
}

.job-card {
    background-color: rgba(118, 118, 128, 0.12); /* Background from Figma */
    padding: 20px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
}

.job-card:hover {
    transform: translateY(-5px) scale(1.02); /* Lift and slightly scale card */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12); /* Enhance shadow */
}

.job-card h3 {
    font-family: 'PingFang SC', sans-serif; /* Specific font from Figma */
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: #090909;
    margin-bottom: 10px;
}

.job-card .job-description {
    padding: 10px; /* Inner padding for description */
}

.job-card .job-description p {
    font-family: 'PingFang SC', sans-serif; /* Specific font from Figma */
    font-weight: 600; /* Semibold in Figma */
    font-size: 20px;
    line-height: 1.4;
    color: rgba(27, 31, 38, 0.72); /* Text color from Figma */
    white-space: pre-line; /* Preserve line breaks */
    margin: 0;
}

/* --- Job Page: Application Form Section --- */
.application-form-section {
    padding: 60px 0; /* Padding from Figma */
    background-color: #FFFFFF; /* Or adjust if different */
}

.application-form-container {
    max-width: 800px; /* Adjust width as needed */
    margin: 0 auto;
    padding: 40px; /* Inner padding */
    text-align: center;
    /* Add background/border if needed based on Frame 399 */
    /* background-color: #FAFAFA; */ /* Example */
    /* border-radius: 20px; */
}

.application-form-container h2 {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.4;
    color: #007AFF; /* Blue color from Figma */
    margin-bottom: 34px;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 18px; /* Gap between fields */
}

.form-group {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 122, 255, 0.15); /* Border from Figma */
    border-radius: 6px;
    padding: 10px;
}

.form-group label {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3); /* Label color */
    min-width: 80px; /* Ensure consistent label width */
    text-align: left;
    margin-right: 10px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"], /* Assuming email might be needed */
.form-group select {
    flex-grow: 1;
    border: none;
    outline: none;
    background-color: transparent;
    font-family: 'PingFang SC', sans-serif;
    font-size: 16px;
    color: #090909; /* Input text color */
    padding: 0;
    margin: 0;
    height: 1.4em; /* Match line-height approx */
    line-height: 1.4em;
    /* Appearance and arrow styles moved to select-specific rule below */
}

/* Apply arrow and appearance removal ONLY to select */
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007AFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 10px;
    padding-right: 30px; /* Make space for the arrow */
}

/* Target IE/Edge to remove default arrow */
.form-group select::-ms-expand {
    display: none;
}

/* Ensure the placeholder option color matches label color */
.form-group select:required:invalid {
    color: rgba(0, 0, 0, 0.3);
}
.form-group option {
    color: #090909; /* Standard option color */
}
.form-group option[value=""][disabled] {
    color: rgba(0, 0, 0, 0.3); /* Placeholder option color */
    /* display: none; */ /* Optionally hide placeholder after selection */
}

/* Style for file input */
.form-group.file-input {
    justify-content: space-between;
    align-items: center; /* Vertically align items */
}

.form-group.file-input > div {
    display: flex;
    align-items: center;
}

.form-group.file-input label:first-child {
    min-width: auto; /* Reset min-width for the '附件简历' label */
}

.file-input-label {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #007AFF; /* Blue color for the clickable text */
    cursor: pointer;
    text-decoration: underline;
    display: inline-block; /* Ensure it behaves like a button */
}

#file-name-display {
    font-family: 'PingFang SC', sans-serif;
    font-size: 14px; /* Slightly smaller font for filename */
    color: #555; /* Color for the filename */
    max-width: 200px; /* Prevent very long filenames from breaking layout */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle; /* Align with button/label */
}

.delete-btn {
    background-color: #ff4d4f; /* Red background */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 5px; /* Space between filename and button */
    vertical-align: middle; /* Align with filename/label */
}

.delete-btn:hover {
    background-color: #d9363e; /* Darker red on hover */
}

.submit-btn {
    background-color: #007AFF;
    color: #FFFFFF;
    font-family: 'PingFang MO', sans-serif; /* Specific font */
    font-weight: 600;
    font-size: 23px;
    line-height: 1.4;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    width: 100%; /* Make button full width */
    margin-top: 20px; /* Add some space above the button */
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* --- Responsive Navigation Styles --- */
.navbar-toggler {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.navbar-toggler .toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #252B42; /* Icon color, adjust if needed */
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Media Query for Mobile */
@media (max-width: 767px) { /* Adjust breakpoint as needed */
    .navbar-nav {
        display: none; /* Hide nav links by default on mobile */
        position: absolute;
        top: 70px; /* Position below header, adjust as needed */
        left: 0;
        width: 100%;
        background-color: #FFFFFF; /* Reset background for mobile menu */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 10px 0; /* Reset padding for mobile menu */
        z-index: 999;
        border-radius: 0; /* Reset border-radius */
        /* display remains none/flex based on nav-open */
    }

    .navbar-nav.nav-open {
        display: flex; /* Show when open */
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
        /* background-color: transparent; */ /* Already removed */
        /* padding: 0; */ /* Already removed */
    }

    /* Remove hover effect styles if any were added for nav-item */
    /*
    .nav-item:hover {
        background-color: transparent;
    }
    */

    .nav-link {
        padding: 10px 15px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar-toggler {
        display: block; /* Show toggler on mobile */
    }

    /* Adjust header padding on mobile if needed */
    .main-header .container {
        /* Example: Adjust padding if logo/toggler alignment is off */
        /* padding-left: 10px; */
        /* padding-right: 10px; */
    }
}

/* Add styles for the active toggler (optional - e.g., cross icon) */
.navbar-toggler.active .toggler-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.active .toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .toggler-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Ensure index page absolute header behaves on mobile */
.index-header {
    /* You might need to adjust positioning or background for mobile */
    /* position: static; or add a background color */
}

/* --- Scroll Animation Base Styles --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.clickable-job {
    cursor: pointer;
}

/* Style for the apply button within job cards */
.btn-apply-job {
    padding: 6px 12px; /* Smaller padding */
    font-size: 12px; /* Smaller font size */
    margin-top: 15px; /* Space above the button */
    display: block; /* Make it block to allow margin auto */
    margin-left: auto; /* Push button to the right */
    width: fit-content; /* Button width fits content */
} 