/* ==============================
   Root Variables
============================== */
:root {
  --bezalel-green: rgb(43, 197, 151);
  --bezalel-green-dark: #35c99c;
  --light-gray: rgba(43, 197, 151, 0.674);
  --dark-gray: #555;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==============================
   Global Styles
============================== */
body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  color: var(--bezalel-green);
}

h3 {
    color: #000;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==============================
   Hero Section
============================== */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 450px;
  background-size: cover;
  background-position: center;
  position: relative;
  background: url('./brokerage.jpg') center/cover no-repeat;
}

.hero-section .overlay {
  position: absolute;
  top:0; left:0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-section h1,
.hero-section p {
  color: #fff;
  z-index: 2;
}

/* ==============================
   About Brokerage
============================== */
.about-brokerage {
  padding: 80px 0;
}

.about-brokerage h3 {
  margin-bottom: 20px;
  font-weight: 600;
}

.about-brokerage p {
  font-size: 1rem;
  color: var(--dark-gray);
}

.about-brokerage img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ==============================
   Brokerage Services
============================== */
.services {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.services h3 {
  margin-bottom: 50px;
  font-weight: 600;
  text-align: center;
}

/* Flex container for cards */
.services .d-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* instead of center */
  gap: 30px;
}

.service-card {
  flex: 0 1 calc(33.333% - 20px); /* 3 per row on desktop */
  max-width: 320px;
}

@media (max-width: 992px) {
  .service-card {
    flex: 0 1 calc(50% - 20px); /* 2 per row on tablets */
  }
}

@media (max-width: 768px) {
  .service-card {
    flex: 0 1 100%; /* 1 per row on mobile */
  }
}


/* Service card styles */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 250px;
  max-width: 320px;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.service-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.service-card .btn-bezalel {
  background-color: var(--bezalel-green);
  color: #fff;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.service-card .btn-bezalel:hover {
  background-color: var(--bezalel-green-dark);
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ==============================
   Why Choose Us
============================== */
.why-choose-us {
  padding: 80px 0;
}

.why-choose-us h3 {
  text-align: center;
  margin-bottom: 40px;
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.why-choose-us ul li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.why-choose-us ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--bezalel-green);
  font-weight: bold;
}

/* ==============================
   Brokerage Form
============================== */
.brokerage-form {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.brokerage-form h3 {
  text-align: center;
  margin-bottom: 50px;
}

.brokerage-form input,
.brokerage-form select,
.brokerage-form textarea {
  border: 2px solid var(--bezalel-green);
  border-radius: 50px;
  padding: 12px 20px;
  width: 90%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.brokerage-form textarea {
  border-radius: 12px;
}

.brokerage-form input:focus,
.brokerage-form select:focus,
.brokerage-form textarea:focus {
  outline: none;
  border-color: var(--bezalel-green-dark);
  box-shadow: 0 0 10px rgba(43,197,151,0.3);
}

.brokerage-form .btn-success {
  background-color: var(--bezalel-green);
  color: #fff;
  border-radius: 50px;
  padding: 12px 40px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.brokerage-form .btn-success:hover {
  background-color: var(--bezalel-green-dark);
  transform: translateY(-2px);
}

/* ==============================
   Footer
============================== */
footer {
  background-color: #222;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

footer a {
  color: var(--bezalel-green);
  text-decoration: none;
}

footer a:hover {
  color: var(--bezalel-green-dark);
}

/* ==============================
   Smooth Scroll Anchor
============================== */
html {
  scroll-behavior: smooth;
}

/* ==============================
   AOS Animations tweaks
============================== */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

header {
      background: var(--primar);
      color: #05b66f;
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      background-color: #05b66f;
      
    }
    header img { 
        height: 50px; 
    }
    nav { 
        display: flex; 
        align-items: center; 
        gap: 1rem; 
        flex-wrap: wrap; 
    }
    nav a {
      color: #fff; 
      text-decoration: none; 
      font-weight: 500; 
      transition: 0.3s;
    }
    nav a:hover { 
        color: #000000;
        opacity: 0.8; 
    }

    
.cursor-ball {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: rgb(43, 197, 151);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.4s ease,
    width 0.2s ease,
    height 0.2s ease,
    background-color 0.3s ease;
  z-index: 9999;
}

/* When moving, fade in */
.cursor-ball.active {
  opacity: 1;
}

/* Optional hover grow effect */
a:hover ~ .cursor-ball,
button:hover ~ .cursor-ball {
  width: 25px;
  height: 25px;
  background-color: rgba(43, 197, 151, 0.7);
}
    
 