/* static/css/style.css */
body {
    font-family: sans-serif;
    margin: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Basic Top Bar Styling */
/* static/css/style.css */

/* ... (your existing body, container styles) ... */

/* Top Bar Styling */
.top-bar {
    background-color: #f0f2f5; /* A light grey, adjust as needed */
    padding: 8px 0;
    font-size: 0.9em;
    color: #333; /* Adjust text color */
}

.top-bar .container {
    text-align: left; /* Or center/right based on your design */
    /* If you want them spaced out:
    display: flex;
    justify-content: space-between; 
    */
}

.top-bar .phone-hcm,
.top-bar .phone-hn {
    margin-right: 20px; /* Space between phone numbers */
    color: #007bff; /* Blue color for links/numbers, adjust */
}

/* Main Navigation Bar Styling */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0; /* Adjust padding */
}

.main-nav .container {
    display: flex; /* Key for horizontal layout */
    justify-content: space-between; /* Puts logo on left, nav links on right */
    align-items: center; /* Vertically aligns items in the middle */
}

/* Logo Styling */
.main-nav .logo img {
    max-height: 40px; /* Adjust to your logo's desired size */
    display: block; /* Removes extra space below image */
}

/* Navigation Links Styling */
.main-nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Makes list items horizontal */
    align-items: center;
}

.main-nav .nav-links .nav-item {
    margin-left: 25px; /* Space between top-level menu items */
    position: relative; /* Needed for absolute positioning of dropdowns */
}

.main-nav .nav-links .nav-link {
    text-decoration: none;
    color: #333333; /* Adjust link color */
    padding: 8px 0px; /* Padding for clickable area */
    display: block;
    font-weight: 500; /* Slightly bolder */
}

.main-nav .nav-links .nav-link:hover,
.main-nav .nav-links .nav-item.active .nav-link { /* Style for active link */
    color: #007bff; /* Highlight color, adjust */
    /* border-bottom: 2px solid #007bff; Add an underline on hover/active */
}

.main-nav .dropdown-indicator {
    font-size: 0.7em;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

/* Dropdown Menu Styling */
.main-nav .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the parent */
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 200px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other content */
}

.main-nav .nav-item.dropdown:hover .dropdown-menu,
.main-nav .nav-item.dropdown:focus-within .dropdown-menu { /* Show on hover/focus for basic interaction */
    display: block;
}
.main-nav .nav-item.dropdown:hover .dropdown-indicator {
    transform: rotate(180deg);
}


.main-nav .dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333333;
    font-size: 0.95em;
    white-space: nowrap; /* Prevent text wrapping in dropdown */
}

.main-nav .dropdown-menu .dropdown-item:hover,
.main-nav .dropdown-menu .dropdown-item.active {
    background-color: #f0f2f5;
    color: #007bff;
}


/* Footer Styles */
.site-footer {
    /* background-color is handled by sub-partials for different sections */
    width: 100%;
    line-height: 1.7; /* Slightly more line height for footer text */
}

.footer-main-content {
    /* Styles for background, color, padding are inline in the partial for this example */
    /* You can move them here:
    background-color: #009CDE; 
    color: white;
    padding: 40px 0;
    */
}

.footer-columns {
    display: flex;
    flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
    justify-content: space-between;
    gap: 30px; /* Space between columns */
}

.footer-column {
    flex: 1; /* Allows columns to grow and shrink */
    min-width: 280px; /* Minimum width before wrapping */
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 5px;
    /* border-bottom: 2px solid white; /* Alternative to <hr> */
    display: inline-block; /* For border-bottom to not span full width */
}

hr.footer-title-underline {
    border: 0;
    height: 2px;
    background-color: white;
    width: 50px; /* Adjust width of underline */
    margin: 0 0 15px 0; /* No horizontal margin, only bottom */
}


.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a,
.footer-contact li a {
    color: white;
    text-decoration: none;
    font-size: 0.95em;
}

.footer-links li a:hover,
.footer-contact li a:hover {
    text-decoration: underline;
}

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

.footer-contact li .icon-phone, 
.footer-contact li .icon-email,
.footer-contact li .icon-location {
    margin-right: 8px;
    /* Add styles for actual icons later */
}


.footer-about .footer-logo {
    max-width: 150px; /* Adjust as needed */
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.9em;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between social icons */
}

.footer-social .partner-logo { /* If you add the Vietnam Discovery logo */
    max-height: 30px; /* Adjust */
}

.footer-social .social-icon {
    color: white;
    font-size: 1.5em; /* Example size, adjust for actual icons */
    text-decoration: none;
    /* Basic styling for the 'F' placeholder */
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid white;
    border-radius: 4px;
}
.footer-social .social-icon:hover {
    opacity: 0.8;
}


.sub-footer {
    /* Styles for background, color, padding are inline in the partial for this example */
    /* You can move them here:
    background-color: #007EAD;
    color: white; 
    padding: 15px 0;
    text-align: center;
    font-size: 0.9em;
    */
    border-top: 1px solid #0070A0; /* Separator line if colors are very similar */
}

.sub-footer p {
    margin: 0;
}



/* =============================================== */
/* List Page Styles (Visa List Example)            */
/* =============================================== */

/* General Container for the page if you don't have one */
/* .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
} */

/* Breadcrumbs Styling (Item #7) */
/* (Using classes from breadcrumbs.html partial) */
.breadcrumbs-container {
  margin-bottom: 20px; /* Space below breadcrumbs */
  padding: 8px 0;
  font-size: 0.9em;
  border-bottom: 1px solid #eee; /* Optional separator */
}

.breadcrumbs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: inline;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.6em;
  color: #6c757d; /* Bootstrap-like separator color */
}

.breadcrumb-item a {
  text-decoration: none;
  color: #007bff; /* Bootstrap-like link color */
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #343a40; /* Darker color for current page */
  font-weight: bold;
}


/* List Page Header (Title and Description from _index.md) */
.list-page-header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  /* border-bottom: 1px solid #eee; */ /* Already in breadcrumbs, maybe not needed here */
}

.list-page-header h1 {
  font-size: 2.2em; /* Adjust as needed */
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

.list-page-description {
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

/* Main Two-Column Layout Grid */
.list-layout-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column by default (mobile first) */
  gap: 30px; /* Space between columns and rows if content wraps */
}

@media (min-width: 768px) { /* For tablets and wider */
  .list-layout-grid {
    /* Adjust column ratio as per your design image.
       Looks like left is wider, maybe 2fr 1fr or 3fr 2fr */
    grid-template-columns: 2fr 1fr;
  }
}

/* Left Column: Posts (Items #1, #2, #3) */
.posts-column {
  /* No specific styling needed for the column itself,
     but you can add if necessary e.g. border */
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Space between post cards */
}

.post-card {
  display: flex; /* Image and content side-by-side */
  gap: 20px; /* Space between thumbnail and content */
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden; /* Ensures child elements don't break border-radius */
}

.post-card-thumbnail {
  flex-shrink: 0; /* Prevent image from shrinking */
  width: 180px; /* Adjust width as needed */
  height: 120px; /* Adjust height as needed */
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop image nicely to fit dimensions */
  border-radius: 4px; /* Slightly rounded corners for the image */
}

.post-card-content {
  flex-grow: 1; /* Allow content to take remaining space */
  display: flex;
  flex-direction: column;
}

.post-card-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.3em; /* Adjust as needed */
  line-height: 1.3;
}

.post-card-title a {
  text-decoration: none;
  color: #2c3e50; /* Dark blue/grey */
}

.post-card-title a:hover {
  color: #007bff;
}

.post-card-summary {
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
  flex-grow: 1; /* Pushes date to the bottom if content is short */

  /* For truncating text to a few lines (optional, browser support varies) */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Show 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.5em * 3); /* Fallback for max-height, adjust 1.5em if line-height changes */
}

.post-card-date {
  font-size: 0.85em;
  color: #888;
  margin-top: auto; /* Pushes to bottom if summary is short */
  padding-top: 5px; /* Small space above date */
}


/* Right Column: Sidebar (Items #4, #5, #6) */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Space between sidebar widgets */
}

.sidebar-widget {
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 5px;
  background-color: #f9f9f9; /* Slightly different background for widgets */
}

.sidebar-widget h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.25em;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  color: #333;
}

/* Styling for Placeholder Visa Check Form (Item #4) */
.widget-visa-check form div {
  margin-bottom: 12px;
}
.widget-visa-check label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9em;
}
.widget-visa-check input[type="text"],
.widget-visa-check input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Important for width 100% */
}
.widget-visa-check button {
  width: 100%;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
}
.widget-visa-check button:hover {
  background-color: #0056b3;
}

/* Styling for Placeholder Why Choose Us (Item #5) */
.widget-why-choose-us img {
  border-radius: 4px; /* Match other rounded corners */
  margin-bottom: 15px; /* If you have an image */
}
.widget-why-choose-us ul {
  list-style: disc; /* Or '✓ ' with ::before if you prefer */
  padding-left: 20px;
  margin-bottom: 0;
  font-size: 0.95em;
  line-height: 1.6;
}
.widget-why-choose-us li {
  margin-bottom: 8px;
}

/* Styling for Placeholder Success Stories (Item #6) */
.success-story-card {
    display: block; /* Changed to block for vertical flow */
    margin-bottom: 20px; /* Space BETWEEN cards - adjust as needed */
    border: 1px solid #ddd; /* Add a border - adjust color */
    border-radius: 8px; /* Add rounded corners - adjust radius */
    overflow: hidden; /* Ensures content (like image) respects border-radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08); /* Add a subtle shadow - adjust */
    background-color: #fff; /* Ensure background is white */
    text-decoration: none; /* Remove default link underline if wrapping the whole card */
    display: flex; /* Use flex for vertical column layout */
    flex-direction: column; /* Stack items vertically */
    height: auto; /* Ensure height adjusts to content */
    box-sizing: border-box;
}

.success-story-card img {
    width: 100%; /* Image fills the width of the card */
    height: auto; /* Height adjusts proportionally */
    /* You might set a max-height here if images are too tall, e.g., max-height: 150px; */
    object-fit: cover; /* Ensure image covers the area without distortion */
    /* border-radius: 5px; */ /* Optional: if you want top corners rounded */
    margin-right: 0; /* Remove margin-right as text is below */
     /* Optional: if you want bottom corners of image rounded */
     /* border-bottom-left-radius: 8px; */
     /* border-bottom-right-radius: 8px; */
     /* You might need to adjust border-radius on the card itself or the image */
}
.success-story-content h4 {
  margin: 0 0 5px 0;
  font-size: 1em;
  line-height: 1.3;
}
.success-story-content h4 a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.success-story-content h4 a:hover {
  color: #007bff;
}
.success-story-content p {
  font-size: 0.9em;
  color: #777;
  margin: 0;
  line-height: 1.4;
}

/* Pagination Styling (using classes from Hugo's default internal template) */
.pagination {
  list-style: none;
  padding: 0;
  margin-top: 30px; /* Space above pagination */
  text-align: center; /* Center pagination links */
}
.pagination li {
  display: inline-block;
  margin: 0 5px;
}
.pagination li a,
.pagination li span { /* span is used for current page or disabled links */
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #007bff;
  border-radius: 4px;
}
.pagination li a:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}
.pagination li.active span { /* Current page */
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
.pagination li.disabled span { /* e.g., "Previous" on first page */
  color: #aaa;
  border-color: #ddd;
  cursor: not-allowed;
}


/* =============================================== */
/* Single Post Page Styles                         */
/* =============================================== */

.single-page .single-post-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.single-page .single-post-header h1 {
  font-size: 2.5em; /* Larger title for single post */
  margin-bottom: 10px;
  color: #333;
  line-height: 1.2;
}

.single-page .post-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 20px;
}

.single-page .post-meta span {
  margin-right: 15px;
}
.single-page .post-meta .post-tags a {
  margin-right: 5px;
  text-decoration: none;
  color: #007bff;
  font-size: 0.95em;
}
.single-page .post-meta .post-tags a:hover {
  text-decoration: underline;
}


.single-page .featured-image-single {
  margin-bottom: 25px;
}

.single-page .featured-image-single img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.single-page .post-body {
  line-height: 1.7;
  font-size: 1.1em; /* Slightly larger font for readability */
  color: #333;
}

.single-page .post-body h2,
.single-page .post-body h3,
.single-page .post-body h4 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  line-height: 1.3;
  color: #2c3e50;
}
.single-page .post-body h2 { font-size: 1.8em; }
.single-page .post-body h3 { font-size: 1.5em; }
.single-page .post-body h4 { font-size: 1.3em; }

.single-page .post-body p {
  margin-bottom: 1.2em;
}

.single-page .post-body ul,
.single-page .post-body ol {
  margin-bottom: 1.2em;
  padding-left: 30px;
}

.single-page .post-body li {
  margin-bottom: 0.5em;
}

.single-page .post-body img {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 4px;
  display: block; /* To allow margin auto for centering if needed */
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.single-page .post-body em { /* For image captions if using *caption* markdown */
  display: block;
  text-align: center;
  font-size: 0.9em;
  color: #777;
  margin-top: -5px;
  margin-bottom: 15px;
}

.single-page .post-body blockquote {
  border-left: 3px solid #007bff;
  padding-left: 20px;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: #555;
}

/* Related Posts Section */
.related-posts-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related-posts-section h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: left; /* As per your image */
  color: #333;
}

.related-posts-carousel-wrapper {
  overflow: hidden; /* Hide parts of cards that are off-screen */
  position: relative; /* For potential future arrow buttons */
}

.related-posts-carousel {
  display: flex;
  overflow-x: auto; /* Enables horizontal scrolling */
  scroll-snap-type: x mandatory; /* Snaps items into view (optional) */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding-bottom: 20px; /* Space for scrollbar if visible, prevents content clipping */
  gap: 20px; /* Space between cards */
}

/* Hide scrollbar (optional, varies by browser) */
.related-posts-carousel::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, Opera */
}
.related-posts-carousel {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.related-post-card {
  flex: 0 0 auto; /* Prevent cards from shrinking/growing */
  width: 280px; /* Adjust width as needed for how many you want visible */
  scroll-snap-align: start; /* Aligns card to the start on snap (optional) */
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden; /* Clip image corners */
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-decoration: none; /* If the whole card is a link */
  color: inherit; /* Inherit text color */
  display: block; /* Make the <a> a block */
}
.related-post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-post-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.related-post-image {
  width: 100%;
  height: 180px; /* Adjust height as needed */
  object-fit: cover;
  display: block;
}

.related-post-card h4.related-post-title {
  font-size: 1.1em;
  margin: 10px 15px;
  color: #333;
  line-height: 1.3;
  height: 2.6em; /* Approx 2 lines, adjust with line-height */
  overflow: hidden;
}

.related-post-card p.related-post-date {
  font-size: 0.85em;
  color: #777;
  margin: 0 15px 10px 15px;
}


/* --- Sidebar Widget: Why Choose Us --- */
.widget-why-choose-us h3 {
    text-align: center; /* Center the title */
    margin-bottom: 20px; /* Space below the title */
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two columns of equal width */
    grid-template-rows: auto auto; /* Creates two rows, height adjusts to content */
    /* Use border-top and border-left on the container,
       and border-right and border-bottom on grid items
       to create the separating lines */
    border-top: 1px solid #ddd; /* Lighter border color example */
    border-left: 1px solid #ddd; /* Lighter border color example */
}

.why-choose-us-grid .grid-item {
    padding: 20px 10px; /* Adjust vertical/horizontal padding as needed */
    text-align: center; /* Center content inside each cell */
    border-right: 1px solid #ddd; /* Right line for separation */
    border-bottom: 1px solid #ddd; /* Bottom line for separation */
    background-color: #fff; /* Add a background if needed, based on design */
}

.why-choose-us-grid .grid-item .number {
    font-size: 1.8em; /* Adjust size to match design */
    font-weight: bold;
    color: #007bff; /* Use a blue matching your design or brand color */
    margin-bottom: 5px; /* Space between number and label */
    line-height: 1.2; /* Adjust line height if numbers are very tall */
}

.why-choose-us-grid .grid-item .label {
    font-size: 0.9em; /* Adjust size to match design */
    color: #555; /* Use a suitable text color */
    line-height: 1.2;
}

/* Optional: Adjust font size specifically for '24/7' if it looks too big */
.why-choose-us-grid .grid-item:nth-child(3) .number {
    font-size: 1.5em; /* Example adjustment */
}

/* Optional: Add hover effects if desired */
.why-choose-us-grid .grid-item:hover {
    /* background-color: #f9f9f9; */
    /* cursor: pointer; */
}

/* Add some space below the widget */
.widget-why-choose-us {
    margin-bottom: 30px; /* Or whatever spacing you need */
}

/* --- Sidebar Widget: Success Stories --- */
.widget-success-stories h3 {
    text-align: center; /* Center the title */
    margin-bottom: 15px; /* Space below the title */
}

.success-stories-list {
    max-height: 350px; /* Set a maximum height - adjust this value */
    overflow-y: auto; /* Add vertical scrollbar when content exceeds max-height */
    -webkit-overflow-scrolling: touch; /* Improve scrolling on touch devices */
    padding-right: 15px; /* Add some padding for the scrollbar visual */
    margin-bottom: 15px; /* Space between the list and the button */
}

/* Style for the scrollbar itself (optional, for modern browsers) */
.success-stories-list::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.success-stories-list::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 10px;
}

.success-stories-list::-webkit-scrollbar-thumb {
    background: #888; /* Handle color */
    border-radius: 10px;
}

.success-stories-list::-webkit-scrollbar-thumb:hover {
    background: #555; /* Handle on hover */
}


.success-story-card {
    margin-bottom: 20px; /* Space BETWEEN cards - adjust as needed */
    border: 1px solid #ddd; /* Add a border - adjust color */
    border-radius: 8px; /* Add rounded corners - adjust radius */
    overflow: hidden; /* Ensures content respects border-radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08); /* Add a subtle shadow - adjust */
    background-color: #fff; /* Ensure background is white */
    /* REMOVE these lines if they are present from previous attempts: */
    /* display: flex; */
    /* align-items: center; */
    /* padding-bottom: 15px; */ /* Remove if using full card padding/border */
    /* border-bottom: 1px solid #eee; */ /* Remove if using full card border */
}
.success-story-card a {
    display: flex; /* Make the link a flex container */
    flex-direction: column; /* Stack the image and content div vertically */
    text-decoration: none; /* Remove the default link underline */
    color: inherit; /* Ensure text color is inherited correctly */
    /* Optional: make the link take full width/height of its parent card */
    width: 100%;
    height: 100%; /* Or height: auto; */
}

.success-story-card img {
    width: 100%; /* Image fills the width of the card */
    height: auto; /* Height adjusts proportionally */
    /* You might set a max-height here if images are too tall, e.g., max-height: 150px; */
    object-fit: cover; /* Ensure image covers the area without distortion */
    margin-right: 0; /* Important: Remove margin-right as content is below */
     /* Optional: if you want bottom corners of image rounded to match card */
     /* border-bottom-left-radius: 8px; */
     /* border-bottom-right-radius: 8px; */
}

.success-story-card .success-story-content {
     padding: 10px 15px; /* Add padding inside the content area - adjust */
     flex-grow: 0; /* No longer needed to grow */
}

 .success-story-card h4 {
    margin: 0; /* Remove default heading margin */
    font-size: 1em; /* Adjust title font size */
    line-height: 1.3;
    font-weight: normal; /* Title looks less bold */
}

 .success-story-card h4 a {
    color: #333; /* Link color - adjust to your site's text color */
    text-decoration: none; /* Remove underline */
    transition: color 0.2s ease;
}

 .success-story-card h4 a:hover {
    color: #007bff; /* Hover color - use your link/brand color */
    text-decoration: underline; /* Optional: Add underline on hover */
}

/* Style for the "Xem thêm" button */
.success-stories-scroll-button {
    display: block; /* Make button take full width or center it */
    width: 100%; /* Example: full width */
    padding: 10px 15px;
    text-align: center;
    background-color: #f0f0f0; /* Light background */
    color: #333; /* Text color */
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    text-decoration: none;
}

.success-stories-scroll-button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
    text-decoration: none;

}



/* --- General Styles (May already exist in your CSS) --- */
/* Add/adjust these if they are not already in your stylesheet */

/* Basic container for centering and max-width */
.container {
    max-width: 1100px; /* Adjust this width to match your site's standard container */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add horizontal padding on smaller screens */
}

/* Basic link styling reset (optional, but good practice) */
a {
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Inherit color from parent */
}

/* --- Company Intro Section Styles --- */

.company-intro-section {
    padding: 60px 0 30px 0; /* Add padding - more space top, less space bottom */
    background-color: #fff; /* Assume a white background */
    text-align: center; /* Center align all text content within this section */
}

.greeting {
    font-size: 1.2em;
    color: #007bff; /* Example brand color - use your site's primary color */
    margin-bottom: 10px;
    font-weight: 600;
}

.site-main-title {
    font-size: 2.8em; /* Larger font for the main title */
    color: #333; /* Dark grey */
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.site-tagline {
    font-size: 1.4em;
    color: #555; /* Medium grey */
    margin-bottom: 30px;
    font-style: italic;
}

.intro-text-block {
    max-width: 800px; /* Limit width of paragraph block for readability */
    margin: 0 auto 40px auto; /* Center the block and add space below */
    text-align: left; /* Align paragraphs to the left */
}

.intro-text-block p {
    margin-bottom: 15px; /* Space between paragraphs */
    line-height: 1.7; /* Improve readability */
    color: #444; /* Slightly darker grey for paragraphs */
}

/* --- Styling for the Refined Key Statistics Grid --- */
.key-stats-grid {
    display: grid; /* Use CSS Grid */
    /* Create columns that automatically fit, minimum width 180px, take equal space */
    /* Adjust 180px based on how wide you want stats to be before wrapping */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px; /* Space between grid items */
    margin: 0 auto 40px auto; /* Center the grid and add space below */
    max-width: 900px; /* Optional: Limit the max width of the stats row */
    padding: 0 10px; /* Add some horizontal padding */
}

.stat-item {
    text-align: center; /* Center text within each stat item */
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 20px; /* Inner padding */
    border-radius: 8px; /* Rounded corners */
    border: 1px solid #e9ecef; /* Subtle border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Very subtle shadow */
    display: flex; /* Use flexbox within the item */
    flex-direction: column; /* Stack icon/text vertically */
    align-items: center; /* Center content vertically in column */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.stat-item:hover {
    background-color: #e2e6ea; /* Slightly darker background on hover */
    transform: translateY(-5px); /* Lift effect on hover */
}


.stat-icon {
    margin-bottom: 15px; /* Space below the icon */
    color: #007bff; /* Icon color - match brand color */
    /* Optional: Add a circle or background behind the icon */
    /* background-color: #e9ecef; */
    /* border-radius: 50%; */
    /* padding: 10px; */
    /* display: inline-flex; */ /* Use inline-flex if adding background/padding */
    /* align-items: center; */
    /* justify-content: center; */
}

.stat-icon svg,
.stat-icon i { /* Style for SVG or icon font element */
    width: 40px; /* Icon size */
    height: 40px; /* Icon size */
    /* For SVGs, ensure fill="currentColor" is set in the SVG markup */
    /* For font icons, color is inherited from .stat-icon */
}


.stat-number {
    font-size: 2.2em; /* Large size for the number */
    color: #333; /* Dark grey or match brand color */
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1; /* Adjust line height if numbers are tall */
}

.stat-label {
    font-size: 1em;
    color: #666; /* Medium grey for the label */
    font-weight: 500;
    line-height: 1.3;
}

/* Optional: Styling for a simple horizontal rule divider */
.section-divider {
    border: 0;
    height: 1px;
    background: #eee; /* Light grey line */
    width: 50%; /* Make it shorter than the full width */
    margin: 40px auto 50px auto; /* Center and add space above/below */
}


/* --- Visa Services Section Styles --- */

/* Basic styling for the section */
.visa-services-section {
    padding: 60px 0; /* Add vertical padding above and below the section */
    background-color: #f9f9f9; /* Optional: Add a light background */
    margin-bottom: 40px; /* Leave space below this section for next content */
}

/* Styling for the main heading of the section */
.section-heading {
    text-align: center; /* Center the heading */
    margin-bottom: 50px; /* Space below the heading */
    font-size: 2.2em; /* Adjust font size for prominence */
    color: #333; /* Dark grey color for text */
    font-weight: 700; /* Bold font */
    text-transform: uppercase; /* Optional: make heading uppercase */
    letter-spacing: 1px; /* Optional: add letter spacing */
}

/* CSS Grid layout for the service items */
.service-items-grid {
    display: grid;
    /* Creates columns that are at least 280px wide and take up equal space */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Space between grid items */
}

/* Styling for each individual service item block */
.service-item {
    display: flex; /* Use flexbox to arrange image and content vertically */
    flex-direction: column; /* Stack image above content */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 8px; /* Rounded corners for the item block */
    overflow: hidden; /* Hide anything outside the rounded corners */
    background-color: #fff; /* White background for the content area */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition on hover */
    text-decoration: none; /* Remove default link underline if item becomes a link */
    color: inherit; /* Inherit text color */
}

.service-item:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
}


.service-item img {
    display: block; /* Ensure image is a block element */
    width: 100%; /* Image takes full width of its container */
    height: 200px; /* Fixed height for consistency - adjust as needed */
    object-fit: cover; /* Cover the area without distorting aspect ratio */
    /* Note: If your images have consistent aspect ratios, you might omit height/object-fit */
}

/* Styling for the content area below the image */
.service-content {
    padding: 20px; /* Padding inside the content box */
    flex-grow: 1; /* Allow content to grow and fill space if needed */
}

/* Styling for the service title (h3) */
.service-title {
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 15px; /* Space below the title */
    font-size: 1.3em; /* Adjust title font size */
    color: #0056b3; /* Example color (darker blue) - use your site's primary color */
    font-weight: 600; /* Semi-bold title */
}

/* Styling for the descriptive paragraph */
.service-content p {
    margin-bottom: 20px; /* Space below the paragraph */
    line-height: 1.6; /* Improve readability */
    color: #555; /* Medium grey text color */
}

/* Styling for the features list (ul) */
.service-features {
    list-style: none; /* Remove default bullet points */
    padding: 0; /* Remove default left padding */
    margin: 0; /* Remove default margin */
}

/* Styling for each feature list item (li) */
.service-features li {
    position: relative; /* Needed for positioning the icon */
    padding-left: 28px; /* Space for the icon */
    margin-bottom: 12px; /* Space between list items */
    line-height: 1.5;
    color: #555; /* Medium grey text color */
}

/* Pseudo-element for the checkmark icon */
.service-features li::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute; /* Position relative to the list item */
    left: 0; /* Align to the left edge */
    top: 3px; /* Adjust vertical alignment */
    width: 20px; /* Icon size */
    height: 20px; /* Icon size */
    /* Using an SVG data URI for a clean checkmark */
    /* You can replace this with an icon font or different SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2328a745"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>');
    background-size: cover; /* Make the background image cover the pseudo-element */
    background-repeat: no-repeat;
}

/* --- Responsive Adjustments for Both Sections --- */

@media (max-width: 992px) {
    .site-main-title { font-size: 2.4em; }
    .site-tagline { font-size: 1.2em; }
    .intro-text-block { max-width: 700px; }

    .key-stats-grid {
         gap: 15px; /* Reduce gap */
         max-width: 800px;
         padding: 0 5px;
     }
    .stat-item { padding: 15px; }
    .stat-icon { margin-bottom: 10px; }
    .stat-icon svg, .stat-icon i {
        width: 35px; height: 35px;
    }
    .stat-number { font-size: 1.8em; }
    .stat-label { font-size: 0.9em; }
     .section-divider { margin: 30px auto 40px auto; }

    .visa-services-section { padding: 40px 0; }
    .section-heading { font-size: 1.8em; margin-bottom: 30px; }
    .service-items-grid { gap: 20px; }
    .service-content { padding: 15px; }
    .service-title { font-size: 1.2em; }
    .service-features li { padding-left: 25px; margin-bottom: 10px;}
     .service-features li::before { width: 18px; height: 18px; }
}

@media (max-width: 768px) {
    .company-intro-section { padding: 40px 0 20px 0; }
     .site-main-title { font-size: 2em; }
    .site-tagline { font-size: 1.1em; }
     .intro-text-block {
        max-width: 100%;
        padding: 0 10px;
        margin-bottom: 30px;
        text-align: center;
    }
     .intro-text-block p { text-align: left; }

    .key-stats-grid {
        gap: 15px;
        margin-bottom: 30px;
        max-width: 600px;
    }
     .stat-item { padding: 15px; }
     .stat-icon { margin-bottom: 8px; }
     .stat-icon svg, .stat-icon i { width: 30px; height: 30px; }
    .stat-number { font-size: 1.6em; }
     .section-divider { margin: 25px auto 35px auto; }


    .visa-services-section { padding: 40px 0; }
    .section-heading { font-size: 1.8em; margin-bottom: 30px; }
    .service-items-grid { gap: 20px; }
    .service-content { padding: 15px; }
    .service-title { font-size: 1.2em; }
    .service-features li { padding-left: 25px; margin-bottom: 10px;}
     .service-features li::before { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
    .company-intro-section { padding: 30px 0 15px 0; }
    .site-main-title { font-size: 1.6em; }
    .site-tagline { font-size: 1em; margin-bottom: 20px; }
     .intro-text-block { margin-bottom: 20px; }

    .key-stats-grid {
        gap: 10px;
        margin-bottom: 25px;
        max-width: 300px;
    }
     .stat-item {
         padding: 15px 10px;
         flex-direction: row;
         justify-content: center;
         align-items: center;
         text-align: left;
     }
      .stat-icon {
        margin-bottom: 0;
        margin-right: 15px;
      }
     .stat-icon svg, .stat-icon i { width: 25px; height: 25px; }
     .stat-text { display: flex; flex-direction: column; } /* Ensure text stacks */
     .stat-number { font-size: 1.4em; margin-bottom: 0px; line-height: 1.1;}
      .stat-label { font-size: 0.85em; line-height: 1.1;}
       .section-divider { margin: 20px auto 30px auto; width: 70%; }


    .visa-services-section { padding: 30px 0; margin-bottom: 30px; }
    .section-heading { font-size: 1.6em; margin-bottom: 25px; }
    .service-item img { height: 180px; }
    .service-content { padding: 12px; }
    .service-title { font-size: 1.1em; }
     .service-features li { padding-left: 22px; margin-bottom: 8px;}
     .service-features li::before { width: 16px; height: 16px; top: 5px;}
}


/* --- Other Services Section Styles --- */
/* --- Other Services Section Styles (Using Flexbox Grid) --- */

.other-services-section {
    padding: 60px 0; /* Padding above and below the section */
    background-color: #fff; /* Example: white background */
    margin-bottom: 40px; /* Space below this section for next content */
}

/* Section heading - Reuse .section-heading style from Visa Services */
/* (No change needed here, assuming it's defined elsewhere and applied) */


/* Flexbox layout for the service items */
.other-services-grid {
    display: flex; /* Use Flexbox */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center items in the main axis (horizontally) */
    gap: 25px; /* Space between flex items */
    margin: 0 auto; /* Center the grid container */
    max-width: 1000px; /* Optional: Limit the max width of the grid itself */
}

/* Styling for each individual service item block */
.other-service-item {
    text-align: center; /* Center content within the card */
    background-color: #f8f9fa; /* Light background for the card */
    padding: 30px 20px; /* Inner padding */
    border-radius: 8px; /* Rounded corners */
    border: 1px solid #e9ecef; /* Subtle border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Very subtle shadow */
    display: flex; /* Use flexbox inside for vertical centering/stacking */
    flex-direction: column; /* Stack icon, title, description */
    align-items: center; /* Center flex items horizontally within the item */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */

    /* Key Flexbox properties for width and responsiveness */
    /* Aiming for ~3 or 4 columns on large screens, ~2-3 on tablets */
    flex-basis: 250px; /* Base width before shrinking/growing - adjust for 6 items */
    flex-grow: 1; /* Allow items to grow */
    flex-shrink: 0; /* Prevent items from shrinking below flex-basis unless necessary */
    max-width: 300px; /* Optional: Limit max width of a single item */

    height: 100%; /* Ensure all items in a row have the same height */
}

.other-service-item:hover {
    background-color: #e2e6ea; /* Slightly darker background on hover */
    transform: translateY(-5px); /* Lift effect on hover */
}

/* Styling for the icon container */
.other-service-icon {
    margin-bottom: 20px; /* Space below the icon */
    color: #007bff; /* Icon color - match brand color */
    /* Optional: Circle background for the icon */
    /* background-color: #e9ecef; */
    /* border-radius: 50%; */
    /* padding: 12px; */
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

/* Styling for the icon element (SVG or Font Awesome <i>) */
.other-service-icon svg,
.other-service-icon i {
    width: 45px; /* Icon size */
    height: 45px; /* Icon size */
    /* For SVGs, ensure fill="currentColor" in HTML */
    /* For font icons, color is inherited from .other-service-icon */
}

/* Styling for the service title */
.other-service-title {
    margin-top: 0;
    margin-bottom: 10px; /* Space below title */
    font-size: 1.2em; /* Adjust title font size */
    color: #333; /* Dark grey or brand color */
    font-weight: 600;
}

/* Styling for the service description */
.other-service-item p {
    margin-bottom: 0; /* Remove default bottom margin */
    line-height: 1.6;
    color: #555;
    flex-grow: 1; /* Allow description to take up remaining space, helps with height consistency */
}

/* --- Responsive Adjustments for Other Services (Flexbox) --- */

@media (max-width: 1200px) { /* Added a breakpoint for slightly smaller large screens */
     .other-services-grid {
        max-width: 900px; /* Constrain grid slightly */
     }
     .other-service-item {
        flex-basis: 230px; /* Adjust base width */
        max-width: 280px;
     }
}

@media (max-width: 992px) { /* Tablets and smaller desktops */
    .other-services-section { padding: 50px 0; }
    .other-services-grid {
        gap: 20px; /* Reduce gap */
         max-width: 700px; /* Constrain grid */
    }
    .other-service-item {
        padding: 25px 15px;
        flex-basis: 200px; /* Adjust base width */
        max-width: 240px; /* Adjust max width */
    }
    .other-service-icon { margin-bottom: 15px; }
     .other-service-icon svg,
     .other-service-icon i {
        width: 40px; height: 40px;
    }
    .other-service-title { font-size: 1.1em; }
}

@media (max-width: 768px) { /* Larger phones and small tablets */
    .other-services-section { padding: 40px 0; }
    .other-services-grid {
        gap: 15px; /* Reduce gap further */
         max-width: 500px; /* Constrain grid - likely 2 columns */
    }
     .other-service-item {
         padding: 20px 15px;
         flex-basis: 180px; /* Adjust base width */
         max-width: 220px; /* Adjust max width */
     }
     .other-service-icon { margin-bottom: 12px; }
      .other-service-icon svg,
      .other-service-icon i {
        width: 35px; height: 35px;
    }
     .other-service-title { font-size: 1.05em; }
     .other-service-item p { font-size: 0.95em;}
}

@media (max-width: 576px) { /* Phones */
     .other-services-grid {
        max-width: 350px; /* Constrain grid - likely 1 column */
        gap: 20px; /* Slightly larger gap when stacked */
    }
     .other-service-item {
         padding: 20px;
         flex-basis: auto; /* Remove base width when stacked */
         width: 100%; /* Take full width of parent (up to max-width) */
         max-width: 350px; /* Maintain max width */
     }
     .other-service-icon {
        margin-bottom: 15px;
        margin-right: 0;
      }
      .other-service-icon svg,
      .other-service-icon i {
        width: 30px; height: 30px;
    }
     .other-service-title { font-size: 1em; margin-bottom: 8px;}
     .other-service-item p { font-size: 0.9em; line-height: 1.5; flex-grow: 1; }
}


/* Ensure consistency in .container styles used across sections */
/* (Copy/paste this block if it's not already consistent at the top of your CSS) */
/*
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
*/