@font-face {
  font-family: 'YourNotes';
  src: url('../fonts/Yournotes-Bold-Italic.woff2') format('woff2'),
       url('../fonts/Yournotes-Bold-Italic.woff') format('woff'),
       url('../fonts/Yournotes-Bold-Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Roboto",
    sans-serif;
  color: #333333;
  background-color: #f5f5f5;
  line-height: 1.5;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1200px;
  /* similar to 1440px artboard but with side padding */
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / nav */

/* --- Header / Nav Bar --- */
.site-header {
    width: 100%;
    height: 108px;           /* Figma Height */
    background: #F5F5F5;     /* Figma Background */
    box-shadow: 1px 1px 5.2px rgba(0, 0, 0, 0.25); /* Figma Shadow */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 64px; /* Scaled to fit 108px header comfortably */
    width: auto;
    display: block;
}

/* --- Navigation Links --- */
.nav-links {
    display: flex;
    gap: 25px; /* Figma Gap */
}

.nav-link {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;      /* Figma Font Size */
    line-height: 21px;    /* Figma Line Height */
    color: #0D3B66;       /* Figma Text Color */
    position: relative;   /* For the custom underline */
    padding: 0;
    transition: color 0.2s ease;
}

/* Active State: The Underline */
.nav-link.is-active {
    font-weight: 500; /* Makes active link slightly more prominent */
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0D3B66;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 15px 0;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* =================================
  End of header */
/*===============================
*   Hero Section
*===============================*/
/* --- Hero Section Fixes --- */
/* --- Hero Section Fixes --- */

.hero {
  position: relative;
  min-height: 100vh;
  /* Keeps video full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  background-color: #000;
  /* Fallback if video fails */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures video fills area without stretching */
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  /* Adjusted for better text contrast */
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Sits on top of overlay and video */
  width: 100%;
  padding: 80px 0;
  /* Prevents text hitting top/bottom on mobile */
}

.hero-content {
  text-align: center;
  max-width: 1302px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero h1 {
  font-family: "League Spartan", sans-serif;
  /* Scales font between 38px and 68px based on screen size */
  font-size: clamp(2.375rem, 8vw, 4.25rem);
  line-height: 1.1;
  margin: 0 auto;
  max-width: 1502px;
  /* Keeps heading from getting too wide */
}

.hero p {
  margin: 0 auto;
  max-width: 807px;
  font-family: "Roboto", system-ui, sans-serif;
  /* Scales font between 18px and 26px */
  font-size: clamp(1.125rem, 4vw, 1.625rem);
  line-height: 1.5;
}

.hero-caption {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem !important;
  opacity: 0.8;
  /* Reduced from 100px to be responsive */
  margin-top: clamp(1.5rem, 5vh, 4rem) !important;
}

/* --- Store Buttons --- */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.store-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 13px;
  border: 1px solid #ffffff;
  text-decoration: none;
  background: #000000;
  color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, filter 0.2s ease;
}


.store-btn--primary {
  background: #000000;
  color: #ffffff;
}

/* size similar to 331x100 but responsive */
.store-btn--primary {
  min-width: 260px;
  min-height: 72px;
}

/* Hover: black ↔ white */

.store-btn--primary:hover {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

/* Invert icon on hover if it's a dark SVG/PNG */
.store-btn--primary:hover .store-icon {
  filter: invert(1);
}

.store-icon {
  width: 57px;
  /* from Figma */
  height: 57px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-label-small {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
}

.store-label-big {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.1;
}


/* --- Responsive Media Queries --- */

@media (max-width: 580px) {
  .hero-inner {
    padding: 40px 1.5rem;
    /* More side padding for mobile */
  }

  .store-buttons {
    flex-direction: column;
    /* Stack buttons vertically on small phones */
    align-items: center;
  }

  .store-btn--primary {
    width: 100%;
    max-width: 280px;
  }
}

/*==============================
* End of Hero Section */

/* About section */
/* Section Base */
.about {
    padding: 8rem 0;
    background-color: #F5F5F5; /* Exact background from request */
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

/* Left Text Content */
.about-text h2 {
    color: #0d3b66;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-text p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Collapsible logic */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.collapsible-content.active {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

/* Button & SVG Alignment */
.btn-primary-svg {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#btn-label {
    position: absolute;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    letter-spacing: 1px;
}

/* Collage Positioning - The Exact Structure */
.about-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.collage-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px; /* Reference height */
}

.collage-item {
    position: absolute;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Item 1: Welding (Top Center-Right) */
.img-welding {
    top: 0;
    right: 0;
    width: 85%;
    height: 25%;
    z-index: 1;
}

/* Item 2: Team (Middle Right) */
.img-team {
    top: 28%;
    right: 0;
    width: 85%;
    /* height: ; */
    z-index: 2;
    left: auto;
}

/* Item 3: Tool (Overlapping Middle Left) */
.img-tool {
    top: 45%;
    left: 0;
    width: 45%;
    height: 30%;
    z-index: 4;
    background: #F5F5F5; /* Matches section bg for the gap effect */
    padding: 8px;
}
.tool-inner { border-radius: 18px; overflow: hidden; height: 100%; }

/* Item 4: Construction (Bottom Left/Center) */
.img-construction {
    bottom: 0;
    left: 0;
    width: 65%;
    height: 25%;
    z-index: 3;
}

/* 12K+ Badge (Exact placement overlapping Team/Construction) */
.users-badge {
    position: absolute;
    bottom: 15%;
    right: -10px;
    background: #0d3b66;
    color: white;
    width: 160px;
    height: 150px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
}

.badge-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.badge-label { font-size: 1rem; font-weight: 600; margin-top: 5px; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .about-text { max-width: 100%; }
    .about-visual { padding-bottom: 2rem; }
    .collage-wrapper { height: 500px; max-width: 450px; }
}

/*===============================
*   Trade section with slanted bg
*===============================*/
/* --- Trade Search Section --- */
.trade-search-section {
  position: relative;
  padding: 100px 0;
  background-color: #f5f5f5;
  /* Top/Left base color */

  /* The Polygon Background Image */
  /* This SVG creates a shape from the bottom-left to the top-right */
  background-image: url("../images/jobs-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  min-height: 600px;
}

.trade-search-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* Aligns content toward the bottom blue area */
  width: 100%;
  gap: 50px;
}

.trade-search-title {
  flex: 1;
  padding-bottom: 40px;
  /* Keeps text in the white/clear area */
}

.trade-search-title h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 4.5rem;
  color: #0d3b66;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  margin-top: -20rem !important;
  position: absolute;
}

.trade-search-grid {
  flex: 1.2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-bottom: -80px;
  /* Positions pills inside the blue polygon area */
}

.pill {
  padding: 12px 28px;
  border: 1.5px solid #ffffff;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  background: transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.pill:hover {
  background: #ffffff;
  color: #0d3b66;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .trade-search-section {
    background-image: none;
    background-color: #0d3b66;
    /* background-image: url("../images/jobs-bg.png"); */
    padding: 80px 0;
  }

  .trade-search-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trade-search-title h1 {
    font-size: 3rem;
    margin-top: 0 !important;
    color: #ffffff;
    position: relative;

  }

  .trade-search-grid {
    justify-content: center;
    padding-bottom: 20px;
  }
}

/*==============================
* End of Trade Section*/
/**================================================
  * Jobs section with slanted background
  ================================================**/
*/

/* Section wrapper with slanted background */
.jobs {
  position: relative;
  padding: 4rem 0;
  background-color: #f5f5f5;
  height: 569px;
}

.jobs-inner {
  position: relative;
  overflow: hidden;
}

/* angled blue shape */
.jobs-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/jobs-bg.png");
  /* your image path */
  background-size: cover;
  /* fill area responsively */
  background-position: center;
  /* keep focal point centered */
  background-repeat: no-repeat;
}

/* 2×2 grid: text TL, tags BR */
.jobs-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  grid-template-rows: auto auto;
  align-items: start;
  padding: 4rem 0 5rem;
  height: 569px;
  width: 100%;
}

/* heading: top-left cell */
.jobs-text {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.jobs-text h2 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.2;
  color: #0d3b66;
  /* background-color: #f5f5f5;   */
  display: inline-block;
  padding-right: 1rem;
}

/* chips: bottom-right cell */
.jobs-tags {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  justify-self: center;
  /* align-items: start;   */
  flex-wrap: wrap;
  gap: .5rem .5rem;
  padding: 0px 0px 70px 0;
  /* from Figma */
  left: -10% !important;
}

.jobs-tags-row {
  display: flex;
  justify-content: center;
  /* chips grouped in the middle of row */
  gap: 1rem;
}

/* pills */
.job-chip {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 50px;
  /* from Figma */
  gap: 10px;

  /* responsive size instead of fixed width/height */
  min-height: 50px;
  border: 2px solid #f5f5f5;
  /* from Figma */
  border-radius: 45px;
  /* from Figma */
  background: transparent;
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  white-space: nowrap;
  cursor: pointer;
}

/* Responsive stacking */
@media (max-width: 992px) {
  .jobs-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 3rem 0 4rem;
  }

  .jobs-text {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .jobs-text h2 {
    background: transparent;
    color: #ffffff;
  }

  .jobs-tags {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    justify-self: flex-start;
  }
}

@media (max-width: 600px) {
  .job-chip {
    padding: 6px 32px;
    min-height: 52px;
    font-size: 0.95rem;
  }
}


/**
========================
Features section
========================**/
/* Features section */
/* Features Section */
.features {
  padding: 0 0;
  background-color: #f5f5f5;
  /* Matches your body bg */
  overflow: hidden;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-header h2 {
  font-family: "Roboto", sans-serif;
  color: #0d3b66;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.features-header p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: #333;
}

/* Rows and Layout */
.feature-row {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-bottom: 120px;
}

.feature-row.row-reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  position: relative;
}

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

.text-right h3 {
  margin-left: 75px;
}

.text-left {
  text-align: left;
}
.text-left p, .text-left h3 {
  margin-left: 150px;
}

.font-handwritten {
  font-family: 'YourNotes', cursive !important;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
  margin-top: 0;
}

.feature-text p {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: #4a5568;
  max-width: 450px;
}

.text-right p {
  margin-left: auto;
}

/* Visual Boxes */
.feature-visual {
  flex: 1;
  height: 480px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-outline {
  background-color: #e0f2fe;
  /* border: 2px solid #3b82f6; */
}

.bg-solid {
  background-color: #dbeafe;
}

.feature-phone {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* key: make image cover the card */
  display: block;
  border-radius: 20px;

}

/* Connector Lines */
.connector {
  position: absolute;
  top: 30px;
  height: 3px;
  background-color: #333;
  width: 230px;
  z-index: 1;
}

.connector-right {
  right: -130px;
}

.connector-right::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -8px;
  width: 20px;
  height: 20px;
  background: #333;
  border-radius: 50%;
}

.connector-left {
  left: -130px;
}

.connector-left::after {
  content: '';
  position: absolute;
  left: -5px;
  top: -8px;
  width: 20px;
  height: 20px;
  background: #333;
  border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 992px) {

  .feature-row,
  .feature-row.row-reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    margin-bottom: 80px;
  }

  .feature-text p {
    margin: 0 auto;
  }

  .connector {
    display: none;
  }

  .feature-visual {
    width: 100%;
    height: 400px;
  }
}

/*==================================
 --- Global Section Header Style --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: "Roboto", sans-serif;
  font-size: 3.2rem;
  color: #0d3b66;
  margin-top: 0;
  margin-bottom: 0;
}

.section-header p {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 65px;
  color: #333;
  margin-top: 0;
  margin-bottom: 0;
}

.handwritten {
  font-family: 'YourNotes', cursive !important;
  font-weight: 400;
}

/* --- Platform Features --- */
.platform-features {
  padding: 6rem 0;
  background-color: #f5f5f5;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10%;
  margin-bottom: 6rem;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  position: relative;
}

.feature-text h3 {
  font-size: 2.5rem;
  /* margin-bottom: 1rem; */
  color: #333;
  /* margin-right: 50px; */
    max-width: 405px;
}

.feature-text p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  height: 450px;
}

.feature-visual.border-box {
  background: #eef7ff;
  border: 2px solid #3b82f6;
}

.feature-visual.solid-box {
  background: #dbeafe;
}

.phone-mockup {
  height: 100%;
  width: 100%;
  /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); */
  object-fit: cover;
  display: block;
}

/* Line Connectors */
.line-connector {
  position: absolute;
  top: 25px;
  height: 2px;
  background-color: #333;
  width: 150px;
}

.line-connector.right {
  right: -160px;
}

.line-connector.left {
  left: -160px;
}

.line-connector::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  background-color: #333;
  border-radius: 50%;
}

.line-connector.right::after {
  right: 0;
}

.line-connector.left::after {
  left: 0;
}
/* SECTION */
.who-for {
  padding: 0 1rem;
  background: #f5f5f5;
  margin-bottom: 6rem;
}

/* GRID */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.who-card {
  position: relative;
  height: 520px;
  perspective: 1500px;
  cursor: pointer;
}

/* FLIP CONTAINER */
.who-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.who-card.is-flipped .who-card-inner {
  transform: rotateY(180deg);
}

/* FACES */
.who-card-front,
.who-card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
}

/* FRONT */
.who-card-front {
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.who-card-front .who-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 102, 0.7);
  z-index: 0;
}

.who-card-front h3 {
  position: relative;
  z-index: 0;
}

/* BACK */
.who-card-back {
  background: #0d3b66;
  color: #fff;
  transform: rotateY(180deg);
}

/* ICON */
.who-stationary-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 32px;
  z-index: 10;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* TEXT */
.handwritten {
  font-family: 'YourNotes', cursive;
  font-size: 2.2rem;
  line-height: 1.2;
}

.who-card-back p {
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 280px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .who-card {
    height: 480px !important;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
  .who-card {
    max-width: 380px;
    margin: 0 auto;
    height: 460px;
  }
  .handwritten {
    font-size: 1.8rem;
  }
}

/*=============================
  * Opposite Feature Rows
==============================*/
/* --- Endless Opportunity Slider --- */
.opportunity-section {
  padding: 2rem 0;
  background-color: #F5F5F5;
  overflow: hidden;
  /* Prevents horizontal scrollbar on the whole page */
}

.spheric-divider {
  position: relative;
  width: 100%;
  height: 116px;
  background-color: #F5F5F5;
  /* Matches your brand blue */
  margin-top: 4rem;

  /* This creates the "spheric" arch effect */
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;

  /* Ensures the curve looks smooth across all screen sizes */
  transform: scaleX(1.5);
}

/* Optional: If you want content inside the curve (like a logo or CTA) */
.spheric-divider::after {
  content: "";
  display: block;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .spheric-divider {
    height: 120px;
    /* Scale down the height slightly for mobile screens */
    transform: scaleX(1.2);
  }
}

.opportunity-section .section-header {
  margin-bottom: 3rem;
}

.slider-container {
  width: 100%;
  padding: 0 0;
  /* Adds a little peek at the next/previous slides */
  margin-bottom: -8%;
}

.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* The "slider" magic */
  scrollbar-width: none;
  /* Hides scrollbar in Firefox */
  padding-bottom: 20px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 350px;
  /* Each slide is 350px wide */
  scroll-snap-align: center;
  /* border-radius: 12px; */
  overflow: hidden;
  height: 500px;
  transition: transform 0.3s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures image fills the frame without stretching */
  display: block;
}

/* Hover effect to make it feel interactive */
.slide:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide {
    flex: 0 0 85%;
    /* Shows most of one slide and a bit of the next on mobile */
    height: 400px;
  }
}

/*=============================
  * End of Opposite Feature Rows*/

/**========================
  Financial section
  ========================**/
/* --- Final CTA Section --- */
.cta-section {
  width: 100%;
  overflow: hidden;
  background-color: #e6eef4;
  /* Pale blue/gray background from image */
}

.cta-grid {
  display: flex;
  min-height: 500px;
  align-items: stretch;
}

/* Left Side Content */
.cta-content-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Aligns content to the center-left of the total screen */
  padding: 4rem 5% 4rem 10%;
}

.cta-text-wrapper {
  max-width: 500px;
}

.cta-text-wrapper h2 {
  font-family: "Roboto", sans-serif;
  font-size: 3rem;
  color: #0d3b66;
  /* Brand Blue */
  margin-bottom: 2rem;
  line-height: 1.1;
}

.cta-text-wrapper p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2.5rem;
}

/* Button Styling */
.btn-download {
  display: inline-block;
  background-color: #0d3b66;
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-download:hover {
  background-color: #164e82;
  transform: translateY(-2px);
}

/* Right Side Image */
.cta-image-side {
  flex: 1;
}

.cta-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the handshake image fills the side perfectly */
  display: block;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .cta-grid {
    flex-direction: column;
  }

  .cta-content-side {
    padding: 4rem 2rem;
    justify-content: center;
    text-align: center;
  }

  .cta-image-side {
    height: 350px;
  }

  .cta-text-wrapper h2 {
    font-size: 2.5rem;
  }
}

/*=============================
  * End of Financial Section*/

/*=============================
  *  Footer Section
  =============================*/
/* --- Footer Styles --- */
.main-footer {
  background-color: #F5F5F5;
  padding-top: 5rem;
  border-top: 1px solid #eee;
  /* Subtle separator */
  box-shadow: 1px 1px 5.2px rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  /* Matches your design layout */
  gap: 6rem;
  padding-bottom: 2rem;

  /* Centering Logic */
  max-width: 1200px;
  /* Adjust this to match your site's content width */
  margin: 0 auto;
  /* Perfectly centers the grid horizontally */
  padding-left: 0px;
  /* Adds a safety gutter for mobile */
  padding-right: 0px;

  /* Optional: Vertically aligns columns if they have different heights */
  align-items: start;
}

.footer-logo {
  height: 106px;
  width: 145px;
  /* margin-bottom: .5rem; */
}

.footer-desc {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links img {
  width: 32px;
  transition: opacity 0.3s;
}

.social-links img:hover {
  opacity: 0.7;
}

/* Links Column */
.footer-links {
  margin-top: 3rem !important;
}

.footer-links h3,
.footer-app h3 {
  font-family: "Roboto", sans-serif;
  color: #0d3b66;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0d3b66;
}

/* App Column */
.footer-app {
  position: relative;
}

.app-text-phone {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 3rem !important;
}

.footer-phone-mockup {
  width: 140px;
  margin-top: 10px;
  /* Pulls the phone up slightly like the design */
  /* margin-left: -600px !important;   */
}

.app-badges {
  display: flex;
  gap: 15px;
  margin-top: 0rem;
  /* margin-right: -10% !important; */
  align-items: center;
  justify-content: center;
}

.app-badges img {
  height: 77px;
}

/* Copyright Bar */
.footer-bottom {
  background-color: #0d3b66;
  /* Your brand blue */
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-family: "inter", sans-serif;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}


/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .social-links,
  .app-badges {
    justify-content: center;
  }

  .footer-phone-mockup {
    /* display: none; Hide phone on mobile to save space */
  }

  .footer-desc {
    margin: 0 15px;
  }
}

/* This targets tablets and mobile phones */
@media (max-width: 992px) {
  .app-badges {
    /* Reset the margins used for desktop alignment */
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 2rem;
    /* Adds space between the text/phone and the buttons */

    /* Ensure it spans the width of the column to allow centering */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  /* Optional: Stack buttons vertically on very small screens (phones) */
  @media (max-width: 480px) {
    .app-badges {
      flex-direction: column;
      gap: 10px;
      margin-top: 0 !important;
    }
  }
}

@media (max-width: 992px) {
  .app-text-phone {
    display: flex;
    /* Change from horizontal to vertical */
    flex-direction: column;

    /* Center the flex items (text and phone) */
    align-items: center;

    /* Center the text itself */
    text-align: center;

    /* Give them some breathing room when stacked */
    gap: 2rem;

    /* Ensure the container takes full width to allow centering */
    width: 100%;
  }

  /* Reset the phone mockup margins for mobile */
  .footer-phone-mockup {
    margin-top: 0;
    margin-right: 0;
    width: 120px;
    /* Optional: scale the phone down slightly for mobile */
  }
}

/*=============================
  * End of Footer Section
