/* ////////////////////////////////main-home///////////////////////////////////// */
#main-home {
    padding: 4rem 0;
    background-color: #f2f2f2;
}

#main-home .the-height {
    min-height: 70vh;
}

#main-home h1 span {
    color: #02367b; /* Sesuai dengan warna palet biru */
}

#main-home p {
    color: #6c757d;
    line-height: 1.8;
}

#main-home img {
    max-width: 85%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: block;
    animation: wave-border 20s infinite ease-in-out;
    background-color: #8186d5;
}

@keyframes wave-border {
    0% {
        border-radius: 50% 50% 50% 50%;
    }
    5% {
        border-radius: 55% 45% 60% 40%;
    }
    10% {
        border-radius: 60% 50% 50% 60%;
    }
    15% {
        border-radius: 50% 60% 40% 70%;
    }
    20% {
        border-radius: 70% 50% 60% 40%;
    }
    25% {
        border-radius: 60% 70% 50% 60%;
    }
    30% {
        border-radius: 40% 60% 70% 50%;
    }
    35% {
        border-radius: 50% 40% 60% 70%;
    }
    40% {
        border-radius: 60% 50% 70% 50%;
    }
    45% {
        border-radius: 55% 60% 45% 55%;
    }
    50% {
        border-radius: 50% 55% 50% 65%;
    }
    55% {
        border-radius: 45% 50% 55% 60%;
    }
    60% {
        border-radius: 40% 55% 60% 50%;
    }
    65% {
        border-radius: 50% 60% 50% 45%;
    }
    70% {
        border-radius: 60% 50% 45% 55%;
    }
    75% {
        border-radius: 55% 45% 60% 50%;
    }
    80% {
        border-radius: 60% 50% 50% 60%;
    }
    85% {
        border-radius: 50% 60% 40% 70%;
    }
    90% {
        border-radius: 70% 50% 60% 40%;
    }
    95% {
        border-radius: 60% 70% 50% 60%;
    }
    100% {
        border-radius: 50% 50% 50% 50%;
    }
}

/* ////////////////////////////////main-home///////////////////////////////////// */

/* //////////////////////////////// my skill //////////////////////////////////// */
#skills {
    background-color: #f8f9fa;
}

#skills h2 {
    font-weight: 700;
    color: #5258ab; /* Warna biru dari palet Anda */
}

#skills .progress-bar {
    background-color: #8186d5; /* Warna biru lebih terang */
    transition: width 0.4s ease-in-out;
}

#skills .skill h5 {
    font-size: 1.1rem;
    color: #333;
}

#skills .progress {
    background-color: #e9ecef;
    border-radius: 20px;
    height: 10px;
}

/* //////////////////////////////// my skill //////////////////////////////////// */

/* //////////////////////////////// my service //////////////////////////////////// */
#services {
    background-color: #f2f2f2;
}

#services h2 {
    font-weight: 700;
    color: #8186d5;
}

.service-card {
    z-index: 3 !important;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.icon-container {
    font-size: 3rem;
    color: #6167bd;
    border: 2px solid #8186d5;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #d8dbff73;
    position: relative;
    overflow: hidden;
}

.icon-container i {
    position: relative;
    z-index: 2;
}

.icon-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.6);
        opacity: 0.4;
    }
}

.service-card h5 {
    font-weight: bold;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

/* //////////////////////////////// my service //////////////////////////////////// */

/* //////////////////////////////// my portofoli //////////////////////////////////// */
#recent-projects {
    background-color: #f8f9fa;
}

#recent-projects h2 {
    font-weight: 700;
    color: #8186d5; /* Warna biru dari palet Anda */
}
#recent-projects .card {
    max-height: 340px;
}

.project-card {
    text-decoration: none;
}

.project-card .card {
    border: none;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover .card {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover img {
    transform: scale(1.05);
}

.card-title {
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
}

.text-overflow {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
    max-height: 70px;
}

/* //////////////////////////////// my portofoli //////////////////////////////////// */

/* //////////////////////////////// testimoni //////////////////////////////////// */
#tetimoni-section {
    background-color: #f2f2f2;
    padding: 40px 20px;
}

#tetimoni-section h2 {
    font-weight: 700;
    color: #8186d5;
}

#tetimoni-section .card-body {
    padding: 20px;
    border-top: 4px solid #8186d5;
    border-radius: 14px;
    min-height: 300px;
}

#tetimoni-section .card img {
    width: 80px !important;
    height: 80px !important;
}

#tetimoni-section .ratings .fa {
    font-size: 16px;
}

#tetimoni-section .testimonial-name {
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
}

#tetimoni-section .testimonial-impression {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

#tetimoni-section .social-icons .fa {
    font-size: 18px;
    margin: 0 10px;
}

#tetimoni-section .social-icons a {
    color: #333;
    transition: color 0.3s;
}

#tetimoni-section .social-icons a:hover {
    color: #007bff;
}

#tetimoni-section .owl-dot.active span {
    background-color: #8186d5;
    width: 10px;
    border-radius: 50%;
    border: 2px solid #666;
    width: 20px;
    height: 20px;
}
#tetimoni-section .owl-dot span {
    background-color: #ffffffc2;
    width: 10px;
    border-radius: 50%;
    border: 2px solid #666;
    width: 14px;
    height: 14px;
}

#tetimoni-section .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20;
}

/* //////////////////////////////// testimoni //////////////////////////////////// */

/* //////////////////////////////// faq //////////////////////////////////// */
#faq-section {
    background-color: #f8f9fa;
}

#faq-section h2 {
    font-weight: 700;
    color: #8186d5;
}

.accordion-button {
    background-color: #7179ea;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #8186d5;
}

.accordion-body {
    background-color: #ffffff;
    color: #333;
    font-size: 1rem;
}

#contact-section h2 {
    font-weight: 700;
    color: #8186d5;
}

#contact-section .card {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#contact-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

#contact-section .form-control {
    border-radius: 10px;
    padding: 10px;
}

#contact-section button {
    background-color: #02367b;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#contact-section button:hover {
    background-color: #006ca5;
}

#contact-section ul {
    padding-left: 20px;
    text-align: left;
}

#contact-section ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
}

#contact-section .fa {
    color: #02367b;
    font-size: 1.2rem;
}

@media (max-width: 767px) {
    #contact-section .col-md-6 {
        margin-bottom: 30px;
    }
}

/* //////////////////////////////// faq //////////////////////////////////// */

/* //////////////////////////////// blog //////////////////////////////////// */
#blog h2 {
    font-weight: 700;
    color: #8186d5; /* Warna biru dari palet Anda */
}

.blog-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    border-bottom: 5px solid #006ca5; /* Memberikan aksen pada gambar */
}

.blog-card .card-title a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #02367b;
    transition: color 0.3s;
}

.blog-card .card-title a:hover {
    color: #0496c7; /* Warna biru terang */
    text-decoration: underline;
}

.card-text {
    font-size: 0.95rem;
    max-height: 90px;
    overflow: hidden;
}

.btn-primary {
    background-color: #006ca5;
    border-color: #006ca5;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #0496c7;
    border-color: #0496c7;
}

/* //////////////////////////////// blog //////////////////////////////////// */

.h-25 {
    margin-bottom: 100px;
}

/* /////////////////////// Custom Button //////////////////////////////////// */
.btn.btn-primary {
    background-color: #8186d5 !important;
    border: solid 1px #8186d5 !important;
}
.btn.btn-primary:hover {
    background-color: #969cee !important;
    border: solid 1px #969cee !important;
}
.btn.btn-outline-primary {
    color: #8186d5 !important;
    border: solid 2px #8186d5 !important;
}
.btn.btn-outline-primary:hover {
    background-color: #8186d5 !important;
    color: #fff !important;
}
/* /////////////////////// Custom Button //////////////////////////////////// */

/* Container section */
section {
    position: relative;
    overflow: hidden;
    z-index: 0 !important;
}
section .container {
    z-index: 2 !important;
}

/* Animasi kotak bergerak */
.box {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(103, 52, 175, 0.5);
    animation: moveBox 10s infinite ease-in-out;
    opacity: 0.5;
    z-index: -1 !important;
}

/* Animasi gerakan kotak */
@keyframes moveBox {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(300px, 100px);
    }
    50% {
        transform: translate(0, 200px);
    }
    75% {
        transform: translate(-300px, 100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.box:nth-child(1) {
    animation-delay: 0s;
}

.box:nth-child(2) {
    animation-delay: 2s;
}

.box:nth-child(3) {
    animation-delay: 4s;
}

.box:nth-child(4) {
    animation-delay: 6s;
}
