/* Navbar Styles */
html {
  scroll-padding-top: 80px; /* Adjust the value to the height of your sticky header */
  scroll-behavior: smooth;
}
.new-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #f3e8cf;
  transition: background-color 0.3s ease;
  z-index: 1000;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.desktop-menu {
  display: flex !important;
  /* margin-top: 24px !important; */
}
.mobile-menu {
  display: none !important;
}

.new-navbar.scrolled {
  background-color: #1a1a1a;
  color: white;
}

.new-navbar.scrolled .nav-link {
  color: white !important;
}

.new-navbar.scrolled .logo h1 {
  color: #f3e8cf !important;
}

.new-navbar.scrolled .nav-link:hover {
  color: #a83c2f !important;
}

.new-navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding-top: 1rem;
}

.logo {
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  display: block;
}

.logo h1 span {
  display: block;
  font-size: 1.3rem;
  font-family: "Kufam", serif;
  font-weight: 900;
  font-style: normal;
  /* margin-top: 1px; */
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #282828;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #a83c2f;
}

.nav-link.active {
  text-decoration: underline 3px #a83c2f;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #282828;
  transition: 0.3s;
}

.new-navbar.scrolled .menu-toggle span {
  background-color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .desktop-menu {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 77.7px; /* Adjust to align below navbar */
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    padding: 10px 0;
    margin: 0; /* Remove any margin causing extra space */
    z-index: 1001; /* Ensure it's above other content but below the toggle */
  }

  .mobile-menu.active {
    display: flex !important;
  }

  .mobile-menu a {
    color: white;
    padding: 10px 20px;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    margin-top: 62px !important;
  }
}
@media (max-width: 730px) {
  .mobile-menu {
    margin-top: 52px !important;
  }
}

@media (max-width: 680px) {
  .mobile-menu {
    margin-top: 42px !important;
  }
}

@media (max-width: 630px) {
  .mobile-menu {
    margin-top: 32px !important;
  }
}

@media (max-width: 600px) {
  .mobile-menu {
    margin-top: 28px !important;
  }
}

@media (max-width: 560px) {
  .mobile-menu {
    margin-top: 23px !important;
  }
}

@media (max-width: 520px) {
  .mobile-menu {
    margin-top: 17px !important;
  }
}

@media (max-width: 454px) {
  .mobile-menu {
    margin-top: 12px !important;
  }
}

@media (max-width: 430px) {
  .mobile-menu {
    margin-top: 7px !important;
  }
}

@media (max-width: 404px) {
  .mobile-menu {
    margin-top: 0px !important;
  }
}

@media (max-width: 375px) {
  .mobile-menu {
    margin-top: -7px !important;
  }
}

@media (max-width: 336px) {
  .mobile-menu {
    margin-top: -12px !important;
  }
}

@media (max-width: 305px) {
  .mobile-menu {
    margin-top: -19px !important;
  }
}

@media (max-width: 275px) {
  .mobile-menu {
    margin-top: -26px !important;
  }
}
@media (max-width: 236px) {
  .mobile-menu {
    margin-top: -30x !important;
  }
}
/* Navbar End */

/* General section styles */
.home {
  background-color: #f3e8cf;
}

.section-container {
  padding: 120px 20px 50px; /* Adjust padding as needed */
  background-color: #f3e8cf; /* Example background color */
}

/* Use flexbox on the row to ensure vertical alignment */
.section-container .row {
  display: flex;
  align-items: center; /* Vertically center the content */
}

/* Left Image */
.section-container img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures the image covers the space without distortion */
}

/* Right Text Container */
.text-container {
  display: flex;
  flex-direction: column; /* Make sure the text is stacked vertically */
  justify-content: center; /* Vertically center the content */
  text-align: center; /* Align text to the left */
  padding-left: 20px; /* Add some padding on the left for spacing */
}

.text-container h1 {
  font-size: 4rem; /* Large text for big heading */
  font-weight: 600;
  text-shadow: 1px 1px #dddddd;
  color: #333;
}

.text-container p {
  font-size: 1.5rem; /* Adjust for readability */
  color: #8d2e23; /* Adjust text color */
  padding: 20px 0;
}

.text-container h5 {
  margin-top: 5px;
}

@media (max-width: 768px) {
  .section-container .row {
    text-align: center; /* Center the text on smaller screens */
  }

  .text-container h1 {
    font-size: 2.5rem; /* Smaller heading for mobile */
  }

  .text-container p {
    font-size: 1rem; /* Smaller paragraph for mobile */
  }
}

.downloadbuttons {
  display: inline;
  gap: 20px !important;
}
.download-img {
  width: 30% !important ; /* Adjust width of the buttons */
  height: auto !important; /* Keep aspect ratio of the images */
}

@media (max-width: 768px) {
  .download-img {
    width: 30% !important ; /* Adjust image size for smaller screens */
  }
}

/* About Section Styling */
.about-section {
  background-color: #ffffff; /* White background */
  padding: 60px 0; /* Spacing above and below the section */
}

.brands-section{
  padding: 20px 0;
  background-color: #f3e8cf;
}

.container {
  max-width: 800px; /* Set max-width for centering */
  margin: 0 auto; /* Center the container */
  text-align: center; /* Center-align text */
}

.about-label {
  font-weight: bold;
  font-size: 1.75rem; /* Adjust as needed */
  color: #333333;
  margin-bottom: 20px; /* Spacing between label and text */
}

.brands-label {
  font-weight: bolder;
  font-size: 2rem; /* Adjust as needed */
  color: #1a1a1a;
  margin-bottom: 0px; /* Spacing between label and text */
}

.about-text {
  font-size: 1.1rem; /* Adjust as needed */
  color: #555555;
  line-height: 1.6;
}

.info-section {
  background-color: #f3e8cf;
  padding: 80px 20px 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* Increased gap for more space between cards */
}

.card {
  background-color: white;
  /* border: 1px solid #8d2e23 !important; */
  border-radius: 10px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
  padding: 20px;
  text-align: center;
  width: calc(27% - 5px); /* Adjusted width for less card width */
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px); /* Initial position for animation */
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Animation for visible cards */
.card.active {
  opacity: 1;
  transform: translateY(0); /* Final position */
}

.icon-circle {
  background-color: #8d2e23; /* Example color, adjust as needed */
  border-radius: 70%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.icon-circle i {
  font-size: 24px;
  color: white;
}

.question {
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 10px;
}

#mission-icon{
  width: 60%;
}
.answer {
  font-size: 1em;
  color: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card {
    width: calc(100% - 40px); /* Full width with more space around */
  }
}

/* alternate section */

.alternate {
  margin: 10px auto 30px;
  padding: 40px;
  background-color: #f3e8cf;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  width: 90%;
}

/* Split Section Styling */
.split-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 400px;
  margin-bottom: 35px;
  background: #fff;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
  border-radius: 7px;
}

.split-content {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 45px;
  box-sizing: border-box;
}

.split-content img {
  width: 85%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-content {
  max-width: 500px;
  text-align: left;
}

.barrier{
  height: 70px;
  width: 100%;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #8d2e23;
}

.text-content p {
  font-size: 1.1rem;
  color: #555;
}

.alternate ul{
  padding-left: 30px;
}

.alternate li{
  list-style: disc; 
  font-size: 1rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
  }

  .split-section.reverse {
    flex-direction: column;
  }

  .split-content {
    flex: 1 1 100%;
  }

  .text-content {
    text-align: center;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 0.9rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px); /* Slightly larger offset for a dynamic effect */
  transition: opacity 0.6s cubic-bezier(0.22, 0, 0.58, 1),
    transform 0.6s cubic-bezier(0.22, 0, 0.58, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* home page ended */
/* contact page */
/* Contact Section Styling */
.contact-label {
  padding: 180px 80px 100px 80px;
  background-color: #1a1a1a;
}

.contact-label h2 {
  color: white;
}

.contact-label h4 {
  font-size: 20px;
  color: var(--extra-light-color);
}

.contact-section {
  /* background-color:; Soft background color */
  padding: 50px 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.contact-content i {
  color: #a83c2f;
}

.contact-content {
  display: flex;
  max-width: 1100px;
  width: 100%;
  margin-left: 50px;
  margin-right: auto;
  gap: 40px; /* Add a gap between contact info and form */
  align-items: flex-start; /* Align content to the start */
}
/* Left Side - Contact Info */
.contact-info {
  flex: 1;
  padding: 0px 30px;
}

/* Right Side - Contact Form */
.contact-form {
  flex: 1;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); /* Slight shadow for elevation */
  width: 100%;
  margin-bottom: 35px;
}

.contact-info h5 {
  margin-top: 15px;
}
.contact-info p {
  font-size: 1.1em;
  padding: 0;
  color: #333131;
  white-space: wrap;
}

.contact-info a {
  color: #333;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info h6 a i {
  font-size: 1.2em;
  padding: 0;
  padding-right: 25px;
  color: #333;
  padding-top: 10px;
}

.contact-info h6 a i:hover {
  color: #8d2e23;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: bold;
  margin-top: 10px;
  color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #333;
}

.contact-form input,
.contact-form select {
  width: 100%;
}

.contact-form button {
  background-color: #8d2e23;
  color: #fff;
  padding: 10px;
  border: none;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: center;
  margin-top: 15px;
}

#contact-button {
  width: 30%;
}

.contact-form button:hover {
  background-color: #1a1a1a;
}

/* Flex container for Contact Section */
.broker-section {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  background-color: #fafafa;
}

/* Flex container for Info Cards and Contact Form */
.broker-apply-section {
  width: 48%; /* Set initial width for large screens */
  padding: 10px;
}

/* Ensure cards within the apply section are full width */
.broker-apply-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.broker-card {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s;
}

.broker-card h3 {
  font-size: 21px;
}

.broker-card p {
  color: #55556c;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  /* Stack sections vertically */
  .broker-apply-section {
    width: 100%;
  }

  /* Stack cards inside broker-apply-info vertically */
  .broker-apply-info {
    gap: 15px;
  }

  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  /* Smaller button text */
  .contact-form button {
    font-size: 0.9em;
    padding: 10px;
  }

  /* Card text adjustments */
  .broker-card h3 {
    font-size: 1.2em;
  }
  .broker-card p {
    font-size: 0.9em;
  }
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .contact-form {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    gap: 20px; /* Reduce gap on smaller screens */
    margin-left: 0px;
  }
}

/* contact page ended */

/* apply as broker page start */
/* General Styling */

/* Hero Section */
.hero-section {
  text-align: center;
  background-color: #1a1a1a;
  color: white;
  padding: 150px 20px 50px 20px;
}

.hero-section h1 {
  font-size: 40px;
  color: white;
}

.hero-section p {
  font-size: 17px;
  max-width: 700px;
  margin: 10px auto;
}

.contact-label button {
  background-color: #a83c2f;
  color: white;
  padding: 10px 20px;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 15px;
  margin-bottom: -10px;
}

.contact-label button:hover {
  background-color: #8d2e23;
}

/* Submit Button */
.application-form button {
  width: 40%;
  padding: 12px;
  background-color: #a83c2f;
  color: white;
  border: none;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 auto;
  display: block;
}

.application-form button:hover {
  background-color: #8d2e23;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  /* Adjust Hero Section */
  .hero-section h1 {
    font-size: 1.8em;
  }

  .hero-section p {
    font-size: 1em;
  }

  /* Stack Benefit Cards */
  .benefits-section {
    flex-direction: column;
    align-items: center;
  }

  /* Adjust Application Form */
  .application-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  /* Smaller Text for Hero Section */
  .hero-section h1 {
    font-size: 1.5em;
  }

  /* Narrow Benefits Section */
  .benefit-card {
    max-width: 90%;
    width: 100%;
  }

  /* Adjust Button Padding */
  .hero-section button,
  .application-form button {
    font-size: 1em;
    padding: 8px 16px;
  }
}

/* apply as broker page end */

/* privacy policy page start */
.privacy-policy,
.terms {
  /* margin-top: 100px; */
  margin: 150px 60px 100px;
}

.privacy-policy header,
.terms header {
  border-bottom: 1px solid #c2c0c0;
  padding: 0px 0px 20px;
  color: #1a1a1a;
}

.privacy-policy main,
.terms main {
  margin-top: 20px;
}

.privacy-policy section {
  margin-bottom: 20px;
}

.terms section {
  direction: rtl;
}

.privacy-policy h2 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.terms h2 {
  font-size: 16px;
  margin-top: 24px;
}

.terms header,
.terms h3 {
  font-weight: 700;
}

.terms strong {
  font-size: 18px;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.terms-list li {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
}

.terms-list li:hover {
    background-color: #d8dadb;
}

.terms-list a {
    text-decoration: underline;
    font-weight: bold;
    color: #1a1a1a;
    display: block;
}



.terms h4{
  font-size: 15px;
  margin-top: 16px;
  margin-right: 20px;
  text-decoration: dotted;
}

.terms h4::before {
  content: " - ";
  margin-right: 8px;
  color: #333333;
  font-weight: bold;
}


.privacy-policy p {
  margin-bottom: 10px;
  padding: 10px 0px 10px;
  color: #282828;
  font-size: 17px;
  line-height: 28px;
}

.privacy-policy ul {
  margin-left: 20px;
  padding: 0px;
}

.privacy-policy li {
  line-height: 27px;
  font-size: 15px;
}

/* privacy policy page end */

/* footer begin */
.footer {
  background-color: #1a1a1a; /* Dark shade of black */
  color: #fff;
  padding: 30px 20px;
  text-align: left;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  border-bottom: 1px solid white;
}

.footer-section {
  flex: 1;
  margin: 10px;
  min-width: 200px;
  margin-bottom: 40px;
}

.footer-section i {
  margin-right: 10px;
}

.footer-section img {
  margin-left: 10px;
  margin-top: 15px;
  width: 20%;
}

.footer h3 {
  color: #fff;
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer p,
.footer a {
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  /* margin: 5px 0; */
}

.footer-link {
  color: #fff;
  /* margin-right: 15px; */
  text-decoration: none;
}

.footer-link:hover {
  color: #a83c2f; /* Optional hover color for links */
  transform: scale(1.09);
}

.social-icons a {
  margin: 0 5px;
  font-size: 1.5em;
  color: #fff;
}

.store-btn {
  width: 130px !important;
  margin: 0px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

.copy-right {
  text-align: center;
  margin: 0;
  padding-top: 25px;
}
