body {

    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin: 0;
}

.background-image-container {
    width: 100vw;
    height: 95vh;      /* Increased height for desktop */
    min-height: 600px; /* Optional: ensures enough space for text */
    overflow: hidden;
    position: relative;
}

.background-image {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100vw;
    filter: brightness(80%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 8vw;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    z-index: 2;
    max-width: 600px;
    box-sizing: border-box;
}

.image-overlay h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.image-overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.image-overlay button {
    margin: 0 16px 0 0;
    padding: 12px 32px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background: #2a2a6c;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    margin-bottom: 1rem;
}

.image-overlay button:hover {
    background: #3b3bbf;
    transition-duration: 0.3s;
}

.image-overlay button:last-child {
    margin-right: 0;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 1rem;
}


@media screen and (max-width: 768px) {
    .background-image-container {
        height: 60vh;      /* Increased height for mobile */
        min-height: 320px;
    }
    .background-image {
        width: 100vw;
        height: 100%;
        object-fit: cover;
    }
    .image-overlay {
        align-items: center;
        justify-content: center;
        padding-left: 0;
        max-width: 100vw;
        text-align: center;
    }
    .image-overlay h1 {
        font-size: 2rem;
    }
    .image-overlay p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .button-group {
        flex-direction: row;   /* side by side */
        gap: 12px;
        align-items: center;
        justify-content: center; /* center horizontally */
        width: 100%;
    }
    .image-overlay button {
        width: auto;           /* let buttons size naturally */
        max-width: none;
        margin-bottom: 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    80% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-overlay p {
    animation: slideLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.7s both;
}

/* Apply animation to heading */
.image-overlay h1 {
    animation: slideUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

/* Apply animation to buttons */
.button-group button {
    opacity: 0;
    animation: popIn 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Stagger the buttons */
.button-group button:nth-child(1) {
    animation-delay: 0.6s;
}
.button-group button:nth-child(2) {
    animation-delay: 0.8s;
}

.header {
    background-color: white;
    padding: 10px 0 20px 0;
}

/* Desktop Navbar */
#navbar {
    position: sticky;
    top: 0;
    width: 60%;
    padding-left: 3%;
    display: flex;
    align-items:center;
    justify-content: space-between;
    height: 50px;
}

#navbar img {
    width: 40%;
    height: auto;
}

/* Links container for desktop */
.nav-links {
    display:flex;
    gap: 20%;
    padding-left: 5%;
}

#navbar a {
    font-size: 17px;
    font-weight: 600;
    color: #020110;
    text-align: center;
    padding: 14px 0;
    text-decoration: none;
}

#navbar a:hover {
    color: rgb(39, 39, 136);
    transition-duration: 0.5s;
}

.homePhoto {
    max-width: 1600px;
    min-width: 300px;
}

/* Mobile responsive (<768px) */
@media screen and (max-width: 768px) {
    #active {
    background-color: rgb(150, 150, 255);
    padding: 0 20px 0 20px;
    border-radius: 7px;
}
    .header {
        padding: 10px 0 0 0;

    }
    #navbar {
        width: 95%;
        flex-direction: column; /* stack logo on top */
        align-items: center;
        height: auto;
        padding: 10px 0;
    }

    #navbar a {
        font-size: 80%;
    }

    #navbar img {
        margin-bottom: 10px;
        width: 80%;
        height: auto;
    }

    /* Make links horizontal and evenly spaced */
    .nav-links {
        width: 100%;              /* full width */
        display: flex;
        justify-content: space-between; /* evenly distribute */
        flex-wrap: nowrap;
        gap: 0px;
    }

    .nav-links a {
        flex: 1;                  /* equal width */
        text-align: center;        /* center text in each link */
        padding: 10px 0;
    }
}

.why-us-section {
    background: #fff;
    color: #333;
    padding: 60px 5vw 40px 5vw;
    text-align: center;
}

.why-us-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.why-us-section p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns, equal width */
    gap: 40px;
    max-width: 1100px;    /* Controls total row width */
    margin: 0 auto;       /* Center the grid container */
    padding: 0 2vw;
    width: 100%;
    color: #fff;
}

.pillars img {
    width: 60px;
    margin: 10px;
    background-color: white;
    padding: 2px;
    display: block;
    border-radius: 100%;
}

.pillar {
    background: #23235a;
    border-radius: 12px;
    padding: 10px 15px;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    margin: 0; /* Remove vertical margin for tight fit */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; /* Center content inside each pillar */
}

.pillar h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pillar p {
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 900px) {
    .pillars {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100vw;
        padding: 0;
    }
    .pillar {
        max-width: 90vw;
    }
}

.services-section {
    background: #f7f7fa;
    color: #23235a;
    padding: 60px 5vw 40px 5vw;
    text-align: center;
}

.services-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: #23235a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2vw;
    width: 100%;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 18px;
    box-shadow: 0 4px 24px rgba(35,35,90,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #23235a;
    transition: box-shadow 0.2s;
    opacity: 0;
    visibility: hidden;
}

.service-card.animate {
    visibility: visible;
    animation-name: serviceSlideIn;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
}

.service-img {
    width: 100%;
    object-fit: contain;    /* or use 'cover' for cropping */
    margin-bottom: 18px;
    border-radius: 8px;     /* optional */
    background: #eaeaf6;    /* optional for contrast */
    display: block;
    box-shadow: 0 2px 8px rgba(35,35,90,0.08);
    filter: brightness(90%);
}

/* Responsive for mobile */
@media screen and (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column per row */
        gap: 24px;
        max-width: 100vw;
        padding: 0;
    }
    .service-card {
        max-width: 90vw;
        margin: 0 auto;
    }
}

@keyframes serviceSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    70% {
        opacity: 1;
        transform: translateX(8px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card.animate {
    animation-name: serviceSlideIn;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
}

.footer {
    background: #23235a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    margin-top: 0px;
}

.footer-content {
    display: flex;
    flex-direction: row;         /* Side by side on desktop */
    align-items: center;
    justify-content: center;
    gap: 20px
}

.footer-logo {
    margin-left: 10px;
    height: auto;           /* Let height adjust naturally */
    object-fit: contain;    /* Prevent cropping */
    background-color: white;
    padding: 10px;
    border-radius: 12px;
    display: block;
    max-width: 30vw;        /* Prevent it from being too large on big screens */
}

.footer p {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    line-height: 2;         
    max-width: 800px;       
    word-break: break-word; 
}
/* Mobile: stack image above text */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 0px;
    }
    .footer-logo {
        width: 200%;
        height: auto;
        margin-left: 0px;

    }
    .footer p {
        margin-top: 10px;
        font-size: 12px;
        padding: 0 10px 0 10px;
    }
}

.contact {
--color-background: #cbd5e1;
  --color-background-alt: #8ec6ff;
  --color-border-active: #516ece;
  --color-border-default: #94a3b8;
  --color-highlight: #8ec6ff;
  --color-primary: #5572c2;
  --color-primary-active: #19388f;
  --color-text-default: #0f172a;
  --color-text-muted: #475569;
}

.contact-box {
    width: 60%;
    margin: auto;
    margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
    .contact-box{ 
        width: 90%;
    }
}

*,
::before,
::after {
  box-sizing: border-box;
}

* {
  border: 0;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  font-style: normal;
}

[type="checkbox"],
[type="radio"],
[type="range"] {
  appearance: none;
  flex-shrink: 0;
  padding: 0;
  user-select: none;
}

[type="checkbox"]:focus,
[type="radio"]:focus,
[type="range"]:focus {
  outline: none;
}

/** Components **/

.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

fieldset {
  display: grid;
  margin: 1.5rem 0;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.fs-fieldset-title {
  color: var(--color-text-default);
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.375rem;
}

.fs-label {
  color: var(--color-text-default);
  display: block;
  font-family: var(--font-family-display);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.fs-description {
  color: var(--color-text-muted);
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}

.fs-button {
  background-color: var(--color-primary);
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1rem;
  padding: 1rem 2rem;
  transition-duration: 200ms;
  transition-property: background-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-button:hover {
  background-color: var(--color-primary-active);
}

.fs-button:focus-visible {
  background-color: var(--color-primary-active);
  outline: 3px solid var(--color-highlight);
}

.fs-input,
.fs-select {
  appearance: none;
  border-radius: 0.375rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  height: 2.5rem;
  line-height: 1.5rem;
  outline: none;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.fs-input:focus-visible,
.fs-select:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-input::placeholder {
  color: var(--color-text-muted);
}

.fs-checkbox-group,
.fs-radio-group {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.fs-checkbox-field,
.fs-radio-field {
  column-gap: 0.5rem;
  display: flex;
}

:is(.fs-checkbox-field, .fs-radio-field) .fs-label + .fs-description {
  margin-top: 0.125rem;
}

.fs-checkbox-wrapper,
.fs-radio-wrapper {
  align-items: center;
  display: flex;
  height: 1.25rem;
}

.fs-checkbox,
.fs-radio {
  background-color: #fff;
  border: 1px solid var(--color-text-default);
  height: 1rem;
  width: 1rem;
}

.fs-checkbox {
  border-radius: 0.25rem;
}

.fs-radio {
  border-radius: 100%;
}

.fs-checkbox:checked,
.fs-radio:checked {
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: transparent;
}

.fs-checkbox:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.fs-radio:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

.fs-checkbox:focus-visible,
.fs-radio:focus-visible {
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-select {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.fs-slider {
  background: transparent;
  cursor: pointer;
  height: 1.25rem;
  width: 100%;
}

.fs-slider::-moz-range-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-webkit-slider-runnable-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-moz-range-thumb {
  background-color: var(--color-primary);
  border: none; /* Removes extra border that FF applies */
  border-radius: 50%;
  height: 1.25rem;
  width: 1.25rem;
}

.fs-slider::-webkit-slider-thumb {
  appearance: none;
  background-color: var(--color-primary);
  border-radius: 50%;
  height: 1.25rem;
  margin-top: -0.375rem; /* Centers thumb on the track */
  width: 1.25rem;
}

.fs-slider:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-slider:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-switch {
  background-color: var(--color-background-alt);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: 1.5rem;
  cursor: pointer;
  height: 1.5rem;
  transition-duration: 200ms;
  transition-property: background-color, background-position;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 2.75rem;
}

.fs-switch:checked {
  background-color: var(--color-primary);
  background-position: right center;
}

.fs-switch:focus-visible {
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea {
  appearance: none;
  border-radius: 0.375rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.5rem;
  outline: none;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

/** Utilities **/

.col-span-full {
  grid-column: 1 / -1;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}

.genInfo {
    padding: 20px 40px 20px 40px;
    width: 40%;
    color: black;
    margin: 50px auto 50px auto;
    text-align: center;
    line-height: 1.5;
    background-color: #eee7fe;
    border-radius: 12px
}

@media screen and (max-width: 768px) {
    .genInfo {
        width: 70%;
        padding: 15px 20px 15px 20px;
    }
}

.genInfo h1 {
    font-size: 30px;
    margin-bottom: 0px;
}

.genInfo a {
    color: black;
    text-decoration: underline;
}

.genInfo-gap {
    margin: 15px 0px 15px 0px;
}

.genInfo p {
    font-size: 16px;}

.genInfo h3 {
    font-size: 20px;
    margin-top: 20px;
}

/* Define a custom CSS property '--num' that can be animated as an integer */
@property --num {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}

/* Base style for number animation elements */
/* Initializes --num to 0 and resets the CSS counter 'num' to that value */
.number-animation {
font-weight: bold;
font-size: 50px;
  --num: 0;
  counter-reset: num var(--num);
}

/* Use the ::after pseudo-element to display the current value of the counter */
.number-animation::after {
  /* show the animated counter value and append a plus sign */
  content: counter(num) "+";
}

/* Keyframe animations to animate --num from 0 up to the target number */
/* Example animation from 0 to 50 */
@keyframes counter--100 {
  from {
    --num: 0;
  }
  to {
    --num: 100;
  }
}

.animate--100 {
  animation: counter--100 7s ease forwards;
}

@keyframes counter--50 {
  from {
    --num: 0;
  }
  to {
    --num: 50;
  }
}

.animate--50 {
  animation: counter--50 5s ease forwards;
}

@keyframes counter--20 {
  from {
    --num: 0;
  }
  to {
    --num: 20;
  }
}

.animate--20 {
  animation: counter--20 4s ease forwards;
}

/* stats overlay pinned to the right side of the hero */
.stats-overlay {
  position: absolute;
  right: 3.5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  pointer-events: auto;
  display: block;
}

/* lightly contrasted container for readability */
.stats-on-hero {
  background: #0a04476f;
  padding: 12px 14px;
  border-radius: 10px;
  box-sizing: border-box;
  color: #fff;
  min-width: 120px;
}

/* STACK vertically (one above the other) */
.stats-row {
  display: flex;
  flex-direction: column;   /* stack each metric */
  gap: 12px;
  align-items: flex-end;    /* align numbers to the right edge visually */
}

/* individual stat */
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;    /* number above, label below, right-aligned */
}

/* number styling (use your number-animation or JS count-up) */
.number-animation {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

/* label under each stat */
.stats-label {
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* Responsive: hide stats overlay on small screens */
@media screen and (max-width: 900px) {
  .stats-overlay {
    display: none;
  }
}

.about-metrics {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 50px;
  flex-wrap: nowrap; /* keep them side-by-side on desktop */
}

#metricValues {
    color:black; 
    }

/* each stat: number on top, label below */
.about-metrics .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;    /* evenly distribute, but shrink if needed */
  min-width: 0;
}

.about-metrics .stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #23235a;
}

/* when .about-metrics is used inside .stats-overlay, keep it narrow */
.stats-overlay .about-metrics {
  gap: 12px;
  padding: 8px;
}

/* responsive: stack vertically on small screens */
@media screen and (max-width: 720px) {
  .about-metrics { flex-direction: column; gap: 16px; padding: 50px 0 50px 0; }
  .about-metrics .stat { width: 100%; }
  #metricValues {
    font-size: 50px;
  }
}

.about-info {
    color: black;
    font-weight: normal;
    width: 80%;
    margin: auto;
    display: flex;              /* arrange .box-right blocks vertically by default */
    flex-direction: column;
    gap: 40px;
}

.box-right {
    display: flex;              /* put image and text side-by-side */
    flex-direction: row;
    align-items: flex-start;    /* <-- changed: push text to the top of the image */
    gap: 24px;
    margin-bottom: 30px;
}

/* ensure text doesn't get vertically centered by margins */
.box-right h1,
.box-right p {
    margin-top: 0;
}

/* keep image from shifting layout */
.box-right img {
    width: 45%;
    max-width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    flex: 0 0 45%;
    margin: 0;
}

/* text area next to the image */
.box-right h1 {
    font-size: 30px;
    margin: 0 0 10px 0;
}

.box-right p {
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
    color: #000;
    flex: 1 1 55%;
    width: 55%;
    text-align: justify;

}

/* Mobile: stack image above text */
@media screen and (max-width: 720px) {
    .about-info {
        width: 90%;
        gap: 20px;
    }
    .box-right {
        flex-direction: column; /* image on top, text below */
        align-items: stretch;
    }
    .box-right img,
    .box-right p,
    .box-right h1 {
        width: 100%;
        max-width: 100%;
    }
    .box-right p { 
        margin-top: 12px; 
        font-size: 15px;
    }
}

/* add these styles (append near other component styles) */

.accordion {
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
  color: black;
}

.accordion-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* summary (click target) */
.accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* remove default marker in some browsers */
.accordion-summary::-webkit-details-marker { display: none; }

/* add a chevron (pure CSS) */
.accordion-summary::after {
  content: "▸";
  transform-origin: center;
  transition: transform 200ms ease;
  color: #2a2a6c;
  font-size: 1.1rem;
}
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 300ms ease;
  padding: 0 20px;
  box-sizing: border-box;
  will-change: max-height;
}

/* opened state */
.accordion-item[open] .accordion-panel {
  max-height: 1200px; /* increase if your content is taller */
  padding-top: 12px;
  padding-bottom: 18px;
}

/* keep chevron rotation as before */
.accordion-item[open] > .accordion-summary::after {
  transform: rotate(90deg);
}

/* Responsive: reduce padding on small screens */
@media screen and (max-width: 520px) {
  .accordion-summary { padding: 14px 16px; font-size: 1rem; }
  .accordion-panel { padding: 0 16px 14px; font-size: 0.95rem; }
}

.service-intro {
  color: black;
  font-size: 12px;
  width: 80%;
  text-align: center;
  margin: 40px auto 40px auto;
  line-height: 1.5;
}