/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  height: 100%;
}

body {
  color: #1f2937;
  line-height: 1.6;
  /* Background image */
  background: url("images/telecom-bg1.JPG") no-repeat center center fixed;
  background-size: cover;
  position: relative; /* create stacking context */
}

/* Light overlay to improve text readability over background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0; /* overlay above background, below content */
}

/* Ensure site content sits above overlay */
header, main, section, footer, .page, .sip-section {
  position: relative;
  z-index: 1;
}

/* =========================
   NAVBAR & HEADER
========================= */
.navbar,
.ub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.92); /* translucent to show bg subtly */
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 9999; /* above overlay and content */
  backdrop-filter: saturate(120%) blur(2px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
}

.brand-text {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.3px;
}

nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

nav a:hover {
  color: #1a73e8;
}

.btn {
  background: #1a73e8;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
}

/* =========================
   HERO SECTION (optional)
========================= */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a73e8, #2563eb);
  color: white;
}

.hero .cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: #ffffff;
  color: #1a73e8;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* =========================
   PAGE & GRID LAYOUT
========================= */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.page h1 {
  text-align: center;
  font-size: 38px;
  margin-bottom: 12px;
  color: #1a73e8;
}

.page .intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px;
  color: #4b5563;
  font-size: 17px;
}

/* Global bullets off */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 70px;
}

/* =========================
   GENERIC BOXES (translucent)
========================= */
.card,
.box,
.fr-box,
.fr-card,
.sip-card,
.sip-experience,
.sip-benefits,
.center-box,
.pbx-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  margin-bottom: 40px;
  backdrop-filter: saturate(120%) blur(2px);
}

.card h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1a73e8;
  font-weight: 600;
}

.card p,
.card li {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* =========================
   HOMEPAGE INTRO (centered)
========================= */
.home-intro {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.home-intro h1, .home-intro h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1a73e8;
  font-weight: 600;
}

.home-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 20px;
}

/* =========================
   CLOUD PBX FEATURE SECTION
========================= */
.fr-wrapper {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.fr-box {
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.fr-box h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 45px;
  color: #1a73e8;
  font-weight: 600;
}

.fr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.fr-column p,
.fr-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =========================
   SIP TRUNKING PAGE STYLES
========================= */
.sip-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.sip-section h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
  color: #1a73e8;
  font-weight: 600;
}

.sip-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #4b5563;
  font-size: 16px;
}

.sip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.sip-card {
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.sip-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a73e8;
  font-weight: 600;
}

.sip-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 14px;
}

.sip-experience,
.sip-benefits {
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
}

.sip-experience h2,
.sip-benefits h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1a73e8;
  font-weight: 600;
}

.sip-experience p,
.sip-benefits p {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: rgba(30, 58, 138, 0.96); /* slightly translucent */
  color: #e5e7eb;
  padding: 60px 20px 20px;
  font-family: Inter, Arial, sans-serif;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-brand img {
  height: 34px;
}

.footer-text,
.footer-contact {
  font-size: 15px;
  line-height: 1.6;
  color: #dbeafe;
}

.footer-contact a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-tagline {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #dbeafe;
  text-decoration: none;
  font-size: 15px;
}

.footer-links a:hover {
  color: #93c5fd;
}

.footer-social a {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: #dbeafe;
  text-decoration: none;
}

.footer-social a:hover {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-legal {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-legal a {
  color: #bfdbfe;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 14px;
  color: #bfdbfe;
}

/* =========================
   MOBILE DROPDOWN MENU
========================= */
.mobile-dropdown {
  display: none;
}

.dropdown-toggle {
  background: #1a73e8;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.dropdown-links {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-top: 8px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-links li {
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-links li:last-child {
  border-bottom: none;
}

.dropdown-links a {
  display: block;
  padding: 12px;
  color: #374151;
  text-decoration: none;
}

.dropdown-links a:hover {
  background: #f3f4f6;
  color: #1a73e8;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 28px;
  }

  .page h1 {
    font-size: 30px;
  }

  .page .intro {
    font-size: 15px;
  }

  .card h2 {
    font-size: 20px;
  }

  .btn,
  .hero .cta {
    font-size: 16px;
    padding: 12px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .page {
    padding: 40px 16px 80px;
  }

  section {
    margin-bottom: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  .mobile-dropdown {
    display: block;
    margin: 16px;
  }

  .ub-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  .page h1 {
    font-size: 28px;
  }

  .card h2 {
    font-size: 18px;
  }

  .page .intro {
    font-size: 14px;
  }

  .btn,
  .hero .cta {
    font-size: 15px;
    padding: 10px 18px;
  }
}

/* =========================
   GLOBAL HEADING COLOR
========================= */
h1, h2, h3 {
  color: #1a73e8;
}

/* =========================
   BOXED HEADINGS SPECIFIC
========================= */
.box h2,
.box h3,
.fr-box h2,
.fr-card h2,
.fr-card h3,
.sip-card h3,
.sip-text h2,
.sip-benefits h2 {
  color: #1a73e8;
  font-weight: 600;
}

/* =========================
   SUBHEADING SPACING
========================= */
h3 {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 12px;
}

/* =========================
   FR Responsive tweaks
========================= */
@media (max-width: 900px) {
  .fr-grid {
    grid-template-columns: 1fr;
  }

  .fr-box {
    padding: 35px 28px;
  }
}

/* =========================
   SIP Responsive tweaks
========================= */
@media (max-width: 900px) {
  .sip-grid {
    grid-template-columns: 1fr;
  }

  .sip-card {
    padding: 28px;
  }

  .sip-experience,
  .sip-benefits {
    padding: 35px 28px;
  }
}
/* =========================
   GLOBAL PAGE BACKGROUND
========================= */
body {
  background: url("../images/telecom-bg1.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #1f2937;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  z-index: 0;
}

/* Light overlay for readability */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85); /* adjust opacity if needed */
  z-index: -1;
}

