/* Modern About Page Styles - Exact Reference Match */

/* ===== GENERAL LAYOUT ===== */
.about-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    padding: 0;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #374151;
    align-items: flex-start;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
  }
  
  /* remove decorative radial backgrounds for classic flat layout */
  .about-page-container::before,
  .about-page-container::after {
    content: none;
  }
  
  .about-main-content {
    flex: 2;
    min-width: 60%;
    position: relative;
    z-index: 1;
    animation: none;
  }
  
  .about-sidebar {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 1;
    animation: none;
  }
  
  /* ===== CARD CONTAINER ===== */
  .modern-card {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    padding: 20px 20px 25px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
  }
  
  /* ===== MAIN TITLE ===== */
  .modern-title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 18px;
    padding: 6px 0 8px;
    border-bottom: 2px solid #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* red left bar similar to original layout */
  .modern-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background-color: #c8102e;
  }
  
  /* ===== ABOUT CONTENT WRAPPER ===== */
  .about-content-wrapper {
    display: block;
    margin-bottom: 32px;
    overflow: hidden;
  }
  
  /* ===== GLOBE IMAGE SECTION ===== */
  .about-image-section {
    float: left;
    width: 210px;
    margin-right: 25px;
    margin-bottom: 15px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  
  .about-image-section:hover {
    transform: none;
    box-shadow: none;
  }
  
  .globe-image {
    max-width: 100%;
    height: auto;
    animation: none;
    filter: none;
  }
  
  /* ===== TEXT CONTENT ===== */
  .about-text-column {
    display: block;
  }
  
  .about-text-content {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
  }
  
  .about-text-content p {
    margin-bottom: 15px;
  }
  
  .about-text-content h1,
  .about-text-content h2,
  .about-text-content h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 15px;
  }
  
  .about-text-content strong {
    color: #333;
    font-weight: 700;
  }
  
  /* ===== OUR CORE VALUES SECTION ===== */
  .core-values-section {
    clear: both;
    margin: 25px 0 15px;
    padding: 0;
    background: transparent;
  }
  
  .core-values-title {
    font-size: 16px;
    font-weight: 700;
    color: #c8102e;
    text-align: left;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .core-values-grid {
    display: flex;
    flex-wrap: wrap;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  
  /* Fixed malformed .core-value-item rule - consolidated duplicate declarations */
  /* 3 items per row on desktop */
  .core-value-item {
    width: 33.3333%;
    box-sizing: border-box;
    background: #fff;
    padding: 14px 18px;
    text-align: left;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  /* Remove right border from last column (every 3rd item) */
  .core-value-item:nth-child(3n) {
    border-right: none;
  }
  
  /* Remove bottom border from last row (last 3 items) */
  .core-value-item:nth-last-child(-n + 3) {
    border-bottom: none;
  }
  
  .core-value-item:hover {
    background: #fafafa;
  }
  
  .core-value-icon {
    font-size: 12px;
    color: #c8102e;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1;
  }
  
  .core-value-item:hover .core-value-icon {
    transform: none;
    color: #c8102e;
  }
  
  .core-value-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-transform: none;
    letter-spacing: 0.2px;
    line-height: 1.4;
  }
  
  /* ===== CONTACT INFORMATION SECTION ===== */
  .contact-info-section {
    margin-top: 18px;
  }
  
  .contact-info-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
  }
  
  .contact-info-card:hover {
    box-shadow: none;
    transform: none;
  }
  
  .contact-title {
    font-size: 15px;
    color: #c8102e;
    margin: 0 0 6px;
    padding: 0;
    border-bottom: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
  }
  
  .contact-details-content {
    padding: 0;
    background: transparent;
  }
  
  .contact-details-content table {
    width: 100%;
    font-size: 13px;
    margin: 0 !important;
    border-collapse: collapse !important;
  }
  
  .contact-details-content table tr {
    border-bottom: none;
    transition: none;
  }
  
  .contact-details-content table tr:hover {
    background: transparent;
  }
  
  .contact-details-content table tr:last-child {
    border-bottom: none;
  }
  
  .contact-details-content table td {
    padding: 10px 0 !important;
    vertical-align: top;
    border: none !important;
    color: #555;
    line-height: 1.7;
  }
  
  .contact-details-content table tr td:first-child {
    font-weight: 700;
    color: #333;
    width: 38%;
    padding-right: 15px !important;
  }
  
  .contact-details-content table tr td:last-child {
    color: #666;
    font-weight: 400;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes float {
    0%,
    100% {
      transform: translateY(0px);
    }
  
    50% {
      transform: translateY(-12px);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 24px, 0);
    }
  
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translate3d(24px, 0, 0);
    }
  
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  
  /* ===== SIDEBAR PACKAGE TOUR WIDGET ===== */
  .sidebar-widget {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 18px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
    font-size: 12px;
  }
  
  .sidebar-header {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #f5f5f5;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #333333;
  }
  
  .sidebar-content {
    padding: 10px 10px 8px;
  }
  
  .sidebar-content .factboldtxt {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #c8102e;
    padding: 6px 8px;
    text-align: center;
    margin-bottom: 10px !important;
  }
  
  .sidebar-tour-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .sidebar-tour-item:last-child {
    border-bottom: none;
  }
  
  .tour-info {
    flex: 1;
    padding-right: 6px;
  }
  
  .tour-name {
    font-size: 12px;
    color: #333333;
    line-height: 1.4;
  }
  
  .tour-price {
    font-size: 11px;
    color: #b22222;
  }
  
  .tour-action {
    flex-shrink: 0;
  }
  
  .btn-book-sidebar {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #c8102e;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  }
  
  .btn-book-sidebar:hover {
    background-color: #a60d24;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(185, 28, 28, 0.35);
  }
  
  .sidebar-tour-item:hover {
    background-color: #fafafa;
  }
  
  /* Tablet */
  @media (max-width: 1024px) {
    .about-page-container {
      flex-direction: column;
      gap: 20px;
    }
  
    .about-main-content,
    .about-sidebar {
      width: 100%;
      min-width: 0;
    }
  
    .sidebar-widget {
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .about-image-section {
      float: none;
      width: 220px;
      margin: 0 auto 25px;
    }
  
    .core-values-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Adjust borders for 2-column layout */
    .core-value-item:nth-child(3n) {
      border-right: 1px solid #ddd;
    }
  
    .core-value-item:nth-child(2n) {
      border-right: none;
    }
  
    .core-value-item:nth-last-child(-n + 3) {
      border-bottom: 1px solid #ddd;
    }
  
    .core-value-item:nth-last-child(-n + 2) {
      border-bottom: none;
    }
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .modern-title {
      font-size: 1rem;
    }
  
    .footerlink table,
    .footerlink tbody,
    .footerlink tr,
    .footerlink td {
      display: block;
      width: 100% !important;
    }
  
    .footerlink td {
      padding: 0;
      margin-bottom: 12px;
    }
  
    .about-image-section {
      width: 190px;
      padding: 15px;
    }
  
    .about-text-content {
      font-size: 12px;
    }
  
    .core-values-grid {
      grid-template-columns: 1fr;
    }
  
    /* Adjust borders for single column */
    .core-value-item {
      width: 50%;
      padding-right: 8px;
    }
  
    .contact-details-content {
      padding: 15px;
    }
  
    .contact-details-content table {
      font-size: 12px;
    }
  }
  
  /* Small Mobile */
  @media (max-width: 480px) {
    .modern-title {
      font-size: 0.95rem;
    }
  
    .about-image-section {
      width: 160px;
      padding: 12px;
    }
  
    .about-text-content {
      font-size: 11px;
      line-height: 1.6;
    }
  
    .core-value-item {
      width: 100%;
      padding: 4px 0;
    }
  
    .core-value-icon {
      font-size: 1.1rem;
    }
  
    .core-value-title {
      font-size: 0.8rem;
    }
  
    .contact-details-content table tr td:first-child {
      width: 42%;
    }
  }
  
  /* ===== CLEARFIX ===== */
  .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
  
  /* ===== OUR POPULAR TAXI SERVICES SECTION (bottom block) ===== */
  .footerlink {
    margin-top: 32px;
    margin-bottom: 10px;
  }
  
  .footerlink h1 {
    text-align: center !important;
  }
  
  .footerlink h1 span {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c8102e;
  }
  
  .footerlink table {
    width: 100%;
    margin-top: 12px;
  }
  
  .footerlink td {
    vertical-align: top;
    padding: 0 10px;
  }
  
  .footerlink ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footerlink ul li {
    margin-bottom: 4px;
  }
  
  .footerlink ul li a {
    font-size: 12px;
    color: #b22222;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  
  .footerlink ul li a:hover {
    color: #c8102e;
    transform: translateX(2px);
  }
  