/* Base variables */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap");

:root {
  /* Colors */
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #20c997;
  --secondary: #107d6e;
  --secondary-light: #2dba9d;
  --third: #f57402;
  --third-light: #f9831b;
  --third-dark: #ec7106;

  --text-dark: #333;
  --text-muted: #6c757d;
  --text-light: #666;
  --text-black: #000;

  --border-color: #bdbdbd;
  --border-light: #e0e0e0;
  --border-lighter: #eee;
  --border-card: #cfd6e4;

  --bg-light: #f2f2f2;
  --bg-white: #fff;
  --bg-office: #f8fafd;
  --utility-bg: #4db6ac;
  --messenger-bg: #0084ff;
  --footer-bg: #00b894;
  --overlay-dark: rgba(0, 0, 0, 0.2);
  --overlay-blue: rgba(7, 46, 103, 0.4);
  --overlay-white: rgba(255, 255, 255, 0.25);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-custom: 1px 1px 4px 0px rgba(0, 0, 0, 0.15);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-standard: transform 0.3s ease;
  --transition-scale: transform 0.2s ease;

  /* Border radius */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 17px;
  --radius-rounded: 50%;

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-xxl: 40px;

  /* Font sizes */
  --font-xs: 10px;
  --font-sm: 12px;
  --font-md: 14px;
  --font-base: 16px;
  --font-lg: 20px;
  --font-xl: 30px;
  --font-xxl: 34px;
}

/* Global styles */
* {
  font-family: "Inter", sans-serif;
  font-size: var(--font-base);
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.fs-7 {
    font-size: 0.875rem !important;
}
@media (max-width: 576px) {
  * {
    font-size: var(--font-xs);
  }
}

/* Layout and containers */
.container {
  max-width: 1132px;
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }
}

/* Header and navigation */
.navbar {
  background-color: var(--bg-white) !important;
  box-shadow: var(--shadow-sm);
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.dropdown-toggle::after {
  vertical-align: middle;
}

.logo-img {
  height: 50px;
  max-width: 200px;
  margin-bottom: var(--spacing-lg);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

/* Mobile navigation */
.offcanvas {
  max-width: 80%;
}

.offcanvas-header {
  border-bottom: 1px solid var(--border-lighter);
}

@media (min-width: 768px) {
  .offcanvas {
    display: none;
  }
}

@media (max-width: 991px) {
  .dropdown-menu {
    border: none;
    padding-left: 1rem;
    background-color: transparent;
  }

  .dropdown-item {
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 40px;
    margin-bottom: 0;
  }
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-light);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
    border-color: var(--secondary-light);
}
  
.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.btn-third {
    background-color: var(--third);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
}
  
.btn-third:hover {
    background-color: var(--third-dark);
    color: var(--bg-white);
}
  

.btn-register {
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 500;
}

.btn-register:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
}

.search-btn {
  background-color: var(--primary);
  color: var(--bg-white);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-sm);
}

.search-btn:hover {
  background-color: var(--primary-dark);
}

.view-more {
  text-decoration: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.view-more i {
  margin-left: var(--spacing-xs);
}

/* Hero section */
.hero-section {
  background-image: url("../images/banner-nice.png");
  background-size: cover;
  background-position: center;
  height: 600px;
  position: relative;
}

.hero-overlay {
  background-color: var(--overlay-dark);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-container {
  background-color: var(--overlay-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
}

select.form-select {
  padding: 0.75rem 1rem;
  cursor: pointer;
}

@media (max-width: 576px) {
  .hero-section {
    height: 200px;
  }

  .search-container {
    padding: var(--spacing-sm);
  }
}

/* General card styles */
.card {
  transition: var(--transition-standard);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

.rounded-4 {
  border-radius: 12px !important;
}

/* Office section */
.office-for-rent {
  background-color: var(--bg-office);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 70px;
  row-gap: var(--spacing-xxl);
}

.office-for-rent .office-item {
  width: auto;
  display: flex;
  justify-content: center;
}

.office-for-rent .office-item .card {
  max-width: 123px;
}

.office-for-rent .office-item .card-img-top {
  width: 123px;
  height: 123px;
  object-fit: cover;
}

.office-card {
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-custom);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-lg);
  background-color: var(--bg-white);
}

.office-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.office-info {
  padding: var(--spacing-md);
}

.office-title {
  color: var(--secondary);
  font-weight: 600;
  font-size: var(--font-base);
  margin-bottom: var(--spacing-xs);
}

.office-address {
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-md);
}

.office-price {
  color: var(--secondary);
  font-weight: bold;
  text-align: end;
  padding: var(--spacing-sm);
}

/* News cards */
.news-card {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-xl) !important;
  transition: var(--transition-standard);
}

.news-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.date-badge {
  position: absolute;
  top: var(--spacing-xl);
  background-color: var(--primary-light);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 600;
}

.news-brand {
  position: absolute;
  bottom: 0;
  left: 0;
  border: 1px solid var(--border-color);
}

.news-brand img {
  height: 20px;
}

.card-body-title {
  border-bottom: 1px solid var(--border-color);
}

/* Utility cards */
.utility-card {
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  border: 1px solid var(--border-card);
  transition: var(--transition-standard);
}

.utility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.utility-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: var(--spacing-md);
}

.utility-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--bg-white);
}

/* Partner section */
.partners-section .card-body {
  border-radius: 8px;
  border: 0.64px solid var(--border-color);
}

.partner-logo {
  height: 52px;
  object-fit: contain;
  filter: grayscale(0);
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* Client section */
.row-client-card {
  grid-template-columns: repeat(6, 1fr);
}

.client-card {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  background-color: var(--bg-white);
  transition: var(--transition-standard);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.client-card img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
}

/* Services section */
.service-icon {
  width: 100px;
  height: 100px;
  background-color: var(--utility-bg);
  border-radius: var(--radius-rounded);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--spacing-md);
}

.service-icon i {
  color: var(--bg-white);
  font-size: 32px;
}

.service-item {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.service-title {
  font-size: var(--font-md);
  margin-top: var(--spacing-sm);
}

.section-title {
  font-weight: 600;
  font-size: var(--font-xl);
  line-height: 34px;
  letter-spacing: 0.38px;
  vertical-align: middle;
  margin: 0;
}

/* Quote banner */
.quote-banner {
  background: url("../images/banner-section.png") center/cover no-repeat;
  min-height: 490px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #072e67;
  opacity: 0.4;
  z-index: 1;
}

.quote-banner-background {
  position: relative;
  z-index: 2;
  width: 100%;
}

.quote-banner p {
  font-size: var(--font-xxl);
  text-shadow: var(--text-shadow);
}

/* Fixed buttons */
.phone-button {
  position: fixed;
  right: var(--spacing-lg);
  bottom: var(--spacing-lg);
  background-color: var(--utility-bg);
  color: var(--bg-white);
  border-radius: 30px;
  padding: 8px var(--spacing-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  z-index: 100;
}

.messenger-button {
  position: fixed;
  right: var(--spacing-lg);
  bottom: 80px;
  background-color: var(--messenger-bg);
  color: var(--bg-white);
  border-radius: var(--radius-rounded);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  z-index: 100;
}

/* Footer styles */
.footer-top {
  border-top: 1px solid var(--border-light);
  padding: var(--spacing-xxl) 0;
}

.footer-logo {
  margin-bottom: var(--spacing-lg);
}

.footer-heading {
  font-size: var(--font-md);
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--text-dark);
  position: relative;
}

.footer-heading::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #c2c2c2;
}

.footer-links {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: var(--font-md);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  background-color: var(--footer-bg);
  color: var(--bg-white);
  padding: var(--spacing-md) 0;
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-rounded);
  background-color: var(--bg-white);
  color: var(--footer-bg);
  transition: var(--transition-scale);
}

.social-icons a:hover {
  transform: scale(1.1);
}

.footer-right a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: var(--font-md);
}

.company-info {
  font-size: var(--font-md);
  margin-bottom: var(--spacing-xs);
  line-height: 1.5;
}

.certification-container {
  display: flex;
  gap: var(--spacing-sm);
}

.certification-img {
  height: 40px;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .office-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 50px;
  }
}

@media (max-width: 576px) {
  /* Typography responsive */
  .section-title {
    font-size: var(--font-md);
  }

  .service-title {
    font-size: var(--font-xs);
    font-weight: 500;
  }

  .office-title {
    font-size: var(--font-sm);
  }

  .office-address {
    font-size: var(--font-xs);
  }

  .office-price {
    font-size: var(--font-sm);
  }

  /* Component responsive */
  .service-icon {
    width: 60px;
    height: 60px;
  }

  .news-image-container {
    height: 150px;
  }

  .office-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: var(--spacing-sm);
  }

  .office-for-rent .office-item .card-img-top {
    width: 86px;
    height: 86px;
  }

  .office-card {
    margin-bottom: var(--spacing-sm);
  }

  .office-info {
    padding: var(--spacing-sm);
  }

  .office-img {
    height: 141px;
  }

  .partner-logo {
    height: 30px;
  }

  .row-client-card {
    grid-template-columns: repeat(4, 1fr);
  }

  .client-card {
    height: 30px;
  }

  .quote-banner {
    min-height: 172px;
  }

  .quote-banner p {
    font-size: var(--font-md);
  }
}

@media (max-width: 767px) {
  .footer-top {
    padding: var(--spacing-lg) 0;
  }

  .footer-heading {
    margin-top: var(--spacing-sm);
    font-size: 13px;
  }

  .company-info {
    font-size: 13px;
  }

  .certification-img {
    height: 35px;
  }

  .footer-bottom {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: var(--spacing-sm);
  }

  .footer-right {
    margin-top: var(--spacing-sm);
  }
}

@media (max-width: 575px) {
  .logo-img {
    max-height: 50px;
  }

  .footer-heading::before {
    width: 40px;
  }

  .footer-links a,
  .company-info,
  .footer-right a {
    font-size: var(--font-sm);
  }

  .certification-img {
    height: 30px;
  }
}

@media (min-width: 992px) {
  .footer-top .row > div:first-child {
    flex: 0 0 auto;
    width: 33.333%;
  }
  .footer-top .row > div:not(:first-child) {
    flex: 0 0 auto;
    width: 22.222%;
  }
}

.fixed-actions {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.action-btn {
  position: relative;
  height: 50px;
  cursor: pointer;
}

.action-icon {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.action-content {
  position: absolute;
  right: 15px;
  top: 0;
  height: 50px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  padding: 0 65px 0 20px;
  color: white;
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.action-btn:hover .action-content {
  transform: scaleX(1);
}

.action-btn:hover .action-icon {
  opacity: 1;
  transform: scale(1);
}

/* Make sure other buttons' icons are visible when one is hovered */
.fixed-actions:hover .action-btn:not(:hover) .action-icon {
  opacity: 1;
  transform: scale(1);
}

/* Button colors */
.hotline-icon {
  background: #1ed5a3;
}

.hotline-content {
  background: #1ed5a3;
}

.zalo-icon {
  background: #0068ff;
}

.zalo-content {
  background: #0068ff;
}

.messenger-icon {
  background: #0084ff;
}

.messenger-content {
  background: #0084ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fixed-actions {
    right: 10px;
  }

  .action-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .action-content {
    height: 45px;
    right: 22.5px;
    padding: 0 55px 0 15px;
    font-size: 14px;
  }
}


.page-content#product-detail .hero-section {
    height: 300px;
}
.page-content#product-detail .price-list {
    /* background: red; */
}
.page-content#product-detail .price-list .price-item {
    color: var(--third);   
}

.page-content#product-detail .price-list .price-item strong {
    color: #000;
}
