:root {
  --color-bg-body: #f9fafb;
  --color-bg-surface: #007bff; 
  --color-text-main: #1f2937;
  --color-primary-blue: #007bff;
  --font-body:  "Segoe UI", Helvetica, Arial, sans-serif;
  --space-md: 1rem;
  --space-lg: 2rem;
  --container-width: 1100px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.menu-label {
  color: #ffffff;
  font-size: 1rem;      /* H4 default-ish size */
  font-weight: 600;
  margin-left: 6px;     /* Space from hamburger */
  cursor: pointer;     /* Optional: feels clickable */
  user-select: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Layout --- */


.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.main-content { 
  flex: 1; 
  padding-bottom: 80px; 
}

/* --- Header Grid --- */
.header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 80px; /* Fixed height for the header */
}

.box-left { 
  display: flex; 
  justify-content: flex-start; 
  align-items: stretch; /* Allows children to fill height */
  height: 100%; 
}

/* Update: Logo fills the container box */
.header-logo { 
  height: 100%; 
  width: 100%; 
  max-width: 200px; /* Adjust this to match your logo's ideal width */
  object-fit: contain; /* Ensures the logo isn't distorted */
  display: block;
}

.box-center { display: flex; justify-content: center; }
.box-right { display: flex; justify-content: flex-end; align-items: center; gap: 15px; position: relative; }

/* --- Hamburger --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.hamburger, .hamburger::before, .hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  position: relative;
}
.hamburger::before { top: -6px; position: absolute; }
.hamburger::after { top: 6px; position: absolute; }

.hamburger-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  background: #007bff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 99;
}

.hamburger-menu.active { 
  display: flex !important; 
}

.hamburger-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
  font-weight: 600;
  white-space: nowrap;
}

.site-header {
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.outer-table { margin-bottom: 30px; border-collapse: collapse; width: 100%; }
.faq-list-table { width: 100%; border-collapse: collapse; }
.faq-link { padding: 5px 0; }
.faq-link a { text-decoration: none; color: #007bff; }
.faq-link a:hover { text-decoration: underline; }
.answers-header { 
    font-size: 1.8rem; 
    font-weight: bold; 
    color: #333; 
    border-bottom: 2px solid #333; 
    display: inline-block; 
    padding: 0 10px 5px 10px;
}
blockquote { margin: 10px 0 20px 20px; line-height: 1.5; }

/* --- Contact Grid --- */
.contact-grid-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.btn-send {
  background-color: var(--color-primary-blue);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.btn-send:hover { background-color: #023974; }

.bottom-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 60px 0;
}

/* Container to align the button to the right under the FAQ content */
.top-button-container {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Pushes the button to the right side */
    padding: 10px 0 30px 0;    /* Space above and below the button */
}

.back-to-top-img {
    height: 45px; /* Adjust based on your preference */
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.back-to-top-img:hover {
    transform: translateY(-5px); /* Lift effect when hovering */
}

/*  bottom nav centered */
.bottom-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.nav-link { font-weight: 600; color: #1c2426; text-decoration: none; }

.page-title { text-align: center; margin-top: var(--space-lg); font-size: 2.5rem; }

footer {
  background: #007bff;
  color: #c7cdd0;
  padding: 20px 40px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.socials { list-style: none; display: flex; align-items: center; }
.socials li { margin-left: 20px; }
.socials img { width: 32px; vertical-align: middle; }

@media (max-width: 768px) {
  footer { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .socials { margin-top: 20px; }
}

/* Index Page*/

/* Base Styles & Typography */
:root {
    --primary: #0066cc;
    --text-dark: #333;
    --text-muted: #555;
    --bg-light: #f3f4f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*  Section Styles */
.hero-section {
    padding: 80px 0;
    background-color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.icon-check {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: #10b981;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-outline {
    border: 2px solid #ddd;
    color: var(--text-dark);
    margin-left: 10px;
}

/* Section Styling */
.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .feature-list li {
        justify-content: center;
    }
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: white;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.data-table th, 
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  background-color: #f3f4f6;
  font-weight: 600;
  color: var(--color-text-main);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.pricing-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  background: #f0f9ff;
}

.pricing-card--dark {
  background: #1f2937;
  color: white;
}

.pricing-card--dark .pricing-card__label,
.pricing-card--dark .pricing-card__price {
  color: white;
}

.pricing-card__amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-card__label {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 600;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Index Page Content Grid */

.content-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px;
    margin: 40px auto;
    align-items: center; /* Vertically centers content in the row */
}

.grid-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: block;
}

.text-item h3 {
    color: var(--color-primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Mobile Responsiveness: Stack columns on small screens */
@media (max-width: 768px) {
    .content-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    /* Optional: Reorder items on mobile so image always follows text */
    .content-grid-2x2 .image-item:nth-child(3) {
        order: 4;
    }
    .content-grid-2x2 .text-item:nth-child(4) {
        order: 3;
    }
}

/* Removes extra white space between navigation and footer */
.main-content {
    padding-bottom: 0;
}

.bottom-nav {
    margin: 0 auto;
    padding-bottom: 0px; /* Adjust this value if you want a small gap above the blue footer */
}

/* Contact page Updated section for the split left column */
.contact-text-col {
  display: grid;
  grid-template-rows: auto auto; /* Creates the two rows */
  gap: 2rem; /* Space between text and image */
}

.image-placeholder-box {
  width: 100%;
}

.image-placeholder-box .grid-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Ensure the contact grid remains side-by-side on desktop */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* About Us Section Image */

.about-us-content {
  background-image: url("/access21/img/about_img_300x200_lite.png"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 22px;
  padding: 40px;
  margin-top: 30px;

  /* Improves text readability */
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

 /* Contact Email Form */
.form-group {
  margin-bottom: 15px;
}

.btn-send {
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-send:hover {
  background-color: #163f8c;
}