* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*Added missing one*/
html {
  font-size: 16px; /* ensures consistent rem scaling */
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1e293b;
  scroll-behavior: smooth;
  line-height: 1.5;
}

.becms-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* sections */
.becms-section {
  padding: 80px 0;
}

.becms-section-sm {
  padding: 56px 0;
}

.becms-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #0f172a;
}

.becms-section-subhead {
  font-size: 1.125rem;
  color: #475569;
  max-width: 720px;
  margin-bottom: 48px;
}

.becms-text-center {
  text-align: center;
}

.becms-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.becms-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

 /*Adding missing one*/
 .becms-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
 }

.becms-btn-primary {
  background-color: #2563eb;
  color: white;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.becms-btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.becms-btn-outline {
  background-color: transparent;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
}

.becms-btn-outline:hover {
  border-color: #2563eb;
  background-color: #f8fafc;
}

/* Header + Hamburger */
header {
  padding: 18px 0;
  border-bottom: 1px solid #eef2f6;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.becms-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo image - square, centered vertically */
.becms-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;          /* adjust to your square image size */
  height: 48px;         /* same as width for perfect square */
  text-decoration: none;
}

.becms-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* ensures image fills square without distortion */
  border-radius: 12px;  /* optional: slight rounding, remove if not needed */
  display: block;
}

/* desktop nav */
.becms-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* better alignment with menu items */
.becms-nav-links > * {
  display: flex;
  align-items: center;
}

/*Manually updated one*/
.becms-nav-links a {
  display: flex;
  align-items: center;
  gap: 8px; /* controls icon spacing */
  text-decoration: none;
  font-weight: 500;
  color: #334155;
  transition: color 0.2s;
}

.becms-nav-links i {
  font-size: 1rem;
  width: 18px;        /* keeps all icons aligned */
  text-align: center;
}

/* Added manually one */
.becms-nav-links a i {
  opacity: 0.85;
}
.becms-nav-links a:hover {
  color: #2563eb;
}

/* hamburger */
.becms-hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
}

/* ========== DROPDOWN MENU (Desktop & Mobile fixes) ========== */
.becms-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.becms-dropbtn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;                /* space between text and chevron */
  transition: color 0.2s;
  padding: 6px 8px;        /* added horizontal padding */
  white-space: nowrap;
}

.becms-dropbtn i:first-child {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.becms-dropbtn i:last-child {
  margin-left: 4px;        /* extra separation for chevron */
  font-size: 0.8rem;
}

.becms-dropbtn:hover {
  color: #2563eb;
}

.becms-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 1px);  /* more gap to avoid hover overlap */
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 101;
}

/* better dropdown item alignment */
.becms-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #334155;
  font-size: 0.95rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.becms-dropdown-content a i {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.becms-dropdown:hover .becms-dropdown-content,
.becms-dropdown:focus-within .becms-dropdown-content {
  display: block;
}

/* ========== CONTENT PAGES (About, Privacy, Terms) ========== */
.becms-content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}

.becms-content-page h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0f172a;
}

.becms-content-page h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: #1e293b;
}

.becms-content-page p {
  margin-bottom: 20px;
  color: #334155;
  line-height: 1.7;
}

.becms-content-page ul {
  margin: 20px 0 20px 40px;
  color: #334155;
}

.becms-content-page li {
  margin-bottom: 8px;
}

/* ========== MOBILE DROPDOWN FIXES (no icon crowding, good alignment) ========== */
@media (max-width: 768px) {
  .becms-dropdown {
    position: relative;    /* needed for absolute positioning of dropdown */
    display: block;
    width: 100%;
  }

  .becms-dropbtn {
    width: 100%;
    display: flex;
    justify-content: flex-start;  /* icon stays close to text */
    gap: 9px; /*icon stays close to text on left*/
    font-size: 1.2rem;
    padding: 12px 0;
    white-space: normal;
    align-items: center;
  }

  .becms-dropbtn i:last-child {
    margin-right: auto;      /* pushes chevron to the right edge, fixed */
    font-size: 1rem;
  }

  .becms-dropdown-content {
    position: absolute;      /* stays under the button */
    top: 100%;
    left: 0;
    right: auto;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 101;
    display: none;
  }

  .becms-dropdown-content a {
    font-size: 1rem;
    gap: 14px;
    padding: 12px 20px;
    white-space: nowrap;
  }

  .becms-dropdown.open .becms-dropdown-content {
    display: block;
  }
}

@media (max-width: 768px) {
  .becms-hamburger {
    display: block;
  }

.becms-nav-links {
  position: fixed;
  top: 72px;
  left: -100%;
  width: 80%;
  height: calc(100vh - 72px);
  background: white;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px;
  gap: 32px;
  transition: left 0.3s ease;
  z-index: 99;
  border-right: 1px solid #eef2f6;
  overflow-y: auto;               /* Enables vertical scrolling */
  overscroll-behavior: contain;  /* Prevents scroll chaining */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

  .becms-nav-links.active {
    left: 0;
  }
  .becms-nav-links a {
    font-size: 1.2rem;
    width: 100%;
  }

}

/* Hero */
.becms-hero {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.03), #ffffff);
  padding: 72px 0 64px;
}

.becms-hero-badge {
  display: inline-block;
  background: #eef2ff;
  color: #2563eb;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.becms-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0f172a;
}

.becms-hero h1 span {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.becms-hero p {
  font-size: 1.2rem;
  color: #334155;
  max-width: 720px;
  margin-bottom: 32px;
}

/* service grid dual */
.becms-service-category {
  margin-bottom: 56px;
}
.becms-service-category h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: #0f172a;
  border-left: 5px solid #2563eb;
  padding-left: 18px;
}
.becms-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.becms-service-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #eef2f6;
  transition: all 0.25s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.becms-service-card:hover {
  transform: translateY(-4px);
  border-color: #cbdffa;
  box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.08);
}
.becms-service-icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 16px;
}
.becms-service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.becms-service-card p {
  color: #475569;
  font-size: 0.9rem;
}

/* bullet list grid */
.becms-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.becms-feature-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 20px;
  border-radius: 60px;
}
.becms-feature-bullet i {
  color: #2563eb;
  font-size: 1.3rem;
  width: 28px;
}
.becms-working-style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.becms-style-item {
  flex: 1;
  min-width: 180px;
  background: #fefefe;
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  border: 1px solid #eef2f6;
}
.becms-style-item i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 12px;
}
.becms-ideal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}
.becms-tag {
  background: #eef2ff;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #1e3a8a;
}

.becms-testimonial-card {
  background: #fefefe;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
  border: 1px solid #edf2f7;
}
.becms-stars {
  color: #fbbf24;
  margin-bottom: 16px;
}

.becms-cta-section {
  background: #0f172a;
  border-radius: 48px;
  margin: 40px auto;
  padding: 64px 48px;
  text-align: center;
  color: white;
}
.becms-cta-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
}
.becms-btn-light {
  background: white;
  color: #0f172a;
}
.becms-btn-light:hover {
  background: #f1f5f9;
}

/* ========== FOOTER (existing and enhanced) ========== */
footer {
  background: #fafcff;
  border-top: 1px solid #eef2f6;
  padding: 48px 0 32px;
}
.becms-footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.becms-copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e6edf4;
  font-size: 0.85rem;
  color: #64748b;
}

/* ========== ADDED: Missing footer column styles ========== */
.becms-footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0f172a;
}
.becms-footer-col p,
.becms-footer-col a,
.becms-footer-col div {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.6;
}
.becms-footer-col a {
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.becms-footer-col a:hover {
  color: #2563eb;
}
.becms-footer-col div {
  margin-bottom: 8px;
}
.becms-footer-col i {
  width: 24px;
  margin-right: 6px;
  color: #2563eb;
}

/* ========== ADDED: Responsive footer for mobile ========== */
@media (max-width: 768px) {
  .becms-footer-links {
    flex-direction: column;
    gap: 32px;
  }
  .becms-footer-col {
    text-align: center;
  }
  .becms-footer-col i {
    margin-right: 4px;
  }
}

/* ========== RESPONSIVE ========== */
/* Tablet */
@media (max-width: 1024px) {
  .becms-container { padding: 0 24px; }
}

/* Mobile */
@media (max-width: 768px) {
  .becms-container {
    padding: 0 24px;
  }
  .becms-hero h1 {
    font-size: 2.4rem;
  }
  .becms-section-title {
    font-size: 2rem;
  }
  .becms-cta-section {
    padding: 40px 24px;
  }

   /*Image logo for mobile responsivenes*/
   .becms-logo {
   width: 40px;
   height: 40px;
  }

  /* Hamburger button */
  .becms-hamburger {
    display: block;
  }

  /* Mobile menu - scrollable */
  .becms-nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 72px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    gap: 32px;
    transition: left 0.3s ease;
    z-index: 99;
    border-right: 1px solid #eef2f6;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .becms-nav-links.active {
    left: 0;
  }

  .becms-nav-links a {
    font-size: 1.2rem;
    width: 100%;
  }

  /* Dropdown on mobile */
  .becms-dropdown {
    display: block;
    width: 100%;
  }
  .becms-dropbtn {
    width: 100%;
    justify-content: space-between;
    font-size: 1.2rem;
    padding: 0;
    white-space: nowrap;   /* prevents breaking */
  }
  .becms-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 24px;
    margin-top: 8px;
    background: transparent;
    border-radius: 0;
    display: none;
  }
  .becms-dropdown-content a {
    font-size: 1rem;
  }
  .becms-dropdown.open .becms-dropdown-content {
    display: block;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .becms-container {
    padding: 0 16px;
  }
  .becms-content-page h1 {
    font-size: 2rem;
  }
  .becms-content-page h2 {
    font-size: 1.4rem;
  }
}

/* Very narrow or short screens (adjust nav padding) */
@media (max-width: 480px) or (max-height: 600px) {
  .becms-nav-links {
    padding: 24px 20px;
    gap: 24px;
  }
}