/* Reset some default */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafc;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #1e88e5;
}

header {
    background-color: #1565c0;
    color: white;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .logo img {
    height: 50px;
    width: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid white;
}

header h1 {
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

nav a {
    color: white;
    font-weight: 500;
    margin-left: 2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
    color: #90caf9;
    outline: none;
}

main {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 2rem;
    color: #1565c0;
    margin-bottom: 1rem;
    border-bottom: 3px solid #90caf9;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.about p {
    font-size: 1.1rem;
    max-width: 720px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(21, 101, 192, 0.15);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
}

.service-item h3 {
    color: #1565c0;
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

.contact-info {
    background: #e3f2fd;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
}

.contact-info h3 {
    margin-top: 0;
    color: #1565c0;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #bbb;
    resize: vertical;
}

textarea {
    min-height: 120px;
}

input[type="submit"] {
    cursor: pointer;
    background-color: #1565c0;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    width: fit-content;
}

input[type="submit"]:hover {
    background-color: #0d47a1;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(21, 101, 192, 0.15);
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.team-member:hover {
    box-shadow: 0 10px 25px rgba(21, 101, 192, 0.3);
}

.member-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1565c0;
    margin-bottom: 1rem;
}

.member-name {
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.member-position {
    font-weight: 500;
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.6rem;
}

.member-bio {
    font-size: 0.95rem;
    color: #666;
}

/* Testimonials */
.testimonials-carousel {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 2rem 2rem 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 6px 15px rgba(21, 101, 192, 0.1);
}

.testimonial-item {
    display: none;
    text-align: center;
    font-style: italic;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.5;
    min-height: 120px;
    padding: 0 1rem;
}

.testimonial-item.active {
    display: block;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: #1565c0;
    font-size: 1rem;
}

.testimonial-controls {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-btn {
    background-color: #1565c0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.testimonial-btn:hover {
    background-color: #0d47a1;
}

footer {
    background-color: #1565c0;
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

footer a {
    color: #90caf9;
    margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}


.book {
  position: relative;
  border-radius: 10px;
  width: 220px;
  height: 300px;
  background-color: #1565c0;
  -webkit-box-shadow: 1px 1px 12px #000;
  box-shadow: 1px 1px 12px #000;
  -webkit-transform: preserve-3d;
  -ms-transform: preserve-3d;
  transform: preserve-3d;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #000;
}

.cover {
  top: 0;
  position: absolute;
  background-color: #1565c0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform-origin: 0;
  -ms-transform-origin: 0;
  transform-origin: 0;
  -webkit-box-shadow: 1px 1px 12px #000;
  box-shadow: 1px 1px 12px #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.book:hover .cover {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: rotatey(-80deg);
  -ms-transform: rotatey(-80deg);
  transform: rotatey(-80deg);
}

p {
  font-size: 20px;
  font-weight: bolder;
}

.imgHover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.gambar{
    display: flex;
    justify-content:center ;
    align-items: center;
    gap: 40px;
}

.services-scroll-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 20px;
    }

    .scroll-container {
      display: flex;
      overflow-x: auto;
      scroll-behavior: smooth;
      gap: 16px;
      padding: 10px 0;
    }

    .scroll-container::-webkit-scrollbar {
      display: none;
    }

    .service-item {
      min-width: 250px;
      flex: 0 0 auto;
      background: #fff;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .scroll-left,
    .scroll-right {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 10px;
      font-size: 24px;
      cursor: pointer;
      border-radius: 50%;
      transition: background-color 0.3s;
    }

    .scroll-left:hover,
    .scroll-right:hover {
      background-color: #0056b3;
    }
