:root {
    --brand-red: #ed1c24;
    --brand-red-dark: #8b0000;
}

#wrap {
    /*min-height: 100%;
    height: auto;
    margin: 0 auto 0px;*/
    padding: 0px;
    margin-bottom: -50px;
}
/*
:root {
    --brand-red: #d32f2f;
    --brand-red-dark: #8b0000;
    --text-dark: #111111;
    --text-muted: #555555;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, .btn-custom, .section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}
*/


.btn-custom, .section-title {
    font-family: 'NotoSans-Bold';
}


/* Top Header link */
/*
.top-nav {
    padding: 12px 0;
    background: #fff;
}
.top-nav a {
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}
*/

.text-end {
    text-align: right;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #e87b7b 0%, #b23b3b 30%, #4a8f9c 70%, #9cb3a8 100%);
    min-height: 380px;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 60px 0;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    max-width: 480px;
    margin-top: 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Section Title Styling */
.section-title {
    font-size: 2.0rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.35rem;
    font-weight: 9600;
    letter-spacing: 0.5px;
    text-align: left;
    margin-bottom: 35px;
    text-transform: uppercase;
}


/* Our Divisions Pills */
.divisions-section {
    /*padding: 60px 0 60px; */
    padding: 60px 20px;
    text-align: center;
}

.divisions-section .row {
    align-items: center;
    justify-content: center;
}

.divisions-section .col-md-4 {
    display: flex;
    justify-content: center; /* Center the buttons within their columns */
}

.pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid var(--brand-red);
    border-radius: 50px;
    padding: 12px 20px;
    text-align: center;
    color: #000000;
    font-family: "NotoSans-Bold";
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
    text-decoration: none;
    /*border-bottom: 3px solid var(--brand-red);*/
    transition: all 0.3s ease;
    height: 70px;
    width: 80%;
}
.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
    color: var(--brand-red);
}

/* Our Career Areas */
/* Container Layout */
.card-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0px 20px;
  /*background-color: #f8f9fa;*/
  font-family: 'NotoSans-Bold', sans-serif;
}

/* Individual Card Styling */
.card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  /*border: 1px solid #c9c9c9;*/
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  width: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Top Image Container */
.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom Content Container */
.card-content {
  padding: 28px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  height: 250px;
}

/* Card Title */
.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
  margin: 0 0 24px 0;
}

/* Read More Link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.card-link:hover {
  color: var(--brand-dark);
}

/* Arrow Styling */
.card-link .arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

.card-description {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  font-family: 'NotoSans-Light', sans-serif;
  text-align: left;          /* Forces text to align left */
  margin: 0;                /* Removes top margins pulling text down */
  margin-top: 8px;          /* Small spacing below the title */  
  flex-grow: 1;             /* Allows description block to occupy top space */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .card-container {
    flex-wrap: wrap;
  }
  
  .card {
    width: 100%;
    max-width: 350px;
  }
}



.career-areas-section {
    padding: 40px 0 60px;
}
.career-icon-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--brand-red);
    font-size: 2.5rem;
    margin: 70px 0px 100px 0px;
}
.career-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #000;
}
.career-card p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    padding-top: 25px;
}

/* Opportunities Section */
.opportunities-section {
    padding: 50px 0 50px;
    background-color: #f2f2f2;
}

.opp-title-box {
    border: 4px solid #ed1c24;
    border-left: none; /* Removes left border, keeping top, right, and bottom */
    position: relative;
    padding: 30px 50px 30px 0px;
    display: inline-block;
    transform: skewX(-20deg);
    /*margin-right: 250px;*/
    /*width: 400px;*/
    margin-left: -250px;
    width: 600px;
}

.opp-title-box h2 {
    transform: skewX(20deg);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;/
}

.opp-pill {
    /*background: #fff;
    border: 1px solid var(--brand-red);
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(239, 83, 80, 0.2);
    transition: all 0.3s ease;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid var(--brand-red);
    border-radius: 50px;
    padding: 12px 20px;
    text-align: center;
    color: #000000;
    font-family: "NotoSans-Bold";
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
    text-decoration: none;
    /*border-bottom: 3px solid var(--brand-red);*/
    transition: all 0.3s ease;
    height: 70px;
    width: 80%;    
}

.opp-pill.active, .opp-pill:hover {
    /*border-color: var(--brand-red);
    color: var(--brand-red);
    box-shadow: 0 3px 12px var(--brand-red);*/

    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.25);
    color: var(--brand-red);    
}

.opp-pill-wrap {
    padding-top: 14px;
}

/* Our Hiring Process */
.hiring-process-section {
    padding: 40px 0 60px;
}
.hiring-banner {
    background: linear-gradient(180deg, #990000 0%, #cc0000 50%, #e60000 100%);
    border-radius: 0;
    padding: 35px 40px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.process-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}
.process-title {
    font-family: 'NotoSans-Bold';
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.process-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
}
.process-arrow {
    font-size: 1.8rem;
    color: #ffffff;
    opacity: 0.8;
}


/* Gallery */
/* Life at Genting Section */
.life-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #111;
    margin-bottom: 20px;
}

/* Carousel Outer Wrapper with Buttons */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Custom Scroll Arrows */
.carousel-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
    outline: none;
    transition: opacity 0.2s ease;
}

.carousel-arrow:hover {
    opacity: 0.8;
}

.carousel-arrow img {
    width: 32px;
    height: 32px;
    display: block;
}

/* Scroll Track Container */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Hide scrollbar for clean UI */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Single Row Flex Track */
.carousel-track {
    display: flex;
    gap: 16px;
}

/* 4 Visible Items per Row (Calculated dynamically) */
.carousel-item {
    flex: 0 0 calc((100% - (16px * 3)) / 4);
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Breakpoints for smaller screens */
@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 calc((100% - (16px * 1)) / 2); /* 2 per row on tablets */
    }    
}

@media (max-width: 576px) {
    .carousel-item {
        flex: 0 0 100%; /* 1 per row on mobile */
    }
}

/* Banner Container */
.talent-community-banner {
    background-color: var(--brand-red); /* Deep blue background */
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    width: 100%;
}

.talent-community-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Main Heading */
.talent-community-title {
    font-size: 36px;
    font-weight: 300; /* Light/clean font weight */
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color:#ffffff;
}

/* Subtitle Description */
.talent-community-text {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Sign Up Button */
.talent-community-btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--brand-red);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.talent-community-btn:hover {
    background-color: #f0f0f0;
    opacity: 0.95;
}


/* Clearfix to reset floats */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}


/* Discover More About Us / Footer */
.discover-section {
    background-color: #f2f2f2;
    padding: 50px 0 50px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid #111;
    border-radius: 6px;
    color: #111;
    font-size: 1.2rem;
    margin: 0 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.social-link:hover {
    background-color: #111;
    color: #fff;
}

@media (min-width: 992px) {
    .opp-title-box {
        transform: none;
        border-right: 2px solid var(--brand-red);
        transform: skewX(-20deg);
        margin-right: 0;
        margin-bottom: 20px;
        /*width: 100%;*/
        padding: 30px 50px 30px 150px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .opp-title-box {
        transform: none;
        border-right: 2px solid var(--brand-red);
        transform: skewX(-20deg);
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        padding: 30px 50px 30px 150px;
    }

    .opp-title-box h2 {
        transform: none;
    }
    .process-arrow {
        transform: rotate(90deg);
        margin: 15px 0;
    }
}
