@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.body
{
    min-height: 100vh;
    background: radial-gradient(circle, #EBF4FF, #daebfe);
    padding-top: 50px;
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #daebfe;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }
  #loading-screen.hidden {
    opacity: 0; /* Fade out */
    visibility: hidden; /* Remove from layout */
  }
  .loading-text {
    font-size: 2rem;
    font-weight: bold;
    color: #123361;
    animation: fadeIn 2s ease-in-out infinite;
    font-family: 'Times New Roman', Times, serif;
  }
  
  @keyframes fadeIn {
    0% { opacity: 0;
    }
    50% { opacity: 1;
    }
    100% {opacity: 0;
    }
  }
  
  @keyframes loadingProgress {
    0% {width: 0%;
    }
    100% {width: 100%;
    }
  }
  
  /* Hide the loading screen after content is loaded */
  .loaded #loading-screen {
    opacity: 0;
    pointer-events: none;
  }
  
.navbar-scrolled 
{
    background-color: #f8f9fa !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
header ul
{
    display: flex;
    justify-content: center;
    align-items: center;
}
header ul li
{
    list-style: none;
    margin-left: 20px;
}
header ul li a
{
    text-decoration: none;
    padding: 6px 15px;
    color: #40568B;
    border-radius: 20px;
}
header ul li a:hover
{
    transform: scale(1.05); 
    background: #40568B;
    color: #FFF;
}

section
{
   position: relative;
   width: 100%;
   height: 100vh;
   object-fit: contain;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   text-align: center;
   padding-top: 100px;
}

.Welcome-To
{
    justify-content: center;
    position: absolute;
    text-align: center;
    display: flex;
    align-items: center;
    max-width: 50%;
    padding: 1rem;
    font-size: 1rem; 
}

.Welcome-To {
    font-size: 1rem; 
  }
  
  @media (max-width: 992px) {
    .Welcome-To {
      font-size: 0.75rem;
      max-width: 992px;
    }
  }
  @media (max-width: 500px) {
    .Welcome-To {
      font-size: 0.55rem;
      max-width: 500px; 
    }
  }
 

section img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#text
{
    position: absolute;
    color: #123361;
    white-space: nowrap;
    font-size: 1.5em;
    z-index: 9;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}
#btn
{
    text-decoration: none;
    display: inline-block;
    padding: 8px 30px;
    background-color: #40568B;
    color: #FFF;
    font-size: 1em;
    z-index: 9;
    transform: translateY(100px);
    border-radius: 40px;
}
#btn 
{
    border-radius: 40px;
}
    @media (max-width: 992px) {
    #btn {
        border-radius: 30px;
        text-size-adjust: 0.75rem; 
        max-width: 992px;
    }
  }
  
    @media (max-width: 500px) {
    #btn {
        border-radius: 20px;
        text-size-adjust: 0.5rem;
        max-width: 500px;
    }
  } 
  
.about-me
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* ==padding: 5vh 10vw; */
    background: radial-gradient(#fff, #daebfe);
    font-family: 'Times New Roman', Times, serif;
    height: 100vh;
    gap: 30px;
    padding: 2rem 0;
    text-align: center;
}
.about-me-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 550px;
    width: 100%;
    gap: 10px;
    text-align: center;
}
.about-me-photo
{
    width: 600px;
    height: 600px;
    object-fit: contain;
    margin-right: -300px;
    margin-left: -175px;
    z-index: 5;
}
.about-me-text
{
    flex: 1; 
    text-align: left;
    color: #123361;
    margin-left: 10px; 
    max-width: 600px;
    text-align: left;
}
.about-me-text h1
{
    font-family: sans-serif;
    font-style: italic;
    font-weight: bolder;
    text-align: left;
}
.about-me-text h2
{
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #123361; 
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    z-index: 2;
    position: relative;
    text-align: left;
}

.about-me-text p 
{
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.9em;
    font-family: 'Times New Roman', Times, serif;
    z-index: 2;
    position: relative;
} 
.about-me-text p b
{
    font-family: 'Times New Roman', Times, serif;
}
.accordion {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
.accordion-button 
{
    width: 100%;
    background-color: #40568B;
    color: #FFF;
}
.accordion-collapse 
{
    overflow: visible;
}
.accordion-body {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    gap: 5px;
}

.column 
{font-family: 'Times New Roman', Times, serif; 
}
.small-text 
{
    font-size: 1em; 
    color: #5e4848;       
    margin: 0;
    padding: 0;
}

.center-text
{
    font-size: 1.7em; 
    font-weight: bold;
    color: #5e4848; 
    font-family: 'Times New Roman', Times, serif; 
}

.small-bodytext
{
    font-size: 0.85em; 
    color: #40568B;       
    margin: 0;
    padding: 0;
}

.text-center h1
{
    color: #40568B;  
}
.btn-detail
{
    font-size: 1em;
    z-index: 9;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    width: 50px;
    transition: transform 0.3s ease-in-out;
    align-items: center;
    text-align: center;
    justify-items: center;
    font-family: 'Poppins', sans-serif;
    background-color: #40568B;
    color: #FFF;
    margin-top: 10px;
  }
  
.btn-detail:hover
{
    transform: scale(1.05); 
    background-color: #40568B;
    color: #FFF;
}
.i-did
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.i-did img
{
    width: 150px;
    height: 30px;
}
.row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;

}
.service-card {
    position: relative;
    width: 210px;
    height: 230px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    margin: 10px auto; /* Memberikan jarak antar kartu */
    
}

.service-card .body {
    padding: 10px;
    width: 208px;
    height: 172px;
}

.service-card .body img.icon {
    margin-top: 40px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
    color: #123361; 
    }
  
  @media (prefers-reduced-motion: reduce) {
    .service-card .body img.icon {
      -webkit-transition: none;
      transition: none;
      align-items: center;
    }
  }
  
  .service-card .body .subtitle {
    position: absolute;
    bottom: -100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
    font-size: 0.8em;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 15px;
    margin-right: 15px;
    color: #123361; 
  }
  
  @media (prefers-reduced-motion: reduce) {
    .service-card .body .subtitle {
      -webkit-transition: none;
      transition: none;
    }
  }
  
  .service-card:hover .body img.icon {
    margin-top: 5px;
    width: 75px;
    height: 75px;
    margin-bottom: 15px;
  }
  
  .service-card:hover .body .subtitle {
    bottom: 7px;
    opacity: 1;
    visibility: visible;
  }

.HeadlineProjects
{
    display: flex;
    justify-content: center;
    align-items: center;
   
}
.HeadlineProjects img {
    max-width: 100%; 
    height: auto;    
    width: 650px;   
  }
  
  
  @media (max-width: 992px) {
    .HeadlineProjects img {
      width: 80%; 
    }
  }
  
  @media (max-width: 500px) {
    .HeadlineProjects img {
      width: 100%; 
    }
  }

.navbar {
    padding: 1rem;
}

.navbar-nav .nav-link {
    font-size: 1em;
    padding: 6px 15px;
}

.navbar-toggler {
    margin-right: 10px;
}

.home section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding-top: 100px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 0.9em;
        padding: 5px 8px;
    }

    .Welcome-To {
        padding: 2rem 1rem;
    }

    .about-me-photo {
        margin: 0 auto;
        width: 100%;
    }

    .about-me-text h1, .about-me-text h2 {
        text-align: center;
    }
}
.AllProjects1
{
    align-items: center;
    margin-left: 100px;
    margin-right: 100px;
    justify-content: center;
}
.card 
{
    display: flex;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}
.card-title
{
    color: #123361;
}
.card-text
{
    font-family: 'Times New Roman', Times, serif;
    color: #123361;
    font-size: 15px;
}
.btnviewmore
{
    color: #40568B;
    font-size: 1em;
    z-index: 9;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out;
}
.btnviewmore:hover
{
    transform: scale(1.05); 
    background-color: #40568B;
    color: #FFF;
}
/* CSS Footer */
.rounded-footer {
    background-color: #40568B; 
    color: white; 
    text-align: center;
    padding: 20px;
    border-top-left-radius: 50px; 
    border-top-right-radius: 50px; 
    width: 100%;
    margin-top: 50px; 
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .rounded-footer {
        padding: 15px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

.contact-section {
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
}


.contact-info {
    flex-basis: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.contact-info h2 {
    font-size: 2em;
    color: #40568B;
    margin-bottom: 20px;
}

/* Styling untuk kartu kontak */
.contact-cards {
    display: flex;
    gap: 15px;
}
.reachme
{
    font-family: 'Times New Roman', Times, serif;
}
.contact-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: #40568B;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.contact-card:hover {
    transform: scale(1.1);
    background-color: #40568B;
    color: #fff;
}

/* Responsif untuk layar lebih kecil */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        text-align: center;
    }
    .contact-image, .contact-info {
        flex-basis: 100%;
        max-width: 100%;
    }
    .contact-info h2 {
        font-size: 1.5em;
    }
}
