/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color:#004165
}

a:hover {
    text-decoration: underline;
}


/* General Header Styles */
.main-header {
    background-color: #004165; /* Set background color for the header */
    padding: 0.5rem 0; /* Add some vertical padding */
}

/* Container for Logo and Nav */
.container {
    display: flex;
    align-items: center; /* Vertically align the logo and nav links */
    justify-content: flex-start; /* Align items to the left */
    max-width: 1200px; /* Optional: Restrict the maximum width of the container */
    margin: 0 auto; /* Center the container horizontally */
    padding-left: 0 5%; /* Add horizontal padding to the container */
}

/* Logo Styling */

.logo {
    margin-right: 1.5rem; /* Add spacing between the logo and nav links */
}

.logo img {
    max-height: 40px; /* Adjust the size of the logo */
   /* margin-right: 1.5rem; /* Add spacing between the logo and the links */
    display: block;
}

/* Navigation Bar Styles */

.nav-bar {
    display: flex;
    align-items: center; /* Align links with the logo */
    flex-grow: 1; /* Allow the nav bar links to take up available space */
}

.nav-bar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-bar li {
    margin-right: 1.5rem; /* Space between links */
}

.nav-bar a {
    color: white; /* Default text color */
    font-size: 1rem;
    text-decoration: none;
    padding: 0 1rem; /* Horizontal padding only */
    height: 100%; /* Ensure link spans full height of nav bar */
    line-height: 3rem; /* Match line-height to nav bar height */
    display: flex;
    align-items: center; /* Vertically align text */
    background-color: transparent; /* Default background color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.nav-bar a:hover {
    background-color: #0072AC; /* Updated hover color */
    color: white; /* Optional: Ensure text color stays readable */
}

.nav-buttons {
    display: flex;
    gap: 1rem; /* Space between buttons */
    margin-left: auto; /* Push buttons to the far right */
}

.btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    transition: background-color 0.3s, color 0.3s;
}

.btn-login:hover {
    background-color: white;
    color: #00247D;
}

.btn-register {
    background-color: #0072AC;
    color: white;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #005b88;
}



/* Hero Section */
.hero-section {
    background-image: url('images/hero_kitchen_strawberry.jpg');
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    height: 500px; /* Adjust the height as needed */
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: flex-start; /* Align content to the top of the hero section */
    text-align: left; /* Align text inside the hero content */
    color: white; /* Ensure text is visible on the image */
    position: relative;
    padding-left: 10%; /* Add padding to align with the logo */
    padding-top: 4rem; /* Add padding to push content down */
}

.hero-content {
    background: white; /* Solid white background */
    padding: 0.5rem 2rem 2rem; /* Top, horizontal, and bottom padding */
    border-radius: 15px; /* Rounded corners */
    width: 32%; /* Set the box width to 30% of the parent container */
    color: #004165; /* Text color for readability */
    margin-left: 0; /* Ensure no extra margin pushes it further */
    margin-top: 1.5rem; /* Increase space between content and top of hero section */
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}

.hero-content h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Quicksand', sans-serif;
    color: #0072AC; /* Change the paragraph text color */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #0072AC;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}


/* Coming Soon Hero Section */
.coming-soon-hero-section {
    background-image: url('images/upgrade.jpg');
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    height: 500px; /* Adjust the height as needed */
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: flex-start; /* Align content to the top of the hero section */
    text-align: left; /* Align text inside the hero content */
    color: white; /* Ensure text is visible on the image */
    position: relative;
    padding-left: 10%; /* Add padding to align with the logo */
    padding-top: 4rem; /* Add padding to push content down */
}

.coming-soon-hero-content {
    background: white; /* Solid white background */
    padding: 0.5rem 2rem 2rem; /* Top, horizontal, and bottom padding */
    border-radius: 15px; /* Rounded corners */
    width: 32%; /* Set the box width to 30% of the parent container */
    color: #004165; /* Text color for readability */
    margin-left: 0; /* Ensure no extra margin pushes it further */
    margin-top: 1.5rem; /* Increase space between content and top of hero section */
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}

.coming-soon-hero-content h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.coming-soon-hero-content p {
    font-family: 'Quicksand', sans-serif;
    color: #0072AC; /* Change the paragraph text color */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #0072AC;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}



/* Main Content */

.content-section {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: #555;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #0073E6;
    font-weight: bold;
}

/* Footer */
.main-footer {
    background-color: #004165;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

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

.footer-links li {
    display: inline;
    margin: 0 1rem;
}

.footer-links a {
    color: white;
}

/* Notification Bar */
.notification-bar {
    background-color: #2ab4fff8; /* Background color of the notification bar */
    color: white; /* Text color */
    padding: 1rem 1rem;
    position: relative;
    z-index: 1000; /* Ensures it's above other elements */
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center; /* Center the notification content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.notification-content {
    max-width: 1200px; /* Restrict content width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.notification-message {
    margin: 0;
    font-size: 1rem;
    flex: 1; /* Allow the message to take up space */
}

.notification-link {
    color: #f9d835; /* Link color */
    font-weight: bold;
    text-decoration: none;
    margin-left: 0.5rem;
}

.notification-link:hover {
    text-decoration: underline;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between "Dismiss" text and the close icon */
}

.notification-close:hover {
    color: #f9d835;
}

.close-icon {
    font-size: 1.2rem; /* Adjust size of the ✖ icon */
}

/* Quick Links Section */
.quick-links-section {
    background-color: white; /* White background */
    padding: 3rem 0 1.5rem; /* Reduced bottom padding to decrease space */
}

.quick-links-container {
    max-width: 1200px; /* Match the width of your navigation bar */
    margin: 0 auto; /* Center the container */
    display: flex;
    justify-content: space-between; /* Space the boxes evenly */
    align-items: center; /* Center content vertically */
    padding: 2rem 2rem; /* Add horizontal padding */
}

.quick-link {
    text-align: center; /* Center align text and icon */
    flex: 1; /* Ensure all boxes take equal space */
    margin: 0 1rem; /* Add spacing between boxes */
    position: relative; /* REQUIRED for pseudo-elements to position correctly */
}

.quick-link:hover {
    transform: scale(1.05); /* Slightly increase the size of the entire box on hover */
}

.quick-link img {
    width: 60px; /* Adjust the icon size */
    height: auto;
    margin-bottom: 0.5rem; /* Space between icon and text */
    transition: transform 0.3s ease; /* Smooth transition on hover */
}

.quick-link:hover img {
    transform: scale(1.2); /* Slightly expand the image on hover */
}

.quick-link p {
    font-family: 'Quicksand', sans-serif; /* Use your font */
    color: #004165; /* Text color */
    font-size: 1rem; /* Adjust font size */
    margin: 0;
}

/* Add separator lines between quick links */
.quick-link:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; /* Align to the right edge of the box */
    top: 10%; /* Offset from the top */
    bottom: 10%; /* Offset from the bottom */
    width: 1px; /* Thin separator line */
    background-color: #ccc; /* Light gray color for the line */
    display: block; /* Ensure it displays */
}


/* Home Loans Section */
.home-loans-section {
    background-color: white; /* White background */
    padding: 1.5rem 0; /* Top and bottom padding */
}

.home-loans-container {
    max-width: 1200px; /* Match the width of other sections */
    margin: 0 auto; /* Center the container */
    padding: 0 1.5rem; /* Horizontal padding */
}

/* Flexbox for Header and Image */
.header-and-image {
    display: flex; /* Create a horizontal layout */
    justify-content: space-between; /* Space text and image evenly */
    align-items: flex-start; /* Align the text and image to the top */
    margin-bottom: 2rem; /* Space below header and image */
}

.section-header {
    max-width: 800px; /* Restrict text width */
    text-align: left; /* Align text to the left */
    margin-top: -1rem; /* Move the text slightly higher */
}

.image-box {
    flex-shrink: 0; /* Prevent the image from shrinking */
    margin-right: 2rem; /* Space between image and text */
}

.image-box img {
    width: 400px; /* Adjust the image size */
    height: auto; /* Maintain aspect ratio */
}

.section-header {
    max-width: 800px; /* Restrict text width */
    text-align: left; /* Align text to the left */
}

.section-header h2 {
    font-size: 2rem;
    color: #004165;
    margin-bottom: 0.5rem; /* Space below the heading */
    font-family: 'Quicksand', sans-serif;
}

.section-header p {
    font-size: 1.1rem;
    color: #757575;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5; /* Improve text readability */
}

/* Loan Options */
.loan-options {
    display: flex;
    justify-content: space-between; /* Space the loan option boxes evenly */
    align-items: flex-start;
    gap: 1rem; /* Add consistent space between loan boxes */
}

.loan-option h3 {
    font-size: 1.5rem;
    color: #004165;
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.loan-option p {
    font-size: 1.2rem;
    color: #0072AC;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.loan-option a {
    color: #0072AC;
    text-decoration: none;
    font-weight: bold;
}

.loan-option a:hover {
    text-decoration: underline;
}


/* Open Banking Section */
.open-banking-section {
    background-color: #f8f9fa; /* Light gray background */
    width: 100%; /* Full width of the screen */
    padding: 2rem 0; /* Space above and below the section */
}

.open-banking-container {
    max-width: 1200px; /* Align with other sections */
    margin: 0 auto; /* Center the container */
    display: flex;
    justify-content: space-between; /* Spread the text and image evenly */
    align-items: center; /* Vertically align content */
    padding: 0 2rem; /* Horizontal padding */
}

.section-header {
    max-width: 800px; /* Limit text width */
    text-align: left; /* Align text to the left */
}

.section-header h2 {
    font-size: 2rem;
    color: #004165; /* Matches other headers */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.section-header p {
    font-size: 1.1rem;
    color: #757575; /* Subtle gray for body text */
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5; /* Better readability */
    margin: 0;
}

.icon {
    flex-shrink: 0; /* Prevent the icon from shrinking */
    margin-left: 2rem; /* Move the image slightly to the left */
}

.icon img {
    width: 250px; /* Adjust the image size as needed */
    height: auto; /* Maintain aspect ratio */
}

/* Dashboard Section */
.dashboard-section {
    background-color: #bcf2ff; /* Light blue background */
    padding: 3rem 0; /* Add space above and below the section */
    color: #004165; /* Text color */
}

.dashboard-container {
    max-width: 1200px; /* Align with other sections */
    margin: 0 auto; /* Center the container */
    text-align: center; /* Center-align the header */
    padding: 0 2rem; /* Add horizontal padding */
}

.dashboard-header {
    margin-bottom: 2rem; /* Add space between header and cards */
}

.dashboard-header h2 {
    font-size: 2rem;
    color: #004165; /* Dark blue text for header */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.dashboard-header p {
    font-size: 1.1rem;
    color: #004165; /* Dark blue text for description */
    font-family: 'Quicksand', sans-serif;
}

.dashboard-cards {
    display: flex;
    justify-content: space-between; /* Spread cards evenly */
    gap: 1.5rem; /* Space between cards */
    align-items: stretch; /* Ensure equal height for cards */
}

.dashboard-card {
    background-color: white; /* White background for cards */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    flex: 1; /* Equal width for all cards */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align content */
    text-align: center;
}

.dashboard-card img {
    width: 100%; /* Full width of the card */
    max-width: 300px; /* Limit image size */
    border-radius: 4px; /* Slightly rounded edges for images */
    margin-bottom: 1rem; /* Space between image and title */
}

.dashboard-card:hover img 
/*{ transform: scale(1.1); /* Slightly expand the image on hover */

{
    transform: scale(1.1);
    border: none;
    margin: 0 auto;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

.dashboard-card h3 {
    font-size: 1.5rem;
    color: #004165; /* Dark blue text for titles */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.dashboard-card p {
    font-size: 1rem;
    color: #757575; /* Subtle gray text for descriptions */
    font-family: 'Quicksand', sans-serif;
}

.dashboard-section + .open-banking-section {
    margin-top: 2rem; /* Add white space between this and the container above */
}


/* About page Dashboard Section */
.about-dashboard-section {
    background-color: #bcf2ff; /* Light blue background */
    padding: 3rem 0; /* Add space above and below the section */
    color: #004165; /* Text color */
}

.about-dashboard-container {
    max-width: 1200px; /* Align with other sections */
    margin: 0 auto; /* Center the container */
    text-align: center; /* Center-align the header */
    padding: 0 2rem; /* Add horizontal padding */
}

.about-dashboard-header {
    margin-bottom: 2rem; /* Add space between header and cards */
}

.about-dashboard-header h2 {
    font-size: 2rem;
    color: #004165; /* Dark blue text for header */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.about-dashboard-header p {
    font-size: 1.1rem;
    color: #004165; /* Dark blue text for description */
    font-family: 'Quicksand', sans-serif;
}

.about-dashboard-cards {
    display: flex;
    justify-content: space-between; /* Spread cards evenly */
    gap: 1.5rem; /* Space between cards */
    align-items: stretch; /* Ensure equal height for cards */
}

.about-dashboard-card {
    background-color: white; /* White background for cards */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    flex: 1; /* Equal width for all cards */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align content */
    text-align: center;
}

.about-dashboard-card img {
    width: 100%; /* Full width of the card */
    max-width: 300px; /* Limit image size */
    border-radius: 4px; /* Slightly rounded edges for images */
    margin-bottom: 1rem; /* Space between image and title */
}

.about-dashboard-card:hover img 
/*{ transform: scale(1.1); /* Slightly expand the image on hover */

{
    transform: scale(1.1);
    border: none;
    margin: 0 auto;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

.about-dashboard-card h3 {
    font-size: 1.5rem;
    color: #004165; /* Dark blue text for titles */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.about-dashboard-card p {
    font-size: 1rem;
    color: #757575; /* Subtle gray text for descriptions */
    font-family: 'Quicksand', sans-serif;
}


.about-dashboard-section + .open-banking-section {
    margin-top: 2rem; /* Add white space between this and the container above */
}


.open-banking-section {
    margin-top: 2rem; /* Add white space between this and the container above */
}

@media screen and (max-width: 768px) {
    .about-dashboard-cards {
      flex-direction: column; /* Stack vertically on mobile */
      gap: 1rem;
    }
  
    .about-dashboard-card {
      width: 90%;
      max-width: 100%;
      margin: 0 auto 1rem;
    }
  }

/* Our Customers  Section */
.our-customers-section {
    background-color: #ffffff; /* Light gray background */
    width: 100%; /* Full width of the screen */
    padding: 2rem 0; /* Space above and below the section */
}

.our-customers-container {
    max-width: 1200px; /* Align with other sections */
    margin: 0 auto; /* Center the container */
    display: flex;
    justify-content: space-between; /* Spread the text and image evenly */
    align-items: center; /* Vertically align content */
    padding: 0 2rem; /* Horizontal padding */
}

.our-customers-section-header {
    max-width: 800px; /* Limit text width */
    text-align: left; /* Align text to the left */
}

.our-customers-section-header h2 {
    font-size: 2rem;
    color: #004165; /* Matches other headers */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.our-customers-section-header p {
    font-size: 1.1rem;
    color: #757575; /* Subtle gray for body text */
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5; /* Better readability */
    margin: 0;
}

.our-customers-icon {
    flex-shrink: 0; /* Prevent the icon from shrinking */
    margin-left: 2rem; /* Move the image slightly to the left */
}

.our-customers-icon img {
    width: 400px; /* Adjust the image size as needed */
    height: auto; /* Maintain aspect ratio */
}


/* Meet the Team Section */
.meet-the-team-section {
    background-color: #ffffff;
   /* background-color: #f8f9fa; /* Light gray background */
    width: 100%;
    padding: 2rem 0;
}

.meet-the-team-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Each section uses a wrapper to hold the image and text side by side */
.team-member {
    display: flex;
    flex-direction: column;
}

/* Section header styling: left-aligned with reduced margin */
.meet-the-team-section-header {
    text-align: left;
    margin-bottom: 1rem;
}

.meet-the-team-section-header h2 {
    font-size: 2rem;
    color: #004165;
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
}

.meet-the-team-section-header p {
    font-size: 1.1rem;
    color: #757575;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5;
    margin: 0;
}

/* Wrapper for image and content (desktop layout) */
.meet-the-team-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
}

/* Reverse order for sections that need the image on the right */
.team-member.reverse .meet-the-team-wrapper {
    flex-direction: row-reverse;
}

/* Icon container styling */
.meet-the-team-icon {
    flex-shrink: 0;
    width: 40%; /* Adjust width as needed */
}

.meet-the-team-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* Extra info text below the image */
.team-extra-info {
    font-size: 1rem;
    color: #757575;
    font-family: 'Quicksand', sans-serif;
    margin-top: 0.5rem;
    text-align: left; /* Ensure left alignment */
}

/* Text content styling */
.meet-the-team-content {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
    color: #757575;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5;
}

/* Mobile Responsiveness:
   On mobile, stack header, image, then text content.
   The image always appears immediately below the header. */
   
   @media (max-width: 768px) {
    .meet-the-team-wrapper {
        flex-direction: column;
    }
    .meet-the-team-icon {
        order: 1;
        width: 100%;
        margin-bottom: 1rem;
    }
    .meet-the-team-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .meet-the-team-wrapper {
      flex-direction: column !important;
    }
    .meet-the-team-icon {
      order: 1 !important;
      width: 100% !important;
      margin-bottom: 1rem !important;
    }
    .meet-the-team-content {
      order: 2 !important;
    }
  }
  





/* ============================= */
/* MOBILE RESPONSIVENESS STYLES  */
/* ============================= */
@media screen and (max-width: 768px) {

    /* Hide "Try Pebble for Free" Button */
    .btn-register {
        display: none;
    }

    /* Header Layout */
    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
    }

    /* Burger Menu Icon */
    .menu-toggle {
        font-size: 1.8rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        display: block; /* Show burger menu only on mobile */
    }

    /* Mobile Navigation */
    .nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 60%; /* Adjust width as needed */
        height: 100vh;
        background: #004165;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        z-index: 1000;
        /* Initially hide the nav off-screen */
        transform: translateX(-100%);
        /* Add transition for smooth sliding */
        transition: transform 0.3s ease-in-out;
      }
      
      /* When the nav-bar has the 'active' class, slide it in */
      .nav-bar.active {
        transform: translateX(0);
      }

    .nav-bar ul {
        flex-direction: column;
        padding: 0;
        list-style: none;
    }

    .nav-bar li {
        margin: 15px 0;
    }

    /* Ensure Login Button Stays in One Line */
    .btn-login {
        white-space: nowrap;
    }

    /* Hero Section */
    .hero-section {
        height: 350px;
        padding: 2rem;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        background: transparent !important; /* Transparent hero content */
        text-align: center;
        width: 90%;
        padding: 1rem;
    }

    .coming-soon-hero-content {
        background: transparent !important; /* Transparent hero content */
        text-align: center;
        width: 90%;
        padding: 1rem;
    }


    

    /* Hide "Discover the possibilities..." on Mobile */
    .hero-content p {
        display: none;
    }

    /* Quick Links - 2 Boxes Per Row */
    .quick-links-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 10px;
        text-align: center;
    }


    /* Home Loan Section - Image Above Text */
    .header-and-image {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .image-box {
        order: -1; /* Move image above text */
    }

    /* Home Loan Titles Left-Aligned */
    .loan-option h3 {
        text-align: left;
    }

    /* Open Banking - Image Above Text */
    .open-banking-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .icon {
        order: -1;
    }


    @media screen and (max-width: 768px) {
        /* Center the icon container */
        .open-banking-container .icon {
          margin-left: 0;
          width: 100%;
          text-align: center;
        }
        
        /* Ensure the image itself is centered */
        .open-banking-container .icon img {
          display: block;
          margin: 0 auto;
        }
      }



    /* Our Customers - Image Above Text */
    .our-customers-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .our-customers-icon {
        order: -1;
    }
}

/* Desktop: Ensure Navigation is Always Visible */
@media screen and (min-width: 769px) {
    .nav-bar {
        display: flex !important;
    }
    .menu-toggle {
        display: none; /* Hide burger menu on desktop */
    }
}

@media screen and (max-width: 768px) {
    /* Hero Section Adjustments on Mobile */
    .hero-content {
        background: rgba(255, 255, 255, 0.9); /* White background with slight transparency */
        padding: 1rem;
        border-radius: 10px;
        text-align: center;
        width: 90%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .quick-link:not(:last-child)::after {
      display: none;
    }
  
    @media screen and (max-width: 768px) {
  /* Center the icon container */
  .open-banking-container .icon {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  



@media screen and (max-width: 768px) {
  /* Center the icon container */
  .open-banking-container .icon {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  
  /* Ensure the image itself is centered */
  .open-banking-container .icon img {
    display: block;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
    .dashboard-cards {
      flex-direction: column; /* Stack the cards vertically */
      gap: 1rem; /* Optional: adjust spacing between cards */
    }
    .dashboard-card {
      width: 90%;          /* Adjust width as needed */
      max-width: 100%;     /* Ensure the card doesn't exceed container width */
      margin: 0 auto 1rem;  /* Center the card and add bottom spacing */
    }
  }
  @media screen and (max-width: 768px) {
    .loan-options {
      flex-direction: column;  /* Stack boxes vertically */
      align-items: stretch;    /* Ensure they take full container width */
    }
    .loan-option {
      width: 100%;             /* Full width of container */
      margin-bottom: 1rem;     /* Add spacing between boxes */
    }
  
    @media screen and (max-width: 768px) {
        /* Ensure the container is positioned relative */
        .container {
          position: relative;
        }
      
        /* Center the logo horizontally */
        .logo {
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
        }
      }
      
      @media screen and (max-width: 768px) {
        .hero-content {
          background: rgba(255, 255, 255, 0.9) !important; /* Slightly transparent white background */
          padding: 1rem 1.5rem !important;              /* Adjust padding as needed */
          border-radius: 15px !important;                /* Curved edges (same as desktop) */
          width: 90% !important;                         /* Ensure it spans most of the screen */
          margin: 0 auto !important;                     /* Center it horizontally */
          text-align: center;                            /* Center the text inside */
          box-sizing: border-box;
        }
    }}}}

    /* ============================= */
/* MOBILE STYLES (max-width: 768px) */
/* ============================= */
@media screen and (max-width: 768px) {
    /* Container adjustments & logo centering */
    .container {
      justify-content: space-between;
      align-items: center;
      padding: 0 1rem;
      position: relative;
    }
    .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  
    /* Burger Menu Toggle (mobile only) */
    .menu-toggle {
      display: block;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }
  
    /* Mobile Navigation (Burger Menu) */
    .nav-bar {
      position: fixed;
      top: 0;
      left: 0;
      width: 60%;
      height: 100vh;
      background: #004165;
      flex-direction: column;
      padding: 2rem;
      z-index: 1000;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
    }
    .nav-bar.active {
      transform: translateX(0);
    }
  
    /* Nav Close Button (mobile only) */
    .menu-close {
      display: block;
      align-self: flex-end;
      background: none;
      border: none;
      font-size: 2rem;
      color: white;
      cursor: pointer;
      margin-bottom: 1rem;
    }
  
    /* Mobile Nav List */
    .nav-bar ul {
      flex-direction: column;
      padding: 0;
      list-style: none;
    }
    .nav-bar li {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin: 15px 0;
    }
    .nav-bar a {
      font-size: 2rem;
      color: white;
      text-decoration: none;
    }
    /* Nav icons (only on mobile) */
    .nav-icon {
      display: inline-block;
      margin-right: 10px;
      width: 30px;
      height: auto;
    }
  
    /* Mobile Hero Section Adjustments */
    .hero-section {
      height: 350px;
      padding: 2rem;
      text-align: center;
      justify-content: center;
      align-items: center;
    }
    .hero-content {
      background: rgba(255, 255, 255, 0.7) !important;
      padding: 1rem 1.5rem !important;
      border-radius: 15px !important;
      width: 90% !important;
      margin: 0 auto !important;
      text-align: center;
      box-sizing: border-box;
    }
    .hero-content p {
      display: none;
    }
  
    /* Mobile Quick Links as 2-Column Grid */
    .quick-links-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      text-align: center;
    }
    .quick-link:not(:last-child)::after {
      display: none;
    }
  
    /* Mobile Home Loans: Stack Image & Text */
    .header-and-image {
      flex-direction: column;
      align-items: center;
      text-align: left;
    }
    .image-box {
      order: -1;
    }
    .loan-option h3 {
      text-align: left;
    }
  
    /* Mobile Open Banking: Stack & Center Icon */
    .open-banking-container {
      flex-direction: column;
      align-items: center;
      text-align: left;
    }
    .icon {
      order: -1;
      margin-left: 0;
      width: 100%;
      text-align: center;
    }
    .icon img {
      display: block;
      margin: 0 auto;
    }
  
    /* Mobile Our Customers: Stack Image Above Text */
    .our-customers-container {
      flex-direction: column;
      align-items: center;
      text-align: left;
    }
    .our-customers-icon {
      order: -1;
    }
  
    /* Mobile Dashboard: Stack Cards Vertically */
    .dashboard-cards {
      flex-direction: column;
      gap: 1rem;
    }
    .dashboard-card {
      width: 90%;
      max-width: 100%;
      margin: 0 auto 1rem;
    }
  
    /* Mobile Loan Options: Stack Vertically */
    .loan-options {
      flex-direction: column;
      align-items: stretch;
    }
    .loan-option {
      width: 100%;
      margin-bottom: 1rem;
    }
  }
  
  /* ============================= */
  /* DESKTOP OVERRIDES (min-width: 769px) */
  /* ============================= */
  @media screen and (min-width: 769px) {
    /* Hide mobile-only elements */
    .menu-toggle,
    .menu-close,
    .nav-icon {
      display: none;
    }
    /* Reset container and logo positioning */
    .container {
      justify-content: flex-start;
      position: static;
      padding: 0;
    }
    .logo {
      position: static;
      transform: none;
    }
    /* Desktop Navigation Reset */
    .nav-bar {
      position: relative;
      transform: none !important;
      display: flex !important;
      width: auto;
      height: auto;
      background: transparent;
      padding: 0;
    }
    .nav-bar ul {
      flex-direction: row;
    }
    .nav-bar li {
      margin-right: 1.5rem;
      display: inline-block;
    }
  }
  


/* About Page */

.about-hero-section {
    background-image: url('images/PebblesHero4.jpg');
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    height: 500px; /* Adjust the height as needed */
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: flex-start; /* Align content to the top of the hero section */
    text-align: left; /* Align text inside the hero content */
    color: white; /* Ensure text is visible on the image */
    position: relative;
    padding-left: 10%; /* Add padding to align with the logo */
    padding-top: 4rem; /* Add padding to push content down */
}


.about-hero-section h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-hero-section p {
    font-family: 'Quicksand', sans-serif;
    color: #0072AC; /* Change the paragraph text color */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.team-section-1 {
    background-color: #3ddfff12;
  }
  
  .team-section-2 {
    background-color: #f8f9fa;
  }
  
  .team-section-3 {
    background-color: #ffffff;
  }

  .team-section-4 {
    background-color: #f8f9fa;
  }

  .team-section-5 {
    background-color: #ffffff;
  }
  
  .social-links {
    display: flex;       /* Lay them out in a row */
    gap: 1rem;           /* Space between icons */
    align-items: center; /* Vertically center if different heights */
  }
  
  .social-links a {
    display: inline-flex; /* Make sure each link is inline-flex */
    align-items: center;
  }
  
  .social-links img {
    width: 40px;         /* Adjust as needed */
    height: auto;
    display: block;      /* Remove any default inline spacing issues */
  }

  /*about us */
.about-us-section {
    background-color: #ffffff; /* Light gray background */
    width: 100%; /* Full width of the screen */
    padding: 2rem 0; /* Space above and below the section */
}

.about-us-container {
    /*max-width: 1200px; /* Align with other sections */
    margin: 0 auto; /* Center the container */
   /* display: flex;*/
    justify-content: space-between; /* Spread the text and image evenly */
    align-items: center; /* Vertically align content */
    padding: 0 2rem; /* Horizontal padding */
}

.about-us-section-header {
    max-width: none; /* Limit text width */
    text-align: left; /* Align text to the left */
}

.about-us-section-header h2 {
    font-size: 2rem;
    color: #004165; /* Matches other headers */
    margin-bottom: 0.5rem;
    font-family: 'Quicksand', sans-serif;
    text-align: center;
}

.about-us-section-header p{
    font-size: 1.1rem;
    color: #757575; /* Subtle gray for body text */
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5; /* Better readability */
    margin: 0;
}

.about-us-icon {
    flex-shrink: 0; /* Prevent the icon from shrinking */
    margin-left: 2rem; /* Move the image slightly to the left */
}

.about-us-icon img {
    width: 400px; /* Adjust the image size as needed */
    height: auto; /* Maintain aspect ratio */
}

.first-character {
    font-weight: 600;
    float: left;
    font-size: 80px;
    line-height: 20px;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 3px;
    font-family: 'Source Sans Pro', sans-serif;
  
    /* Add optional margin to create spacing below if needed */
    margin-bottom: 4px;
  }
  
  /* Individual color (or other style) overrides */
  .C {
    color: #15768c;
  }
  
  .P {
    color: #15768c;
  }
  
  .F {
    color: #002c36;
  }

  /* Ensures the image spans the entire screen width */
.full-width-image {
    width: 100%;
    height: auto;    /* maintain aspect ratio */
    display: block;  /* remove any default inline spacing */
    margin: 0 auto;  /* center if parent container has less than 100% width */
  }
  
  /* If .meet-the-team-section or .meet-the-team-container uses flex, 
     you may want to override it or remove it if you don’t need it. */
  .pebble-image-container {
    /* In case the parent is flex, this ensures the image rows below the heading. */
    width: 100%;
    margin: 0 auto;
  }
  