/* CSS Root Variables */
:root {
  /* Colors */
  --primary-orange: #fa7a14;
  --primary-black: #000000;
  --primary-white: #ffffff;
  --primary-red: #ff0000;
  --background-cream: #fef2e0;
  --background-gradient-start: #fee8c6;
  --background-gradient-mid: #feeacd;
  --background-gradient-end: #fdf4ed;
  --text-dark: #000000;
  --text-light: #ffffff;
  
  /* Typography */
  --font-family: 'Roboto', sans-serif;
  --font-size-xs: 8px;
  --font-size-sm: 9px;
  --font-size-base: 1rem; /* 16px */
  --font-size-md: 11px;
  --font-size-lg: 17px;
  --font-size-xl: 26px;
  --font-size-xxl: 35px;
  --font-size-hero: 45px;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  
  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-xxl: 50px;
  
  /* Layout */
  --header-height: 66px;
  --border-radius: 5px;
  
  /* Z-index */
  --z-header: 1000;
  --z-dropdown: 1001;
  --z-overlay: 1002;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: var(--font-size-base);
  color: var(--text-dark);
}

.url-link {
  color: #ff7f50;
  text-decoration: none;
}

.sub-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-xl);
  line-height: 1.4;
}

/* Header Styles */
.main-header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--primary-white);
  background-image: url('../images/bg-header.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.navbar {
  padding: 0px;
  min-height: var(--header-height);
}

.navbar-brand img {
  height: 80px !important;
  width: auto !important;
  object-fit: unset !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-orange) !important;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  border: none;
  border-top: 5px solid var(--primary-orange);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 0;
  z-index: 2000;
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--primary-white);
  margin: 0;
  padding: 20px 10px;
  text-align: left;
  min-width: 250px;
}

/* Create hover bridge to prevent dropdown from closing */
.dropdown::before {
  /* content: ''; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  /* height: calc(var(--header-height) + var(--spacing-lg) + var(--spacing-xl)); */
  background: transparent;
  z-index: 1999;
  pointer-events: none;
}

.dropdown:hover::before {
  pointer-events: auto;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu,
  .dropdown:hover::before,
  .dropdown:hover::after {
    display: block;
  }
  
  /* Additional hover area for smooth transition */
  .dropdown::after {
    content: '';
    position: fixed;
    top: calc(var(--header-height) - 10px);
    left: 0;
    right: 0;
    height: calc(var(--spacing-lg) + var(--spacing-xl) + 20px);
    background: transparent;
    z-index: 1998;
    pointer-events: none;
  }
  
  .dropdown:hover::after {
    pointer-events: auto;
  }
  
  /* Remove caret styling */
  .dropdown-toggle::after {
    display: none;
  }
}

/* Keep Bootstrap functionality for mobile */
.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  font-size: 0.825rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  padding: 5px;
  color: var(--text-dark);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.dropdown-item:hover {
  background-color: transparent;
  color: var(--primary-orange);
}

/* Hero Banner Styles */
.hero-banner {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background-gradient-start), var(--background-gradient-end));
}

.hero-slide {
  position: relative;
  height: calc(100vh - var(--header-height));
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-title {
  color: var(--text-light);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-black);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin: 0;
}

.hero-subtitle {
  color: var(--text-light);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin: var(--spacing-sm) 0 0 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-dot.active {
  background: var(--primary-white);
}

/* Company Description Section */
.company-description {
  padding: var(--spacing-xxl) 0;
}

.company-description h2 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  line-height: 1.3;
  text-wrap: balance;
}

.company-text {
  font-size: var(--font-size-base);
  line-height: 1.6;
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-wrap: balance;
}

/* Features Section */
.features-section {
  padding: var(--spacing-xxl) 0;
}

.feature-column {
  text-align: left;
  padding: 0 var(--spacing-md);
  position: relative;
}

.feature-column::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-orange);
}

.feature-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.feature-text {
  font-size: var(--font-size-base);
  line-height: 1.6;
  padding-left: var(--spacing-lg);
}

.feature-list {
  list-style: none;
  padding-left: var(--spacing-lg);
  margin: 0 0 1rem;
}

.feature-list li {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-xs);
  position: relative;
  padding-left: var(--spacing-md);
}

.feature-list li::before {
  content: '\25B6 \FE0E';
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-size: 0.8em;
  top: 50%;
  transform: translateY(-50%);
}

/* Portfolio Section */

.portfolio-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-black);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-xl);
  gap: var(--spacing-md);
}

.portfolio-tab {
  background: var(--primary-orange);
  color: var(--primary-white);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-tab.inactive {
  background: var(--primary-white);
  color: var(--text-dark);
  border: 1px solid #ddd;
}

.portfolio-tab:hover {
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.portfolio-item {
  position: relative;
  /* overflow: hidden; */
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/*.portfolio-item:hover {
  transform: translateY(-5px);
}*/

.portfolio-item img {
  width: 100%;
  /* height: 250px; */
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--primary-white);
  padding: 0;
}

.portfolio-name {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-light);
  margin: 0;
}

.portfolio-footer-bg {
  background: linear-gradient(180deg, rgba(253, 244, 237, 1) 0%, rgba(254, 232, 198, 1) 100%);
  /* Add bottom background image as requested - image appears above gradient */
  background-image: url('/assets/images/home-bg-02.png'), linear-gradient(180deg, rgba(253, 244, 237, 1) 0%, rgba(254, 232, 198, 1) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center 0;
  background-size: cover, cover;  
}

/* Investors Section */
.investors-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(180deg, rgba(254, 242, 224, 1) 0%, rgba(254, 242, 224, 1) 100%);
  /* Image above gradient, anchored bottom-left and fully visible */
  background-image: url('/assets/images/bg-flame.png'), linear-gradient(180deg, rgba(254, 242, 224, 1) 0%, rgba(254, 242, 224, 1) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, center 0;
  background-size: contain, cover;
}

.investors-title {
  text-align: center;
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--spacing-xl);
  text-transform: uppercase;
}

.investors-content {
  max-width: 1200px;
  margin: 0 auto;
}

.prospectus-column,
.announcements-column {
  padding: 0 var(--spacing-lg);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.investors-content h3 {
  text-align: center;
  padding-bottom: 30px;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--text-dark);
}

.prospectus-image {
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.announcement-item {
  padding-bottom: var(--spacing-md);
  padding-top: 5px;
}

.announcement-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.announcement-date {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.announcement-text {
  font-size: var(--font-size-base);
  color: var(--text-dark);
  line-height: 1.6;
}

.button-container {
  margin-top: var(--spacing-sm);
  text-align: center;
}

/* Rounded Button Styling */
.btn-rounded {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: transparent;
  border: 2px solid var(--text-dark);
  border-radius: 50px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  transition: all 0.3s ease;
  justify-content: center;
}

.btn-rounded:hover {
  background: var(--text-dark);
  color: var(--primary-white);
  transform: translateY(-2px);
}

.btn-custom {
  background: var(--primary-orange);
  color: var(--primary-white);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.btn-custom:hover {
  background: #e66a00;
  transform: translateY(-2px);
  color: var(--primary-white);
}

/* Career Section */
.career-section {
  position: relative;
  background: url('../images/banner-career-homepage.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.career-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  display: flex;
  align-items: center;
  width: 100%;
}

.career-content {
  text-align: center;
  color: var(--primary-white);
  z-index: 2;
  position: relative;
  display: flex;
  justify-content: center;
  gap: 50px;
  align-items: center;
}

@media screen and (max-width: 600px) {
  .career-content {
    flex-direction: column;
    gap: 30px;
  }
}

.career-title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-white);
}

/* Career Button Styling */
.btn-career {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  border: 2px solid var(--primary-white);
  border-radius: 50px;
  color: var(--primary-white);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: var(--font-size-base);
}

.btn-career:hover {
  background: var(--primary-white);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.bg-lightorange {
  background: linear-gradient(180deg, rgba(254, 242, 224, 1) 0%, rgba(254, 242, 224, 1) 100%);
}

/* Footer Section */
.footer-section {
  background: linear-gradient(90deg, #fa5102 0%, #fa7a14 50%, #ff8c42 100%);
  color: var(--primary-white);
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
}

.footer-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 320px;
  background-image: url('/assets/images/bg-flame-footer2.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-left {
  flex: 1;
}

.footer-address,
.footer-contact {
  font-size: var(--font-size-base);
  margin: 0;
  color: var(--primary-white);
}

.footer-contact br {
  display: none;
}

.footer-right {
  flex-shrink: 0;
}

.footer-copyright {
  font-size: var(--font-size-base);
  margin: 0;
  color: var(--primary-white);
  font-weight: var(--font-weight-medium);
}

/* Custom Mobile Navigation */
@media (max-width: 991px) {
  .custom-toggler {
    border: none;
    background: transparent;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1001;
  }

  .custom-toggler:focus {
    box-shadow: none;
  }

  .hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .custom-toggler.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
  }

  .custom-toggler.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .custom-toggler.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Mobile Menu Overlay */
  .navbar-collapse {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--primary-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-collapse.show {
    max-height: calc(100vh - 90px);
  }

  .navbar-nav {
    padding: var(--spacing-lg) 0;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-nav .nav-link {
    padding: var(--spacing-md) var(--spacing-lg) !important;
    font-size: var(--font-size-lg) !important;
  }

  /* Mobile Dropdown Styles */
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: #f8f9fa;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block !important;
    padding: 0;
  }

  .navbar-nav .dropdown-menu.show {
    max-height: 500px;
    display: block !important;
    overflow: visible;
  }

  .navbar-nav .dropdown-item {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    border-bottom: 1px solid #e9ecef;
    display: block !important;
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
    background-color: #f8f9fa;
    margin-left: var(--spacing-lg);
    border-left: 3px solid var(--primary-orange);
  }

  .navbar-nav .dropdown-item:hover {
    background-color: #e9ecef;
    color: var(--primary-orange);
  }

  .navbar-nav .dropdown-item:first-child {
    border-top: 1px solid #e9ecef;
  }

  /* Mobile Menu Backdrop */
  .mobile-backdrop {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-backdrop.show {
    opacity: 1;
    visibility: visible;
  }

  /* Prevent body scroll when mobile menu is open */
  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* Desktop Navigation Overrides */
@media (min-width: 992px) {
  .custom-toggler {
    display: none;
  }
  
  .navbar-collapse {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transition: none;
  }
  
  .navbar-nav {
    padding: 0;
    flex-direction: row;
  }
  
  .navbar-nav .nav-item {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link {
    padding: var(--spacing-sm) var(--spacing-md) !important;
    font-size: 0.825rem !important;
  }
  
  /* Restore original desktop dropdown functionality */
  .navbar-nav .dropdown-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--primary-white);
    border-top: 3px solid var(--primary-orange);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    max-height: none;
    overflow: visible;
    transition: none;
    display: none;
  }
  
  .mobile-backdrop {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  /* .features-section .row {
    flex-direction: column;
  } */
  
  .feature-column {
    margin-bottom: var(--spacing-xl);
  }
  
  .investors-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .company-description h2 {
    font-size: 20px;
  }
  
  .portfolio-title,
  .investors-title {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .prospectus-column,
  .announcements-column {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .footer-left {
    order: 1;
  }
  
  .footer-right {
    order: 2;
  }
  .about .banner-content {
    width: 90%;
  }
  .about .banner-content h3 {
    font-size: 25px !important;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: calc(100vh - var(--header-height));
    min-height: 400px;
  }
  
  .hero-slide {
    height: calc(100vh - var(--header-height));
    min-height: 400px;
  }
  #slick-slide00.hero-slide  {
  background-position-x: -250px;  
  }

  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .company-description,
  .features-section,
  .portfolio-section,
  .investors-section,
  .career-section {
    padding: var(--spacing-xl) 0;
  }
  
  .prospectus-column,
  .announcements-column {
    padding: 0 var(--spacing-sm);
  }
  
  .btn-rounded,
  .btn-career {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
}

/* Slick Slider Customization */
.hero-banner .slick-dots {
  bottom: 30px;
  z-index: 4;
}

.hero-banner .slick-dots li {
  margin: 0 5px;
}

.hero-banner .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
}

.hero-banner .slick-dots li button:before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--primary-white);
  opacity: 1;
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}

.hero-banner .slick-dots li.slick-active button:before {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: scale(1.2);
}

.hero-banner .slick-prev,
.hero-banner .slick-next {
  z-index: 4;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50px 50px;
}

/*.hero-banner .slick-prev:hover,
.hero-banner .slick-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.1);
}*/

.hero-banner .slick-prev {
  left: 30px;
  background-image: url('../images/icon-arrow-r_1.svg');
}

.hero-banner .slick-next {
  right: 30px;
  background-image: url('../images/icon-arrow-r.svg');
}

.hero-banner .slick-prev:before,
.hero-banner .slick-next:before {
  content: '';
}

.home-content-bg {
  background: linear-gradient(180deg, rgba(253, 244, 237, 1) 0%, rgba(254, 232, 198, 1) 100%);
  /* Add bottom background image as requested - image appears above gradient */
  background-image: url('/assets/images/home-bg-01.png'), linear-gradient(180deg, rgba(253, 244, 237, 1) 0%, rgba(254, 232, 198, 1) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center 0;
  background-size: contain, cover;
}

@media (max-width: 992px) {
  .footer-section::after { width: 220px; }
}
.portfolio-slider {
  width: 100%;
}
.portfolio-slider .property-slide {
  display: block;
  padding: 0;
}
.portfolio-slider .property-card {
  position: relative;
  border-radius: 0;
  height: 380px;
}
.portfolio-slider .property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 991px) {
  .portfolio-slider .property-card {
    height: 260px;
  }
  .portfolio-slider .property-card img {
    height: 100%;
  }
}
.portfolio-slider .property-name {
  bottom: 12px;
  right: 15px;
  top: initial;
  left: initial;
}

/* Portfolio Slider Arrows */
.portfolio-slider .slick-prev,
.portfolio-slider .slick-next {
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 0;
  transition: all 0.3s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-color: rgba(255,255,255,0.2);
}

.portfolio-slider .slick-prev {
  left: 15px;
  background-image: url('../images/icon-left.svg');
  filter: invert(1) brightness(200%);
}

.portfolio-slider .slick-next {
  right: 15px;
  background-image: url('../images/icon-right.svg');
  filter: invert(1) brightness(200%);
}

.portfolio-slider .slick-prev:before,
.portfolio-slider .slick-next:before {
  content: '';
}

/* Hide dots */
.portfolio-slider .slick-dots { 
  display: none !important; 
}


@media (max-width: 600px) {
  .segmented {
    font-size: 13px;
  }
  .segmented .seg-btn {
    min-width: 130px !important;
    max-width: 130px !important;
  }
  .footer-contact br {
    display: unset;
  }
}

.banner-wrap {
  max-height: calc(90vh - 100px);
  overflow: hidden;
}
.banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  align-self: center;
}
.careers-wrap {
  position: relative;
}
.careers-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 360px;
  height: 360px;
  background: url('../images/bg-flame-portfolio-bottom.png') no-repeat left bottom / contain;
  pointer-events: none;
  opacity: 0.65;
}

.home .property-card {
  border-radius: 0;
  /*height: initial;*/ /* unify on a single explicit height to allow child to fill */
}

.home .property-card img {
  border-radius: 0px;
}

.about .banner-wrap {
  position: relative;
}
.about .banner-wrap img {
  height: initial;
  align-self: end;
}
.about .banner-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-30%, -50%);
  color: var(--primary-white);
}
.about .banner-content h3 {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  color: #000000;
}

.text-wrap-balance {
  text-wrap: balance;
}

@media screen and (max-width: 600px) {
  .about .banner-content {
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
  }
  .about .banner-content h3 {
    font-size: 20px !important;
  } 
}
