
:root {
  --font-sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-special: "Darker Grotesque", ui-sans-serif, system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  @apply font-sans;
}

.max-w-6xl {
  max-width: 1152px; /* Tailwind 6xl equivalent */
} 


.steps-text{
  text-align: left !important;
}

.steps-section{
  background-color:#f5f2ec;
}

.rabbi_links a{
  text-decoration: none;
  color: black;
}

.rabbi_links a:hover{
  color: #7b8592;
}

.logo-card {
  height: 140px;
  width: 100%;
  min-height: 140px;

  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  padding: 10px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  background-origin: content-box;
  background-clip: content-box;

  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-custom {
  font-weight: 600;             
  display: inline-block;
  text-decoration: none;
}

.btn-custom:hover {
  color: #626263;                /* hover text gray-200 */
}


.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* logo backgrounds
.logo-1 { background-image: url('../logo-la-press.png'); }
.logo-2 { background-image: url('../logo-canadian.png'); }
.logo-3 { background-image: url('../logo-jtribune.png'); }
.logo-4 { background-image: url('../logo-yahoo.png'); }
.logo-5 { background-image: url('../logo-juf.png'); }
.logo-6 { background-image: url('../logo-miami.png'); }
.logo-7 { background-image: url('../logo-free-press.png'); }
.logo-8 { background-image: url('../logo-chron.png'); }
.logo-9 { background-image: url('../logo-religion.gif'); }
.logo-10 { background-image: url('../logo-haaretz.png'); }
.logo-11 { background-image: url('../logo-jta.png'); }
.logo-12 { background-image: url('../logo-lubavitch.png'); }
.logo-13 { background-image: url('../logo-col.png'); } */


.how-step{
  height:250px;
}
.how-step-num {
  position: absolute;
  top: 55px;
  left: 10px;

  font-size: 150px;        /* from .steps-num */
  font-weight: bold;
  color: #aaa;

  opacity: 0.25;           /* opacity-25 */
  line-height: 1;          /* prevents layout jumps */
  pointer-events: none;    /* decorative only */
}

@media (max-width: 575.98px) {
  .how-step-num {
    top: 45px;
  }
}

.contact-links:hover{
  color:white !important;
}

.steps-num{
  font-size: 150px;
  font-weight: bold;
  color:#aaa;
}

.card-body h3{
  font-size:15px;
  font-weight: bold;
}

.text-primary{
  color:#1683fb !important;
}

.title-about{
  font-size:30px;
}
 
.title-steps{
  font-size:50px;
}

.steps-grid {
  max-width: 1152px;
  margin-inline: auto;
  grid-template-columns: repeat(5, 1fr);
}

#header-logo{
  width: 13rem; 
  transition: all 0.3s;
}

/* tablets */
@media (max-width: 991.98px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .how-step{
    height:250px;
  }
}

.hero-bg {
      background-size: cover;
      background-position: center;
      height: 50vh;
      position: relative;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background-color: rgba(0,0,0,0.3);
    }
    .hero-content {
      position: relative;
      z-index: 10;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
    }
    .bg-cover-center {
      background-size: cover;
      background-position: center;
    }
    .step-image {
      border-radius: 1rem;
      background-size: cover;
      background-position: center;
      margin-bottom: 1rem;
    }
    .plans-table .row {
      border-bottom: 1px solid #ddd;
      padding: 0.5rem 0;
      font-size:0.9rem;
    }
    .plans-card {
      border: 1px solid #ddd;
      border-radius: 0.5rem;
      padding: 1rem;
      background: #fff;
      margin-bottom: 1rem;
    }
    .join-title{
      font-size: 1.25rem;
    }

/* phones */
@media (max-width: 575.98px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  #header-logo{
    width: 11rem; 
  }
  .title-about{
    padding-top:10px;
    font-size:20px;
  }
  .title-steps{
    padding-top:15px;
    font-size:30px;
  }
  .proccess-points div{
    font-size:12px;
  }
  .proccess-points img{
    width:20px !important;
    height:20px !important;
  }
  .how-step{
    height:200px;
  }
}

#site-header.scrolled {
  background-color: rgba(255,255,255,0.75); 
  backdrop-filter: blur(12px) saturate(150%) brightness(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(150%) brightness(1.2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: background-color 0.2s, backdrop-filter 0.2s;
 
}
/* DEFAULT (transparent header) */
#desktop-nav a.menu-item,
#auth-div a.auth-link,
.auth-separator,
button#hamburger {
  color: white;
  transition: color 0.3s;
  text-decoration: none;
}

/* SCROLLED STATE */
#site-header.scrolled #desktop-nav a.menu-item,
#site-header.scrolled #auth-div a.auth-link,
#site-header.scrolled .auth-separator,
#site-header.scrolled button#hamburger {
  color: #504f4f;
}

/* Hover */
#desktop-nav a.menu-item:hover,
#auth-div a.auth-link:hover {
  color: #d1d5db;
}

#site-header.scrolled #desktop-nav a.menu-item:hover,
#site-header.scrolled #auth-div a.auth-link:hover {
  color: #1683fb;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 75%;
  max-width: 400px;
  background: #fff;
  transform: translateX(100%); /* hidden by default */
  transition: transform 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

body {
  overflow-x: hidden; /* prevent horizontal scroll */
}


#mobile-menu a.nav-link {
  color:black;
}

@media (max-width: 576px) {
  #mobile-menu {
    width: 90% !important;
  }

  #desktop-nav a.menu-item,
  #auth-div a.auth-link{
    font-size: 12px;
    padding:10px 5px 5px 5px;
  }
  .gap-2{
    gap: .1rem !important;
  }
}

.signup-text{
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
}

h6{
  font-family: var(--font-special);
}

html {
  scroll-behavior: smooth;
}


input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}

.section_header{
  height: 65px;
}

/* Carousel */

.slick-slide > div {
  display: flex !important;
  justify-content: center !important;
}

.slick-prev, .slick-next {
  z-index: 20; 
}

#carouselContainer .slick-track {
  display: flex !important;
  justify-content: center !important;
}

#carouselContainer .slick-slide {
  float: none !important;       
  display: flex !important;      
  justify-content: center !important;
}

/* global.css */
.scrollbar-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.5) transparent;
}

.scrollbar-auto::-webkit-scrollbar {
  width: 2px;
}

.scrollbar-auto::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.5);
  border-radius: 2px;
}


@keyframes zoomIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
  0% { transform: translateY(50%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-zoom-in {
  animation: zoomIn 0.7s ease-out forwards;
}

.text-container.animate-slide-up {
  animation: slideUp 0.7s ease-out 0.3s forwards; 
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.2rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  
}

@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
  .join-title{
    font-size: 2.5rem;
  }
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 0.6em;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

.hamburgerMenu{
  padding-left:5px;
  padding-right:5px;
}

.topMenuDesk{
  margin:0!important;
  color: white;
}

.nav-link{
  padding:30px 10px 10px 10px;
  font-size:16px;
  font-weight:400;
  font-family: 'robotoregular', sans-serif;
}

.nav-link:hover, .nav-link.activemenu {
    color: #cecbcb;
    text-decoration: none;
    -webkit-transition: all 700ms;
    transition: all 700ms;
}

.circle-list li {
  position: relative;
  padding-left: 1.5rem; /* space for the circle */
  margin-bottom: 0.25rem; /* spacing between items */
}

.circle-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.75rem; /* 12px */
  height: 0.75rem; /* 12px */
  border: 2px solid #000064;
  border-radius: 50%; /* makes it a circle */
}

.authButtons {
  width: 100%;
  padding: 0.25rem 0.20rem;
  font-size: 0.875rem; /* text-sm */
  color: #1683fb;
  font-weight: 700; /* font-bold */
  border-radius: 9999px; /* rounded-full */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: opacity 0.2s ease-in-out;
}
.authButtons:hover {
  background-color:white;
}

.opBg{
  background-color: rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (min-width: 640px) { /* sm */
  .authButtons {
    width: auto; /* sm:w-auto */
    font-size: 1rem; /* sm:text-base */
  }
}

@media (min-width: 768px) { /* md */
  .authButtons {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    padding-top: 0.25rem; 
    padding-bottom: 0.25rem;
    font-size: 1rem; 
  }
}

@media (min-width: 992px) {
  .join-title {
    font-size: 2.5rem; /* lg */
  }
}

a.footerPhno, a.footerMail {
    display: flex;               /* flex makes it much easier than float */
  align-items: center;         /* vertically center text & icon */
  font-size: 16px;
  line-height: 30px;
  margin-top: 10px;
  text-decoration: none;
}

a.footerPhno::before,
a.footerMail::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 7px;
  background-size: contain;    
  background-repeat: no-repeat;
  flex-shrink: 0;             
}

a.footerPhno::before {
  background-image: url("https://www.jdallas.com/externalpages/en/21/assets/phone.png");
  background-position: center;
}

a.footerMail::before {
  background-image: url("https://www.jdallas.com/externalpages/en/21/assets/email.png");
  background-position: center;
}

.text-start{
  font-size:12px;
}

.text-success{
  font-weight:bold;
  font-size:18px;
}
.plan-table-title{
  font-size:16px;
}

.plan-table-txt{
  color:black;
  font-size:13px;
  text-align: center;
}

.custom-scroll::-webkit-scrollbar {
    width: 7px; /* thinner scrollbar */
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent; /* track color */
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #000064; /* scrollbar color */
    border-radius: 3px; /* rounded edges */
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #000099; /* darker on hover */
}

@media (prefers-color-scheme: light) {
  :root {
    background-color: #ffffff;
  }

  button {
    background-color: #ffffff;
  }

  .button-select{
    background-color:transparent;
  }

  .tablesTitle {
    font-size: 2rem; 
    font-weight:bold;
    margin:0 0 20px 0;
  }

  .TableHead {
    font-size: 0.875rem; /* Slightly smaller font on mobile */
    color:#ffffff;
    font-weight:bold;
    padding: 0.6em 1.2em;
  }

  .frame1{
    margin-left:15px;
  }

  .frame2{
    border:solid black 1px;
    border-radius: 12px;      
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    padding:20px;
  }
  
  .formField{
    border:solid black 1px;
    margin:7px 0 15px;
    width:300px;
    border-radius: 12px;      
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    padding:8px;
  }
} 
