/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: #2c3e50 !important;
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    transition: color 0.3s ease;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #3498db;
}

.navbar-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none; /* Menghilangkan garis bawah default */
    display: inline-block;
    padding-top: 0.3rem; /* Sesuaikan untuk posisi vertikal logo */
    padding-bottom: 0.3rem;
    line-height: 1; /* Mengatur line-height agar teks sejajar */
}

.navbar-logo-text:hover{
  color: #3498db; /* Light Blue Hover */
}sa

/* Header */
.masthead {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.masthead::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: url("../assets/img/ai-pattern.svg") center/100px repeat;
    opacity: 0.3;
}

.masthead-subheading {
   font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}


.masthead-heading {
    font-size: 3rem;
    margin-bottom: 2rem;
     font-weight: 600;
}


/* Sections */
.page-section {
    padding: 5rem 0;
}

.section-heading {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subheading {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 2rem;
}

/* Services Section */
.fa-stack {
  font-size: 1.4em;
}
.text-primary{
  color: #3498db !important;
}


.fa-inverse {
    color: #fff;
}


/* Timeline Section */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    background-color: #3498db;
}

.timeline li {
    position: relative;
    margin-bottom: 50px;
    min-height: 50px;
}

.timeline li:before {
    content: " ";
    display: table;
}

.timeline li:after {
    content: " ";
    display: table;
    clear: both;
}

.timeline li .timeline-image {
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    border-radius: 100%;
    border: 7px solid #3498db;
    background-color: #fff;
    z-index: 100;
}

.timeline li .timeline-image img {
  border-radius: 50%;
    max-width: 80%;
   max-height: 80%;
    margin-left: auto;
    margin-right: auto;
   display: block;
  margin-top: auto;
  margin-bottom: auto;
}


.timeline li .timeline-panel {
    width: calc(100% - 120px);
    float: right;
    padding: 0 20px 0 100px;
    position: relative;
    text-align: left;
}


.timeline li .timeline-panel:before {
    position: absolute;
    left: 0px;
    top: 20px;
    border: solid transparent;
    border-left: 15px solid #3498db;
    border-right: 0;
    content: " ";
    height: 0;
    width: 0;
    pointer-events: none;
}

.timeline li .timeline-panel .timeline-heading h4{
    margin-bottom: 5px;
}


.timeline-inverted li .timeline-panel {
    float: left;
    padding: 0 100px 0 20px;
    text-align: right;
}

.timeline-inverted li .timeline-panel:before {
     position: absolute;
     right: 0px;
      top: 20px;
       border: solid transparent;
      border-left: 0px solid #3498db;
     border-right: 15px solid #3498db;
    content: " ";
    height: 0;
    width: 0;
      pointer-events: none;
}

.timeline li:last-child {
    margin-bottom: 0px;
}

.timeline li.timeline-inverted:last-child{
    margin-bottom: 0px;
}
.timeline li .timeline-image h4 {
  font-weight: 600;
    font-size: 1.2rem;
  color: #2c3e50;
  margin-top: 1.5rem;
}


/* Portfolio Section */
.portfolio-item {
    margin-bottom: 1.5rem;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}


.portfolio-item:hover {
   box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.portfolio-item .portfolio-link {
    position: relative;
    display: block;
    max-width: 100%;
    overflow: hidden;
}
 .portfolio-item .portfolio-link img {
    max-width: 100%;
    transition: all 0.3s ease;
 }
 .portfolio-item .portfolio-link:hover img{
    transform: scale(1.1);
    filter: grayscale(0.2);
 }

.portfolio-item .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(34,34,34,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.portfolio-item .portfolio-link:hover .portfolio-hover{
    opacity: 1;
}

.portfolio-item .portfolio-hover .portfolio-hover-content {
     color: #fff;
    font-size: 2rem;
}

.portfolio-item .portfolio-caption {
  padding: 1.5rem;
  text-align: center;
}


/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-member img {
    border: 7px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}
.team-member img:hover {
     box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}


.team-member h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.team-member .text-muted {
    margin-bottom: 1rem;
}

.btn-social {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    transition: background-color 0.3s ease;
}

.btn-dark {
    background-color: #2c3e50;
    color: #fff;
}
.btn-dark:hover {
  background-color: #3498db;
    color: #fff;
}

/* Contact Section */

.map-container iframe {
    width: 100%;
    height: 450px;
}


/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
}

.footer a {
    color: #3498db;
    text-decoration: none;
}

.footer .btn-social {
     margin: 0.5rem;
}

/* ANIMATION */
.fade-in {
    animation: fadeIn 1s ease-in-out both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .masthead-heading {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .masthead-subheading{
        font-size: 1.2rem;
    }
    .masthead {
        padding: 5rem 0;
    }
      .page-section {
        padding: 3rem 0;
    }
    .section-heading {
        font-size: 2rem;
    }
    .section-subheading {
        font-size: 1rem;
    }
     .timeline:before{
        left: 30px;
    }
      .timeline li .timeline-image {
        left: -20px;
       width: 70px;
        height: 70px;
    }
    .timeline li .timeline-panel {
       width: calc(100% - 100px);
         padding: 0 20px 0 80px;
    }

    .timeline-inverted li .timeline-panel {
        padding: 0 80px 0 20px;
    }

    .portfolio-item .portfolio-caption {
        padding: 1rem;
    }
      .team-member img{
         width: 120px;
        height: 120px;
    }

}