html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}
body {
    background: url('../images/background.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    background-attachment: scroll;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.32); /* Optional: a subtle dark overlay for contrast */
    z-index: -1;
    pointer-events: none;
}
@media (min-width: 769px) {
  body {
    background-attachment: fixed;
  }
}



/* --- NAVIGATION BAR --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 18px rgba(30,30,40,0.10);
}
header h1 {
    color: #00f;
    margin: 0;
    font-size: 32px;
    flex: 0 0 auto;
}
header .nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav {
    display: flex;
    align-items: center;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
nav ul li {
    flex: 0 1 auto;
    margin: 5px 2px;
}
nav ul li.nav-spaced {
    margin: 5px 14px;
}
nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    padding: 8px 18px;
    text-align: center;
    border-radius: 5px;
    transition: background 0.3s, color 0.2s;
}
nav ul li a:hover,
nav ul li a:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* --- HIGHLIGHTED NAV LINKS --- */
nav ul li a.nav-highlight {
    background: #19bcb8;
    color: #fff !important;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(25,188,184,0.12);
    margin-left: 6px;
    margin-right: 6px;
    font-size: 20px;
    padding: 8px 18px;
    position: relative;
    z-index: 1;
}
nav ul li a.nav-highlight:hover,
nav ul li a.nav-highlight:focus {
    background: #119490;
    color: #fff !important;
}
nav ul li a.active {
    background: #007bff;
    color: #fff !important;
}

/* Hamburger Menu Button */
.nav-toggle {
    display: none;
    font-size: 45px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
}

/* --- NAV: MOBILE & TABLET BREAKPOINTS --- */
@media (max-width: 1200px) {
    nav ul li a {
        font-size: 16px;
        padding: 6px 10px;
    }
    nav ul li a.nav-highlight {
        font-size: 16px;
        padding: 6px 10px;
    }
}
@media (max-width: 900px) {
    nav ul li a {
        font-size: 15px;
        padding: 4px 8px;
    }
    nav ul li a.nav-highlight {
        font-size: 15px;
        padding: 4px 8px;
    }
}
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    header .nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px; left: 0; width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        z-index: 999;
    }
    header .nav.active {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    nav ul li, nav ul li.nav-spaced {
        margin: 10px 0;
        width: 100%;
    }
    nav ul li a, nav ul li a.nav-highlight {
        width: 100%;
        font-size: 14px;
        padding: 8px 0;
        border-radius: 6px;
        margin: 0;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-content {
    background: rgba(190, 189, 189, 0.90);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    outline: 3px solid #00f;
    padding: 48px 32px 40px 32px;
    border-radius: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: #0741a6;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    color: #222f44;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
.btn-primary, .btn-secondary, .btn-link {
    display: inline-block;
    font-size: 1.25rem;
    border-radius: 7px;
    padding: 16px 32px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin: 0 6px;
}
.btn-primary {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,123,255,0.12);
}
.btn-primary:hover {
    background: #0056b3;
}
.btn-secondary {
    background: #19bcb8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(25,188,184,0.10);
}
.btn-secondary:hover {
    background: #119490;
}
.btn-link {
    background: none;
    color: #006be6;
    padding: 0 10px;
    box-shadow: none;
    text-decoration: underline;
}
.btn-link:hover {
    color: #00a3c8;
}
@media (max-width: 700px) {
    .hero-content {
        padding: 28px 7vw 26px 7vw;
        max-width: 97vw;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 14px;
    }
}

/* --- GENERIC SECTION LAYOUTS --- */
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    gap: 25px;
    background: none;
    margin-top: 80px;
    margin-bottom: 80px;
}
.section-title {
    font-size: 2rem;
    margin: 0 0 24px 0;
    text-align: left;
    color: #1764e0;
    background: none;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: none;
    padding: 0 0 24px 0;
    width: 100%;
    max-width: 100%;
}
@media (max-width: 700px) {
  .section {
    margin-top: 38px;
    margin-bottom: 38px;
    padding: 8px;
  }
}
@media (max-width: 480px) {
  .section {
    margin-top: 20px;
    margin-bottom: 18px;
    padding: 2px;
  }
}





/* --- ARTIFICIAL INTELLIGENCE SECTION --- */
.ai-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: none;
  margin-top: 80px;
  margin-bottom: 80px;
  width: 100%;
}
.ai-content {
    /* Semi‑transparent background to reveal the underlying
     * background.webp image. This replaces the solid grey so
     * visitors can see the page’s textured background around the card.
     */
    background: rgba(190, 189, 189, 0.90);
    box-shadow: 0 6px 24px rgba(30,60,130,0.10);
    border-radius: 24px;
    padding: 38px 28px 32px 28px;
    max-width: 900px;
    /* Apply horizontal margins to avoid the card stretching to the
     * viewport edges on small screens. Leaving only max‑width without
     * explicit margins caused the card to consume the entire width on
     * mobile, hiding the page background. 20px on each side leaves a
     * visible frame for the background image.
     */
    margin: 0 20px;
    border-left: 8px solid #19bcb8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ai-title {
    font-size: 2rem;
    color: #1764e0;
    margin-bottom: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
.ai-description {
    color: #222f44;
    font-size: 1.15rem;
    margin-bottom: 30px;
    text-align: left;
}
.ai-description h3 {
    color: #0e9928;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 14px;
}
.ai-chatbox-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chatbox {
    display: flex;
    flex-direction: column;
    border: 1.5px solid #c2cbe3;
    border-radius: 14px;
    background: #f7fafd;
    padding: 14px;
    width: 100%;
    max-width: 700px;
    min-height: 240px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
#chat-log {
    background: #fff;
    color: #0940f6;
    border-radius: 6px;
    border: 1px solid #e0e6ef;
    padding: 10px 12px;
    font-size: 1rem;
    margin-bottom: 12px;
    max-height: 160px;
}
#chat-input {
    border: 1.5px solid #b2bbd7;
    border-radius: 6px;
    padding: 13px;
    font-size: 1.12rem;
    margin-bottom: 10px;
    background: #fff;
    color: #222f44;
}
.chatbox button {
    padding: 13px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    font-size: 1.12rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.chatbox button:hover {
    background-color: #0056b3;
}




/* --- BLOG/NEWS SECTION (for blog pages, not homepage cards!) --- */
.blog-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: none;
  margin-top: 80px;
  margin-bottom: 80px;
  width: 100%;
}

.blog-content {
  display: flex;
  flex-direction: row;
  gap: 38px;              /* Adjust gap between content and sidebar */
  width: 100%;
  max-width: 1180px;      /* Was 1620px; 1100–1200px feels "magazine" */
  margin: 0 auto;
  background: rgba(190, 189, 189, 0.90);
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  border-radius: 24px;
  padding: 34px 32px 32px 32px;  /* Reduce side padding from 52px for more content space */
  border-left: 8px solid #117dd8;
  align-items: flex-start;
  box-sizing: border-box;
}


.blog-content article {
  flex: 2 1 700px;
  min-width: 0;
  max-width: 930px;
  margin-right: 0;
}

.blog-content article img,
.blog-content article .image-grid img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.blog-post-content h3,
.blog-content h3,
.main-content h3 {
    color: #1764e0;
    font-size: 1.35em;
    font-weight: 700;
    margin-top: 2.3em;
    margin-bottom: 0.6em;
    padding-left: 10px;
    border-left: 4px solid #31c76d;
    background: linear-gradient(to right, #a1d3f7 70%, rgba(255,255,255,0.00) 100%);
    border-radius: 3px;
    letter-spacing: 0.01em;
    box-sizing: border-box;
}
@media (max-width: 700px) {
    .blog-post-content h3,
    .blog-content h3,
    .main-content h3 {
        font-size: 1.08em;
        padding-left: 7px;
    }
}



/* Sticky sidebar for blog */
.sticky-sidebar, .blog-sidebar {
  flex: 1 1 340px;
  min-width: 245px;
  max-width: 370px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  border-radius: 24px;
  border-left: 8px solid #19bcb8;
  padding: 18px 18px 24px 18px;
  margin-top: 10px;
  margin-bottom: 16px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  z-index: 2;
  font-size: 0.99rem;
}

.sticky-sidebar h3,
.blog-sidebar h3 {
  margin-top: 0;
  color: #1764e0;
  font-size: 1.11rem;
  font-weight: bold;
  margin-bottom: 9px;
}
.sticky-sidebar ul, .sticky-sidebar ol,
.blog-sidebar ul, .blog-sidebar ol {
  margin-left: 1.1em;
  margin-bottom: 0.7em;
}
.sticky-sidebar a, .blog-sidebar a {
  color: #117dd8;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.03rem;
}
.sticky-sidebar a:hover, .blog-sidebar a:hover {
  color: #17a06b;
  background: #e9f7fb;
  border-radius: 4px;
}

/* Make .sidebar-card match .blog-sidebar and .sticky-sidebar */
.sidebar-card {
  flex: 1 1 340px;
  min-width: 245px;
  max-width: 370px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  border-radius: 24px;
  border-left: 8px solid #19bcb8;
  padding: 18px 18px 24px 18px;
  margin-top: 10px;
  margin-bottom: 16px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  z-index: 2;
  font-size: 0.99rem;
}
.sidebar-card h3 {
  margin-top: 0;
  color: #1764e0;
  font-size: 1.11rem;
  font-weight: bold;
  margin-bottom: 9px;
}
.sidebar-card ul, .sidebar-card ol {
  margin-left: 1.1em;
  margin-bottom: 0.7em;
}
.sidebar-card a {
  color: #117dd8;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.03rem;
}
.sidebar-card a:hover {
  color: #17a06b;
  background: #e9f7fb;
  border-radius: 4px;
}




/* --- HOMEPAGE NEWS/TECH SECTION CARD (Not for blog posts!) --- */
.news-content {
  background: rgba(185, 184, 184, 0.96);
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  border-radius: 24px;
  padding: 38px 28px 32px 28px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 8px solid #117dd8;  /* blue accent */
}

/* Responsive styles */
@media (max-width: 1420px) {
  .blog-content {
    padding: 22px 18px 22px 18px;
    gap: 38px;
  }
  .blog-content article {
    max-width: 99vw;
  }
}

@media (max-width: 1200px) {
  .blog-content {
    flex-direction: column;
    gap: 0;
    padding: 14px 2vw 10px 2vw;
    max-width: 99vw;
  }
  .blog-content article {
    max-width: 100%;
  }
  .sticky-sidebar, .blog-sidebar {
    position: static !important;
    max-width: 98vw;
    width: 100%;
    min-width: unset;
    margin-top: 22px;
    margin-bottom: 16px;
    border-radius: 16px;
    top: auto;
    align-self: stretch;
    padding: 10px 2vw 14px 2vw;
    font-size: 0.98rem;
  }
  .news-content {
    max-width: 99vw;
    padding: 20px 2vw;
  }
}

@media (max-width: 900px) {
  .blog-content {
    padding: 8px 1vw 8px 1vw;
  }
  .blog-section .section-title { font-size: 1.2rem; }
  .blog-entry { flex-direction: column; }
  .blog-entry img {
    width: 100%;
    height: 170px;
    min-width: unset;
    border-radius: 18px 18px 0 0;
  }
  .blog-text { padding: 14px 8px 10px 8px; }
}

@media (max-width: 700px) {
  .blog-content {
    padding: 3px 0.5vw 6px 0.5vw;
    gap: 0;
  }
  .sticky-sidebar, .blog-sidebar {
    max-width: 100vw;
    padding: 8px 1vw 8px 1vw;
    border-radius: 8px;
    font-size: 0.97rem;
  }
  .news-content {
    padding: 12px 1vw;
    border-radius: 12px;
  }
}

/* On phone, remove borders and radius, flatten everything */
@media (max-width: 480px) {
  .blog-content {
    padding: 0;
  }
  .sticky-sidebar, .blog-sidebar {
    max-width: 100vw;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    padding: 5px 0;
    margin-bottom: 12px;
  }
  .news-content {
    border-radius: 0;
    padding: 8px 0.5vw;
  }
}





/* --- BLOG ENTRY CARDS (keep as-is, used by both pages) --- */
.blog-entry {
  display: flex;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(30,60,130,0.13);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  align-items: stretch;
  border-left: 7px solid #117dd8;
  margin-bottom: 32px;
  position: relative;
}
.blog-entry.featured-blue { border-left: 7px solid #117dd8; }
.blog-entry.featured-green { border-left: 7px solid #17a06b; }
.blog-entry.featured-orange { border-left: 7px solid #fd9800; }
.blog-entry:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 36px rgba(17,160,107,0.17);
}
.blog-entry img {
  width: 210px;
  min-width: 170px;
  height: 100%;
  object-fit: cover;
  background: #d8e5ee;
  flex-shrink: 0;
  border-radius: 18px 0 0 18px;
}
.blog-text {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background-color: rgba(169, 253, 252, 0.792);
}
.blog-category {
  font-size: 0.96rem;
  color: #fff;
  background: #117dd8;
  border-radius: 16px;
  padding: 3px 15px;
  margin-bottom: 10px;
  display: inline-block;
  letter-spacing: 0.03em;
}
.blog-entry.featured-green .blog-category { background: #17a06b; }
.blog-entry.featured-orange .blog-category { background: #fd9800; }
.blog-text h3 {
  font-size: 1.35rem;
  color: #1559b3;
  font-weight: bold;
  margin-bottom: 10px;
}
.blog-text p {
  font-size: 1.05rem;
  color: #222f44;
  margin-bottom: 14px;
}
.btn-readmore {
  display: inline-block;
  background: #19bcb8;
  color: #fff;
  font-size: 1.08rem;
  font-weight: bold;
  border-radius: 6px;
  padding: 9px 22px;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 10px rgba(25,188,184,0.08);
}
.btn-readmore:hover {
  background: #117dd8;
  color: #fff;
}
@media (max-width: 1100px) {
  .blog-entry {
    flex-direction: column;
    min-width: 0;
    border-radius: 14px;
    margin-bottom: 22px;
  }
  .blog-entry img {
    width: 100%;
    min-width: 0;
    height: 170px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
  }
  .blog-text {
    padding: 16px 8px 10px 8px;
  }
}
@media (max-width: 600px) {
  .blog-entry {
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    margin-bottom: 14px;
  }
  .blog-entry img {
    border-radius: 0;
    height: 120px;
  }
  .blog-text {
    padding: 8px 4px;
  }
}






/* --- EXAM PREP SECTION --- */
.exam-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  margin-top: 80px;
  margin-bottom: 80px;
}
.exam-content {
  background: rgba(190, 189, 189, 0.90);
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  border-radius: 24px;
  padding: 38px 28px 32px 28px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 8px solid #17a06b;
}
.exam-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.exam-card {
  background: #d8e5ee;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(30,60,130,0.13);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  align-items: stretch;
  border-left: 7px solid #17a06b;
  margin-bottom: 32px;
  position: relative;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}
.exam-card.membrane { border-left-color: #117dd8; }
.exam-card.ozone    { border-left-color: #19bcb8; }
.exam-card.bac      { border-left-color: #17a06b; }
.exam-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 36px rgba(17,160,107,0.17);
}
.exam-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.exam-badge {
  display: inline-block;
  background: #ececec;
  color: #18806b;
  font-size: 0.93em;
  font-weight: bold;
  border-radius: 8px;
  padding: 3px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.exam-card h3 {
  font-size: 1.35rem;
  color: #1559b3;
  font-weight: bold;
  margin-bottom: 10px;
}
.exam-card p {
  font-size: 1.05rem;
  color: #222f44;
  margin-bottom: 14px;
}
.exam-card ol {
  padding-left: 18px;
  margin-bottom: 6px;
  list-style: none;        /* Remove default numbers if you want (optional) */
  padding-left: 0;
}
.exam-card li {
  font-size: 1.01rem;
  color: #1764e0;
  margin-bottom: 7px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Puts the link left, badge right */
  gap: 12px;
  font-size: 1.01rem;
}
.exam-card li a {
  flex-shrink: 0;
}
.exam-card a {
  color: #117dd8;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.18s;
}
.exam-card a:hover {
  color: #17a06b;
  text-decoration: underline;
}
.available-now {
  display: inline-block;
  background: #17a06b;
  color: #fff;
  border-radius: 22px;
  font-size: 0.95em;
  font-weight: bold;
  padding: 2px 10px 2px 10px;
  margin-left: 20px;
  margin-right: 100px;
  min-width: 110px;
  text-align: right;
  letter-spacing: 0.03em;
  vertical-align: middle;
  box-shadow: 0 1px 6px rgba(10,160,100,0.09);
  animation: blink 1.1s infinite;
  justify-self: flex-end;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.72; }
  100% { opacity: 1; }
}
@media (max-width: 900px) {
  .exam-content { max-width: 99vw; padding: 20px 2vw; }
  .exam-section .section-title { font-size: 1.3rem; }
  .exam-card { padding: 18px 10px 16px 10px; }
}



/* Styling for Blog Pages */
.section-panel {
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    box-shadow: 0 1px 7px rgba(30,60,130,0.07);
    border-left: 5px solid #117dd8;
    margin-bottom: 28px;
    padding: 22px 22px 18px 26px;
}

.section-panel h4 {
    margin-top: 0;
    color: #1764e0;
    font-size: 1.1rem;
    margin-bottom: 14px;
    font-weight: bold;
}

.info-box {
    background: #e9f7fb;
    border-left: 4px solid #17a06b;
    padding: 14px 16px;
    border-radius: 9px;
    margin: 14px 0 18px 0;
    color: #1559b3;
    font-size: 1.03rem;
}
.info-box.tip {
    background: #f5fbe9;
    border-left-color: #fd9800;
    color: #6e7a3a;
}
.image-grid {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.image-grid figure {
    margin: 0;
    text-align: center;
}
.image-grid img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 320px;    /* <-- keeps tall images from overflowing */
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}


/* --- ABOUT US SECTION --- */
.about-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: none;
  margin-top: 80px;
  margin-bottom: 80px;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}
.about-card {
  /*
   * Use a slightly translucent background on the About card so that
   * the underlying background.webp image subtly shows through. A lower
   * opacity keeps text readable while revealing texture from the page
   * background. Without transparency the cards looked like solid blocks
   * on mobile. See request to restore the background image behind the
   * cards for reference.
   */
  background: rgba(190, 189, 189, 0.90);
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  padding: 38px 28px 32px 28px;
  /* Limit the card width and add side margins so the page background
   * remains visible on smaller devices. When width is left to auto and
   * max‑width is set alone, the card expands to the full viewport width
   * on narrow screens, hiding the background image. A fixed margin
   * ensures a consistent gap on either side of the card.
   */
  width: 100%;
  max-width: 900px;
  margin: 0 20px;
  border-left: 8px solid #19bcb8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-title {
  font-size: 2rem;
  color: #1764e0;
  margin-bottom: 16px;
  font-weight: bold;
  letter-spacing: 1px;
}
.about-lead {
  font-size: 1.18rem;
  color: #118067;
  margin-bottom: 16px;
}
.about-card p {
  font-size: 1.05rem;
  color: #222f44;
  margin-bottom: 14px;
}
.about-values h3 {
  color: #17a06b;
  font-size: 1.28rem;
  font-weight: bold;
  margin-bottom: 12px;
}
.about-values ul {
  list-style: disc;
  margin-left: 24px;
  color: #1764e0;
  padding-left: 8px;
}
.about-values li {
  font-size: 1.04rem;
  color: #222f44;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .about-content {
    max-width: 99vw;
    padding: 0 2vw;
  }
  .about-card { padding: 18px 8px 16px 14px; }
  .about-title { font-size: 1.5rem; }
}
 


/* --- SERVICES (A.I.) --- */
#ai {
    padding: 100px 50px 0px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#services {
    margin-top: 300px;
    margin-bottom: 300px;
}
.services-title {
    font-size: 40px;
    margin-bottom: 60px;
    text-align: center;
    width: 100%;
}
.services-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 85%;
    margin: 0 auto;
}
.service-card {
    background: rgba(85, 85, 85, 0.8);
    outline: 3px solid #00f;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
}
.service-card h3 { font-size: 32px; margin-bottom: 10px; color: white; }
.service-card p { font-size: 20px; margin-bottom: 20px; color: white; }
.service-card .chatbot-container { margin-top: 50px; width: 100%; }
.service-card a {
    margin-top: auto;
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    transition: text-decoration 0.3s ease;
    font-size: 20px;
}
.service-card a:hover { text-decoration: underline; color: #00ff00; }




/* --- CONTACT US SECTION --- */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0 auto 80px auto;
  padding: 0;
  background: none;
}

.contact-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form {
  background: rgba(185, 184, 184, 0.96);
  box-shadow: 0 6px 24px rgba(30,60,130,0.10);
  border-radius: 24px;
  padding: 38px 28px 32px 28px;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  border-left: 8px solid #117dd8;  /* blue accent, you can change for green: #17a06b */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#contact .section-title {
  color: #1764e0;
  font-size: 2rem;
  background: none;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: none;
  padding: 0 0 24px 0;
  margin: 0 0 24px 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.contact-form .form-group {
  width: 100%;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-form label {
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: bold;
  color: #1559b3;
  letter-spacing: 0.02em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border: 1.5px solid #b2bbd7;
  border-radius: 7px;
  font-size: 1.1rem;
  margin-bottom: 2px;
  background: #fff;
  color: #222f44;
  box-shadow: 0 1px 4px rgba(30,60,130,0.04);
  transition: border 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #117dd8;
  outline: none;
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  display: inline-block;
  background: #007bff;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 7px;
  padding: 16px 0;
  width: 100%;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(0,123,255,0.09);
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button[type="submit"]:hover {
  background: #0056b3;
}

@media (max-width: 900px) {
  .contact-form {
    max-width: 99vw;
    padding: 18px 7vw 14px 7vw;
  }
  #contact .section-title { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 12px 2vw 8px 2vw;
    border-radius: 16px;
  }
}



/* --- Library SECTION --- */
.library-section-card {
    background: rgba(255,255,255,0.93);
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}
.library-section-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #dde6ef;
    padding-bottom: 0.2rem;
}
.library-doc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.library-doc-list li {
    margin: 0.35rem 0;
}
.library-doc-list a {
    color: #245fa6;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.library-doc-list a:hover {
    color: #1e386b;
}



/* --- FOOTER SECTION --- */
.site-footer {
  width: 100vw;
  min-width: 100vw;
  left: 0;
  margin: 0;
  padding: 0;
  background: #fff; /* Solid footer bar */
  box-shadow: 0 -2px 18px rgba(30,60,130,0.10);
  border-top: 6px solid #117dd8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  border-left: none;
}

.footer-main {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 2px;
}
.footer-logo {
  color: #1764e0;
  font-size: 1.45rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.footer-tagline {
  color: #17a06b;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.footer-links {
  margin: 0 0 5px 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #117dd8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.07rem;
  border-radius: 6px;
  padding: 3px 12px;
  transition: background 0.15s, color 0.15s;
}
.footer-links a:hover {
  background: #e9f7fb;
  color: #19bcb8;
}

.footer-copy {
  color: #222f44;
  font-size: 0.99rem;
  letter-spacing: 0.03em;
  opacity: 0.77;
}

/*
 * Image styling for the About section.
 * This class is applied to the decorative illustration at the top of
 * the About card. The image spans the full card width, maintains its
 * aspect ratio, and uses rounded top corners to align with the card’s
 * border radius. A bottom margin separates it from the card content.
 */
.about-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-bottom: 24px;
}

/*
 * AI Section Layout
 * The AI card uses a two‑column layout on larger screens: the left
 * column contains the title, description, and call‑to‑action link,
 * while the right column holds a decorative illustration and the
 * chatbox. On narrow viewports the columns stack vertically. The
 * margins and semi‑transparent background come from the .ai-content
 * rule defined earlier.
 */
.ai-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ai-left {
  flex: 1 1 50%;
  min-width: 260px;
}
.ai-right {
  flex: 1 1 40%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ai-illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.ai-link {
  display: inline-block;
  margin-top: 24px;
  color: #1764e0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.ai-link:hover {
  color: #119490;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .ai-content {
    flex-direction: column;
    gap: 24px;
  }
  .ai-left, .ai-right {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .ai-illustration {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .footer-content {
    max-width: 95vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  .footer-content {
    max-width: 99vw;
    border-radius: 14px 14px 0 0;
    padding: 14px 2vw 10px 2vw;
  }
}


/* ICON Styling  */
.icon-heading-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 5px;
    /* Optional: for slight separation from above */
}

.icon-heading-row strong {
    font-size: 1.08em;
}

.nano-icon-svg {
    display: flex;
    align-items: center;
    margin-left: 2px;
}


/* FACT BOX Styling */
.fact-box {
    background: #d6ecfa; /* Deeper, more saturated blue */
    border-left: 7px solid #117dd8;
    border-radius: 16px;
    padding: 22px 30px 20px 24px;
    margin: 34px 0 38px 0;
    color: #135db2;
    font-size: 1.15em;
    font-weight: 600;
    box-shadow: 0 6px 32px rgba(20,100,220,0.13), 0 1.5px 8px rgba(17,125,216,0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: box-shadow 0.2s;
}

.fact-box:hover {
    box-shadow: 0 10px 40px rgba(20,100,220,0.18), 0 3px 14px rgba(17,125,216,0.12);
}

.fact-box strong {
    font-size: 1.12em;
    color: #14b4a3;
    letter-spacing: 0.03em;
    margin-right: 13px;
    font-weight: bold;
}

.fact-box:before {
    content: "💧";
    font-size: 2.0em;
    margin-right: 16px;
    opacity: 0.7;
    filter: drop-shadow(0 1px 2px #117dd8aa);
    flex-shrink: 0;
    margin-top: -3px;
}

@media (max-width: 700px) {
    .fact-box {
        padding: 13px 10px 12px 10px;
        font-size: 1em;
    }
    .fact-box:before {
        font-size: 1.3em;
        margin-right: 8px;
    }
}

/* TAKEAWAY BOX Styling */
.takeaway-box {
    background: #fff3c6;
    border-left: 7px solid #f5b800;
    border-radius: 16px;
    padding: 18px 28px 16px 20px;
    margin: 34px 0 34px 0;
    color: #94700c;
    font-size: 1.13em;
    font-weight: 600;
    box-shadow: 0 6px 32px rgba(245,184,0,0.11);
    display: flex;
    align-items: center;
    gap: 18px;
}
.takeaway-box:before {
    content: "🌟";
    font-size: 1.7em;
    margin-right: 14px;
    opacity: 0.6;
}



.section-panel.aop-flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 36px;
}

.section-panel.aop-flex-row .panel-text {
    flex: 2 1 320px;
    min-width: 210px;
    max-width: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-panel.aop-flex-row .panel-image {
    flex: 1 1 280px;
    min-width: 160px;
    max-width: 390px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.section-panel.aop-flex-row .panel-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: block;
}
@media (max-width: 950px) {
    .section-panel.aop-flex-row {
        flex-direction: column;
        gap: 18px;
    }
    .section-panel.aop-flex-row .panel-image,
    .section-panel.aop-flex-row .panel-text {
        max-width: 100%;
        min-width: 0;
    }
    .section-panel.aop-flex-row .panel-image img {
        max-width: 98vw;
    }
}
