/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Be Vietnam Pro', 'Geist', sans-serif;
  background-color: #FFFFFF;
  color: #252525;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Layout */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Typography */
h1 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 58px;
  line-height: 73px;
  color: #000000;
}

h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 61px;
  color: #252525;
}

p {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 31px;
  color: #252525;
}

/* Header/Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  width: 100%;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 100px;
  height: 98px;
  background: #FFFFFF;
}

.logo {
  width: 156px;
  height: 45.76px;
}

nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  list-style-type: none;
}

nav ul li a {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #575757;
  text-decoration: none;
}

nav ul li.active a {
  font-weight: 700;
  color: #1181D0;
}

/* Buttons */

/* Carousel Navigation Styles */
.carousel-nav {
    width: 85px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px; /* Space between buttons */
}

.nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid #4F4F4F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:disabled {
    border-color: #B2B2B2;
    opacity: 0.5; /* Slightly increased from 0.4 for better visibility */
    cursor: not-allowed;
}

.nav-arrow:hover:not(:disabled) {
    background-color: #f0f0f0;
    border-color: #1181D0;
}

.nav-arrow img {
    width: 21px;
    height: 21px;
}
.btn-primary {
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* Changed for better spacing */
  align-items: center;
  padding: 4px 4px 4px 14px; /* Figma padding */
  gap: 10px;
  width: 201px; /* Figma width */
  height: 54px;
  background: #168CE0;
  border: 1px solid #FFFFFF;
  border-radius: 12px;
  text-decoration: none;
  color: #FFFFFF;
  white-space: nowrap; /* Prevent text wrapping */
}

.btn-primary span {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.arrow-container {
  width: 46px;
  height: 46px;
  background: #5BB0EC; /* Figma color for arrow background circle */
  border-radius: 8px; /* Figma border-radius */
  display: flex; /* For centering the arrow */
  align-items: center; /* For centering the arrow */
  justify-content: center; /* For centering the arrow */
  /* position: relative; Not needed if arrow is centered by flex */
}

.arrow-right {
  /* position: absolute; Removed for flex centering */
  /* width: 29px; Size will be determined by borders */
  /* height: 29px; Size will be determined by borders */
  /* left: calc(50% - 29px/2); Removed for flex centering */
  /* top: calc(50% - 29px/2); Removed for flex centering */
  width: 12px; /* Adjust size of arrow */
  height: 12px; /* Adjust size of arrow */
  border-top: 3px solid #FFFFFF;
  border-right: 3px solid #FFFFFF;
  transform: rotate(45deg);
}

.btn-secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  gap: 10px;
  width: 202px;
  height: 54px;
  background: #FFFFFF;
  border: 2px solid rgba(17, 129, 208, 0.8);
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #141414;
  white-space: nowrap; /* Ensure text is on a single line */
}

/* Hero Section */
.hero {
  width: 100%; /* Full viewport width */
  height: 580px; /* Further reduced from 720px */
  background: #FFFFFF;
  position: relative;
  /* margin: 0 auto; Removed for full width */
  overflow: hidden; /* Prevent gradient overlay from causing scrollbars if it extends */
  margin-bottom: 60px; /* Space before next section */
}

.hero-content {
  position: absolute;
  width: 644px;
  height: auto; /* Height from Figma was 376px, but content might vary */
  left: 100px;
  top: 166px; /* Moved up by 40px */
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 3; /* Above gradient and hero image */
}

.hero-text h1 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 300; /* Light weight for the main part of H1 */
  font-size: 56px;
  line-height: 1.2;
  color: #252525;
  margin-bottom: 16px;
}

.hero-text h1 .highlight-text {
  font-weight: 600; /* Bolder for 'Lending Operations' */
  color: #168CE0; /* Theme blue color */
}

.hero-text p {
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.hero-gradient-overlay {
  position: absolute;
  width: 100%; /* Cover full width */
  height: 100%; /* Cover full height */
  left: 0;
  top: 0;
  /* Gradient: solid white on left, fades to transparent towards right, allowing image to show before blur */
  background: linear-gradient(to right, #FFFFFF 25%, rgba(255, 255, 255, 0.7) 40%, transparent 55%);
  z-index: 2; /* Above hero image, below content */
}

.hero-man-image {
  position: absolute;
  width: 65%; /* Covers the right portion */
  height: 100%;
  right: 0;
  top: 0;
  background-image: url('../images/smiling-indian-man-working-laptop-while-sitting-couch-home 1.png');
  background-size: cover;
  background-position: 75% center; /* Shifted slightly left */
  background-repeat: no-repeat;
  z-index: 1; /* Behind gradient */
}

/* Floating elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none; /* Allow clicks to pass through */
  overflow: visible;
}

.floating-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  left: -50px; /* Adjust to center more behind text */
  top: 100px; /* Adjust to center more behind text */
  border: 1px dashed rgba(208, 232, 255, 0.7); /* Thinner and slightly transparent */
  border-radius: 50%;
  z-index: 1; /* Behind hero-content text, but above hero-image */
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: auto; /* If they are clickable or have tooltips */
}

/* Styles for specific UI icons from Figma (rocket, target, graph) */
/* User will need to provide actual SVG/icon content for these */
.floating-icon.icon1 { /* Figma: Frame 1984079596 (Target/Focus icon based on visual) */
  width: 56.79px;
  height: 56.79px;
  left: 1234px; /* Nudged right by 10px */
  top: 62px; /* Nudged up by 10px */
  background-image: url('../images/floating_icon_1.svg');
  background-size: contain; /* Ensure the icon fits */
  background-position: center; /* Center the icon */
  background-repeat: no-repeat; /* Prevent tiling */
}

.floating-icon.icon2 { /* Figma: Frame 1984079592 (Rocket icon based on visual) */
  width: 75.05px;
  height: 75.05px;
  left: 1290px; /* Nudged right by 10px */
  top: 139px; /* Nudged up by 10px */
  background-image: url('../images/floating_icon_2.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.floating-icon.icon3 { /* Figma: Frame 1984079595 (Graph icon) */
  width: 57px;
  height: 57px;
  left: 1325px; /* Nudged right by 10px */
  top: 254px; /* Nudged up by 10px */
  background-image: url('../images/floating_icon_3.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.floating-icon.science-image {
  /* This element is not explicitly in Figma CSS, position based on visual */
  position: absolute;
  width: 180px; /* Adjust size as needed */
  height: 180px; /* Adjust size as needed */
  background-image: url('../images/back_science_images.svg');
  background-size: contain;
  background-repeat: no-repeat;
  top: 90px;  /* Nudged up by 10px */
  left: 1210px; /* Nudged right by 10px */
  opacity: 0.15; /* Make it subtle */
  z-index: 0; /* Behind icons, potentially behind gradient too */
  pointer-events: none;
}


/* Brands Section */
section.brands {
  display: flex; /* Assuming it needs to be a flex container based on h2 and brand-logos */
  flex-direction: column;
  align-items: center;
  padding: 40px 50px; /* Default padding, adjust as needed */
  gap: 40px; /* Default gap, adjust as needed */
  margin-bottom: 150px; /* Increased space before next section */
}
.brands {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 50px;
  gap: 40px;
  width: 100%;
  height: 116px;
}

.brands h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  color: #1D3F83;
}

.brand-logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 52px;
  width: 100%;
}

/* Stats Section */

/* --- Brands Carousel --- */
.brands .brand-logos-carousel {
    width: 100%;
    height: 100px;
    margin-top: 20px;
}

.brand-logos-carousel .swiper-slide {
    text-align: center;
}

.brand-logos-carousel .swiper-slide img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.swiper-navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Space above the buttons */
    gap: 20px;
}

.swiper-button-prev, .swiper-button-next {
    position: static; /* Override default absolute positioning */
    width: 40px;
    height: 40px;
    margin: 0;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #1181D0;
    transition: background-color 0.3s;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    background-color: #e0e0e0;
}

.swiper-button-prev::after, .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.stats {
  display: flex;
  flex-direction: column;
  background-image: url('../images/stats_background.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* Or 'cover' or a specific size like '60%' depending on the desired effect */
  justify-content: center;
  align-items: center;
  padding: 0px 100px;
  width: 100%;
  height: 600px;
  background-color: #FFFFFF; /* Changed from 'background' to prevent image override */
}

.stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0px;
  gap: 80px;
  isolation: isolate;
  width: 1240px;
  height: 631px;
}

.stats-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 16px;
  width: 932px;
  height: 107px;
}

.stats-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 1px 0px 0px;
  gap: 67px;
  width: 1240px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px;
  gap: 16px;
  width: 207px;
  height: 209px;
}

.stat-icon {
  width: 52px;
  height: 52px;
  /* Default background color, will be overridden by specific icons */
  background-color: #1181D0;
  border: 3.54545px solid #BDD2FC;
  border-radius: 63.8182px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80%; /* Increased from 60% to make icon larger */
}

.stat-card:nth-child(1) .stat-icon {
  background-image: url('../images/stats_icon_1.svg');
  /* The blue background color from .stat-icon will now apply */
}

.stat-card:nth-child(2) .stat-icon {
  background-image: url('../images/stats_icon_2.svg');
}

.stat-card:nth-child(3) .stat-icon {
  background-image: url('../images/stats_icon_3.svg');
}

.stat-card:nth-child(4) .stat-icon {
  background-image: url('../images/stats_icon_4.svg');
}

.stat-content h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 58px;
  line-height: 73px;
  color: #252525;
}

.stat-content p {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #163064;
}

/* Products Section */
.products {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px 100px;
  gap: 100px;
  width: 100%;
  height: 897px;
  background: #FFFFFF;
}

.products-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 40px;
  width: 1240px;
  height: 897px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 20px;
  width: 1240px;
}

.product-tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 16px;
  width: 1240px;
  height: 48px;
}

.tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 36px;
  flex-grow: 1;
}

.tab button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  gap: 10px;
  width: 100%;
  height: 48px;
  border: 1px solid #D1D1D1;
  border-radius: 44px;
  background: transparent;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #8E8E8E;
  cursor: pointer;
}

.tab.active button {
  background: #1181D0;
  border: 1px solid #C0D4FA;
  color: #EEEEEE;
}

.product-content {
  display: flex;
  width: 100%;
  margin-top: 40px;
}

.product-display {
  display: none;
  width: 100%;
}

.product-display.active {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.product-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 55%;
}

.product-text h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: #252525;
}

.product-text p {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #252525;
  margin-bottom: 10px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  color: #252525;
}

.feature-list li i {
  color: #1181D0;
  font-size: 18px;
}

.product-image {
  width: 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  padding: 80px 100px;
  background-color: #F7F9FC;
  width: 100%;
}

.features-container {
  max-width: 1240px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 129, 208, 0.1);
  border-radius: 50%;
  margin-bottom: 20px;
}

.feature-icon i {
  color: #1181D0;
  font-size: 24px;
}

.feature-box h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  color: #252525;
  margin-bottom: 12px;
}

.feature-box p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #575757;
}

/* Use Cases Section */
.use-cases {
  padding: 80px 100px;
  width: 100%;
  background-color: #FFFFFF;
}

.use-cases-container {
  max-width: 1240px;
  margin: 0 auto;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.use-case-card {
  background: #FFFFFF;
  border: 1px solid #EFEFEF;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.use-case-image {
  height: 220px;
  overflow: hidden;
}

.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.use-case-card:hover .use-case-image img {
  transform: scale(1.05);
}

.use-case-content {
  padding: 25px;
}

.use-case-content h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #252525;
  margin-bottom: 10px;
}

.use-case-content p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #575757;
  margin-bottom: 20px;
}

.case-link {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #1181D0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-link i {
  transition: transform 0.3s ease;
}

.case-link:hover i {
  transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 100px;
  background-color: #F7F9FC;
  width: 100%;
}

.testimonials-container {
  max-width: 1240px;
  margin: 0 auto;
}

.testimonial-slider {
  margin-top: 60px;
  position: relative;
}

.testimonial-card {
  display: none;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-card.active {
  display: block;
}

.quote-mark {
  font-size: 36px;
  color: #1181D0;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #252525;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #252525;
}

.author-info span {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: #575757;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #D1D1D1;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #1181D0;
}

/* CTA Section */
.cta-section {
  padding: 100px;
  background-color: #1181D0;
  color: #FFFFFF;
  text-align: center;
  width: 100%;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.cta-section p {
  font-family: 'Geist', sans-serif;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-section .btn-primary {
  background: #FFFFFF;
  border: none;
}

.cta-section .btn-primary span {
  color: #1181D0;
}

.cta-section .arrow-container {
  background: #BDD2FC;
}

.cta-section .btn-secondary {
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
}

/* Footer */
footer {
  background-color: #F7F9FC;
  padding: 80px 100px 40px;
  width: 100%;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-logo {
  max-width: 300px;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 20px;
}

.footer-logo p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #575757;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #252525;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  color: #575757;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #1181D0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #EFEFEF;
}

.copyright p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: #575757;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
section.hero { /* Increased specificity */
  display: flex;
  flex-direction: column;
  align-items: center; /* For centering flex items */
  height: auto !important; /* Ensure override */
  overflow: visible !important; /* Allow content to flow */
  padding: 20px 20px 10px 20px; /* Reduced top/bottom padding */
}

  .hero-content {
    position: static; /* Remove absolute positioning */
    width: 100%; /* Takes full width of its centering flex parent */
    max-width: 650px; /* Optional: constrain width of text content area */
    left: auto;
    top: auto;
    display: flex; /* Ensure it's a flex container for its children */
    flex-direction: column;
    align-items: center; /* Center items like feature-card and hero-text */
    gap: 10px; /* Reduced from 30px */
    order: 2; /* To appear after hero-man-image */
  }

  .hero-text h1 {
    font-size: 40px; /* Reduce heading font size */
    margin-bottom: 10px; /* Reduced from base 16px */
  }

  .hero-text p {
    font-size: 16px; /* Reduce paragraph font size */
    margin-bottom: 15px; /* Reduced from 30px */
  }

  .hero-buttons {
    flex-direction: column; /* Stack buttons vertically */
    width: 100%;
    max-width: 300px; /* Limit button width */
    margin: 0 auto; /* Center buttons */
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%; /* Make buttons full width of their container */
    justify-content: center; /* Center text in buttons */
  }
  
  .hero-buttons .btn-primary {
    padding: 15px; /* Adjust padding for stacked button */
  }

section.hero .hero-background-image, /* Increased specificity */
section.hero .hero-man-image {      /* Increased specificity */
  position: static !important; /* Ensure override */
  width: 45%; /* Reduced from 60% */
  height: auto !important; /* Override fixed/percentage height */
  min-height: 120px; /* Reduced from 160px */
  margin: 10px auto 0; /* Reduced top margin from 20px */
  background-size: contain; 
  background-position: center;
  top: auto !important; /* Reset absolute positioning */
  right: auto !important; /* Reset absolute positioning */
  left: auto !important; /* Reset absolute positioning */
  bottom: auto !important; /* Reset absolute positioning */
}

section.hero .hero-man-image { /* For order, keep specificity */
  order: 1; /* To appear before hero-content */
  margin-bottom: 0px; /* Reduced from 5px */
}

  .hero-gradient-overlay {
    display: none; /* Hide gradient on smaller screens for simplicity */
  }

section.hero .feature-card { /* Increased specificity */
  position: static !important; /* Ensure override */
  width: 60%; /* Reduced from 70% */
  max-width: 350px;
  height: auto !important; /* Override fixed/percentage height */
  margin: 0 auto 10px; /* Reduced bottom margin from 30px */
  left: auto !important; /* Reset absolute positioning */
  top: auto !important; /* Reset absolute positioning */
  right: auto !important; /* Reset absolute positioning */
  bottom: auto !important; /* Reset absolute positioning */
  order: -2; 
}

  .floating-elements {
    display: none; /* Hide floating elements on smaller screens */
  }
}

@media (max-width: 768px) {
section.hero {
  display: flex;
  flex-direction: column;
  align-items: center; /* For centering flex items */
  padding: 15px 15px 15px 15px; /* Adjusted bottom padding for mobile */
  height: auto !important; /* Ensure consistency with 1024px */
  overflow: visible !important; /* Ensure consistency */
}
  .hero-text h1 {
    font-size: 32px; /* Further reduce heading size for mobile */
    margin-bottom: 8px; /* Reduced margin */
  }

  .hero-text p {
    font-size: 14px; /* Further reduce paragraph size for mobile */
    margin-bottom: 10px; /* Reduced margin */
  }

  .hero-content {
    order: 2; /* Ensure hero-content is after hero-man-image */
    /* Inherits display:flex, flex-direction:column, align-items:center, width, max-width from 1024px styles */
    gap: 8px; /* Reduced gap for mobile */
    /* If specific width needed for 768px, add here */
  }
}
