
/* Style the file-input button */
#resume::-webkit-file-upload-button {
    background-color: #dc3545;   /* Bootstrap “danger” red */
    color: #fff;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
  }
  
  #resume::file-selector-button {
    background-color: #630720;
    color: #fff;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
  }
  
  /* Optional: ensure the file-input itself doesn’t show its own ugly outline */
  #resume {
    font-family: inherit;
    margin-top: 0.5rem;
  }
  



/* Small icons next to each benefit */
.feature-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  
  /* Larger illustrative image on the right */
  .feature-image {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    display: block;
    margin: 0 auto;
  }
  
  /* A clearer subtitle classname */
  .section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
  }
  /* === Mobile overrides === */
@media (max-width: 767.98px) {
    .feature-icon {
      width: 32px;
      height: 32px;
    }
  
    .feature-image {
      max-height: 200px;
    }
  
    .section-subtitle {
      font-size: 0.9rem;
    }
  
    .box-content {
      padding: 0.75rem;
    }
  
    /* Optional: tighten up gap between rows on mobile */
    .row.gy-4 {
      row-gap: 1rem !important;
    }
  }

.keypoint-icon {
    width: 25px; /* Or whatever size you prefer, e.g., 24px, 20px */
    height: 25px; /* Maintain aspect ratio */
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place relative to the viewport */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow-y: auto; /* Enable scroll for modal content if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    /* Remove padding-top from here, as it conflicts with centering */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    /* --- IMPORTANT CHANGES FOR CENTERING --- */
    position: absolute; /* Changed from relative to absolute for centering */
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* This is key for perfect centering */
    /* --- END IMPORTANT CHANGES --- */
    
    padding: 20px; /* Increased padding for more space */
    border: 1px solid #888;
    width: 95%; /* Make it wider on smaller screens but keep it responsive */
    max-width: 500px; /* Increased max-width for a larger overall size */
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 50%; opacity: 1} /* Adjusted animation to animate to the centered position */
}

/* The Close Button */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Form Container within Modal for spacing */
.consultation-form-container {
    padding: 20px; /* Increased padding for more space */
}

/* Adjustments for larger input elements and text */
.form-floating > .form-control,
.form-floating > .form-select,
.form-floating > .form-control-plaintext,
.form-floating > .form-control:focus,
.form-floating > .form-select:focus,
.form-floating > .form-control-plaintext:focus {
    height: calc(3.5rem + 2px); /* Increased height for inputs */
    line-height: 1.5; /* Standard line height for better readability */
}

.form-floating > label {
    padding: 1rem 0.85rem; /* Increased padding for labels inside floating inputs */
    font-size: 1rem; /* Standard font size for labels */
}

.form-control, .form-select {
    font-size: 1rem; /* Standard font size for input text */
    padding: 0.75rem 0.85rem; /* Increased padding for inputs */
}

/* Reduce padding for button (kept as requested in original for compactness) */
.btn.py-3 {
    padding-top: 0.75rem !important; /* Slightly increased for better click area */
    padding-bottom: 0.75rem !important; /* Slightly increased for better click area */
    font-size: 1rem; /* Ensured button text is also standard size */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%; /* Remains wide on smaller screens */
        /* Margin handled by transform, so remove margin: 10% auto; */
        max-width: 450px; /* Maintained a good max-width for mobile */
    }

    .consultation-form-container {
        padding: 15px; /* Adjust padding on mobile */
    }

    .form-floating > .form-control,
    .form-floating > .form-select {
        height: calc(3rem + 2px); /* Slightly smaller height for inputs on mobile, but still larger than original */
    }

    .form-floating > label {
        padding: 0.8rem 0.8rem; /* Adjusted padding for labels on mobile */
        font-size: 0.95rem; /* Adjusted font size for labels on mobile */
    }

    .form-control, .form-select {
        font-size: 0.95rem; /* Adjusted font size for input text on mobile */
        padding: 0.6rem 0.8rem; /* Adjusted padding for inputs on mobile */
    }

    h1.display-5 {
        font-size: 1.5rem !important; /* Slightly larger heading on mobile than original */
    }

    p {
        font-size: 1rem; /* Slightly larger paragraph text on mobile than original */
    }
}
.about-text{
    text-align: justify;
}
/* --- Custom Styles for Language Dropdown Menu --- */
.language-dropdown-menu-custom {
    min-width: 120px; /* Set a minimum width for the dropdown, adjust as needed */
    max-width: 180px; /* **Crucial:** Set a maximum width for the dropdown menu */
    overflow-x: hidden; /* Hide horizontal scrollbar if content still overflows */
    padding: 0; /* Remove default Bootstrap padding if it causes issues */
}

/* --- Custom Styles for Google Translate Element Container --- */
.google-translate-container-custom {
    width: 100%; /* Make it fill its parent (the <li>) */
    max-width: 100%; /* Ensure it doesn't exceed its parent's width */
    overflow: hidden; /* Hide any overflow within this wrapper */
    padding: 5px; /* Add some internal padding if needed */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* --- Targeting Google Translate's Injected Elements (Requires !important) --- */
/* Google Translate often injects a main div with class 'goog-te-gadget' */
.goog-te-gadget {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: normal !important; /* Allow language names to wrap */
    font-size: 11px !important; /* Make the default text smaller */
}

/* If Google Translate creates a select box, target it */
.goog-te-gadget select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* If Google Translate uses a table layout (common for VERTICAL/HORIZONTAL) */
.goog-te-gadget table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important; /* Prevents extra spacing between cells */
    table-layout: fixed !important; /* Helps distribute width evenly */
}

.goog-te-gadget table td {
    width: auto !important; /* Let table cells adjust width */
    white-space: normal !important; /* Allow text/flags to wrap if necessary */
    padding: 2px 0px !important; /* Adjust padding within table cells for tighter fit */
    vertical-align: middle !important;
    display: table-cell !important; /* Ensure it behaves like a table cell */
}

/* Targeting specific elements within the Google Translate dropdown for finer control */
/* This often applies to flag images or the language text itself */
.goog-te-gadget img {
    max-width: 20px !important; /* Constrain flag image width */
    height: auto !important;
    display: inline-block !important; /* Ensure images behave correctly */
    vertical-align: middle !important;
    margin-right: 5px !important; /* Space between flag and text */
}

/* Styles for the links/text that appear in the dropdown (e.g., "English", "French") */
.goog-te-gadget-simple a {
    white-space: normal !important; /* Allow language text to wrap */
    word-wrap: break-word !important; /* Force long words to break */
    font-size: 0.8rem !important; /* Adjust font size for language names */
    display: block !important; /* Make each language a block to force new line */
    padding: 3px 5px !important; /* Adjust padding for each language item */
}

/* Remove default Google Translate branding if it appears */
.goog-logo-link {
    display: none !important;
}
.goog-te-banner-box {
    display: none !important;
}

/* --- Ensure original dropdown-menu behavior is maintained (if not using Bootstrap defaults) --- */
/* If your dropdown-menu styling is broken after applying custom classes, you might need to
   re-add some of Bootstrap's default dropdown-menu styling to .language-dropdown-menu-custom */
/*
.language-dropdown-menu-custom {
    position: absolute;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem; // Set your min-width here for default
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}
*/

/* --- Consultation Banner Box Section --- */
.consultation-banner-box {
    /* REMOVE THIS LINE: background-color: #630720; */



    /* --- OPTION 2: Deep & Rich (Ruby, Plum, Royal Blue) --- */
    /* A sophisticated and rich blend, good for a luxurious feel. */
    background: linear-gradient(135deg, #550017, #7B2F6E, #000000);
    /* Alternative with slightly different purple: */



    width: 70%;
    max-width: 1200px;
    min-height: 60px;
    padding: 20px 30px;
    margin: 0px auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.consultation-banner-content {
    display: flex;
    flex-grow: 1; /* Allow content to take available space */
    align-items: center; /* Align heading and button vertically */
    justify-content: space-between; /* Space them out */
    flex-wrap: wrap; /* Allow wrapping */
    width: 100%; /* Take full width of parent box */
}

.consultation-banner-heading {
    font-size: 1.5rem; /* Heading size for desktop */
    font-weight: 700;
    color: #ffffff; /* White heading text */
    margin: 0; /* Remove default margin */
    line-height: 1.2;
    flex-grow: 1; /* Allow heading to take space */
    text-align: left; /* Align text left by default */
    padding-right: 20px; /* Space between heading and button */
    box-sizing: border-box;
}

/* Button Styling */
.consultation-banner-btn {
    display: inline-flex; /* Use flex for text and icon alignment */
    align-items: center; /* Vertically center text and icon */
    justify-content: center; /* Center content horizontally */
    background: #ffffff; /* White background for the button */
    color: #630720; /* Brand's red text color */
    border: 1px solid #ffffff; /* White border */
    padding: 12px 25px; /* Generous padding */
    font-size: 1.0rem; /* Button font size for desktop */
    font-weight: 600; /* Bold text */
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
    flex-shrink: 0; /* Prevent button from shrinking */
}

.consultation-banner-btn:hover {
    background-color: #f0f0f0; /* Slightly darker white on hover */
    border-color: #f0f0f0;
    color: #4a0518; /* Darker red on hover for text */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.consultation-banner-btn .fa {
    margin-left: 15px; /* Space between text and icon */
    font-size: 1.1rem; /* Ensure icon size matches text */
}


/* For screens smaller than 768px (common tablet/mobile breakpoint) */
@media (max-width: 767.98px) {
    .consultation-banner-box {
        width: 90%; /* Increase width for mobile to fill more space */
        flex-direction: column; /* Stack content vertically */
        align-items: center; /* Center items when stacked */
        text-align: center; /* Center text */
        padding: 25px 20px; /* Adjust padding for mobile for better fit */
        min-height: auto; /* Allow height to adjust based on content when stacked */
        height: auto; /* Ensure height is fluid */
    }

    .consultation-banner-content {
        flex-direction: column; /* Stack heading and button */
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center items horizontally */
    }

    .consultation-banner-heading {
        font-size: 1.8rem; /* **Adjusted: Slightly larger heading than your current mobile value for better impact** */
        margin-bottom: 1rem; /* Space between heading and button */
        padding-right: 0; /* Remove right padding as it's no longer side-by-side */
        text-align: center; /* Center text */
    }

    .consultation-banner-btn {
        width: 100%; /* Make button full width on mobile for better tap target */
        max-width: 280px; /* Limit button width for aesthetics */
        font-size: 0.95rem; /* **Adjusted: Slightly smaller button text for better fit** */
        padding: 10px 20px;
        margin-top: 1rem; /* **Adjusted: More space from heading to button** */
    }
}

/* For very small screens (e.g., less than 400px wide like older iPhones) */
@media (max-width: 399.98px) {
    .consultation-banner-box {
        width: 95%; /* Take even more width on very small screens */
        padding: 20px 15px; /* Adjust padding slightly */
    }
    .consultation-banner-heading {
        font-size: 1.5rem; /* **Adjusted: Match desktop size, as 1.8rem might still be too big** */
    }
    .consultation-banner-btn {
        font-size: 0.9rem; /* **Adjusted: Even smaller button text for very tight spaces** */
        padding: 8px 18px;
    }
}

/* Base styles for hiding elements */
.visa-checker-hidden {
    display: none !important;
}

/* --- Main container for the integrated layout (Applies to all screen sizes) --- */
.visa-checker-main-wrapper {
    display: flex; /* Use flexbox to align checker and summary */
    gap: 20px; /* Space between the two main sections */
    margin: 20px auto; /* Center the whole wrapper horizontally */
    width: 90%; /* Occupy more width, adjust as needed */
    max-width: 1200px; /* Max width for large screens */
    box-sizing: border-box;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center items when wrapped */
    align-items: stretch; /* IMPORTANT: Ensures children take equal height if possible */
}

/* --- Left Panel: Visa Checker Widget --- */
.visa-checker-popup-container {
    position: relative; /* Keep relative for close button positioning */
    bottom: auto;
    left: auto;
    transform: none;

    flex: 1; /* Allow it to grow and shrink, better for responsiveness */
    min-width: 300px; /* Minimum width before breaking layout */
    max-width: 500px; /* Constrain max width for checker side */

    max-height: 550px; /* Consistent max height for desktop view */
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 999;
    overflow: hidden; /* Hide anything that goes outside the rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    opacity: 1; /* Always visible */
    animation: none; /* Remove animation */
}

/* Close button within the checker box - position relative to popup-container */
#close-visa-checker-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #630720;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1em;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: background-color 0.2s;
}

#close-visa-checker-btn:hover {
    background-color: #a71d3a;
}

/* Main content container inside the popup (Checker side) */
.visa-checker-container {
    background-color: transparent;
    padding: 0;
    border-radius: 12px;
    box-shadow: none;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows it to take remaining vertical space */
    max-height: 100%; /* Important for internal scrolling */
    overflow-y: auto; /* Allows internal scrolling for the checker content */
}

/* Header Styling (Checker side) */
.visa-checker-container h1 {
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 15px 15px;
    font-size: 1.4em;
    font-weight: 600;
    background-color: #630720;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Input Section Styling (Checker side) */
.visa-checker-input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
    padding: 15px 15px 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.visa-checker-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 95%;
}

.visa-checker-input-section label {
    font-weight: 500;
    font-size: 0.95em;
    color: #555;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}

#visa-passport-select,
#visa-destination-select,
#visa-check-btn {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 0.95em;
    border: 1px solid #cdd4da;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
    width: 100%;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Custom dropdown arrow for select elements */
select {
    /* Assuming a custom background image for the arrow if not default */
    background-position: right 10px center;
    background-size: 9px auto;
    padding-right: 28px; /* Make space for custom arrow */
    -webkit-appearance: none; /* Remove default arrow for custom styling */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%23630720" d="M7 10l5 5 5-5z"/></svg>'); /* Example SVG arrow */
    background-repeat: no-repeat;
}


/* Buttons Styling */
#visa-check-btn {
    background-color: #630720;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    height: 40px;
    line-height: 20px;
    margin-top: 10px;
    width: 90%;
}

#visa-check-btn:hover {
    background-color:#000000;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.visa-checker-primary-btn {
    background-color: #630720;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    display: block;
    margin: 15px auto;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.visa-checker-primary-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.visa-checker-secondary-btn {
    background-color: #630720; /* Keep consistent brand color */
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    display: block;
    margin: 10px auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.visa-checker-secondary-btn:hover {
    background-color: #5a6268; /* Slightly darker hover for secondary */
    transform: translateY(-2px);
}

/* Results Section Styling (Checker side) */
.visa-checker-results-section {
    padding: 0 15px 15px;
    margin-top: 0px;
}

.visa-checker-results-section p {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 6px;
    text-align: center;
}

/* Styles for the strong tag within results */
.visa-checker-results-section p strong {
    color: #ffffff;
    font-size: 1.15em;
    font-weight: 700;
    background-color: #630720;
    padding: 2px 5px; /* Add some padding for readability */
    border-radius: 3px;
    display: inline-block; /* Allows padding and background */
}

#visa-individual-result p strong {
    font-size: 1.2em; /* Slightly larger for individual result */
}

/* New container for the bottom buttons */
.visa-checker-bottom-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0 15px;
}

.visa-checker-bottom-actions .visa-checker-primary-btn,
.visa-checker-bottom-actions .visa-checker-secondary-btn {
    margin: 0; /* Override margin auto for flex positioning */
}

/* --- Right Panel: Global Passport Summary & Full List --- */
.visa-checker-summary-details {
    flex-grow: 1; /* Allow it to take up remaining space */
    min-width: 300px; /* Minimum width before wrapping */
    max-width: 600px; /* Max width to prevent it from getting too wide */
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    /* No padding here directly, it's applied to the child content sections */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: flex-start; /* Align content to the top */
    text-align: center;
    overflow: hidden; /* Important for tables inside */
    max-height: 650px; /* Consistent height with the left panel if content is short */
}

/* Specific styling for the summary content within the right panel */
#visa-global-summary-content {
    display: flex; /* Flex for its internal content (h2, grid, p) */
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center vertically if content is short */
    width: 100%;
    height: 100%; /* Take full height of parent when visible */
    transition: opacity 0.3s ease;
    padding: 25px; /* Apply base padding here for the summary content */
    box-sizing: border-box;
}

.visa-checker-summary-details h2 { /* Heading for Global Passport Summary */
    color: #630720;
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 700;
}

.visa-checker-summary-details .summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for visa types */
    gap: 20px;
    width: 100%;
    max-width: 450px; /* Constrain grid width */
    margin-top: 15px;
    margin-bottom: 25px;
}

.visa-checker-summary-details .summary-item {
    background-color: #f7f9fc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.visa-checker-summary-details .summary-item:hover {
    transform: translateY(-3px);
}

.visa-checker-summary-details .summary-item .count {
    font-size: 1.2em;
    font-weight: 700;
    color: #630720;
    margin-bottom: 5px;
    line-height: 1;
}

.visa-checker-summary-details .summary-item .label {
    font-size: 0.95em;
    color: #555;
    font-weight: 500;
}

/* Specific colors for summary counts */
.visa-checker-summary-details .summary-item.visa-free .count { color: #008820; }
.visa-checker-summary-details .summary-item.visa-on-arrival .count { color: #f56e00; }
.visa-checker-summary-details .summary-item.e-visa .count { color: #0336a5; }
.visa-checker-summary-details .summary-item.visa-required .count { color: #ae0303; }


/* --- Right Panel: Full List Section --- */
#visa-full-list-section {
    display: flex; /* Flex for its internal content (header, table) */
    flex-direction: column;
    width: 100%;
    height: 100%; /* Take full height of parent when visible */
    padding: 0; /* Parent padding handles outer spacing for this section */
    overflow: hidden; /* Ensure table scrolling works without affecting parent's scroll */
    transition: opacity 0.3s ease;
}

#visa-full-list-section .visa-checker-full-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0; /* Only bottom margin needed */
    flex-wrap: wrap; /* Allow buttons to wrap */
    gap: 8px;
    padding: 0 25px; /* Add padding here for header within full list */
}

#visa-full-list-section h2#full-list-title {
    padding: 0; /* No extra padding for this h2 */
    margin-bottom: 0;
    color: #630720;
    font-size: 1.6em; /* Match summary heading size */
    font-weight: 700;
    flex-grow: 1; /* Allow title to take available space */
    text-align: left; /* Align title left */
}

#visa-hide-full-list-btn {
    margin: 0; /* Remove default margin for flex layout */
    padding: 8px 12px; /* Consistent with other secondary buttons */
    font-size: 0.85em;
}

/* Table Styling (Applies to full list) */
.visa-checker-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden; /* Ensures rounded corners apply to table content */
    background-color: #fcfcfc;
}

/* Table scroll wrapper for full list */
#visa-full-list-section .visa-checker-table-scroll {
    flex-grow: 1; /* Allow table scroll to take remaining height */
    max-height: none; /* Let flex-grow handle height on desktop */
    margin: 0; /* Remove margin, padding from parent covers it */
    border: none; /* Integrate better with container */
    border-radius: 0;
    overflow-y: auto; /* Ensure it scrolls */
    padding: 0 25px 25px; /* Add padding for the scrollable table area */
    box-sizing: border-box;
}

.visa-checker-table thead {
    background-color:#630720;
    color: white;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 5;
}

.visa-checker-table th, .visa-checker-table td {
    padding: 10px 15px; /* More generous padding for right panel table */
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
}

.visa-checker-table th:first-child, .visa-checker-table td:first-child {
    padding-left: 0; /* No extra padding here, handled by parent */
}
.visa-checker-table th:last-child, .visa-checker-table td:last-child {
    padding-right: 0; /* No extra padding here, handled by parent */
}

.visa-checker-table tbody tr:nth-child(even) {
    background-color: #f7f9fc;
}

.visa-checker-table tbody tr:hover {
    background-color: #eaf6ff;
}

/* Requirement-specific colors and emphasis */
.requirement-visa-free {
    color: #008820;
    font-weight: 600;
}

.requirement-visa-on-arrival {
    color: #f56e00;
    font-weight: 600;
}

.requirement-e-visa, .requirement-eta {
    color: #0336a5;
    font-weight: 600;
}

.requirement-visa-required {
    color: #ae0303;
    font-weight: 600;
}


/* --- Media Queries for Responsiveness --- */

/* For screens up to 900px (e.g., tablets in landscape, larger phones) */
@media (max-width: 900px) {
    .visa-checker-main-wrapper {
        flex-direction: column; /* Stack vertically */
        align-items: center; /* Center items when stacked */
        width: 95%; /* Take more width on smaller screens */
        gap: 25px; /* More space between stacked components */
    }

    .visa-checker-popup-container,
    .visa-checker-summary-details { /* Target both panels */
        width: 100%; /* Take full width when stacked */
        max-width: 480px; /* Constrain max width for individual stacked components for readability */
        margin-bottom: 0; /* Remove previous margin-bottom if any, gap handles it */
        max-height: none; /* Remove fixed max-height when stacked - allow content to dictate height */
    }

    /* Adjust padding within the summary/full list content sections */
    #visa-global-summary-content,
    #visa-full-list-section {
        padding: 20px; /* Slightly reduced padding for stacked view */
    }

    /* Ensure table scroll also adapts in the right panel when stacked */
    #visa-full-list-section .visa-checker-table-scroll {
        max-height: 400px; /* Give it a max-height when stacked to prevent excessive scrolling */
        padding: 0 15px 15px; /* Adjust padding for scrollable area */
    }

    /* Adjust full list header padding when stacked */
    #visa-full-list-section .visa-checker-full-list-header {
        padding: 0 15px; /* Align with table padding */
    }

    /* Center text within summary details when stacked if desired */
    .visa-checker-summary-details {
        text-align: center;
    }
    .visa-checker-summary-details h2,
    #full-list-title {
        font-size: 1.5em; /* Slightly smaller heading */
        margin-bottom: 15px;
    }
    .visa-checker-summary-details .summary-grid {
        gap: 15px; /* Smaller gap in summary grid */
    }
    .visa-checker-summary-details .summary-item .count {
        font-size: 2em; /* Slightly smaller count numbers */
    }

    .visa-checker-container h2 {
        font-size: 1.1em; /* Smaller h2 for checker */
    }
}

/* For screens up to 480px (typical mobile portrait screens) */
@media (max-width: 480px) {
    .visa-checker-main-wrapper {
        width: 98%; /* Even more width on very small screens */
        margin: 10px auto; /* Less margin */
        gap: 15px; /* Even smaller gap between stacked components */
    }

    .visa-checker-popup-container,
    .visa-checker-summary-details {
        max-width: 95%; /* Allow it to fill more of the screen width */
        border-radius: 10px; /* Slightly smaller border-radius */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Lighter shadow */
    }

    /* Adjust padding within the panels content */
    #visa-global-summary-content,
    #visa-full-list-section {
        padding: 15px; /* Further reduced padding for very small screens */
    }

    #visa-full-list-section .visa-checker-full-list-header {
        padding: 0 15px; /* Match internal padding */
    }
    #visa-full-list-section .visa-checker-table-scroll {
        padding: 0 15px 15px; /* Match internal padding */
    }


    /* Left Panel adjustments */
    .visa-checker-container h1 {
        font-size: 1.1em; /* Slightly smaller header for very small screens */
        padding: 10px 8px;
        border-top-left-radius: 8px; /* Match new border-radius */
        border-top-right-radius: 8px;
    }

    .visa-checker-input-section {
        padding: 10px;
        gap: 6px;
    }

    .visa-checker-input-section label {
        font-size: 0.8em;
    }

    #visa-passport-select,
    #visa-destination-select,
    #visa-check-btn {
        font-size: 0.8em;
        padding: 7px 8px;
        height: 34px; /* Slightly reduce height */
    }

    #visa-check-btn {
        width: 100%; /* Make button full width */
    }

    .visa-checker-results-section {
        padding: 0 10px 10px; /* Adjust results section padding */
    }
    .visa-checker-results-section p,
    .visa-checker-results-section p strong {
        font-size: 0.85em;
    }

    .visa-checker-bottom-actions {
        flex-direction: column; /* Stack buttons */
        gap: 8px;
        padding: 0 10px 10px; /* Add bottom padding */
    }
    .visa-checker-bottom-actions .visa-checker-primary-btn,
    .visa-checker-bottom-actions .visa-checker-secondary-btn {
        width: 100%; /* Make buttons full width */
        font-size: 0.85em;
        padding: 8px 10px;
    }

    /* Right Panel adjustments */
    .visa-checker-summary-details h2,
    #full-list-title {
        font-size: 1.2em; /* Smaller heading for very small screens */
        margin-bottom: 10px;
    }
    .visa-checker-summary-details .summary-grid {
        grid-template-columns: 1fr; /* Stack summary items vertically on very small screens */
        gap: 10px;
    }
    .visa-checker-summary-details .summary-item .count {
        font-size: 1.6em;
    }
    .visa-checker-summary-details .summary-item .label {
        font-size: 0.8em;
    }

    #visa-full-list-section .visa-checker-table th,
    #visa-full-list-section .visa-checker-table td {
        font-size: 0.75em;
        padding: 7px 8px;
    }
    #visa-full-list-section .visa-checker-table-scroll {
        max-height: 200px; /* Adjust max height for table scroll on smaller screens */
    }

    #close-visa-checker-btn {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
        top: 6px;
        right: 6px;
    }
}

/* Optional: Additional small screen adjustments for extreme cases */
@media (max-width: 375px) { /* Example for iPhone SE, etc. */
    .visa-checker-popup-container,
    .visa-checker-summary-details {
        max-width: 98%;
    }
    #visa-full-list-section .visa-checker-table th,
    #visa-full-list-section .visa-checker-table td {
        padding: 6px 6px; /* Even tighter padding for table */
    }
}
/* General Styling for the Section */
.wa-about-why-us-section {
    padding: 80px 0; /* Add some vertical padding */
    color: #f0f0f0; /* Light text for dark background */
    font-family: 'Arial', sans-serif; /* A clean, readable font */
    line-height: 1.6;
    position: relative;
    overflow: hidden; /* Clear floats */
}

/* Background Layer - assuming a subtle overlay or pattern */
.wa-row-wrapper-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255); /* Dark overlay for better text readability */
    z-index: 1; /* Ensure it's behind the content */
}

/* Container for content */
.wa-container {
    position: relative;
    z-index: 2; /* Ensure content is above the background layer */
}

/* Row styling for spacing */
.wa-row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line if needed */
    justify-content: center; /* Center the content blocks within the row */
    gap: 30px; /* Space between the featured boxes */
    padding-left: 90px; /* Increased padding for more space on left */
    padding-right: 90px; /* Increased padding for more space on right */
}

/* Featured Icon Box Style */
.wa-featured-icon-box.wa-style6 {
   /* Using a variable for the primary color */
    border-radius: 10px;
    padding: 20px; /* Adjusted padding for a slightly smaller feel */
    display: flex; /* Makes content inside this box stack vertically */
    flex-direction: column;
    align-items: center; /* Centers content horizontally within the box */
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100%; /* Ensure boxes are same height if content varies (optional) */
    background: linear-gradient(135deg, #550017d8, #70075ec4, #000000e5);
    width: 100%; /* Ensures it takes full width up to its allocated flex-basis/max-width */
}

/* Icon Wrapper */
.wa-featured-icon-wrapper {
    margin-bottom: 15px; /* Slightly reduced margin */
}

/* Individual Icon Styling */
.wa-featured-icon img {
    width: 50px; /* Slightly smaller icon size */
    height: 50px;
    filter: invert(100%) saturate(0%) brightness(150%); /* Make images white/light for dark background */
    transition: filter 0.3s ease;
}

.wa-featured-icon-box.wa-style6:hover .wa-featured-icon img {
    filter: invert(70%) sepia(30%) saturate(2000%) hue-rotate(300deg) brightness(100%); /* Example hover color for icons */
}

/* Featured Title */
.wa-featured-title h3 {
    font-size: 24px; /* Slightly smaller font size */
    font-weight: 700;
    color: #e0b04a; /* A gold/skin color for headings */
    margin-bottom: 10px; /* Slightly reduced margin */
}

/* Featured Description */
.wa-featured-content .wa-featured-desc p {
    font-size: 15px; /* Slightly smaller font size */
    color: #cccccc; /* Slightly lighter grey for paragraph text */
    margin-bottom: 0;
}

.wa-featured-content .wa-featured-desc ul {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
    text-align: left; /* Align list items to the left */
    width: 100%; /* Ensure UL takes full width within the box */
    /* Add this if it's not already making each list item take full width */
    display: block; /* Ensures the ul itself behaves as a block */
    
}

.wa-featured-content .wa-featured-desc ul li {
    font-size: 15px; /* Slightly smaller font size */
    color: #cccccc;
    margin-bottom: 8px; /* Slightly reduced margin */
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
    /* Make each list item a block to ensure it takes its own line */
    display: block;
    width: 100%; /* Ensure each li takes the full available width */
    clear: both; /* In case any floats are interfering, this will clear them */
}



.wa-featured-content .wa-featured-desc ul li::before {
    content: '\2022'; /* Unicode character for a bullet point */
    color: #e0b04a; /* Gold bullet point */
    font-size: 18px; /* Slightly smaller bullet */
    position: absolute;
    left: 0;
    top: -1px; /* Adjust vertical alignment of bullet */
}

.wa-featured-content .wa-featured-desc ul li span {
    font-weight: 700; /* Bold the keywords */
    color: #f0f0f0; /* Ensure bold text stands out */
}

/* Responsive adjustments */
@media (max-width: 767px) { /* For mobile and small tablets */
    .wa-row {
        padding-left: 20px; /* Adjust for very small screens */
        padding-right: 20px;
    }
    .wa-col-lg-12 {
        flex: 0 0 calc(100% - 40px); /* Account for 20px padding on each side of the row */
        max-width: calc(100% - 40px);
        margin: 0 auto; /* Center the box horizontally */
    }
}

@media (min-width: 768px) and (max-width: 991px) { /* For tablets and medium screens (2 columns) */
    .wa-col-lg-12 {
        flex: 0 0 calc(50% - 15px); /* Two columns, accounting for gap */
        max-width: calc(50% - 15px);
        margin: 0; /* Reset margins as gap handles spacing */
    }
}

@media (min-width: 992px) { /* For desktops and large screens (3 columns) */
    .wa-col-lg-12 {
        flex: 0 0 calc(33.333% - 20px); /* Three columns, accounting for gap */
        max-width: calc(33.333% - 20px);
        margin: 0; /* Reset margins as gap handles spacing */
    }
}

.wa-res-575-mt_25 {
    margin-top: 25px; /* Apply margin for small screens */
}


.package-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.package-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.package-box:hover {
    transform: translateY(-5px);
}

.package-box img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.package-box h3 {
    margin: 15px 0;
    font-size: 20px;
    color: #333;
}

.package-box .btn {
    display: inline-block;
    margin: 15px 0 20px;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.package-box .btn:hover {
    background: #0056b3;
}
/* Section Styling */
.trvl-sec {
    padding: 80px 0; /* Add some vertical padding */
    position: relative;
    z-index: 1; /* Ensure content is above background if needed */
}

.trvl-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* You can add an overlay here if the background image is too strong */
    /* background-color: rgba(255, 255, 255, 0.8); */
    z-index: -1;
}

/* Section Header */
.trvl-sec .section-header {
    margin-bottom: 50px;
}

.trvl-sec .section-header h6 {
    font-size: 28px;
    color: #333; /* Darker color for prominence */
    margin-bottom: 15px;
    font-weight: 700; /* Make it bolder */
}

.trvl-sec .section-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 800px; /* Constrain paragraph width for readability */
    margin: 0 auto;
}

/* Travel Services Grid Container */
.travel-services-grid {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center items if they don't fill the row */
    margin-left: -15px; /* Counteract Bootstrap row's negative margin */
    margin-right: -15px; /* Counteract Bootstrap row's negative margin */
}

/* Feature Block Four - Individual Service Box */
.feature-block-four {
    /* Adjusted for 4 items per row */
    flex: 0 0 calc(25% - 30px); /* 25% width minus horizontal margins (15px left + 15px right) */
    max-width: calc(25% - 30px);
    padding: 15px; /* Padding inside the column for spacing */
    margin-bottom: 30px; /* Space between rows */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    text-align: center;
    visibility: visible !important; /* Override inline style if needed for animations */
    opacity: 1 !important; /* Override inline style if needed for animations */
}

.feature-block-four .inner-box {
    background-color: #ffffff; /* White background for the box */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    padding: 25px 20px;
    transition: all 0.3s ease;
    height: 100%; /* Ensure all boxes are the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push image to top, content to bottom */
    align-items: center; /* Center content horizontally */
}

.feature-block-four .inner-box:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
}

.feature-block-four .image-box {
    margin-bottom: 15px;
}

.feature-block-four .image-box figure {
    margin: 0; /* Remove default figure margin */
}

.feature-block-four .image-box img {
    max-width: 80px; /* Adjust image size as needed */
    height: auto;
    transition: transform 0.3s ease;
}

.feature-block-four .inner-box:hover .image-box img {
    transform: scale(1.1); /* Slightly enlarge image on hover */
}

.feature-block-four .content {
    flex-grow: 1; /* Allow content to take available space */
    display: flex;
    align-items: center; /* Vertically align title if it's the only content */
    justify-content: center;
}

.feature-block-four .content .title {
    font-size: 17px; /* Adjust title font size */
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0; /* Remove default h5 margin */
}

/* Explore Our Packages Button */
.wrap-explore-1 {
    text-align: center;
    margin-top: 40px;
}

.read_btn_1 {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--bs-secondary); /* Example button color */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.read_btn_1:hover {
    background-color: black; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Responsive Adjustments (adjusted for new default of 4 per row) */
@media (max-width: 991px) { /* Medium devices (tablets), 3 items per row */
    .feature-block-four {
        flex: 0 0 calc(33.333% - 30px);
        max-width: calc(33.333% - 30px);
    }
}

@media (max-width: 767px) { /* Small devices (phones), 2 items per row */
    .feature-block-four {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 575px) { /* Extra small devices, 1 item per row */
    .feature-block-four {
        flex: 0 0 calc(100% - 30px);
        max-width: calc(100% - 30px);
    }
}

/* General Body and Container Styles (from previous response, ensure these are still included) */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Section Spacing */
.about-section-two {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* New: Column Box for Professional Appearance */
.column-box {
    padding: 15px; /* Spacing between boxes */
    box-sizing: border-box;
}
/* Styling for sub-headings like "Due Diligence Fees" */
.content-column h6.sub-heading {
    font-size: 1.1em; /* Slightly smaller than h6 if h6 is already defined */
    font-weight: 600; /* Bolder */
    margin-top: 15px; /* Space above */
    margin-bottom: 5px; /* Space below */
    color: #333; /* Or your preferred text color */
}

/* Styling for nested lists (sub-lists) */
.content-column ul.sub-list {
    list-style: disc; /* Or 'none' if you prefer no bullet */
    padding-left: 20px; /* Indent the sub-list */
    margin-bottom: 10px; /* Space below the sub-list */
}

.content-column ul.sub-list li {
    margin-bottom: 5px; /* Space between sub-list items */
    font-size: 0.95em; /* Slightly smaller text for sub-list items */
    line-height: 1.4;
}
.column-box .box-content {
    /* background: linear-gradient(135deg, #ca00002a, #83066e3e, #0000002b); */
    background: url(../img/bg-10.png);
    border-radius: 10px; /* Slightly more rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Softer, more professional shadow */
    padding: 25px; /* Internal padding for content */
    height: 100%; /* Ensure boxes of varying content heights align */
    display: flex; /* Make box-content a flex container */
    flex-direction: column; /* Stack its direct children (title, rows) vertically */
    justify-content: flex-start; /* Aligns content to the top */
    width: 100%; /* Ensures box content stretches */
}

/* Ensure the inner row within box-content behaves correctly */
/* This rule now targets any 'row' div that is a descendant of '.column-box .box-content' */
.column-box .box-content .row { /* Changed selector from .column-box .box-content.row */
    flex-direction: row; /* Overrides column for direct children, allowing image and text to sit side-by-side */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    margin-left: -15px; /* Counteract padding from inner columns */
    margin-right: -15px; /* Counteract padding from inner columns */
    align-items: stretch; /* Crucial: Make columns within this row stretch to fill height */
}


/* Adjustments for images within column-box */
.image-column {
    position: relative;
    overflow: hidden;
    padding-bottom: 0px; /* Adjust padding as it's now inside .box-content */
    display: flex; /* Make image-column a flex container */
    align-items: center; /* Center image vertically if it doesn't fill height */
    justify-content: center; /* Center image horizontally */
}

.image-column .inner-column {
    padding-bottom: 0px;
    height: 100%; /* Ensure inner-column takes full height of its parent */
    display: flex; /* Make inner-column a flex container */
    align-items: center; /* Vertically align content within inner-column */
    justify-content: center; /* Horizontally align content within inner-column */
}

.image-column img {
    max-width: 100%;
    height: 100%; /* Make image take full height of its parent container */
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    object-fit: cover; /* Use 'cover' to ensure the image fills the space, potentially cropping */
    /* If you want the entire image to always be visible, use 'object-fit: contain;', but it might leave empty space. */
    width: 100%; /* Ensure image takes full width of its column */
    /* Retaining original transform from HTML as requested */
    transform: translate(0px, 0px);
}

/* Specific class for images that should explicitly match the height of their content column */
/* Removed fixed max-height to allow dynamic stretching */
.image-column .heit-480 {
    height: 100%; /* Ensure it still tries to fill parent height */
    max-height: none; /* Crucial: Remove specific max-height if it was forcing a smaller size */
    object-fit: cover; /* Maintain cover if filling is the goal */
}

.image-column img:hover {
    transform: scale(1.02);
}


/* Heading Styles */
.sec-title h2 {
    font-size: 30px;
    color: #000000;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    text-align: left; /* Default alignment */
}

.sec-title h2::after {
    content: '';
    position: absolute;
    left: 0; /* Align with text */
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #ff6b6b;
}

.sec-title .text {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    text-align: left; /* Default alignment */
}

h6 {
    font-size: 20px;
    color: #000000;
    margin-bottom: 12px;
    border-bottom: 2px solid #000000;
    display: inline-block;
    padding-bottom: 4px;
    text-align: left; /* Default alignment */
    width: auto; /* Allow heading to size naturally */
}

/* List/Keypoint Styles */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

ul li {
    flex: 1 1 100%; /* Stack items by default on smaller screens */
    margin-bottom: 10px; /* Space between list items */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

ul li .keypoint-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

ul li img {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    flex-shrink: 0;
}

ul li span.keypoint-title {
    font-size: 17px;
    font-weight: bold;
    color: #000000;
    line-height: 1.2;
}

ul li p {
    font-size: 14px;
    color: #555;
    margin: 0;
    padding-left: 32px; /* Align paragraph text with keypoint title, considering image width + margin */
}

/* Column General Styling - Crucial for preventing overflow */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Specific column paddings are now handled by the outer .column-box and inner .box-content .row */
.col-lg-12, .col-lg-6, .col-md-12, .col-md-6, .col-sm-12, .col-sm-6, .col-lg-3, .col-lg-9 {
    padding-left: 15px; /* Re-added padding for inner columns within box-content */
    padding-right: 15px; /* Re-added padding for inner columns within box-content */
    box-sizing: border-box;
}


/* Animations */
.wow.fadeInRight.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal[style*="visibility: inherit"] {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */
@media (min-width: 768px) {
    /* For tablets and desktops, allow list items to be side-by-side */
    ul li {
        flex: 1 1 calc(50% - 15px); /* Two columns with gap */
    }
    /* Investment options list - 2 columns for larger screens, 1 for small */
    .column-box .box-content .content-column ul li { /* More specific targeting */
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 991px) {
    .sec-title h2 {
        font-size: 26px;
    }

    h6 {
        font-size: 18px;
    }
    .image-column img {
        height: auto; /* Allow image to scale proportionally on smaller screens */
        max-height: 250px; /* Slightly reduced max height for better balance */
    }
    /* Ensure image and content columns stack on tablets */
    .column-box .box-content .row .image-column, /* Adjusted selector to match new HTML structure */
    .column-box .box-content .row .content-column { /* Adjusted selector to match new HTML structure */
        width: 100%; /* Full width for stacking */
    }
}

@media (max-width: 767px) {
    .sec-title h2 {
        font-size: 22px;
        text-align: center;
    }

    .sec-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sec-title .text {
        font-size: 14px;
        text-align: center;
    }

    h6 {
        font-size: 16px;
        text-align: center;
        width: 100%;
        border-bottom: none; /* Remove border for centered h6 */
        padding-bottom: 0;
    }
    .column-box .box-content h6::after { /* Add a border to the centered H6 */
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background-color: #000000;
        margin: 8px auto 0; /* Center the border below the H6 */
    }

    ul li {
        flex: 1 1 100%; /* Stack items on small screens */
    }

    ul li .keypoint-header {
        justify-content: center; /* Center keypoint header */
        text-align: center;
    }

    ul li img {
        margin-right: 6px;
    }

    ul li p {
        text-align: center;
        padding-left: 0; /* Remove padding for centered paragraphs */
    }

    /* Adjust spacing for columns on mobile */
    .column-box {
        padding: 10px; /* Reduce padding between boxes on mobile */
    }

    .column-box .box-content {
        padding: 20px; /* Reduce internal padding on mobile */
    }

    .image-column img {
        height: auto; /* Ensure images scale */
        max-height: 200px; /* Adjust max height for smaller screens */
    }

    /* Reverse order for eligibility section on mobile */
    .content-column.order-lg-1.order-2 {
        order: 2;
    }
    .image-column.order-lg-2.order-1 {
        order: 1;
    }
}

@media (max-width: 575px) {
    .about-section-two {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .sec-title h2 {
        font-size: 20px;
    }

    h6 {
        font-size: 15px;
    }

    ul li img {
        width: 18px;
        height: 18px;
    }

    ul li span.keypoint-title {
        font-size: 15px;
    }

    ul li p {
        font-size: 13px;
    }
}


























/* ============================================================================================================== */

html, body {
    font-family: 'Roboto', sans-serif;
    /* font-family: inherit; */
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0px;
    background-color: #6307070f;
 
    color: rgb(0, 0, 0);
}

.logo-animation-container {
    position: relative;
    width: 220px; /* Base width for desktop */
    height: 70px; /* Base height for desktop */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Initially hide both to be controlled by JS */
.animated-text,
.animated-logo {
    position: absolute;
    top: 50%; /* Vertically center */
    opacity: 0;
}

/* Base styles for animated text content */
.animated-text {
    text-align: center;
    color: var(--bs-secondary);
    line-height: 1;
    display: flex;
    align-items: stretch;
    gap: 5px;
    transition: opacity 0.2s ease-in-out; /* Overall fade-in for the *entire* text block */
    left: 30%; /* Keep text centered horizontally */
    transform: translate(-35%, -50%); /* Keep text centered horizontally */
}

/* Specific transitions for text parts when hiding */
.animated-text .large-ten,
.animated-text .small-years-of,
.animated-text .medium-excellence {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* Smooth transition for exit */
}

/* Class to make "10 years of" parts slide up and fade out */
.animated-text.hide-parts .large-ten,
.animated-text.hide-parts .small-years-of {
    opacity: 0; /* Set to 0 immediately */
    transform: translateY(-20px); /* Slide up slightly */
    pointer-events: none;
}

.animated-text .large-ten {
    font-size: 3.0rem; /* Base font size for desktop */
    font-weight: bold;
    display: flex;
    align-items: center;
}

.animated-text .stacked-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
}

.animated-text .small-years-of {
    font-size: 0.9rem; /* Base font size for desktop */
    white-space: nowrap;
    line-height: 1.2;
}

.animated-text .medium-excellence {
    font-size: 1.2rem; /* Base font size for desktop */
    font-weight: 600;
    white-space: nowrap;
    line-height: 0.80;
    width: 0;
    overflow: hidden;
    animation: none;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Keyframes for the typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* === LOGO ANIMATION: Slide from Right to a more controlled position (Desktop) === */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translate(100%, -50%); /* Start at right edge of container */
    }
    100% {
        opacity: 1;
        transform: translate(-45%, -50%); /* Adjust this value to set the final horizontal position */
    }
}

/* Active states for JavaScript control */
/* Text Fade In (initial appearance) */
.animated-text.fade-in {
    opacity: 1;
}

/* Typing animation for Excellence */
.animated-text .medium-excellence.typing-active {
    animation: typing 0.8s steps(20, end) forwards; /* Typing duration */
}

/* Logo Animation (Slide In from Right) */
.animated-logo.logo-active {
    animation: slideInFromRight 0.5s ease-out forwards;
}

/* ======================================= */
/* ====== RESPONSIVE STYLES (MOBILE) ===== */
/* ======================================= */

/* For screens up to 425px wide */
@media (max-width: 425px) {
    .logo-animation-container {
        width: 200px; /* Smaller width for mobile */
        height: 70px; /* Smaller height for mobile */
    }

    .animated-text {
        gap: 3px; /* Reduce gap between text elements */
        left: 35%; /* Adjust text position */
        transform: translate(-50%, -50%);
    }

    .animated-text .large-ten {
        font-size: 2.5rem; /* Smaller font size */
    }

    .animated-text .small-years-of {
        font-size: 1.0rem; /* Smaller font size */
    }

    .animated-text .medium-excellence {
        font-size: 1.0rem; /* Smaller font size */
    }

    /* Adjust logo animation for 425px */
    @keyframes slideInFromRight {
        0% {
            opacity: 0;
            transform: translate(100%, -50%);
        }
        100% {
            opacity: 1;
            transform: translate(-60%, -50%); /* Move logo further left on navbar */
        }
    }
}

/* For screens up to 320px wide */
@media (max-width: 320px) {
    .logo-animation-container {
        width: 180px; /* Even smaller width */
        height: 65px; /* Even smaller height */
    }

    .animated-text {
        gap: 2px;
        left: 40%; /* Further adjust text position */
        transform: translate(-60%, -50%);
    }

    .animated-text .large-ten {
        font-size: 2.2rem; /* Even smaller font size */
    }

    .animated-text .small-years-of {
        font-size: 0.8rem; /* Even smaller font size */
    }

    .animated-text .medium-excellence {
        font-size: 0.9rem; /* Even smaller font size */
    }

    /* Adjust logo animation for 320px */
    @keyframes slideInFromRight {
        0% {
            opacity: 0;
            transform: translate(100%, -50%);
        }
        100% {
            opacity: 1;
            transform: translate(-50%, -50%); /* Move logo even further left */
        }
    }
}


/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    /* Changed flex-direction to column to stack logo and text */
    flex-direction: column;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* --- Logo and Text Styles within Spinner --- */
.loading-logo {
    width: 120px; /* Adjust size of your logo as needed */
    height: auto;
    animation: logoPulse 2s infinite ease-in-out; /* Apply a subtle pulsing animation */
}

.loading-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--bs-secondary); /* Use your secondary brand color */
    margin-top: 15px; /* Space between logo and text */
    opacity: 0.8; /* Slightly subdue the text */
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* Slightly enlarge */
    }
    100% {
        transform: scale(1);
    }
}

/*** Spinner End ***/
/*** Spinner End ***/
/* 
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
} */


/* General smooth transition for interactive elements */
.btn, .navbar-nav .nav-link, .dropdown-item,
.contact-chatbot-main-btn, .contact-chatbot-option,
.back-to-start-main-btn {
    transition: all 0.3s ease-in-out; /* Standardize for smoother effects */
}

/* --- Contact Chatbot Container (Existing) --- */
/* --- Contact Chatbot Container --- */
.contact-chatbot-container {
    position: fixed;
    bottom: 20px; /* Adjust as needed to be above the back-to-start button */
    left: 20px; /* Aligns it to the left */
    z-index: 999;
    display: flex;
    flex-direction: column-reverse; /* Keeps the main button at the bottom */
    align-items: flex-start; /* Aligns items to the start (left) */
}

/* Rest of your existing CSS remains the same */

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
    .contact-chatbot-container {
        bottom: 15px;
        left: 15px; /* Aligns to the left on smaller screens */
    }

    /* ... other responsive adjustments for chatbot container ... */
}
/* Main "Need Help?" Button (Existing) */
.contact-chatbot-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-secondary);
    color: #fff;
    padding: 10px 10px;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(81, 4, 4, 0.2);
    transition: all 0.3s ease-in-out; /* Ensure smooth transition */
    cursor: pointer;
    white-space: nowrap;
}

.contact-chatbot-main-btn i {
    margin-right: 8px;
    font-size: 22px;
    animation: bounce-icon 2s infinite ease-in-out;
}

.contact-chatbot-main-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hidden Options Container (WhatsApp & Phone) (Existing) */
.contact-chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Use translateY for smooth slide-in */
    transition: all 0.3s ease-out; /* Smooth transition for slide and fade */
}

/* Individual Option Buttons (WhatsApp & Phone) (Existing) */
.contact-chatbot-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.2s ease-out; /* Smooth transition for individual hover */
}

.whatsapp-option {
    background-color: #25D366;
}

.phone-option {
    background-color: #f13434;
}

.contact-chatbot-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hover effect on the main container to reveal options (Existing) */
.contact-chatbot-container:hover .contact-chatbot-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Animation for the main button's icon (Existing) */
@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Pulsing Animation for WhatsApp/Phone Options when visible (Existing) */
@keyframes pulse-option {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Apply the pulsing animation to options when the container is hovered (Existing) */
.contact-chatbot-container:hover .contact-chatbot-option {
    animation: pulse-option 2s infinite ease-in-out;
}

/* Add a slight delay to the phone option's animation for staggered effect (Existing) */
.contact-chatbot-container:hover .phone-option {
    animation-delay: 0.2s;
}
/* --- New CSS for Hiding the Contact Button --- */
.contact-chatbot-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevents interaction when hidden */
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out; /* Smooth transition */
}

/* --- New: Back to Start Button Container --- */
.back-to-start-container {
    position: fixed;
    bottom: 20px; /* Aligns with chatbot button */
    left: 20px; /* Opposite to chatbot button */
    z-index: 999;
    /* Initially hidden and off-screen to the left */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px); /* Start off-screen left */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0s linear 0.4s;
}

/* Back to Start Button (Content) */
.back-to-start-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-secondary); /* Use your primary brand color */
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    white-space: nowrap;
}

.back-to-start-main-btn i {
    margin-right: 0px; /* Space between icon and text */
    font-size: 22px;
}

.back-to-start-main-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Show Back to Start button after scrolling down */
/* You'll need JavaScript to add/remove a class like 'show' to this container */
.back-to-start-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Slide into view */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0s linear 0s;
}



/* Responsive adjustments for smaller screens (Existing, ensure consistency) */
@media (max-width: 576px) {


    .contact-chatbot-main-btn {
        padding: 8px 12px;
        font-size: 16px;
    }

    .contact-chatbot-main-btn i {
        font-size: 20px;
        margin-right: 6px;
    }

    .contact-chatbot-options {
        gap: 8px;
        margin-bottom: 8px;
    }

    .contact-chatbot-option {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    /* Back to Start button responsiveness */
    .back-to-start-container {
        bottom: 15px;
        left: 15px;
        transform: translateX(-80px); /* Adjust initial position for smaller screens */
    }

    .back-to-start-main-btn {
        padding: 8px 12px;
        font-size: 16px;
    }

    .back-to-start-main-btn i {
        font-size: 20px;
        margin-right: 6px;
    }
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: black !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: rgba(0, 0, 0, 0.89) !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: #630720;
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}
@media (max-width: 370px) {
    .sub-title::before {
        width: 35px;
        margin-right: -50px;
    }

    .sub-title::after {
        width: 25px;
        margin-right: -25px;
    }
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 25px 0;
    color: black !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: white;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    /* Main dropdowns (e.g., Services) */
    .navbar .nav-item > .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    /* Nested dropdowns (e.g., Residency Visa, Citizenship) */
    .navbar .nav-item .dropdown-menu .nav-item > .dropdown-menu {
        top: 0; /* Position next to the parent item */
        left: 100%; /* Position to the right of the parent item */
        transform: rotateX(-75deg); /* Keep initial transform for hidden state */
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: white;
}

/* Hover effect for the main dropdowns */
.navbar .nav-item:hover > .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

/* Hover effect for the nested dropdowns (e.g., Residency Visa dropdown) */
.navbar .nav-item .dropdown-menu .nav-item:hover > .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important; /* Adjust if you want a different background for sub-menus */
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}
/* 
#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
} */
/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb{
    background: linear-gradient(135deg, #ca000073, #68005789, #00000079), url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-about {
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/breadcrumb-about.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
  
}

.bg-breadcrumb-portugal {
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-portugal.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-spain{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-spain.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-uae{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-uae.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-uk{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-uk.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-antigua{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-antigua.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-domanica{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-domanica.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-st-kitts{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-st-kitts.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-grenada{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-grenada.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-saint-lucia{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-saint-lucia.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-vanuatu{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-vanuatu.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-migrate{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-migrate.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-study{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-study.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-work{
    background: linear-gradient(135deg, #000000fb, #68005708, #00000006), url(../img/bg-breadcrumb-work.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-visa{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-visa.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-travel{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-travel.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-pro{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-pro.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-company{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-company.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-verify{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-verify.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-legal{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-legal.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-career{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-career.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-contact{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-contact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-blogs{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-blogs.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-news{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-news.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-events{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-events.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-about{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-about.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;

}
.bg-breadcrumb-privacy{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-privacy.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-reviews{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-reviews.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}

.bg-breadcrumb-packages{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-packages.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-citizenship{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-citizenship.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
.bg-breadcrumb-bulgeria{
    background: linear-gradient(135deg, #00000013, #00000074, #00000062), url(../img/bg-breadcrumb-bulgeria.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}






/*** Single Page Hero Header End ***/
/*** Carousel Hero Header Start ***/

/* --- 1. Main Carousel Container: Adjust Height --- */
.carousel-header {
    /* Adjust '60px' to the actual height of your fixed navigation bar if you have one.
       If you don't have a fixed navigation bar, you can simply use 'height: 100vh;'
       or a slightly smaller value like 'height: 95vh;' to ensure no scrollbar. */
    height: calc(85vh - 85px); /* Example: 100% viewport height minus 60px for a nav bar */
    width: 100%;
    position: relative;
    overflow: hidden; /* Crucial: Prevents scrollbars from zoomed images */
}
#carouselId .carousel-item {
    /* override Bootstrap’s default to ensure easing */
    transition: transform 0.6s ease-in-out;
    will-change: transform;
  }
/* --- 2. Ensure Bootstrap Carousel elements fill their parent --- */
#carouselId.carousel,
.carousel-inner,
.carousel-header .carousel-inner .carousel-item {
    height: 100%; /* All these elements should fill the height of their parent */
    width: 100%;
    position: relative; /* For carousel-item, essential for absolute image positioning */
    overflow: hidden; /* For carousel-item, clips zoomed image parts */
}

/* --- 3. Image Styling to Fill the Item --- */
.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, cropping if needed */
    object-position: center; /* Keeps the central part of the image in view */
    animation: slowZoom 4s ease-in-out forwards; /* Apply subtle zoom */
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05); /* Very subtle zoom */
    }
}

/* --- 4. Caption and Controls Styling (No major changes needed here for height) --- */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.carousel-caption h1, .carousel-caption h4, .carousel-caption h5, .carousel-caption p {
    opacity: 0; animation: fadeUp 1s ease-out forwards; text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); margin-bottom: 0.8rem;
}
.carousel-caption h4 { animation-delay: 0.3s; font-size: 1.5rem; }
.carousel-caption h3 { animation-delay: 0.4s; font-size: 4rem; line-height: 1.1; margin-bottom: 1.2rem; }
.carousel-caption p { animation-delay: 0.6s; font-size: 1.2rem; max-width: 700px; margin-left: auto; margin-right: auto; }

@keyframes fadeUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.carousel-header .carousel-control-prev, .carousel-header .carousel-control-next {
    width: 5%; max-width: 60px; z-index: 3;
}
.carousel-header .carousel-control-prev-icon, .carousel-header .carousel-control-next-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 50%; background-size: 60% 60%;
    background-color: rgba(255, 255, 255, 0.4); transition: background-color 0.3s ease;
}
.carousel-header .carousel-control-prev-icon:hover, .carousel-header .carousel-control-next-icon:hover { background-color: rgba(255, 255, 255, 0.6); }

.carousel-indicators { z-index: 3; margin-bottom: 20px; }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background-color: #ffffff; margin: 0 5px; }
.carousel-indicators .active { background-color: #0d6efd; }

/* For typical desktop screens where display-1 might be too large */
@media (max-width: 1200px) {
    .carousel-caption h3 { font-size: 3.5rem; }
    .carousel-caption p { font-size: 1.1rem; }
}

/* For screens smaller than 992px (Bootstrap's 'lg' breakpoint) */
@media (max-width: 991.98px) {
    /* Adjust for tablets. Consider if you want it to be 100vh or shorter. */
    .carousel-header {
        height: calc(100vh - 50px); /* Example: adjust if nav bar changes height on tablet */
    }
    /* Ensure children fill the adjusted height */
    #carouselId.carousel, .carousel-inner, .carousel-item, .carousel-item img, .carousel-caption {
        height: 100%;
    }
    .carousel-caption h4 { font-size: 1.2rem; }
    .carousel-caption h3 { font-size: 2.8rem; }
    .carousel-caption p { font-size: 1rem; max-width: 500px; }
}

/* For screens smaller than 768px (common mobile breakpoint) */
@media (max-width: 767.98px) {
    /* For mobile, a full 100vh might be too tall for text content.
       Let's use a fixed vh or a slightly reduced calc() */
    .carousel-header {
        height: 70vh; /* Example: Occupy 70% of viewport height on mobile */
        /* Or, if you have a mobile-specific nav bar: height: calc(100vh - 80px); */
    }
    /* Ensure children fill this new height */
    #carouselId.carousel, .carousel-inner, .carousel-item, .carousel-item img, .carousel-caption {
        height: 100%;
    }

    .carousel-header .carousel-control-prev, .carousel-header .carousel-control-next { width: 10%; }
    .carousel-header .carousel-control-prev-icon, .carousel-header .carousel-control-next-icon {
        width: 2.5rem; height: 2.5rem; background-color: rgba(255, 255, 255, 0.3);
    }

    .carousel-caption h4 { font-size: 1rem; }
    .carousel-caption h3 { font-size: 2.2rem; margin-bottom: 10px; }
    .carousel-caption p { font-size: 0.9rem; margin-bottom: 15px; max-width: 90%; }
    .carousel-caption .text-center.p-4 { padding: 10px; }
}

/* For very small screens (e.g., less than 480px wide) */
@media (max-width: 479.98px) {
    .carousel-header {
        height: 60vh; /* Further reduce height for very small screens */
    }
    #carouselId.carousel, .carousel-inner, .carousel-item, .carousel-item img, .carousel-caption {
        height: 100%;
    }
    .carousel-caption h3 { font-size: 1.8rem; }
    .carousel-caption p { font-size: 0.8rem; }
}


/*** Counter Facts Start ***/
.counter-facts {
    /* background: linear-gradient(135deg, #efefef31, #ffffff95, #00000032), url(../img/breadcrumb.png); */
    background: linear-gradient(135deg, #efefef86, #ffffffd1, #ffffff32);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: rgba(0, 0, 0, 0.635);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: white;
    background: #630720 !important;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: #630720 !important;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color:#630720;
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%; 
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background:  #000000d7;
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0);  /*background: rgba(0, 0, 0, 0.658); */
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/



/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.434);
    border-radius: 10px;
    
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #63072081;
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px; 
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: rgba(0, 0, 0, 0.929) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background:#0000009d !important;
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/*** Country End ***/


/*** testimonial Start ***/

.logo-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-carousel {
    display: flex;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

.logo-carousel img {
    height: 80px;
    margin: 0 20px;
    flex-shrink: 0;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
.small-container {
    max-width: 1000px; /* or 600px for a tighter layout */
}



/*** testimonial end ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}  
/*** training End ***/
/* Blog Carousel Wrapper */
.blog-carousel-wrapper {
    overflow: hidden;
    position: relative; /* Keep relative if JS relies on it for internal elements */
    width: 100%;
    padding: 10px 0;
    /* Removed margin-bottom here */
}

/* Blog Carousel - No changes needed */
.blog-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Blog Card - No changes needed */
.blog-card {
    flex: 0 0 300px;
    margin: 0 15px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: 8px;
}

.blog-card h4 {
    font-size: 1.25em;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #333;
}

.blog-card p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    flex-grow: 1;
}

.blog-card .btn {
    align-self: flex-start;
    background-color: #630720;
    color: white;
    font-size: 0.85em;
    padding: 6px 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog-card .btn:hover {
    background-color: white;
    transform: translateY(-2px);
    
}


/* New container for bottom navigation buttons */
.blog-carousel-nav-bottom {
    display: flex; /* Use flexbox to easily center content */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Align items vertically (if needed) */
    margin-top: 30px; /* Space between the blog carousel and the buttons */
    gap: 20px; /* Space between the left and right buttons */
    padding-top: 10px; /* Optional: Add some padding within this div */
}


/* Navigation Arrows Styling */
.carousel-nav {
    /* REMOVE ALL POSITIONING PROPERTIES (top, bottom, left, right, transform, margin-left, margin-right) */
    /* position: absolute; -- REMOVED */
    /* top: 50%; -- REMOVED */
    /* transform: translateY(-50%); -- REMOVED */
    /* left: 10px; -- REMOVED */
    /* right: 10px; -- REMOVED */

    background-color: rgba(99, 7, 32, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px; /* Size of the arrow button */
    height: 45px; /* Size of the arrow button */
    font-size: 1.2em; /* Size of the arrow icon */
    cursor: pointer;
    display: flex; /* Still useful for centering the icon within the button */
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background-color: #000000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* No specific left/right positioning needed for prev/next when in a flex container */
/* .carousel-nav.prev {} */
/* .carousel-nav.next {} */


/* Media Queries - Adjustments for the new button placement */

@media (max-width: 992px) {
    .blog-card {
        flex: 0 0 280px;
        margin: 0 10px;
    }
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    .blog-carousel-nav-bottom {
        margin-top: 25px; /* Adjust spacing for smaller screens */
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .blog-card {
        /* Adjusted for single card view on tablets and smaller */
        flex: 0 0 calc(100% - 40px); /* 100% width minus 20px margin on each side */
        margin: 0 20px; /* Center the single card with 20px margin */
        padding: 12px;
    }
    .blog-card h4 {
        font-size: 1.1em;
    }
    .blog-card p {
        font-size: 0.85em;
    }
    .blog-card .btn {
        font-size: 0.8em;
        padding: 5px 12px;
    }
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    .blog-carousel-nav-bottom {
        margin-top: 20px;
        gap: 10px;
    }
}

/* For screens up to 576px (typical mobile phones, portrait mode) */
@media (max-width: 576px) {
    .blog-carousel-wrapper {
        padding: 0 0; /* Remove horizontal padding here, let card margin handle it */
        /* margin-bottom removed as buttons are now separate */
    }

    .blog-card {
        /* Adjusted for single card view on mobile phones */
        flex: 0 0 calc(100% - 40px); /* 100% width minus 20px margin on each side */
        margin: 0 20px; /* Center the single card with 20px margin */
        padding: 15px;
    }

    .blog-card img {
        height: 160px;
    }

    .blog-card h4 {
        font-size: 1.1em;
    }

    .blog-card p {
        font-size: 0.85em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .blog-card .btn {
        font-size: 0.8em;
        padding: 6px 14px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1em;
        /* All positioning properties removed, flexbox parent handles it */
    }
    .blog-carousel-nav-bottom {
        margin-top: 20px; /* Adjust as needed for mobile */
        gap: 10px;
    }
}

/* Optional: Very small screens (e.g., iPhone SE) for finer adjustments */
@media (max-width: 375px) {
    .blog-carousel-wrapper {
        padding: 0 0; /* Remove horizontal padding here, let card margin handle it */
    }
    .blog-card {
        /* Adjusted for single card view on very small mobile phones */
        flex: 0 0 calc(100% - 30px); /* 100% width minus 15px margin on each side */
        margin: 0 15px; /* Center the single card with 15px margin */
        padding: 12px;
    }
    .blog-card img {
        height: 140px;
    }
    .blog-card h4 {
        font-size: 1em;
    }
    .blog-card p {
        font-size: 0.8em;
        -webkit-line-clamp: 4;
    }
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    .blog-carousel-nav-bottom {
        margin-top: 15px;
        gap: 8px;
    }
}
/*** Contact Start ***/

@media (max-width: 400px) {
    .experience-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .experience-box,
    .experience-content {
        width: 100%;
        max-width: 300px;
    }

    .experience-content .d-flex {
        justify-content: center !important;
    }
}
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/
/*** Footer Start ***/
/* Specific styling for the contact information section */

/* Heading for contact info */
.contact-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* The actual link containing the icon and text */
.contact-link {
    color: var(--bs-white);
    text-decoration: none;
    line-height: 30px;
    font-size: 1.1rem;
    transition: 0.5s;
}

/* Specific styling for the contact icon */
.contact-icon {
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

/* Specific styling for the contact text (address) */
.contact-text {
    flex-grow: 1;
}

/* Hover effect for the contact link */
.contact-link:hover {
    color: #ffffff94;
}

.footer {
    background: rgba(0, 0, 0, 0.916);
}

/* Footer headings */
.footer .footer-item h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer paragraph text */
.footer .footer-item p {
    font-size: 1.1rem;
    line-height: 30px;
}

/* Footer links */
.footer .footer-item a {
    font-size: 1.1rem;
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

/* Hover effect for links */
.footer .footer-item a:hover {
    color: #ffffff94;
}

/* Icons inside links and text */
.footer .footer-item i.fa,
.footer .footer-item i.fab,
.footer .footer-item i.fas {
    font-size: 1.3rem;
    margin-right: 8px;
}

/* Social media icons size (now unused) */
.footer .footer-item .btn i.fab {
    font-size: 1.6rem;
}
/*** Footer End ***/



/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}

/*** copyright end ***/
/* Base button style */
#payNow {
    background-color: #630720;       /* blue background */
    color: #fff;                     /* white text */
    border: none;
    padding: .5em 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .2s ease;
  }
  
  /* “Disabled” look */
  #payNow.disabled {
    background-color: #004480;       /* gray */
    cursor: not-allowed;
    opacity: .6;
  }
  
  /* Hover state (optional) */
  #payNow:not(.disabled):hover {
    background-color: #074763;
  }
  
  /* Active (when you click and hold) */
  #payNow:not(.disabled):active {
    background-color: #630720;       /* darker blue */
  }
  