*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    background-image: url("../assets/about-us-background.jpg");
    width: 100%;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

h1{
    text-align: center;
    font-size: 48px;
    margin-bottom: 30px;
    color: #1e3a8a;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(30, 58, 138, 0.1);
    letter-spacing: -0.5px;
}

.logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.logo img{
    width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.para{
    transition: all 0.3s ease;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.para:hover {
  transform: translateY(-8px); /* subtle lift on hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); /* stronger shadow */
  transition: all 0.3s ease;
  cursor: pointer;
}

.para p{
    font-size: 20px;
    line-height: 1.8;
    text-align: justify;
    color: #1e40af;
    font-weight: 400;
    margin-bottom: 20px;
    text-indent: 2em;
    hyphens: auto;
}

.para p:last-child {
    margin-bottom: 0;
}

.para p:first-letter {
    font-size: 1.3em;
    font-weight: 600;
    color: #1e3a8a;
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid #1e3a8a;
    border-radius: 50px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.back-btn:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.back-btn::before {
    content: "←";
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.back-btn:hover::before {
    transform: translateX(-3px);
}

.about-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
    margin-bottom: 16px;
}

.about-btn:hover, .about-btn:focus {
    background: #2746b0;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.18);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px){
    .para{
        max-width: 800px;
        padding: 35px;
    }
    
    .para p{
        font-size: 18px;
        line-height: 1.7;
    }
    
    h1 {
        font-size: 42px;
    }
    
    .logo img{
        width: 320px;
    }
}

@media (max-width: 768px){
    body {
        padding: 30px 15px;
    }
    
    .back-to-home {
        top: 20px;
        left: 20px;
    }
    
    .back-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .para{
        max-width: 95%;
        padding: 30px 25px;
    }
    
    .para p{
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
        text-indent: 1.5em;
    }
    
    h1 {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .logo img{
        width: 280px;
    }
    
    .logo {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px){
    body {
        padding: 20px 10px;
    }
    
    .back-to-home {
        top: 15px;
        left: 15px;
    }
    
    .back-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .para{
        padding: 25px 20px;
    }
    
    .para p{
        font-size: 14px;
        line-height: 1.5;
        text-indent: 1em;
    }
    
    h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .logo img{
        width: 240px;
    }
    
    .logo {
        margin-bottom: 25px;
    }
}

@media (max-width: 360px){
    .para p{
        font-size: 13px;
        text-indent: 0.8em;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .logo img{
        width: 200px;
    }
    
    .para{
        padding: 20px 15px;
    }
}

/*about us main text paragraphs */
.about-enhanced {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-enhanced h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #555;
}

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

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== testimonials ====== */
.testimonials {
  background: whitesmoke;
  color: black;
  padding: clamp(2.5rem, 4vw + 1rem, 5rem) 1.25rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  text-align: center;
  margin: 0;
}
.section-subtitle {
  text-align: center;
  color: #a7b1c2;
  margin: .75rem auto 1.25rem;
  max-width: 42rem;
}

/* Controls */
.ts-controls {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .5rem;
}
.ts-btn {
  background: transparent;
  border: 1px solid black;
  color: black;
  padding: .5rem .7rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ts-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(108,140,255,.35); }
.ts-btn:focus-visible { outline: 3px solid rgba(108,140,255,.35); }

/* Slider */
.ts-viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
}
.ts-track {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.ts-track::-webkit-scrollbar { height: 8px; }
.ts-track::-webkit-scrollbar-thumb { background: black; border-radius: 999px; }
.ts-slide {
  flex: 0 0 84%;
  max-width: 84%;
  scroll-snap-align: start;
  list-style: none;
}
@media (min-width: 640px) {
  .ts-slide { flex-basis: 48%; max-width: 48%; }
}
@media (min-width: 1024px) {
  .ts-slide { flex-basis: 32%; max-width: 32%; }
}

/* Card */
.ts-card {
  background: whitesmoke;
  border: 1px solid black;
  border-radius: 16px;
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  min-height: 160px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ts-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(12,18,40,.55);
}
.ts-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.ts-card figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: black;
}
.ts-card figcaption img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid black;
}

/* Dots */
.ts-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .8rem;
}
.ts-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: 0;
  background: black;
  opacity: .3;
  cursor: pointer;
}
.ts-dots button[aria-selected="true"] { background: black; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .ts-track { scroll-behavior: auto; }
  .ts-card { transition: none; }
}



/*back to top button */
/* Back to Top Button Styles */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  background-color: #2746b0;
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Show button when visible */
#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/* Hover Animation */
#backToTopBtn:hover {
  animation: bounce 0.6s;
  background-color: #1e3a8a;
}

/* Bounce Animation Keyframes */
@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  60%  { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 600px) {
  #backToTopBtn {
    bottom: 20px;
    right: 15px;
    padding: 12px 16px;
    font-size: 18px;
  }
}
