
:root {
    --primary-color: #00228F;
    --primary-hover: #001a71;    
    --secondary-color: #5c6bc0;
    --primary-dark: #000b2b;
    --accent-color: #D5A00C;
    --accent-color-hover: #b68707;
    --text-color: #444;
    --background-color: #f9f9f9;
    --max-width: 70%;
  }

::selection {
  background-color: rgba(0, 0, 0, 0.1);
  color: inherit;
}

  p,
  ul li {
    line-height: 1.8em;
  }
  

  body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
  }
  
  h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 0.5em;
    text-align: inherit;
    margin-bottom: 1em;
  }
  h1 {
    font-size: 2em;
    border-left: 5px solid var(--accent-color);
    padding-left: 0.5em;
    padding-right: 2em;

  }
  h1 strong {
    font-style: italic;
    font-weight: bolder;
    /* color: var(--accent-color); */
  }
  h2 {
    font-size: 1.9em;
  }
  .borderLeft {
    border-left: 5px solid var(--accent-color);
    padding-left: 0.5em;
  }
  #hero h1 {
    border: none;
    padding: 0;
    margin: 0;
  }

  a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: none;
  }
  
  /* Header Styling */
  header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: sticky;
    top: 0; 
    z-index: 1000;
    box-sizing: border-box;
    border-top: 2px solid var(--primary-color);
  }
  
  .top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 2em;
    border-bottom: 1px solid #ddd;
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: #fff; 
  }
  
  .logo img {
    height: 70px;
  }
  
  .contact-info {
    text-align: right;
  }
  
  .contact-info p {
    margin: 0;
    font-weight: 600;
  }
  
  .contact-info i {
    vertical-align: middle;
    margin-right: 5px;
    color: var(--primary-color);
  }
  
  .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  /* Navigation Menu */
  nav {
    background-color: var(--primary-color);
    position: sticky; 
    top: 60px;
    z-index: 15;
  }
  
  .menu {
    display: flex;
    justify-content: left;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: var(--max-width);
  }
  
  .menu li {
    margin: 0;
    cursor: pointer;
  }
  
  .menu a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 1em 1.5em;
    transition: 0.3s all;
    display: inline-block;
  }
  .menu li:hover {
    background-color: var(--primary-hover);
    
  }
  .menu a:hover {
    color: var(--accent-color);
  }
  .submenu {
    list-style-type: none;
    padding: 0 0 0.5em 0;
    margin: 0;
    display: none; 
    position: absolute;
    background-color: var(--primary-hover);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    border-radius: 0 0 10px 10px;
  }
  
  .menu li:hover .submenu {
    display: block; 
  }




  /* Hero Section */
  #hero {
    text-align: center;
    padding: 2em 1em;
    background-color: var(--text-color);
    color: white;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../img/hero4.jpg);
    position: relative;
    background-size: 100%;
    background-attachment: fixed;
    background-position: bottom;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 50px), 50% 100%, 0% calc(100% - 50px));

  }
 
  #hero::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 17, 71, 0.7); 
    z-index: 1; 
    pointer-events: none; 
}
  .subhero {
    height: 40vh!important;
    background-position: bottom;
    clip-path: unset!important;
    
  }
 .clipped {
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 50px), 50% 100%, 0% calc(100% - 50px))!important;
  }
  .hero-content {
    max-width: 60%;
    margin: 0 auto;
    text-shadow: 0px 0px 5px #000;
    z-index: 2;
  }
  .hero-content h1 {
    font-size: 3em;
    color: white;
    font-weight: 900;
  }
 .hero-content h2 {
  color: white;
 }
  .hero-content h2 {
    font-size: 1.5em;
    margin: 0.5em 0;
  }
  



  
  .cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #b68707, #D5A00C);
    font-weight: bold;
    cursor: pointer;


    color: #fff;
    padding: 0.75em 1.5em;
    margin: 1em 0.3em 0 0;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: 0.3s;
  }
  
  .cta-button:hover {
    background-color: var(--accent-color-hover);
  }
  

@keyframes spin3d {
    0% {
      transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); 
    }
    100% {
      transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); 
    }
  }
  
  .icon {
    width: 120px;
    display: inline-block;
    animation: spin3d 10s linear infinite; 
    transform-style: preserve-3d; 
    perspective: 1000px; 
  }
  

#services {
    text-align: center;
    background-color: var(--primary-color);
    background-attachment: fixed;
    background-color: #001a71;
}
  
  .service-cards,
  .blog_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    margin: 2em auto;
    padding: 2em 1em;
    max-width: var(--max-width); 
  }
  .blog_wrap {
    padding: 0;
    margin-top: 0;
    text-align: left;
  }
  .post-container {
    box-sizing: border-box;
    padding: 2em;
    background-color: #FFF;
    border-radius: 10px;
  }
  .post-container h1 {
    margin: 0;
  }
  .service-cards h2 {
    color: white;
    padding-top: 3em;
  }
  .card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5em;
    text-align: center;
    flex: 1 1 calc(33.3333334% - 2em);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
  }
  .card a {
    display: block;
  }
  .card i {
    font-size: 3em;
    color: var(--primary-color);
  }
  
  .card h3 {
    margin: 1em 0 0.5em;
    font-size: 1.5em;
  }
  
  .card p {
    color: #666;
  }
  


#module {
    padding: 2em 1em;
    position: relative;
  }

 
  .module-container {
    display: flex; 
    gap: 5em; 
    max-width: var(--max-width);
    margin: 2em auto;
    padding: 1.5em 0;
    box-sizing: border-box;
  }
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 0;
    box-sizing: border-box;
  }
  .bgwhite {
    background-color: white;
  }
  .left_content, .right_content {
    flex: 1 1 60%; 
    text-align: left;
    position: relative;
  }
  
  .right_content {
    flex: 1 1 40%; 
    overflow-y: auto; 
  }
  
  .module-container.reverse {
    flex-direction: row-reverse; 
  }
  
  .left_content h2 {
    margin-bottom: 1em;
    color: var(--primary-color);
  }
  
  .left_content p {
    margin-bottom: 1em;
    color: var(--text-color);
  }
  
  .left_content a {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }
  
  .left_content a:hover {
    background-color: var(--accent-color-hover);
  }
  
  .right_content img {
    max-width: 100%; 
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    display: block;
    position: relative;
    background-color: var(--primary-color);
  }
  .imgwrap {
    position: relative;
  }
  .imgwrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 17, 71, 0.3); /* Adjust opacity as needed */
    border-radius: 8px;
    pointer-events: none;
}


  /* Contact Section */
  #contact {
    margin: 2em auto;
    padding: 2em 1em;
    max-width: var(--max-width);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  form {
    display: grid;
    gap: 1em;
    box-sizing: border-box;
    padding: 1.5em;
    background-color: white;
    border-bottom: 4px solid var(--primary-color);
    border-radius: 10px;
    transition: 0.3s all;
  }
  form:hover {
    /* transform: scale(1.03); */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }
  form label {
    font-weight: 500;
  }
  
  form input, form button,
  form select {
    padding: 0.75em;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
  }
  
  form button {
    background: linear-gradient(45deg, #b68707, #D5A00C);
    color: #fff;
    border: none;
    cursor: pointer;
    margin-bottom: 0.5em;
    transition: 0.3s all;
    font-weight: bold;
  }
  
  form button:hover,
  .cta-button:hover {
    background-color: var(--accent-color-hover);
    transform: scale(1.03);
  }
  .form-group {
    display: block;
    overflow: hidden;
  }


/* Footer Styling */
#footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4em 1em;
    text-align: left;
    background-color: #001a71;
    font-size: 90%;
    background-attachment: fixed;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  .footer-column {
    flex: 1 1 calc(33% - 2em); 
    background-color: var(--primary-hover);
    box-sizing: border-box;
    padding: 1.5em;
    border-radius: 10px;
  }
  
  .footer-column h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
    color: white;
    margin-top: 0;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column ul li {
    margin: 0.5em 0;
    border-left:5px solid var(--accent-color);
    padding: 0.5em;
    transition: 0.3s all;
    padding-left: 1em;
  }
  
  .footer-column a {
    color: inherit;
    text-decoration: none;
  }
  
  .footer-column ul li:hover {
    border-left:10px solid var(--accent-color);
    color: var(--accent-color);
  }
  
  .map-container {
    margin-top: 1em;
    border-radius: 8px;
    overflow: hidden;
  }
  
  
/* Slider Section Styling */
#partners {
    text-align: center;

  }
  .partners-container {
    margin: 1.5em auto;
    padding: 2em 1em;
    max-width: var(--max-width);    
  }
  .partners-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.5em;
  }
  
  .partners-container p {
    margin-bottom: 2em;
    color: var(--text-color);
  }
  
  .slider {
    overflow: hidden;
    white-space: nowrap; 
    position: relative;
  }
  
  .slider img {
    display: inline-block;
    width: 160px; 
    height: 80px; 
    margin: 0 1em;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    object-fit: contain; 
    background-color: #fff; 
    transition: 0.3s all;
  }
  .slider img:hover {
    transform: scale(1.05);
  }
  
  .slider.active {
    cursor: grabbing; 
  }
  
  .slider img {
    user-select: none; 
  }
  

/* Why Choose Us Section */
#why-choose-us {
background-color: var(--primary-color);
background-color: #001a71;
background-attachment: fixed;
  }
  .why-us-container  {
    margin: 0 auto;
    padding: 3em 0em;
    text-align: center;
    max-width: var(--max-width);    
  }
  .why-us-container h2 {
    color: white;
    padding: 0;
    margin: 0;
  }
  
  .why-us-container p {
    margin-bottom: 2em;
    color: white;
  }
  
  .why-us-stats {
    display: flex; 
    flex-wrap: nowrap; 
    gap: 1em; 
    justify-content: space-between; 
  }
  
  .why-us-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    padding: 1.5em;
    text-align: center;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    width: 20%; 
  }
  
  .why-us-card i {
    font-size: 3em;
    color: var(--primary-color);
  }
  
  .why-us-card h3 {
    font-size: 2em;
    margin-bottom: 0.5em;
  }
  
  .why-us-card p {
    color: var(--text-color);
    font-size: 1em;
  }
  
  .primaryBG {
    background-color: var(--primary-hover);
    color: white;
    border-radius: 10px;
    background-attachment: fixed; 
  }
  section {
    padding: 2em 0;
  }

.shine:hover {
    transform: scale(1.05);
  }
  
  
  .shine::before {
    content: "";
    position: absolute;
    top: -150%; 
    left: -150%; 
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    transform: rotate(25deg); 
    transition: all 0.5s ease; 
    z-index: 1;
  }
  

  .shine:hover::before {
    top: 100%; 
    left: 100%; 
  }
  .material-icons {
    color: var(--accent-color)!important;
    font-size: inherit;
  }


 #toTop {
    opacity: 0;
    transition: 0.3s all;
    position: fixed;
    bottom: 1em;
    right: -1em;
    z-index: 50;
    border: none;
    padding: 1em;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 20px;
    
  }
  #toTop .material-icons {
    color: var(--primary-color)!important;
  }
  .visible {
    opacity: 1!important;
    right: 1em!important;
  }

  .cta {
    color: var(--accent-color)!important;
    font-weight: 600!important;
    cursor: pointer;
    float: right;
  }
  p .material-icons {
    font-size: inherit;
  }
 #abn {
    border: var(--accent-color) 2px solid!important;
    box-sizing: border-box;
  }


.form-group {
    display: flex;
    gap: 1em;
  }
.form-group span {
    box-sizing: border-box;
    padding: 1em;
    background-color: var(--background-color);
    font-size: small;
    flex: 1 1 30%;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
  }
.btngroup {
    display: flex;
    gap: 1em;
  }

.ftlogo {
  width: 80%;
  padding-bottom: 1.5em;
  border-bottom: 2px solid var(--primary-color);
}



  /* CURRENCY */

  #currency-converter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#currency-converter-form label {
    flex: 1 1 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

#currency-converter-form input, 
#currency-converter-form select, 
#currency-converter-form span {
    flex: 1 1 calc(25% - 10px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff;
    box-sizing: border-box;
}

#currency-converter-form span {
    text-align: center;
    font-weight: bold;
    color: #333;
}

#currency-converter-form input[type="number"] {
    max-width: 100%;
}

#currency-converter-form select {
    max-width: 100%;
}
.highlight {
  padding: 1em;
  box-sizing: border-box;
  border: thin solid var(--primary-color);
  background-color: white;
  border-radius: 10px;
}
.share {
  display: block;
}
.share a {
  display: inline-block;
}

.base {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--primary-hover);
  color: var(--secondary-color);
  font-size: small;
  padding: 1em;
}
.blogpost {
  box-sizing: border-box;
  padding: 3em;
  background-color: #f4f4f4;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
}
.blogpost p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; 
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
iframe {
  border-radius: 10px;
  margin-top: 0.5em;
  opacity: 0.6;
  transition: 0.3s;
}
iframe:hover {
  opacity: 0.8;
}


.activeP,
.activeP a,
.activeP .material-icons {
  font-weight: bold;
  color: var(--accent-color);
}

.submenu a {
  color: white;
  font-weight: normal;
}


.centerT {
  text-align: center;
}

.sectiond {
  background-color: #f4f4f4!important;
  background-image: none!important;
}


.mobileinfo {
  display: none;
}



.faq-container {
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 1em 0;
  display: block;
  outline: none;
  transition: 0.3s;
}

.faq-question:hover {
  color: #007bff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  font-size: 16px;
  padding: 0 0.5em;
}

.sticky {
  position: sticky;
}
#menu {
  display: none;
}
.breadcrumb {
  background-color: #f4f4f4;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb a {
  text-decoration: none;
  color: #007bff; 
  padding: 5px 10px;
  border-radius: 5px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.breadcrumb a:hover {
  color: #0056b3;
}

.material-icons {
  color: #888;
  margin: 0 5px;
  font-size: 16px;
}

.current {
  font-weight: bold;
  color: #333;
}
.fail,
.success {
  text-align: center;
  box-sizing: border-box;
  padding: 1em;
  background-color: thistle;
}
.success {
  background-color: palegreen;
}

#loan-request-output {
  max-width: 20%;
}


.chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  background: #007bff;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 10px;
  font-family: Arial, sans-serif;
}

.chat-toggle {
  background: #0056b3;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  border-radius: 5px;
}

.chat-content {
  display: none;
  margin-top: 10px;
}

.chat-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.assistant-name {
  font-weight: bold;
}

.option {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 8px;
  background: #ffffff;
  color: #007bff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.option:hover {
  background: #f0f0f0;
}

.message-box {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  padding: 8px;
  border-radius: 5px;
  border: none;
  color: #333;
}

.send-message {
  width: 100%;
  background: #0056b3;
  color: white;
  border: none;
  padding: 8px;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 5px;
}


.cleara {
    background-color: transparent!important;
    color: var(--primary-color)!important;
    padding: 0!important;
    border-radius: none!important;
    text-decoration: none!important;
    font-size: 1em!important;
    box-shadow: none!important;
}

ul li {
  cursor: pointer;
  padding: 0.3em;
  
}
.admin {
  max-width: var(--max-width);
  margin: 0 auto;
}
.adminform {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 0;
  width: 120px;
  box-sizing: border-box;
  opacity: 0;
  padding: 1em;
}
.adminform:hover {
  opacity: 1;
  transition: 2s;
}
.adminform input,
.adminform button {
  width: 90%;
  float: left;
  text-align: center;
}
.blog_wrap h1,
.blog_wrap h2,
.blog_wrap h3,
.blog_wrap h4,
.blog_wrap h5 {
  color: var(--primary-color);
}