/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
    /**
   * colors
   */

    --safety-orange: hsl(25, 100%, 50%);
    --lavender-gray: hsl(230, 19%, 81%);
    --persian-rose: hsl(328, 100%, 59%);
    --red-crayola: #fd3116;
    --eerie-black: hsl(240, 6%, 10%);
    --light-gray: hsl(0, 0%, 80%);
    --cultured-2: hsl(210, 60%, 98%);
    --platinum: hsl(0, 0%, 90%);
    --gray-web: hwb(220 47% 49%);
    --cultured: hsl(0, 0%, 93%);
    --black_10: hsla(0, 0%, 0%, 0.1);
    --black_5: hsla(0, 0%, 0%, 0.05);
    --white-1: hsl(0, 0%, 100%);
    --white-2: hsl(0, 14%, 98%);
    --black: hsl(0, 0%, 0%);

    /**
   * gradient color
   */

    --gradient: linear-gradient(to left top, var(--safety-orange), var(--red-crayola));

    /**
   * typography
   */

    --ff-roboto: "Poppins", sans-serif;
    --ff-league-spartan: "poppins", sans-serif;

    --fs-1: 3.5rem;
    --fs-2: 3rem;
    --fs-3: 2.1rem;
    --fs-4: 1.7rem;
    --fs-5: 1.4rem;
    --fs-6: 1.3rem;

    --fw-700: 700;
    --fw-500: 500;

    /**
   * spacing
   */

    --section-padding: 60px;

    /**
   * shadow
   */

    --shadow-1: 0 6px 24px var(--black_5);
    --shadow-2: 0 2px 28px var(--black_10);

    /**
   * border radius
   */

    --radius-2: 2px;
    --radius-5: 5px;
    --radius-8: 8px;

    /**
   * transition
   */

    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;
    --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a,
img,
span,
time,
label,
input,
button,
textarea,
ion-icon {
    display: block;
}

img {
    height: auto;
}

input,
button,
textarea {
    background: none;
    border: none;
    font: inherit;
}

input,
textarea {
    width: 100%;
}

button {
    cursor: pointer;
}

ion-icon {
    pointer-events: none;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-roboto);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white-1);
    color: var(--gray-web);
    font-size: 1.6rem;
    line-height: 1.8;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}

:focus-visible {
    outline-offset: 4px;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
    padding-inline: 15px;
}

.btn {
    max-width: max-content;
    color: var(--white-1);
    font-size: var(--fs-6);
    font-weight: var(--fw-700);
    padding: 10px 30px;
    border-radius: var(--radius-5);
    transition: var(--transition-1);
}

.btn-primary {
    background-image: var(--gradient);
    background-size: 1000%;
}

.btn-primary:is(:hover, :focus) {
    background-position: bottom right;
}

.btn-secondary {
    background-color: var(--white-1);
    color: var(--eerie-black);
}

.btn-secondary:is(:hover, :focus) {
    background-color: var(--eerie-black);
    color: var(--white-1);
}

.section {
    padding-block: var(--section-padding);
}

.h1,
.h2,
.h3 {
    color: var(--eerie-black);
    font-family: var(--ff-league-spartan);
    line-height: 1.2;
}

.h1 {
    font-size: var(--fs-1);
}

.h2 {
    font-size: var(--fs-2);
}

.h3 {
    font-size: var(--fs-3);
}

.w-100 {
    width: 100%;
}

.section-title,
.section-text {
    text-align: center;
}

.section-text {
    font-size: var(--fs-6);
}

.grid-list {
    display: grid;
    gap: 30px;
}

.img-holder {
    aspect-ratio: var(--width) / var(--height);
    background-color: var(--light-gray);
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-block: 15px;
    z-index: 4;
    background-color: transparent; /* Awalnya transparan */
    border-bottom: none; /* Tidak ada border awalnya */
    transition: background-color 0.3s ease, border-bottom 0.3s ease, filter 0.3s ease; /* Tambahkan transisi */
}

.header.active {
    background-color: var(--white-1); /* Background solid saat scroll */
    border-block-end: 1px solid var(--cultured);
    filter: drop-shadow(var(--shadow-2));
}

.header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--ff-league-spartan);
    color: var(--black);
    font-size: 3.5rem;
    font-weight: var(--fw-700);
    line-height: 1;
}

.nav-toggle-btn {
    font-size: 40px;
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
    display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
    display: block;
}

.navbar {
    background-color: var(--white-1);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 30px);
    width: 100%;
    padding-inline: 0;
    border: 1px solid var(--cultured);
    transition: 0.3s var(--cubic-out);
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
}

.navbar.active {
    max-height: 320px;
    visibility: visible;
    transition-duration: 0.5s;
}

.navbar-list {
    padding: 20px 15px;
    padding-block-start: 10px;
    opacity: 0;
    transition: var(--transition-1);
}

.navbar.active .navbar-list {
    opacity: 1;
}

.navbar-link {
    color: var(--eerie-black);
    font-family: var(--ff-league-spartan);
    font-size: var(--fs-5);
    line-height: 1.2;
    padding-block: 8px;
    transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
    color: var(--red-crayola);
}

.header .btn {
    margin-block-start: 10px;
}

/*-----------------------------------*\
  #HEO
\*-----------------------------------*/

.hero {
    padding-block-start: calc(var(--section-padding) + 50px);
    text-align: center;
}

.hero-content {
    margin-block-end: 60px;
}

.hero-subtitle {
    color: var(--eerie-black);
    font-size: var(--fs-5);
    font-weight: var(--fw-500);
}

.hero-title {
    margin-block: 12px 8px;
}

.hero-text {
    font-size: var(--fs-5);
}

.hero .btn {
    margin-inline: auto;
    margin-block-start: 20px;
}

.hero-banner video {
    object-fit: cover; /* Menjaga proporsi video */
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
    background-color: var(--white-2);
}

.service .section-text {
    margin-block: 5px 35px;
}

.service-card {
    background-color: var(--white-1);
    padding: 20px 15px;
    border: 1px solid var(--platinum);
    border-radius: var(--radius-5);
    text-align: center;
    box-shadow: var(--shadow-1);
    transition: var(--transition-2);
}

.service-card:is(:hover, :focus-within) {
    transform: translateY(-10px);
}

.service-card .card-icon {
    color: var(--white-1);
    font-size: 25px;
    max-width: max-content;
    margin-inline: auto;
    padding: 18px;
    border-radius: 50%;
}

.service-card .card-title {
    margin-block: 20px 8px;
}

.service-card .card-text {
    font-size: var(--fs-6);
}

/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project .section-text {
    margin-block: 5px 35px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-8);
    overflow: hidden;
}

.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    opacity: 0.5;
    transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within)::after {
    opacity: 0.8;
}

.project-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
    transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within) .card-content {
    transform: translateY(-20px);
}

.project-card .card-subtitle {
    color: var(--lavender-gray);
    font-size: var(--fs-6);
    line-height: 1;
}

.project-card .card-title {
    color: var(--white-1);
    margin-block: 12px 15px;
}

/* Style adjustments for modals */
.project-modal {
    display: none; /* Tersembunyi secara default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.project-modal-content {
    background-color: var(--modal-bg-color);
    margin: 5% auto;
    padding: 20px;
    border-radius: var(--radius-8);
    width: 80%;
    max-width: 600px;
    position: relative;
}

.project-modal-content h3 {
    margin-top: 0;
    color: var(--white-1);
}

.project-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--white-1);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.modal-image {
    width: 100%;
    max-height: 500px; /* Limit the height to prevent scrolling */
    object-fit: contain; /* Ensure the image retains its aspect ratio */
    border-radius: var(--radius-8);
    margin: 20px 0;
}

.project-modal-content p {
    color: var(--white-1);
    font-size: 1rem;
    line-height: 1.6;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/
.about {
    background-color: var(--white-2);
}

.about-banner {
    position: relative;
    border-radius: var(--radius-5);
    overflow: hidden;
    margin-bottom: 25px;
    max-width: 550px;
}

.about :is(.section-title, .section-text) {
    text-align: left;
}

.about .section-title {
    margin-bottom: 5px;
}

.about .section-text:not(:last-child) {
    margin-bottom: 18px;
    margin-inline: 0;
}

.about .h3 {
    margin-bottom: 8px;
}

/* Styling for the statistics section */
.about-stats {
    display: flex;
    justify-content: flex-start; /* Rata kiri untuk menyusun item secara horizontal */
    margin-top: 30px;
    gap: 20px; /* Jarak antar item */
}

.stat-item {
    background-color: var(--white-1); /* Background kotak */
    padding: 20px;
    border-radius: var(--radius-5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    text-align: left;
    flex: 1; /* Membuat semua stat-item memiliki ukuran yang sama */
}

.stat-item h4 {
    font-size: 1.5rem; /* Ukuran font untuk judul */
    color: var(--black); /* Warna hitam untuk judul */
    margin-bottom: 5px; /* Jarak antara judul dan nilai */
}

.stat-item p {
    font-size: 1.75rem; /* Ukuran font untuk nilai */
    font-weight: bold;
    color: var(--red-crayola); /* Warna merah untuk nilai */
}

/*-----------------------------------*\
  #CTA
\*-----------------------------------*/
.font-awesome {
    font-weight: 500;
    font-size: var(--fs-4);
}

.cta {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--gradient);
    opacity: 0.95;
    z-index: -1;
}

.cta-subtitle,
.cta .section-title {
    color: var(--white-1);
}

.cta-subtitle {
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    text-align: center;
}

.cta .section-title {
    margin-block: 12px 18px;
}

.cta .btn {
    margin-inline: auto;
}

/*-----------------------------------*\
  #TEAM
\*-----------------------------------*/

.team {
    background-color: var(--white-2);
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Memusatkan item di tengah */
    gap: 30px; /* Jarak antar card */
    padding: 0; /* Menghindari padding yang menyebabkan scroll */
    margin: 0; /* Menghindari margin yang menyebabkan scroll */
    max-width: 100%; /* Mencegah overflow */
}

.team-card {
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    flex: 1 0 calc(30% - 30px); /* Tiga card per baris di desktop */
    margin-bottom: 30px; /* Jarak antar card */
}

.team-card:hover {
    transform: translateY(-10px);
}

.half-card {
    flex: 1 0 calc(45% - 30px); /* Card lebih kecil untuk dua di bawah */
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 15px auto;
}

.team-content {
    padding: 15px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0 5px;
}

.team-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.team-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-icons a {
    font-size: 1.2rem;
    color: #333;
    transition: color 0.3s ease;
}

.team-icons a:hover {
    color: #007bff;
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact {
    background-color: var(--white-2);
}

.contact .section-text {
    margin-block: 5px 35px;
}

.contact-form {
    background-color: var(--white-1);
    padding: 20px;
    border-radius: var(--radius-2);
    margin-block-end: 30px;
    box-shadow: var(--shadow-1);
}

.input-field {
    background-color: var(--white-2);
    color: var(--eerie-black);
    font-size: var(--fs-5);
    padding: 15px;
    border-radius: var(--radius-2);
    outline: 1px solid transparent;
    outline-offset: 0;
    margin-block-end: 15px;
}

.input-field::-webkit-inner-spin-button {
    display: none;
}

.input-field:focus {
    outline-color: var(--red-crayola);
}

.input-field::placeholder {
    transition: var(--transition-1);
}

.input-field:focus::placeholder {
    opacity: 0;
}

textarea.input-field {
    resize: vertical;
    min-height: 80px;
    height: 100px;
    max-height: 200px;
    overscroll-behavior: contain;
}

.checkbox {
    width: max-content;
    margin-block-start: 5px;
    accent-color: var(--red-crayola);
}

.label-link {
    display: inline-block;
    color: var(--red-crayola);
}

.label-link:is(:hover, :focus) {
    text-decoration: underline;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-block-end: 15px;
}

.checkbox-wrapper .label {
    font-size: var(--fs-6);
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 25px;
    align-items: stretch; /* Menjaga semua kartu memiliki tinggi yang sama */
}

.contact-item {
    flex: 1 1 250px;
    min-width: 100%;
}

.contact-card {
    background-color: var(--white-1);
    padding: 15px;
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 100px; /* Menetapkan tinggi minimum untuk semua kartu */
}

.contact-card .card-icon {
    background-color: var(--cultured-2);
    color: var(--red-crayola);
    font-size: 25px;
    padding: 13px;
    border-radius: 50%;
    transition: var(--transition-1);
}

.contact-card:is(:hover, :focus) .card-icon {
    background-color: var(--red-crayola);
    color: var(--white-1);
}

.contact-card .card-title {
    margin-block-end: 5px;
}

.contact-card :is(.card-link, .card-address) {
    font-size: var(--fs-6);
    transition: var(--transition-1);
}

.contact-card .card-link:is(:hover, :focus) {
    color: var(--red-crayola);
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #000;
    width: 100%;
    margin-top: 50px;
    padding: 0.8rem 0.8rem;
    color: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1150px;
}

.footer-container .about {
    background: #000; /* Match the background with More and Follow Us */
    padding: 15px; /* Add padding for better spacing */
    border-radius: 5px; /* Optional: Add border radius */
}

.footer-container .about h2 {
    font-size: 3em;
    font-weight: 600;
    background: linear-gradient(to top, transparent 0%, #fff 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.footer-container .info,
.footer-container .follow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container .info h3,
.footer-container .follow h3 {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-container .info ul,
.footer-container .follow ul {
    display: flex;
    justify-content: center;
}

.footer-container .info a,
.footer-container .follow a {
    margin: 10px 20px;
}

.footer-container .info a:hover {
    color: var(--red-crayola);
}

.footer-container .follow a {
    font-size: 20px;
}

.footer-container .follow a:hover {
    color: var(--red-crayola);
}

.copyright {
    font-size: var(--fs-6);
    text-align: center;
}

.copyright-link {
    color: var(--red-crayola);
    font-weight: var(--fw-500);
    display: inline-block;
}

.copyright-link:hover {
    color: #fff;
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.whatsapp-btn {
    position: fixed;
    bottom: 20px; /* Adjust position as needed */
    right: 20px; /* Adjust position as needed */
    background-color: #25d366; /* WhatsApp green */
    color: #ffffff; /* White icon color */
    font-size: 46px; /* Icon size */
    width: 60px; /* Set a width */
    height: 60px; /* Set a height */
    border-radius: 50%; /* Circular background */
    display: flex; /* Center the icon */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 4;
    transition: opacity 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
}

.whatsapp-btn:hover {
    opacity: 0.8; /* Hover effect */
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (max-width: 575px) {
    .footer-container {
        flex-direction: column;
        align-items: center; /* Center items for small screens */
    }

    .footer-container .about,
    .footer-container .info,
    .footer-container .follow {
        text-align: center; /* Center text */
        margin-bottom: 20px; /* Add margin for spacing */
    }

    .footer-container .info ul {
        flex-direction: column;
        font-weight: 400;
    }

    .footer-container .info ul li,
    .footer-container .follow ul li {
        margin: 5px 0; /* Adjust margin */
    }
}

@media (min-width: 575px) {
    /**
   * REUSED STYLE
   */

    .container {
        max-width: 540px;
        width: 100%;
        margin-inline: auto;
    }

    .grid-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 25px;
    }

    /**
   * CONTACT
   */

    .input-wrapper {
        display: flex;
        gap: 15px;
    }

    .contact-item {
        min-width: calc(50% - 18px);
    }
}

/**
 * responsive for larger than 768px screen
 */

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-container .about,
    .footer-container .info,
    .footer-container .follow {
        margin-bottom: 30px; /* Increase margin */
        text-align: center;
    }

    .footer-container .info ul {
        flex-direction: column;
    }

    .footer-container .info ul li,
    .footer-container .follow ul li {
        margin: 5px 0; /* Adjust margin */
    }
}

@media (min-width: 768px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-1: 4.5rem;
        --fs-2: 3.7rem;
        --fs-3: 2.3rem;
        --fs-4: 1.8rem;
        --fs-5: 1.5rem;
        --fs-6: 1.4rem;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 720px;
    }

    .section-text {
        max-width: 65ch;
        margin-inline: auto;
    }

    /**
   * HERO
   */

    .hero-text {
        max-width: 60ch;
        margin-inline: auto;
    }

    /**
   * ABOUT
   */

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    /* Penyesuaian untuk media query yang sebelumnya diberikan */
    .about-banner {
        max-width: 550px;
    }

    .about .section-text {
        max-width: unset;
        margin-inline: 0;
    }

    /**
   * CONTACT
   */

    .contact-form {
        padding: 30px;
    }

    .contact-item {
        min-width: calc(50% - 12.5px);
    }
}

/**
 * responsive for larger than 992px screen
 */

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center; /* Center items */
    }

    .footer-container .about,
    .footer-container .info {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .footer-container .info ul {
        align-items: center;
        flex-direction: column;
    }

    .footer-container .info ul li {
        margin: 5px 0;
    }

    .footer-container .hr {
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0 22px;
    }
    .team-list {
        flex-direction: column; /* Berjejer ke bawah di tablet dan mobile */
    }

    .team-card {
        max-width: 100%; /* Satu card per baris */
    }
}

@media (min-width: 992px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-1: 5rem;
        --fs-2: 4rem;
        --fs-3: 2.5rem;

        /**
     * spacing
     */

        --section-padding: 100px;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 960px;
    }

    .grid-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /**
   * HEADER
   */

    .nav-toggle-btn {
        display: none;
    }

    .navbar,
    .navbar.active {
        all: unset;
    }

    .navbar-list {
        all: unset;
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .navbar-link {
        position: relative;
    }

    .navbar-link:is(:hover, :focus) {
        color: var(--eerie-black);
    }

    .navbar-link::after {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 2px;
        background-image: var(--gradient);
        transform: scaleX(0);
        transform-origin: left;
        transition: var(--transition-2);
    }

    .navbar-link:is(:hover, :focus)::after {
        transform: scaleX(1);
    }

    .header .btn {
        margin-block-start: 0;
    }

    /**
   * HERO
   */

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 30px;
        text-align: left;
    }

    .hero-content {
        margin-block-end: 0;
    }

    .hero-subtitle {
        position: relative;
        padding-inline-start: 15px;
    }

    .hero-subtitle::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 2px;
        height: 100%;
        background-color: var(--red-crayola);
    }

    .hero-text,
    .hero .btn {
        margin-inline: 0;
    }

    /**
   * SERVICE
   */

    .service-card {
        padding: 20px;
    }

    .service-card .h3 {
        --fs-3: 2.3rem;
    }

    /**
   * PROJECT
   */

    .project-card .card-subtitle {
        --fs-6: 1.5rem;
    }

    /**
   * ABOUT
   */

    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 30px;
    }

    .about-banner {
        margin-block-end: 0;
    }

    /**
   * CONTACT
   */

    .checkbox-wrapper {
        margin-block: 20px;
    }

    .contact-item {
        min-width: calc(33.33% - 16.66px);
    }

    .contact-card {
        padding: 30px;
    }

    .contact-card .card-icon {
        font-size: 32px;
    }
}

/**
 * responsive for larger than 1200px screen
 */

@media (max-width: 1200px) {
    .footer-container {
        flex-direction: column;
        align-items: center; /* Center items */
    }

    .footer-container .about,
    .footer-container .info,
    .footer-container .follow {
        text-align: center; /* Center text */
    }
}

@media (min-width: 1200px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-1: 6.8rem;
        --fs-2: 4.5rem;
        --fs-4: 1.9rem;
        --fs-5: 1.6rem;
        --fs-6: 1.6rem;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 1140px;
    }

    .btn {
        --fs-6: 1.5rem;
    }

    /**
   * SERVICE
   */

    .service-card {
        padding: 30px;
    }

    .service-card .h3 {
        --fs-3: 2.5rem;
    }

    /**
   * PROJECT
   */

    .project-card .card-content {
        padding: 30px;
    }

    .project-card .card-subtitle {
        --fs-6: 1.6rem;
    }

    /**
   * ABOUT
   */

    .about .container {
        gap: 60px;
    }

    .about-item {
        gap: 7px;
    }

    .about-item ion-icon {
        font-size: 20px;
    }

    /**
   * CTA
   */

    .cta .section-title {
        margin-block: 15px 24px;
    }

    /**
   * CONTACT
   */

    .contact-form {
        padding: 50px;
    }

    .contact-card {
        gap: 20px;
    }

    .contact-card .card-icon {
        padding: 15px;
    }
}

@media (min-width: 1200px) {
    .team-card {
        max-width: calc(25% - 30px); /* Empat card per baris di monitor */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .team-card {
        max-width: calc(25% - 30px); /* Empat card per baris di laptop */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .team-card {
        max-width: calc(50% - 30px); /* Dua card per baris di tablet */
    }

    .half-card {
        max-width: calc(45% - 30px); /* Dua card di bawah */
    }
}

@media (max-width: 575px) {
    .team-list {
        flex-direction: column; /* Berjejer ke bawah di mobile */
        padding: 0; /* Menghindari padding yang menyebabkan scroll */
    }

    .team-card,
    .half-card {
        max-width: 100%; /* Satu card per baris di mobile */
        margin: 0 auto; /* Pusatkan card di mobile */
    }
}

@media (min-width: 1400px) {
    /**
     * CUSTOM PROPERTY
     */

    :root {
        /**
         * typography
         */

        --fs-1: 7rem; /* Ukuran font untuk heading utama */
        --fs-2: 5rem; /* Ukuran font untuk heading sekunder */
        --fs-4: 2rem; /* Ukuran font untuk teks lainnya */
    }

    /**
     * REUSED STYLE
     */

    .container {
        max-width: 1320px; /* Memperbesar lebar kontainer */
    }

    /**
     * SERVICE
     */

    .service-card {
        padding: 40px; /* Menambah padding untuk card layanan */
    }

    .service-card .h3 {
        --fs-3: 2.8rem; /* Ukuran font untuk heading di card layanan */
    }

    /**
     * PROJECT
     */

    .project-card .card-content {
        padding: 40px; /* Menambah padding untuk card proyek */
    }

    .project-card .card-subtitle {
        --fs-6: 1.8rem; /* Ukuran font untuk subjudul di card proyek */
    }

    /**
     * ABOUT
     */

    .about .container {
        gap: 80px; /* Menambah jarak antar elemen di about */
    }

    /**
     * TEAM
     */

    .team-card {
        max-width: calc(20% - 30px); /* Lima card per baris di monitor */
    }
}
