/* Custom CSS for Company Website */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #133bbd;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease-in-out;
}

/* ===== Global Styles ===== */
body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #0056b3;
}

.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ===== Top Contact Bar ===== */
.top-contact-bar {
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
}

.top-contact-bar small {
    font-weight: 500;
}

.flag-icon {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.flag-icon:hover {
    transform: scale(1.1);
}

.language-switcher {
    cursor: pointer;
}

/* ===== Navigation Styles ===== */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.sticky-top {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-container .logo-circle {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-circle {
    transform: scale(1.05);
}

.logo-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.brand-text .company-name {
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.brand-text .company-acronym {
    line-height: 1;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    margin: 0 0.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}
.text-success {
    --bs-text-opacity: 1;
    color: #0056b3 !important;
}
.nav-link:hover {
    color: #133bbd !important;
    background-color: rgba(19, 59, 189, 0.05);
}

.nav-link.text-success {
    position: relative;
}

.nav-link.text-success::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #133bbd;
    border-radius: 1px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(19, 59, 189, 0.1);
    color: #133bbd;
}

/* ===== Search Modal ===== */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

.form-control-lg {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.form-control-lg:focus {
    border-color: #133bbd;
    box-shadow: 0 0 0 0.2rem rgba(19, 59, 189, 0.25);
}

/* ===== Responsive Header ===== */
@media (max-width: 991.98px) {
    .top-contact-bar {
        display: none !important;
    }
    
    .navbar-brand .brand-text .company-name {
        font-size: 1rem;
    }
    
    .navbar-brand .brand-text .company-acronym {
        font-size: 1.2rem;
    }
    
    .logo-container .logo-circle {
        width: 40px !important;
        height: 40px !important;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
        margin: 0.2rem 0;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: 1px solid #e9ecef;
        margin-top: 0;
        margin-left: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand .brand-text .company-name {
        font-size: 0.9rem;
    }
    
    .navbar-brand .brand-text .company-acronym {
        font-size: 1.1rem;
    }
    
    .logo-container .logo-circle {
        width: 35px !important;
        height: 35px !important;
    }
    
    .logo-container .logo-circle i {
        font-size: 1rem !important;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ===== Service Cards ===== */
.service-card {
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0056b3, #133bbd);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.95;
}

.service-card .card-body {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card:hover .card-body {
    color: white;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.3);
}

.service-card .service-summary {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    opacity: 0;
    z-index: 3;
    transition: all 0.4s ease;
    color: white;
}

.service-card:hover .service-summary {
    opacity: 1;
}

.service-card:hover .card-body > * {
    opacity: 0;
}

.service-card .fa-4x {
    transition: var(--transition);
}

.service-card:hover .fa-4x {
    transform: scale(1.1);
    color: white !important;
}

/* ===== Why Choose Us Section ===== */
.text-brown {
    color: #8B4513 !important;
}

.vietnam-map-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.vietnam-svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.city-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 0.8rem;
}

.city-marker .city-name {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    color: #333;
    font-weight: 500;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    min-width: 60px;
}

/* ===== News Cards ===== */
.news-card {
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-card .card-img-top {
    transition: var(--transition);
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

/* ===== Consultation Form ===== */
#consultationForm .form-control,
#consultationForm .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

#consultationForm .form-control:focus,
#consultationForm .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* ===== Contact Section ===== */
.contact-item {
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    transition: var(--transition);
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

.social-links .btn {
    width: 50px;
    height: 50px;
    transition: var(--transition);
}

.social-links .btn:hover {
    transform: translateY(-3px);
    background-color: #28a745;
    border-color: #28a745;
}

/* ===== About Page Styles ===== */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.breadcrumb-item a {
    color: #133bbd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #28a745;
}

.section-title {
    border-left: 4px solid #28a745;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

/* ===== Timeline Styles ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #28a745, #20c997);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

.timeline-year {
    position: relative;
    z-index: 2;
    margin-right: 2rem;
    flex-shrink: 0;
}

.year-badge {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    position: relative;
}

.year-badge::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #28a745, #20c997);
    z-index: -1;
}

.timeline-content {
    flex: 1;
    margin-top: 1rem;
}

.timeline-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid white;
}

.timeline-title {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.expansion-list {
    margin-top: 1rem;
}

.branch-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.branch-item:last-child {
    border-bottom: none;
}

.branch-item:hover {
    background-color: rgba(40, 167, 69, 0.05);
    padding-left: 0.5rem;
    border-radius: 4px;
}

/* ===== Team Photo Section ===== */
.team-photo-section {
    margin: 2rem 0;
}

.team-photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.team-photo-container img {
    transition: transform 0.3s ease;
}

.team-photo-container:hover img {
    transform: scale(1.02);
}

/* ===== Mission & Vision Cards ===== */
.mission-card, .vision-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(32, 201, 151, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover::before,
.vision-card:hover::before {
    opacity: 1;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.mission-icon, .vision-icon {
    transition: transform 0.3s ease;
}

.mission-card:hover .mission-icon i,
.vision-card:hover .vision-icon i {
    transform: scale(1.1);
}

/* ===== Core Values Section ===== */
.value-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 8px;
}

.value-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.value-item i {
    transition: transform 0.3s ease;
}

.value-item:hover i {
    transform: scale(1.1);
}

/* ===== Statistics Section ===== */
.stats-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 8px;
}

.stats-item:hover {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateY(-5px);
}

/* ===== Responsive Timeline ===== */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .year-badge {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .timeline-card::before {
        display: none;
    }
    
    .timeline-content {
        margin-top: 0;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .team-photo-container img {
        max-height: 300px;
    }
}

/* ===== Process Steps ===== */
.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step {
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
}

/* ===== Stats Counter ===== */
.counter {
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== Contact Form ===== */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

footer a:hover {
    color: var(--primary-color) !important;
    transition: var(--transition);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* ===== Scroll Animations ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Loading Animation ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Service Pages Styles ===== */
.service-item {
    transition: var(--transition);
    margin-bottom: 2rem;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.service-image img {
    transition: var(--transition);
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-meta {
    font-size: 0.875rem;
}

/* Service Detail Pages */
.service-content h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), rgba(19, 59, 189, 0.3));
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(13, 110, 253, 0.3));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-left: 1rem;
}

/* Breadcrumb Styles */
.breadcrumb-item a {
    color: var(--success-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Object fit support for older browsers */
.object-fit-cover {
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

/* Service Standards and Certifications */
.badge {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Sticky sidebar */
.sticky-top {
    z-index: 1020;
}

/* Service list responsive improvements */
@media (max-width: 768px) {
    .service-item .row {
        flex-direction: column;
    }
    
    .service-image {
        height: 200px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .timeline-content {
        margin-left: 0.5rem;
    }
}

/* Enhanced hover effects for service items */
.service-item .btn {
    background: linear-gradient(45deg, var(--success-color), #28a745);
    border: none;
    transition: all 0.3s ease;
}

.service-item .btn:hover {
    background: linear-gradient(45deg, #28a745, var(--success-color));
    transform: translateX(5px);
}

/* Service detail page enhancements */
.service-content .lead {
    color: #495057;
    line-height: 1.8;
}

.service-content .card {
    border-left: 4px solid var(--primary-color);
}

.service-content .card:hover {
    border-left-color: var(--success-color);
}

/* ===== News Pages Styles ===== */
.news-item {
    transition: var(--transition);
    margin-bottom: 2rem;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.news-image img {
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-meta {
    font-size: 0.875rem;
}

.news-item .card-title a:hover {
    text-decoration: underline !important;
}

/* News Detail Page */
.news-detail h1 {
    line-height: 1.3;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.news-content h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.news-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), rgba(19, 59, 189, 0.3));
    border-radius: 2px;
}

.news-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.news-content ul, .news-content ol {
    margin-bottom: 1.5rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

/* Social Sharing */
.social-sharing .btn {
    border-radius: 20px;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* News Pagination */
.pagination .page-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    color: var(--success-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.pagination .page-link:hover {
    background-color: rgba(19, 59, 189, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

/* Related News Sidebar */
.list-group-item-action:hover {
    background-color: rgba(19, 59, 189, 0.05);
}

/* News responsive improvements */
@media (max-width: 768px) {
    .news-item .row {
        flex-direction: column;
    }
    
    .news-image {
        height: 200px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .news-content {
        font-size: 1rem;
    }
    
    .social-sharing .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Enhanced news item hover effects */
.news-item .card-title a {
    transition: all 0.3s ease;
}

.news-item:hover .card-title a {
    color: #28a745 !important;
}

.news-item .text-success.text-decoration-none {
    transition: all 0.3s ease;
}

.news-item .text-success.text-decoration-none:hover {
    transform: translateX(5px);
    color: #28a745 !important;
}

/* News meta styling */
.news-meta {
    background: linear-gradient(135deg, rgba(19, 59, 189, 0.05), rgba(40, 167, 69, 0.05));
}

/* ===== Recruitment Pages Styles ===== */
.job-item {
    transition: var(--transition);
    margin-bottom: 2rem;
}

.job-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.job-image {
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.job-image img {
    transition: var(--transition);
}

.job-item:hover .job-image img {
    transform: scale(1.05);
}

.job-meta {
    font-size: 0.875rem;
}

.job-item .card-title a:hover {
    text-decoration: underline !important;
}

/* Job Detail Page */
.job-detail h1 {
    line-height: 1.3;
}

.job-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.job-content h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.job-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), rgba(19, 59, 189, 0.3));
    border-radius: 2px;
}

.job-content ul {
    margin-bottom: 1.5rem;
}

.job-content li {
    margin-bottom: 0.5rem;
}

/* Apply Section */
.apply-section {
    border-left: 4px solid var(--success-color);
}

.apply-section h3::after {
    display: none;
}

/* Benefits List */
.benefits-list .d-flex {
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.benefits-list .d-flex:hover {
    background-color: rgba(40, 167, 69, 0.05);
    transform: translateX(5px);
}

/* Job Categories Sidebar */
.list-group-item-action:hover {
    background-color: rgba(19, 59, 189, 0.05);
    transform: translateX(3px);
}

.badge {
    font-size: 0.75rem;
}

/* Newsletter Form */
.newsletter form .form-control:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Job responsive improvements */
@media (max-width: 768px) {
    .job-item .row {
        flex-direction: column;
    }
    
    .job-image {
        height: 200px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .job-content {
        font-size: 1rem;
    }
    
    .benefits-list .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-list .d-flex .me-3 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}

/* Enhanced job item hover effects */
.job-item .card-title a {
    transition: all 0.3s ease;
}

.job-item:hover .card-title a {
    color: #28a745 !important;
}

.job-item .text-success.text-decoration-none {
    transition: all 0.3s ease;
}

.job-item .text-success.text-decoration-none:hover {
    transform: translateX(5px);
    color: #28a745 !important;
}

/* Job meta styling */
.job-meta {
    background: linear-gradient(135deg, rgba(19, 59, 189, 0.05), rgba(40, 167, 69, 0.05));
}

/* Contact HR Card */
.card-body .contact-details p {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Apply button animation */
.btn-success.btn-lg {
    background: linear-gradient(45deg, var(--success-color), #28a745);
    border: none;
    transition: all 0.3s ease;
}

.btn-success.btn-lg:hover {
    background: linear-gradient(45deg, #28a745, var(--success-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* ===== Contact Page Styles ===== */
.contact-info-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--box-shadow);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.contact-form .form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form .btn-success {
    background: linear-gradient(45deg, var(--success-color), #28a745);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-form .btn-success:hover {
    background: linear-gradient(45deg, #28a745, var(--success-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-frame {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form validation styles */
.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .form-control.is-valid {
    border-color: var(--success-color);
}

.contact-form .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.contact-form .form-check-input:checked {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.contact-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 1rem;
    }
    
    .contact-form-container,
    .map-container {
        padding: 1.5rem;
    }
    
    .map-frame {
        height: 300px !important;
    }
    
    .contact-form .btn-success {
        width: 100%;
    }
}

/* Animation for contact info cards */
.contact-info-card {
    animation: fadeInUp 0.6s ease-out;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact page specific heading styles */
.contact-form-container h3,
.map-container h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-form-container h3::after,
.map-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), rgba(19, 59, 189, 0.3));
    border-radius: 2px;
}

/* ===== End Contact Page Styles ===== */

/* ===== End Recruitment Pages Styles ===== */

/* ===== End News Pages Styles ===== */

/* ===== End Service Pages Styles ===== */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #ffffff;
        --card-bg: #1e1e1e;
    }
    
    .bg-light {
        background-color: var(--card-bg) !important;
        color: var(--text-color);
    }
    
    .card {
        background-color: var(--card-bg);
        color: var(--text-color);
    }
}

/* ===== Utility Classes ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-primary-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), #0056b3) 1;
}

.shadow-lg-custom {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.rounded-custom {
    border-radius: 1rem;
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        width: 100%;
    }
}