/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --orange: #f26522;
  --dark: #2b2b2b;
  --gray: #666;
  --light-gray: #f5f5f5;
  --footer-bg: #2b2b2b;
  --white: #fff;
}
body { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER / NAV ===== */
header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.nav-container { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 30px; }
.logo img { height: 70px; }
nav ul { display: flex; gap: 32px; align-items: center; }
nav ul li { position: relative; }
nav ul li a { font-size: 15px; font-weight: 500; color: var(--dark); transition: color 0.2s; padding: 8px 0; }
nav ul li a:hover, nav ul li a.active { color: var(--orange); }
nav ul li .dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 240px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-top: 3px solid var(--orange); z-index: 200; padding: 8px 0; }
nav ul li:hover .dropdown { display: block; }
nav ul li .dropdown a { display: block; padding: 8px 20px; font-size: 14px; font-weight: 400; }
nav ul li .dropdown a:hover { background: var(--light-gray); color: var(--orange); }

/* ===== PAGE BANNER (video or image) ===== */
.page-banner { position: relative; height: 45vh; min-height: 300px; display: flex; align-items: center; overflow: hidden; background: #000; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 1; }
.page-banner video, .page-banner .banner-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%,-50%); object-fit: cover; }
.page-banner h1 { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--white); padding: 0 60px; }

/* Breadcrumb */
.breadcrumb { padding: 16px 60px; font-size: 14px; color: var(--gray); border-bottom: 1px solid #eee; }
.breadcrumb a { color: var(--orange); }
.breadcrumb span { margin: 0 8px; }

/* ===== SECTION TITLE WITH ORANGE LINE ===== */
.section-title { font-size: 34px; font-weight: 700; margin-bottom: 8px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 50px; height: 3px; background: var(--orange); }

/* ===== MARKET GRID (markets main page) ===== */
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.market-card a { display: block; }
.market-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; transition: transform 0.3s; }
.market-card a:hover img { transform: scale(1.02); }
.market-card h3 { font-size: 18px; font-weight: 600; margin-top: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--dark); display: inline-block; }

/* ===== MARKET SUB-PAGE CONTENT ===== */
.market-content { max-width: 1300px; margin: 60px auto; padding: 0 30px; }
.market-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.market-content > p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 30px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 60px; margin-bottom: 40px; }
.check-list li { font-size: 15px; color: var(--gray); padding-left: 30px; position: relative; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.featured-projects { margin-top: 40px; }
.featured-projects h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.featured-grid li { font-size: 15px; color: var(--gray); line-height: 1.8; padding-left: 30px; position: relative; }
.featured-grid li::before { content: '✔'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ===== LOGOS BAR ===== */
.logos-bar { background: var(--light-gray); padding: 40px 30px; margin-top: 60px; }
.logos-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.logos-bar-inner img { height: 45px; opacity: 0.6; filter: grayscale(100%); transition: opacity 0.3s; }
.logos-bar-inner img:hover { opacity: 1; }

/* ===== FOOTER ===== */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.7); padding: 60px 30px 30px; }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h3 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 20px; position: relative; display: inline-block; }
.footer-col h3::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 40px; height: 3px; background: var(--orange); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-logo img { height: 60px; margin-bottom: 20px; }
.footer-contact { font-size: 14px; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--orange); }
.footer-contact svg { width: 16px; height: 16px; fill: var(--orange); vertical-align: middle; margin-right: 8px; }
.footer-bottom { max-width: 1300px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 13px; }
.back-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--orange); color: var(--white); border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 50; }

@media (max-width: 900px) {
  .markets-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .logos-bar-inner { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .page-banner h1 { font-size: 36px; padding: 0 30px; }
}
/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --orange: #f26522;
  --dark: #2b2b2b;
  --gray: #666;
  --light-gray: #f5f5f5;
  --footer-bg: #2b2b2b;
  --white: #fff;
}
body { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER / NAV ===== */
header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.nav-container { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 30px; }
.logo img { height: 70px; }
nav ul { display: flex; gap: 32px; align-items: center; }
nav ul li { position: relative; }
nav ul li a { font-size: 15px; font-weight: 500; color: var(--dark); transition: color 0.2s; padding: 8px 0; }
nav ul li a:hover, nav ul li a.active { color: var(--orange); }
nav ul li .dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 240px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-top: 3px solid var(--orange); z-index: 200; padding: 8px 0; }
nav ul li:hover .dropdown { display: block; }
nav ul li .dropdown a { display: block; padding: 8px 20px; font-size: 14px; font-weight: 400; }
nav ul li .dropdown a:hover { background: var(--light-gray); color: var(--orange); }

/* ===== PAGE BANNER (video or image) ===== */
.page-banner { position: relative; height: 45vh; min-height: 300px; display: flex; align-items: center; overflow: hidden; background: #000; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: 1; }
.page-banner video, .page-banner .banner-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%,-50%); object-fit: cover; }
.page-banner h1 { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--white); padding: 0 60px; }

/* Breadcrumb */
.breadcrumb { padding: 16px 60px; font-size: 14px; color: var(--gray); border-bottom: 1px solid #eee; }
.breadcrumb a { color: var(--orange); }
.breadcrumb span { margin: 0 8px; }

/* ===== SECTION TITLE WITH ORANGE LINE ===== */
.section-title { font-size: 34px; font-weight: 700; margin-bottom: 8px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 50px; height: 3px; background: var(--orange); }

/* ===== MARKET GRID (markets main page) ===== */
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.market-card a { display: block; }
.market-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; transition: transform 0.3s; }
.market-card a:hover img { transform: scale(1.02); }
.market-card h3 { font-size: 18px; font-weight: 600; margin-top: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--dark); display: inline-block; }

/* ===== MARKET SUB-PAGE CONTENT ===== */
.market-content { max-width: 1300px; margin: 60px auto; padding: 0 30px; }
.market-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.market-content > p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 30px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 60px; margin-bottom: 40px; }
.check-list li { font-size: 15px; color: var(--gray); padding-left: 30px; position: relative; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.featured-projects { margin-top: 40px; }
.featured-projects h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.featured-grid li { font-size: 15px; color: var(--gray); line-height: 1.8; padding-left: 30px; position: relative; }
.featured-grid li::before { content: '✔'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ===== LOGOS BAR ===== */
.logos-bar { background: var(--light-gray); padding: 40px 30px; margin-top: 60px; }
.logos-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.logos-bar-inner img { height: 45px; opacity: 0.6; filter: grayscale(100%); transition: opacity 0.3s; }
.logos-bar-inner img:hover { opacity: 1; }

/* ===== FOOTER ===== */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.7); padding: 60px 30px 30px; }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h3 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 20px; position: relative; display: inline-block; }
.footer-col h3::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 40px; height: 3px; background: var(--orange); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-logo img { height: 60px; margin-bottom: 20px; }
.footer-contact { font-size: 14px; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--orange); }
.footer-contact svg { width: 16px; height: 16px; fill: var(--orange); vertical-align: middle; margin-right: 8px; }
.footer-bottom { max-width: 1300px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 13px; }
.back-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--orange); color: var(--white); border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 50; }

@media (max-width: 900px) {
  .markets-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .logos-bar-inner { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .page-banner h1 { font-size: 36px; padding: 0 30px; }
}

/* ===== SERVICES GRID (services main) ===== */
.services-intro { max-width: 1300px; margin: 60px auto; padding: 0 30px; }
.services-intro p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-top: 24px; max-width: 900px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1300px; margin: 40px auto 80px; padding: 0 30px; }
.service-card a { display: block; }
.service-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; }
.service-card h3 { font-size: 18px; font-weight: 600; margin-top: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--dark); display: inline-block; }

/* ===== SERVICE SUB-PAGE (sidebar layout) ===== */
.service-layout { display: flex; gap: 50px; max-width: 1300px; margin: 40px auto 80px; padding: 0 30px; }
.service-sidebar { width: 280px; flex-shrink: 0; }
.service-sidebar a { display: block; padding: 14px 20px; font-size: 15px; font-weight: 500; color: var(--dark); border-left: 3px solid #ddd; transition: all 0.2s; }
.service-sidebar a:hover, .service-sidebar a.active { border-left-color: var(--orange); color: var(--orange); }
.service-main { flex: 1; }
.service-main h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.service-main > p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.service-main h3 { font-size: 24px; font-weight: 700; margin: 30px 0 16px; }
.service-list { list-style: none; }
.service-list li { font-size: 15px; color: var(--gray); padding: 6px 0 6px 30px; position: relative; }
.service-list li::before { content: '▫'; position: absolute; left: 8px; color: var(--dark); }

/* ===== CAREERS ===== */
.careers-content { max-width: 1300px; margin: 60px auto; padding: 0 30px; }
.careers-content h2 { font-size: 32px; font-weight: 700; margin: 40px 0 20px; }
.careers-content h2:first-child { margin-top: 0; }
.careers-content > p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }

.careers-bottom { display: flex; gap: 50px; max-width: 1300px; margin: 0 auto 80px; padding: 0 30px; }
.careers-left { flex: 1.4; }
.careers-right { flex: 1; }

.tabs { display: flex; margin-bottom: 0; }
.tab-btn { padding: 12px 28px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; background: var(--white); color: var(--dark); border-bottom: 3px solid #ddd; transition: all 0.2s; }
.tab-btn.active { background: #0074d9; color: var(--white); border-bottom-color: #0074d9; }
.tab-content { border: 1px solid #eee; border-top: none; padding: 30px; display: none; }
.tab-content.active { display: block; }
.tab-content h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }

/* Accordion */
.accordion-item { border: 1px solid #eee; margin-bottom: 8px; border-radius: 4px; }
.accordion-header { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; font-size: 16px; font-weight: 600; color: #0074d9; background: var(--white); border: none; width: 100%; text-align: left; }
.accordion-header .icon { width: 24px; height: 24px; background: #0074d9; color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 18px; flex-shrink: 0; }
.accordion-body { display: none; padding: 0 18px 18px 56px; font-size: 14px; color: var(--gray); line-height: 1.8; }
.accordion-body.open { display: block; }
.accordion-body h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin: 14px 0 8px; }
.accordion-body ul { padding-left: 20px; }
.accordion-body ul li { margin-bottom: 6px; list-style: disc; }

/* Apply form */
.apply-form h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.apply-form input, .apply-form textarea { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 14px; margin-bottom: 14px; }
.apply-form textarea { height: 120px; resize: vertical; }
.apply-form label { font-size: 14px; color: var(--gray); margin-bottom: 8px; display: block; }
.apply-form .file-input { margin: 10px 0 20px; }
.apply-form .btns { display: flex; gap: 12px; }
.apply-form .btn-reset { padding: 10px 24px; border: 1px solid #ddd; background: var(--white); cursor: pointer; border-radius: 4px; }
.apply-form .btn-submit { padding: 10px 24px; background: #0074d9; color: var(--white); border: none; cursor: pointer; border-radius: 4px; font-weight: 600; }

@media (max-width: 900px) {
  .service-layout { flex-direction: column; }
  .service-sidebar { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .careers-bottom { flex-direction: column; }
}