/* ============================================
   HICOM-Teck See - Complete Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1551A1;
    --primary-dark: #0f3d7a;
    --text-color: #999;
    --heading-color: #363636;
    --footer-bg: #282828;
    --section-bg: #eaeaea;
    --white: #fff;
    --font-body: 'Lato', Arial, Helvetica, sans-serif;
    --font-heading: 'Roboto', Arial, Helvetica, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Animation Utility Classes */
.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.animated.fadeInUp    { animation-name: fadeInUp; }
.animated.fadeInDown  { animation-name: fadeInDown; }
.animated.fadeInLeft  { animation-name: fadeInLeft; }
.animated.fadeInRight { animation-name: fadeInRight; }
.animated.fadeIn      { animation-name: fadeIn; }
.animated.zoomIn      { animation-name: zoomIn; }
.animated.slideInUp   { animation-name: slideInUp; }
.animated.bounceIn    { animation-name: bounceIn; }

.animated.delay-100  { animation-delay: 0.1s; }
.animated.delay-200  { animation-delay: 0.2s; }
.animated.delay-300  { animation-delay: 0.3s; }
.animated.delay-400  { animation-delay: 0.4s; }
.animated.delay-500  { animation-delay: 0.5s; }
.animated.delay-600  { animation-delay: 0.6s; }
.animated.delay-700  { animation-delay: 0.7s; }
.animated.delay-800  { animation-delay: 0.8s; }

.animated.duration-300 { animation-duration: 0.3s; }
.animated.duration-500 { animation-duration: 0.5s; }
.animated.duration-1000 { animation-duration: 1s; }
.animated.duration-1500 { animation-duration: 1.5s; }

/* AOS - Scroll Reveal */
.aos-init {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.aos-init.aos-animate {
    opacity: 1;
    transform: none !important;
}

.aos-init[data-aos="fade-up"] {
    transform: translateY(40px);
}

.aos-init[data-aos="fade-down"] {
    transform: translateY(-40px);
}

.aos-init[data-aos="fade-left"] {
    transform: translateX(-60px);
}

.aos-init[data-aos="fade-right"] {
    transform: translateX(60px);
}

.aos-init[data-aos="zoom-in"] {
    transform: scale(0.8);
}

.aos-init[data-aos="slide-up"] {
    transform: translateY(80px);
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--heading-color);
    padding: 28px 16px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item > a i {
    font-size: 13px;
    margin-left: 5px;
    line-height: 0;
    vertical-align: middle;
}

.nav-item:hover > a,
.nav-item.active > a {
    color: #db2d2e;
}

.nav-item.search-item > a {
    padding: 28px 10px;
    font-size: 16px;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    max-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #f3f3f3;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    color: #323232;
    padding: 7px 20px;
    display: block;
    font-size: 13px;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu li:hover {
    background: #f6f6f6;
}

.dropdown-menu li a:hover {
    color: #db2d2e;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(1,50,100,0.85) 0%, rgba(1,70,140,0.75) 50%, rgba(1,90,170,0.65) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-text-wrapper {
    position: relative;
    display: inline-block;
}

.hero-bg-shape {
    position: absolute;
    top: 50%;
    left: 0;
    width: 500px;
    height: 220px;
    background-color: #015cb1;
    transform: translateY(-50%);
}

.hero-text-inner {
    position: relative;
    z-index: 3;
    padding: 30px 25px 30px 40px;
}

.hero-welcome {
    display: block;
    font-family: 'Open Sans', var(--font-body);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image-col {
    flex: 0 0 40%;
    text-align: center;
}

.about-logo-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-logo-img:hover {
    transform: scale(1.05);
}

.about-text-col {
    flex: 1;
}

.section-label {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-label.light {
    color: rgba(255,255,255,0.7);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 700px;
}

.btn-more {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    font-size: 14px;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.btn-more i {
    margin-left: 6px;
    font-size: 12px;
}

.btn-more:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ============================================
   Services Icons Section
   ============================================ */
.services-icons-section {
    padding: 60px 0;
    background: var(--white);
}

.services-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-icon-box {
    text-align: center;
    padding: 30px 15px;
    background: var(--white);
    transition: all 0.3s ease;
}

.service-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-wrap i {
    font-size: 32px;
    color: var(--white);
}

.service-icon-box a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    display: block;
}

.service-icon-box:hover .icon-wrap {
    background: var(--primary-dark);
}

.service-icon-box:hover a {
    color: var(--primary-color);
}

/* ============================================
   News Section
   ============================================ */
.news-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.news-section .section-header h2 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 5px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(255,255,255,0.2);
}

.news-date {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.news-content h4 {
    margin-bottom: 10px;
}

.news-content h4 a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
}

.news-content h4 a:hover {
    text-decoration: underline;
}

.news-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* ============================================
   Core Services Section
   ============================================ */
.core-services-section {
    padding: 80px 0;
    background: var(--white);
}

.core-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.core-service-item {
    text-align: center;
    padding: 0;
    background: var(--section-bg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.core-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.core-service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.core-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.core-service-item:hover .core-service-image img {
    transform: scale(1.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 20px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 48px;
    color: var(--primary-color);
}

.core-service-item h6 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: 1px;
}

/* ============================================
   News Section - Images
   ============================================ */
.news-item {
    background: rgba(255,255,255,0.1);
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-item:hover {
    background: rgba(255,255,255,0.2);
}

.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    padding: 15px 15px 0 15px;
}

.news-content {
    padding: 10px 15px 25px;
}

/* ============================================
   About Page - Image Layout
   ============================================ */
.about-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-text-content {
    flex: 1;
}

.about-image {
    flex: 0 0 400px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* =============================================
   R&D Design Capabilities Page Styles
   ============================================= */

/* Page Header specific to R&D page */
.rnd-page-header {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                      url('../images/rnd/rnd_header.jpg');
    background-size: cover;
    background-position: center;
}

/* Section Title */
.rnd-section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 16px;
}

.rnd-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d4111e;
    margin: 14px auto 0;
}

/* Wrapper: grid with chart in center */
.rnd-capabilities-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.rnd-center-chart {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rnd-center-chart img {
    max-width: 350px;
    width: 100%;
    height: auto;
}

.rnd-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.rnd-card-tl { grid-column: 1 / 2; grid-row: 1 / 2; }
.rnd-card-tr { grid-column: 3 / 4; grid-row: 1 / 2; }
.rnd-card-bl { grid-column: 1 / 2; grid-row: 2 / 3; }
.rnd-card-br { grid-column: 3 / 4; grid-row: 2 / 3; }

/* =============================================
   Carousel
   ============================================= */
.rnd-carousel-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
}

.rnd-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.rnd-carousel-slide {
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.rnd-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rnd-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s ease;
    z-index: 10;
}

.rnd-carousel-btn:hover {
    background: rgba(212, 17, 30, 0.85);
}

.rnd-carousel-prev {
    left: 10px;
}

.rnd-carousel-next {
    right: 10px;
}

/* Carousel Dots */
.rnd-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.rnd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    padding: 0;
}

.rnd-dot.active {
    background: #d4111e;
}

/* =============================================
   Static Image
   ============================================= */
.rnd-cap-img {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.rnd-cap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =============================================
   Caption Text
   ============================================= */
.rnd-cap-text {
    margin-top: 16px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.65;
    padding: 0 2px;
}

.rnd-cap-text strong {
    font-size: 1rem;
    color: #1a1a1a;
    display: block;
    margin-bottom: 6px;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .rnd-capabilities-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .rnd-center-chart {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .rnd-card-tl { grid-column: 1 / 2; grid-row: 2 / 3; }
    .rnd-card-tr { grid-column: 1 / 2; grid-row: 3 / 4; }
    .rnd-card-bl { grid-column: 1 / 2; grid-row: 4 / 5; }
    .rnd-card-br { grid-column: 1 / 2; grid-row: 5 / 6; }

    .rnd-section-title {
        font-size: 1.5rem;
    }

    .rnd-center-chart img {
        max-width: 250px;
    }
}

/* ============================================
   Product Pages
   ============================================ */

/* Product Banner */
.product-banner {
    margin-bottom: 30px;
    text-align: center;
}

.product-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Product Section Title */
.prod-section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--heading-color);
    margin-bottom: 10px;
    margin-top: 40px;
    font-weight: 500;
    text-align: center;
}

.prod-sub-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--heading-color);
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 400;
    text-align: center;
}

/* HTS Customer Base - Full Width Blue Section */
.hts-customer-section {
    background: var(--primary-color);
    padding: 50px 0;
    margin-top: 50px;
}

.hts-section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

.hts-customer-section .customer-base {
    margin-top: 0;
}

.hts-customer-section .customer-map {
    margin-bottom: 20px;
    text-align: center;
}

.hts-customer-section .customer-map img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.hts-customer-section .customer-logos {
    text-align: center;
    margin-top: 20px;
}

.hts-customer-section .customer-logos img {
    max-width: 100%;
    height: auto;
}

/* Product Category */
.product-category {
    margin-bottom: 40px;
}

.product-category h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 600;
}

/* Product Images Row (for 2-3 images per row) - centered like original */
.product-images-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-images-row .product-img-box {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    text-align: center;
}

/* Product Images Grid (for many small images like Others section) */
.product-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    justify-items: center;
}

.product-images-grid .product-img-box {
    width: 100%;
}

/* Product Image Box - matching original site style */
.product-img-box {
    overflow: hidden;
    display: inline-block;
}

.product-category {
    text-align: center;
}

.product-category h4 {
    text-align: center;
}

.product-img-box img {
    display: block;
    transition: all 0.3s ease;
}

.product-img-box:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.product-images-row .product-img-box img {
    max-height: 250px;
    width: auto;
    height: auto;
}

.product-images-grid .product-img-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Customer Base Section */
.customer-base {
    margin-top: 30px;
}

.customer-map {
    margin-bottom: 20px;
}

.customer-map img {
    width: 100%;
    height: auto;
}

.customer-logos {
    text-align: center;
}

.customer-logos img {
    max-width: 100%;
    height: auto;
}

/* Non-Automotive Intro */
.non-auto-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 900px;
}

/* ============================================
   Clients Section
   ============================================ */
.clients-section {
    padding: 80px 0;
    background: var(--white);
}

.client-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.client-tab {
    padding: 10px 30px;
    background: var(--section-bg);
    color: var(--heading-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.client-tab.active,
.client-tab:hover {
    background: var(--primary-color);
    color: var(--white);
}

.clients-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.clients-logo-img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none !important;
}

.client-extra {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.client-extra img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.client-extra img:hover {
    opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--footer-bg);
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-widget h6 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-contact li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #aaa;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 18px;
}

.footer-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 15px;
}

.footer-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-post-thumb {
    flex: 0 0 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 3px;
}

.footer-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-post-info {
    flex: 1;
}

.footer-post-info a {
    color: #ccc;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.footer-post-info a:hover {
    color: var(--primary-color);
}

.footer-post-info span {
    font-size: 12px;
    color: #888;
}

.footer-post-info span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #888;
}

.subscribe-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    transition: all 0.3s;
}

.subscribe-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links li a {
    color: #888;
    font-size: 13px;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

/* ============================================
   Page Header (Subpages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, rgba(15,61,122,0.85) 0%, rgba(26,107,181,0.85) 50%, rgba(42,143,216,0.85) 100%), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-content {
    padding: 60px 0;
}

.page-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--heading-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-detail-box {
    background: var(--section-bg);
    padding: 0;
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
}

.service-detail-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-detail-box:hover .service-detail-image img {
    transform: scale(1.08);
}

.service-detail-box h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 15px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.service-detail-box ul {
    padding: 0 20px 25px;
}

.service-detail-box ul li {
    font-size: 14px;
    color: var(--text-color);
    padding: 5px 0;
}

.service-detail-box ul li i {
    color: var(--primary-color);
    margin-right: 8px;
}



/* ============================================
   Locations Page
   ============================================ */
.locations-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.locations-info {
    flex: 1;
}

.locations-map {
    flex: 0 0 500px;
}

.location-details {
    list-style: none;
    margin-top: 20px;
}

.location-details li {
    font-size: 14px;
    color: #999;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .services-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .core-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-heading {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item > a {
        padding: 12px 20px;
        color: var(--heading-color);
    }

    .dropdown-menu {
        position: static;
        background: #f8f8f8;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu li a {
        color: #666;
        padding: 8px 30px;
    }

    .dropdown-menu li:hover {
        background: #f0f0f0;
    }

    .services-icons-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-icons-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .core-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hero-section {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-bg-shape {
        width: 320px;
        height: 170px;
    }

    .hero-text-inner {
        padding: 20px 15px;
    }

    .hero-heading {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-welcome {
        font-size: 17px;
        letter-spacing: 4px;
    }

    .hero-text {
        font-size: 15px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image-col {
        flex: 1 1 auto;
        width: 100%;
        max-width: 300px;
    }

    .about-layout {
        flex-direction: column;
    }

    .about-image {
        flex: 1 1 auto;
        width: 100%;
    }

    .rnd-layout {
        flex-direction: column;
    }

    .rnd-image {
        flex: 1 1 auto;
        width: 100%;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-images-row {
        justify-content: center;
    }

    .locations-layout {
        flex-direction: column;
    }

    .locations-map {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* Mobile (max-width: 767px) - Product responsive overrides */
@media (max-width: 767px) {
    .product-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-images-row {
        flex-direction: column;
        align-items: center;
    }

    .product-images-row .product-img-box img {
        max-height: 200px;
        max-width: 100%;
    }

    .prod-sub-title {
        font-size: 26px;
    }

    .product-category h4 {
        font-size: 18px;
    }
}

/* ============================================
   Core Values Page
   ============================================ */
.core-values-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--heading-color);
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

.core-values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    margin-bottom: 50px;
}

.core-values-list h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--heading-color);
    font-weight: 500;
    margin: 0;
}

/* Core Values Icons Row */
.core-values-icons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.core-value-icon-box {
    text-align: center;
    padding: 20px;
}

.core-value-icon {
    margin-bottom: 15px;
}

.core-value-icon i {
    font-size: 50px;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
}

.core-value-desc {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .core-values-icons-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .core-values-list {
        gap: 15px 30px;
    }
}

@media (max-width: 480px) {
    .core-values-icons-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Facilities Page
   ============================================ */
.facilities-section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #000;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: left;
}

.facilities-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #999;
    margin-bottom: 30px;
    text-align: left;
    max-width: 900px;
}

.facilities-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.facilities-col {
    flex: 1;
    min-width: 0;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list li {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    padding: 0;
    line-height: 1.6;
}

.facility-list li i {
    color: #bdbec1;
    margin-right: 8px;
    font-size: 14px;
}

.facility-list .facility-sub {
    padding-left: 22px;
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

/* Manufacturing Equipments Accordion */
.manufacturing-accordion {
    margin-top: 30px;
}

.accordion-button {
    width: 100%;
    background-color: transparent;
    color: #999;
    padding: 15px 20px;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid #d9dadb;
}

.accordion-button:hover {
    color: #333;
}

.accordion-button span {
    display: inline-block;
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    color: #bdbec1;
}

.accordion-content {
    display: block;
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #d9dadb;
}

.accordion-content.hidden {
    display: none;
}

.accordion-content.active {
    display: block;
}

.accordion-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.accordion-table th,
.accordion-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.accordion-table th {
    background-color: #f0f0f0;
    font-weight: 600;
    color: var(--heading-color);
}

.accordion-table tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.accordion-table .total-row {
    font-weight: 600;
    background-color: #f0f0f0;
}

@media (max-width: 767px) {
    .facilities-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .accordion-table {
        font-size: 12px;
    }
    
    .accordion-table th,
    .accordion-table td {
        padding: 8px;
    }
}

/* ============================================
   Management Team Page
   ============================================ */

/* CEO Section - Blue Background */
.mgmt-ceo-section {
    background: var(--primary-color);
    padding: 30px 20px;
    border-radius: 4px;
    margin-bottom: 40px;
    text-align: center;
}

.mgmt-ceo-box {
    display: inline-block;
    text-align: center;
}

.mgmt-ceo-icon {
    margin-bottom: 10px;
}

.mgmt-ceo-icon i {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.83);
    width: 30px;
    height: 30px;
}

.mgmt-ceo-title {
    font-family: var(--font-heading);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.83);
    font-weight: 400;
    margin-bottom: 5px;
}

.mgmt-ceo-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.83);
    margin: 0;
}

/* Management Team Grid */
.mgmt-team-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.mgmt-team-card {
    background: var(--section-bg);
    text-align: center;
    padding: 25px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mgmt-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mgmt-card-icon {
    margin-bottom: 15px;
}

.mgmt-card-icon i {
    font-size: 30px;
    color: var(--text-color);
    width: 30px;
    height: 30px;
}

.mgmt-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--heading-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.mgmt-card-name {
    font-size: 12px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .mgmt-team-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mgmt-ceo-section {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .mgmt-team-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Careers Page
   ============================================ */

/* Hero */
.careers-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(1,50,100,0.9) 0%, rgba(1,70,140,0.85) 50%, rgba(1,90,170,0.8) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.careers-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease forwards;
}

.careers-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.careers-hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.careers-cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.careers-cta-btn i {
    margin-left: 8px;
    font-size: 13px;
}

.careers-cta-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.careers-cta-secondary {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.careers-cta-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Why Join Us Section */
.careers-why-section {
    padding: 80px 0;
    background: var(--white);
}

.careers-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.careers-benefit-card {
    background: var(--section-bg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.careers-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 28px;
    color: #fff;
}

.careers-benefit-card:hover .benefit-icon {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.careers-benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.careers-benefit-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

/* Life at HTS Section */
.careers-life-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: #fff;
}

.careers-life-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.careers-life-text {
    flex: 1;
}

.careers-life-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.careers-life-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 16px;
}

.careers-life-image {
    flex: 0 0 400px;
}

.careers-life-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Teams Section */
.careers-teams-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.careers-teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.careers-team-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.careers-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.careers-team-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.careers-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.careers-team-card:hover .careers-team-image img {
    transform: scale(1.1);
}

.careers-team-info {
    padding: 25px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.careers-team-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.careers-team-info p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

/* Openings Section */
.careers-openings-section {
    padding: 80px 0;
    background: var(--white);
}

.careers-openings-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.careers-openings-content p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 35px;
}

.careers-openings-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Jobs Toolbar */
.jobs-toolbar {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
}

.jobs-search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: stretch;
}

.jobs-search-field {
    flex: 1;
    position: relative;
}

.jobs-search-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 15px;
}

.jobs-search-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--heading-color);
    background: #fff;
    transition: border-color 0.3s;
    outline: none;
}

.jobs-search-input:focus {
    border-color: var(--primary-color);
}

.jobs-search-input::placeholder {
    color: #aaa;
}

.jobs-search-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.jobs-search-btn:hover {
    background: var(--primary-dark);
}

.jobs-search-btn i {
    margin-left: 6px;
    font-size: 13px;
}

.jobs-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.jobs-filter-dropdowns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.jobs-filter-select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: var(--heading-color);
    background: #fff;
    cursor: pointer;
    outline: none;
    min-width: 180px;
    transition: border-color 0.3s;
}

.jobs-filter-select:focus {
    border-color: var(--primary-color);
}

.jobs-clear-btn {
    padding: 10px 18px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.jobs-clear-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Resume Upload Prompt */
.jobs-resume-prompt {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
    border: 1px dashed var(--primary-color);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
}

.jobs-resume-prompt-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobs-resume-prompt-icon i {
    font-size: 20px;
    color: #fff;
}

.jobs-resume-prompt-text {
    flex: 1;
}

.jobs-resume-prompt-text h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 4px;
}

.jobs-resume-prompt-text p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

.jobs-resume-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s;
}

.jobs-resume-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.jobs-resume-btn i {
    margin-left: 6px;
}

/* Jobs Count Bar */
.jobs-count-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.jobs-count {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
}

.jobs-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jobs-sort label {
    font-size: 13px;
    color: var(--text-color);
}

.jobs-sort-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: var(--heading-color);
    background: #fff;
    cursor: pointer;
    outline: none;
}

/* Job Cards */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.job-card {
    background: #fff;
    transition: all 0.2s ease;
}

.job-card:hover {
    background: #fafbfc;
}

.job-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
}

.job-card-info {
    flex: 1;
    min-width: 0;
}

.job-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 8px;
    line-height: 1.4;
}

.job-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.job-card-meta span {
    font-size: 13px;
    color: var(--text-color);
}

.job-card-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 12px;
}

.job-card-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-remote {
    background: #e8f5e9;
    color: #2e7d32;
}

.job-card-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin: 0;
}

.job-card-description.expanded {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

.job-card-description p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.job-card-actions {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 140px;
}

.job-card-department {
    display: inline-block;
    padding: 3px 10px;
    background: #e3eef8;
    color: var(--primary-color);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card-type {
    font-size: 12px;
    color: #888;
}

.job-apply-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.job-apply-btn:hover {
    background: var(--primary-dark);
}

.job-apply-btn i {
    margin-left: 5px;
    font-size: 11px;
}

/* No Results */
.jobs-no-results {
    text-align: center;
    padding: 60px 20px;
}

.jobs-no-results i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.jobs-no-results h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.jobs-no-results p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Contact CTA */
.jobs-contact-cta {
    text-align: center;
    padding: 40px 20px 0;
}

.jobs-contact-cta p {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* CTA Section */
.careers-cta-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.careers-cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.careers-cta-box h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.careers-cta-box p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 35px;
}

.careers-cta-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Careers Responsive */
@media (max-width: 991px) {
    .careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-hero-content h1 {
        font-size: 38px;
    }

    .careers-life-layout {
        flex-direction: column;
    }

    .careers-life-image {
        flex: 1 1 auto;
        width: 100%;
    }

    .jobs-search-row {
        flex-direction: column;
    }

    .jobs-resume-prompt {
        flex-direction: column;
        text-align: center;
    }

    .job-card-body {
        flex-direction: column;
    }

    .job-card-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .careers-hero {
        min-height: 400px;
    }

    .careers-hero-content h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .careers-hero-content p {
        font-size: 15px;
    }

    .careers-benefits-grid {
        grid-template-columns: 1fr;
    }

    .careers-teams-grid {
        grid-template-columns: 1fr;
    }

    .careers-life-text h2 {
        font-size: 28px;
    }

    .careers-cta-box h2 {
        font-size: 26px;
    }

    .jobs-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .jobs-filter-dropdowns {
        flex-direction: column;
    }

    .jobs-filter-select {
        width: 100%;
    }

    .jobs-count-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .jobs-resume-prompt {
        padding: 20px 16px;
    }

    .job-card-body {
        padding: 16px;
    }

    .job-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* ============================================
   About Page - Image Carousel
   ============================================ */
.about-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.about-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}
.about-carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.about-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px 4px 0 0;
}
.about-carousel-slide .slide-caption {
    display: block;
    background: #f8f8f8;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #363636;
    text-align: center;
    border-radius: 0 0 4px 4px;
    border-top: 1px solid #eee;
}
.about-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.about-carousel-btn:hover { background: rgba(0,0,0,0.8); }
.about-carousel-prev { left: 10px; }
.about-carousel-next { right: 10px; }
.about-carousel-counter {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-color, #999);
}

/* Utility: center block with max-width */
.about-banner-wrap {
    text-align: center;
    margin-bottom: 40px;
}
.about-carousel-wrap {
    margin-top: 50px;
    position: relative;
}

/* ============================================
   Utility Classes for inline style removal
   ============================================ */
.disc-list {
    list-style: disc;
    padding-left: 20px;
    color: #999;
    line-height: 2;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.contact-heading {
    font-family: 'Roboto', sans-serif;
    color: #363636;
    margin-bottom: 20px;
}
.contact-list {
    list-style: none;
    color: #999;
    line-height: 2.5;
}
.contact-icon {
    color: #1551A1;
    width: 25px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    font-family: 'Lato', sans-serif;
}
.contact-textarea {
    padding: 10px 15px;
    border: 1px solid #ddd;
    font-family: 'Lato', sans-serif;
    resize: vertical;
}
.contact-btn {
    padding: 10px 24px;
    background: #1551A1;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}
.contact-btn:hover {
    background: #0f3d7a;
}
.loc-heading {
    margin-top: 40px;
}
.cert-section {
    margin-top: 50px;
    text-align: center;
}
.cert-heading {
    margin-bottom: 30px;
}
.cert-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}
.cert-badge {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 4px;
}
.cert-badge img {
    height: 80px;
    width: auto;
}
.about-banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.loc-map-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.milestone-grid {
    margin-top: 40px;
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.vm-image {
    text-align: center;
}
.vm-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.rnd-list {
    list-style: disc;
    padding-left: 20px;
    color: #999;
    line-height: 2;
}
