* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Roboto, Clarkson, Proxima Nova, Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif; line-height: 1.6; background-color: #f6f6f6; }

header { 
    background: #004b8d; 
    color: #fff; 
    text-align: center; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 10px 20px; 
}

.logo { height: 50px; width: auto; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav ul li { display: inline; }
nav ul li a { color: white; text-decoration: none; padding: 10px; }
.hero { 
    background: url('images/ofws1.jpg') no-repeat top center; 
    background-size: cover;
    height: 600px; /* Adjust as needed */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    text-align: center; 
}

.hero h1 { font-size: 3em; }

/* Section Styling */
section {
    padding: 80px 20px;
    padding-bottom: 0px;
}
.container { width: 90%; max-width: 1100px; margin: auto; }
h2 { color: #004b8d; margin-bottom: 20px; }
.content { margin-bottom: 40px; }
footer { background: #004b8d; color: white; text-align: center; padding: 20px; margin-top: 100px; }
.btn { display: inline-block; padding: 10px 20px; background: #004b8d; color: white; text-decoration: none; border-radius: 5px; }
.btn:hover { background: #003366; }

ul, ol {
    padding-left: 40px;
    margin-top: 10px;
} 

li {
    margin-bottom: 10px; /* Adds space between list items */
} 



/* Responsive for small screens */
@media (max-width: 768px) {
header{ 
    flex-direction: column;
    align-items: center;
}

nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none; /* Hide the navigation links by default */
}

nav ul.active {
    display: flex; /* Show the navigation links */
}

nav ul li {
    width: 100%;
    padding: 10px 0;
}
/*
.menu-toggle {
display: block;
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
}*/

.hero {
    height: 400px; /* Reduce height */
    background-position: center; /* Center the background image */
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 2em; /* Reduce font size */
    padding: 10px; /* Add padding */
}

section {
    padding: 40px 20px; /* Reduce padding */
}

h2 {
    font-size: 1.8em; /* Reduce font size */
    text-align: center;
}

p {
    font-size: 1em; /* Increase font size */
}

.btn {
    font-size: 16px;
    padding: 10px 15px; /* Reduce padding */
}

.about-us-container, 
.why-rise-container { 
    flex-direction: column; 
    text-align: center; 
}

.contact-container {
    flex-direction: column;
}

.contact-form {
    width: 100%;
}

.about-image, 
.why-image {
    text-align: center;
}

.why-container {
    flex-direction: column;
    text-align: center;
}

.why-text, 
.why-image {
    max-width: 100%;
}

.why-list li {
    justify-content: center;
    text-align: left;
}

.industry-card-container,
.industry-cards {
    flex-direction: column;
    align-items: center;
}

.industry-list,
.country-list {
    columns: 1;
}

.dual-columns {
    flex-direction: column;
}

.dual-columns .column {
    width: 100%;
}

.cta-button {
    text-align: center;
}

.forms-list {
    columns: 1;
}

}

@media (min-width: 769px) and (max-width: 1024px) {
    .blog-post {
        flex: 0 0 30%;
        width: 30%;
    }
}

.why-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    padding: 40px 60px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.why-text {
    flex: 1;
    min-width: 320px;
    max-width: 55%;
    padding-right: 20px;
}

.why-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.why-image img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.why-image img:hover {
    transform: scale(1.03);
}

.secondary-image {
    margin-bottom: 0;
}

.why-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: #004b8d;
    margin-top: 5px;
}

/* HIRE BY INDUSTRY */

.hire-by-industry {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.hire-by-industry h2 {
    color: #004b8d;
    margin-bottom: 40px;
}

.industry-card-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;  /* Ensures it doesn’t stretch full width */
    margin: 0 auto;     /* Centers the container */
}
  
.industry-card {
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    width: 260px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Background Image Hooks */
.industry-card.manufacturing {
    background-image: url('images/bg/factory-texture.jpg');
}
  
  .industry-card.hospitality {
    background-image: url('images/bg/hotel-pattern.jpg');
}
  
  .industry-card.transport {
    background-image: url('images/bg/road-map.jpg');
}

.industry-card:hover {
    transform: translateY(-5px);
}

/* SVG Icons */
.industry-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    flex-shrink: 0;
    display: block;              /* Add this */
    object-fit: contain;         /* Optional but helpful */
    max-width: 100%;             /* Prevents overflow */
}
  
.industry-card h3 {
    margin: 5px 0 8px;
    color: #004b8d;
    font-size: 1.1rem;
}
  
.industry-card p {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: #333;
}

.industry-card .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: #004b8d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: auto;
}

.industry-card .btn:hover {
    background-color: #002f5e;
}

/* TOP INDUSTRIES */
.top-industries-deploy {
    background: #ffffff;
    padding: 60px 20px;
    border-top: 1px solid #ddd;
  }
  
  .dual-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
  
  .dual-columns .column {
    flex: 1;
    min-width: 280px;
  }
  
  .dual-columns h3 {
    color: #004b8d;
    margin-bottom: 15px;
  }
  
  .industry-list,
  .country-list {
    columns: unset; /* Disable internal columns */
    padding-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
  }

.why-cta {
    margin-top: 20px;
}

.cta-button {
    margin-top: 20px;
    text-align: left;
}

.cta-button {
    text-align: center;
}

.flag-icon {
    width: 24px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
}

.country-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
  
.country-list a:hover {
    text-decoration: underline;
}
  

.forms-list {
    columns: 1;
}

.about-us {
    margin-top: 40px;
    padding: 20px;
    background: #ffffff;
    border-left: 5px solid #004b8d;
    border-radius: 8px;
}

.about-us h3 {
    color: #004b8d;
    margin-bottom: 10px;
}

.about-us-container h4 {
    margin-top: 40px;
    margin-bottom: 10px; /* Optional: adds space below the heading */
    color: #004b8d;
}

.about-us p,
.about-text p{
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ABOUT US Section */
.about-us-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap; /* Allows elements to wrap on smaller screens */
}

.about-text {
    flex: 1;
    max-width: 60%; /* Ensures text does not take up too much space */
}

.about-image {
    flex: 1;
    max-width: 40%; /* Ensures image is well-sized */
    text-align: right; /* Aligns image to the right */
}

.about-image img {
    display: block !important;
    width: 100%;
    max-width: 350px;  /* Adjust based on how big you want it */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* WHY CHOOSE RISE Section */
.why-rise-container {
    background: #eaf2f8;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    padding: 0;
}

.why-rise {
    margin-top: 10px;
    width: 100%;
    max-width: 1000px; /* Matches the container width */
    padding: 40px; /* Add some padding for better readability */
    text-align: left; /* Keeps it aligned properly */
}

.why-rise h3 {
    color: #004b8d;
    margin-bottom: 15px;
}

.why-rise ul {
    padding-left: 20px;
    list-style: none; /* Remove default bullet points */
}

.why-rise ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px; /* Adjusts spacing for icons */
}

.why-rise ul li::before {
    content: "✔"; /* Adds checkmarks for emphasis */
    color: #004b8d;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

#steps {
    margin-top: 20px; /* adjust to preferred spacing */
}

.steps-box {
    background: #eaf2f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
  
#forms {
    margin-bottom: 60px; /* or padding-bottom: 60px */
  }

#forms a {
    color: #004b8d;
    text-decoration: underline;
}

#forms a:hover {
    color: #002f5e;
}
  
/* Style the list */
.forms-list {
    columns: 2;
    column-gap: 10px;
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 20px;
    max-width: 700px;  /* keeps it from stretching too wide */
}

/* Blog Section */
.blog-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 40px; /* adds spacing for arrows */
}

.blog-slider-inner::-webkit-scrollbar {
    display: none;
}

.blog-slider-inner {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

.blog-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px 0;
    /*overflow-x: auto;*/
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    min-height: 250px;
}

.blog-post {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    background: white;
    min-height: 200px;
}

.blog-post:hover {
    transform: translateY(-5px); /* Lifts the card on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Enhances shadow */
}

.blog-post img {
    width: 100%;
    border-radius: 8px;
    height: 180px;
    object-fit: cover;
}

.blog-post h3 {
    margin-top: 15px;
    color: #004b8d;
}

.blog-post p {
    margin: 10px 0;
    font-size: 0.9em;
}

.blog-post .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 14px;
}

.blog-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #004b8d;
    color: white;
    border: none;
    font-size: 24px;
    padding: 12px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}

.blog-nav.left { left: 0; }
.blog-nav.right { right: 0; }

.blog-button {
    text-align: center;
    margin-top: 30px;
}

.blog-button .btn {
    padding: 12px 20px;
    font-size: 16px;
} 

.blog-slider-dots {
    text-align: center;
    margin-top: 15px;
}
  
.blog-slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
  
.blog-slider-dots span.active {
    background-color: #004b8d;
}
  

/* Contact Section */

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
}

.contact-form {
    flex: 1;
    padding: 20px;
    background: #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 15px;
}

.contact-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.contact-form .privacy-consent label {
    display: inline-block !important; /* or inline-flex if you prefer */
    margin-top: 0 !important;
    font-weight: normal; /* optional: if you don't want it bold */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 16px;
}

.contact-form textarea {
    resize: none;
    height: 120px;
    border-radius: 15px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: black;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 15px;
}

.contact-form button:hover {
    background: #333;
}

.privacy-consent {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.privacy-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.privacy-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #004b8d;
}

.privacy-consent .privacy-link {
    margin-top: 5px;
    margin-left: 24px; /* aligns with checkbox text */
    font-size: 14px;
}

.privacy-consent .privacy-link a {
    color: #004b8d;
    text-decoration: underline;
}

.privacy-consent .privacy-link a:hover {
    color: #002c5e;
}


.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #004b8d;
    color: white;
    padding: 20px;
    font-size: 14px;
}

.footer-left,
.footer-right {
    flex: 1 1 100%;
    margin-bottom: 10px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 999;
    background-color: #a5d2fa;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease;
}

#backToTop:hover {
    background-color: #002f5e;
}

@media (min-width: 600px) {
.footer-left,
.footer-right {
    flex: 1 1 50%;
    margin-bottom: 0;
}
}

.login-container {
  width: 100%;
  max-width: 380px;
  margin: 100px auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #004b8d;
}

.login-container div {
  margin-bottom: 15px;
}

.login-container label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.login-container button {
  width: 100%;
  padding: 10px;
  background: #004b8d;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

.login-container button:hover {
  background: #00386c;
}

.error-message {
  color: red;
  font-size: 0.9em;
  text-align: center;
  margin-top: 10px;
}




