html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px; /* sesuaikan dengan tinggi navbar kamu */
}

.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}


body {
    background-image:url('../../frontend/upload/background/section.jpg');
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    width:100%;
    background-size:cover;
}
header h1 {
    font-size: 2.5rem;
}
h2 {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}

hr {
    width: 10%;
}

footer {
    padding: 1.5rem 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
}
.card {
    border-radius: 1rem;
}
.btn-primary {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

.banner {
    background-image:url('../../frontend/upload/background/banner.png');
    width:100%;
    height:100vh;
    background-size:cover;
}


@media (max-width: 576px) {
    .banner {
        background: url('../../frontend/upload/background/banner-phone1.jpg');
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center; /* fokus gambar tetap di tengah */
        background-repeat: no-repeat; /* biar tidak diulang */
    }
}


.custom-hr {
    border: none;
    border-top: 3px solid #fff; /* lebih tebal */
    width: 80px;
    margin: 10px 0;
}
.custom-hr-black {
    border: none;
    border-top: 3px solid #000; /* lebih tebal */
    width: 80px;
    margin: 10px 0;
}

/* Responsif: center hr di HP */
@media (max-width: 767.98px) {
    .custom-hr {
        margin-left: auto;
        margin-right: auto;
    }
    .custom-hr-black {
        margin-left: auto;
        margin-right: auto;
    }

}

.about-me {
    background-image:url('../../frontend/upload/background/aboutme.png');
    width:100%;
    background-size:cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-me h2 {
    font-weight: bold;
}


.about-me p {
    text-align: justify;
}

/*======== Private Lesson ========*/
.lesson-card {
    border-radius: 20px;
    background: #2897A9; /* warna background biru */
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.lesson-number {
    background: #485160;
    color: #fff;
    font-weight: bold;
    font-size: 34px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.lesson-item p {
    margin-bottom: 0;
    color: #f0f0f0;
    font-size: 15px;
    text-align: justify;
}

.lesson-item h3 {
    color: #000;
    font-weight: bold;
}

.lesson-item h5 {
    color: #fff;
}
/*======== End of Private Lesson ========*/

/*======== Learning Materials Subscription ========*/
#materials {
    background: linear-gradient(to right, #dff6f8, #bfe3e9); /* gradasi biru soft */
}

.feature-card {
    background: #34454e; /* warna card abu-biru gelap */
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    padding-top: 3rem !important; /* kasih ruang buat icon */
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    background: #3bb0c5;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px; /* keluar setengah */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/*======== End of Learning Materials Subscription ========*/

/*======== Private Lesson Price ========*/
.price-card {
    background: linear-gradient(135deg, #2d3f46, #445e68);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.price-card:hover {
  background: #2d3f46; /* berubah jadi full solid */
}

.icon-square {
    background: #3bb0c5;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-price {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.desc {
    font-size: 0.95rem;
}
/*======== End of Private Lesson Price ========*/

/*======== Student Review ========*/
.underline {
    width: 80px;
    height: 3px;
    background: #34454e;
    margin: 10px auto 0;
    border: none;
}

.review-card {
    background-image: url(../../frontend/upload/background/review.png);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.review-card p {
    position: relative;
    z-index: 1;
    color: #333;
    font-style: italic;
}

.review-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3bb0c5;
}

.stars {
    color: #3bb0c5;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
/*======== End of Student Review ========*/

/*======== CTA ========*/
.hero-section {
    position: relative;
    background: url('../../frontend/upload/background/cta2.jpeg') center top/cover no-repeat;
    min-height: 80vh;
    display: flex;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(44, 59, 55, 0.8);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.btn-cta {
    background: linear-gradient(90deg, #00a8e8, #00d4a8);
    color: #fff;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    width: fit-content;
}

.btn-cta:hover {
    background: #028090;
}
/*======== End of CTA ========*/

/*======== Contact Form ========*/
.custom-input {
    border: none;
    border-bottom: 1px solid #2897A9;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font-family: "Lato", sans-serif;
}

.custom-input::placeholder {
    font-family: 'Lato', sans-serif;
}

.custom-input:focus {
    background-color: #e6f3ff;
    outline: none;
    border-color: #00c6a7;
    box-shadow: 0 0 5px rgba(0, 168, 232, 0.5);
    font-family: 'Lato', sans-serif;
}

.btn-submit {
    background: linear-gradient(90deg, #005c97, #00c6a7);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px;
    border: none;
}

.btn-submit:hover {
    opacity: 0.9;
}

.contact-form h2 {
    font-size: 32px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
}

.contact-form blockquote {
    font-size: 20px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    color: #35273C;
}

.contact-form h5 {
    font-size: 20px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
}

.contact-form small {
    font-size: 15px;
    font-family: "Lato", sans-serif;
    color: #A8A8A8;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(90deg, #2897A9, #485160); /* gradient biru → hijau */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-icon img {
    width: 30px;
    height: auto;
}

.social-icon:hover {
    transform: scale(1.1); /* efek hover zoom */
}

@media (max-width: 576px) {
    .social-icon {
        transform: scale(0.85);
    }
}
/*======== End of Contact Form ========*/

/*======== Footer ========*/
footer {
    background: linear-gradient(90deg, #323F44, #2897A9);
    color: #fff;
}

footer span {
    font-weight: bold;
}
/*======== End of Footer ========*/
