
:root {
    --primary: #1a5fb4;
    --secondary: #0f3460;
    --accent:#4cb5ae;
    --light: #f8f9fa;
    --dark: #333;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f0f4f8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    /*font-weight: 700;*/
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    color:#141e30 ;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    border:3px solid #4cb5ae ;
    cursor: pointer;
    font-size: 16px;
    background: transparent;
    transition: all 0.3s ease;
} 
.btn:hover {
   transform: translateY(-2px);
   background: linear-gradient(to top,#4cb5ae,transparent);

}

.btn-slider{
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    border: 3px solid #4cb5ae;

    background: transparent;
}
.btn-slider:hover {
 transform: translateY(-2px);
 color: var(--light);
 background: linear-gradient(to top,#4cb5ae,transparent);
}

.btn-secondary {
    background: var(--primary);
}

.btn-secondary:hover {
    background: #0d4a9d;
}

/* Header Styles */
header {

    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0,0));
    padding: 15px 0;
    position: fixed;
    width: 100%;
    max-width: 140%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;

}

.logo1 img {
   width: 130px;
   height: 100px;
   cursor: pointer;
   transition: transform 0.5s ease;
   object-fit: cover;
  
}

.logo1:hover img{
   transform: rotate(360deg);
}

.logo-text {
    
    color: white;

}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom:3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--light);
}

.logo-text p {
    font-size:0.8rem;
    opacity: 0.8;
    color:var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}


nav {
    display:flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    /*margin-right: 20px;*/
}

nav ul li {
    margin-left: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 100;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    font-size: 1rem;
}

nav ul li a:hover {
   color:#4cb5ae;

}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
}

/*ccs swit 2 bahasa*/
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 10px;
}

.language-btn {
    padding: 0.5rem 0.5rem;
    border: none;
    background-color: #eee;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.language-btn.active {
    background-color: #3a9d96;
    color: white;
    /*padding: 0.5rem 0.5rem;*/
}

.language-btn:hover{
 transform: translateY(-2px);
 background: linear-gradient(to top,#4cb5ae,transparent);
}




/*slider*/

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /*object-fit: cover;*/
}

.slide.active {
    opacity: 1;

}

.slide-content {
    text-align: left;
    width:80%;
    max-width: 100%;
    padding-left: 50px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

}

.slide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/*end slider*/

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--accent);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;

}

.about-img {

    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    
    
}

.about-img img {
    width: 100%;
    display: block;

}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-info h3{

    color: var(--secondary);
}

.about-info p {
    margin-bottom: 20px;
    color: var(--dark);
}

.about-info p a{
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.about-info p a:hover{
 color: var(--accent);
 padding-left: 5px;
}

.about-info p i{
  color: var(--accent);
}


.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(to bottom,  rgba(0, 0, 0, 1), rgba(0, 0, 0,1),transparent),url('../images/handling.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item p a{
    transition: all 0.3s;
    color: var(--light);
    text-decoration: none;
}

.contact-item p a:hover{
    padding-left: 5px;
    color: var(--accent);
}



.contact-item i {
    font-size: 20px;
    margin-right: 15px;
    color: var(--accent);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Open Sans', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {

    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0,0.5)),url('../images/map2.png');
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    color:var(--accent) ;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    /*color:var(--accent) ;*/
}

.footer-col p {
    margin-bottom: 20px;
}

.footer-col p a {
   transition: all 0.3s;
   text-decoration: none;
   color: var(--light);
}

.footer-col p a:hover {
   color: var(--accent);
   padding-left: 5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links li a i{
    color:var(--accent);

}
.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--accent);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
.social-links a i{
  color:var(--accent);

}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}




/*css back to top start*/

#backToTopBtn{
  display: none; /* Sembunyikan secara default */
  position: fixed; /* Posisi tetap */
  bottom: 20px; /* Jarak dari bawah */
  right: 30px; /* Jarak dari kanan */
  z-index: 99; /* Agar tombol selalu di depan elemen lain */
  font-size: 18px; /* Ukuran font */
  /*border: none; /* Hapus border */
  border: 3px solid #4cb5ae;
  outline: none; /* Hapus outline */
  color: var(--naviBlue); /* Warna teks */
  cursor: pointer; /* Ubah kursor menjadi pointer */
  padding: 15px; /* Padding dalam tombol */
  border-radius: 10px; /* Membuat sudut tombol melengkung */
  background-color:transparent;
  transition: transform 0.5s ease;
}


#backToTopBtn:hover {
  /*background-color:transparent; /* Warna latar saat di-hover */
  /*transform: rotate(360deg);*/
  background-color: #4cb5ae, transparent;
  background: linear-gradient(to top, #4cb5ae ,transparent);

}


/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 70px;
    position: relative;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Responsive Design */

@media (max-width: 992px) {
    .about-container,
    .contact-container {
      grid-template-columns: 1fr;
  }
 
  .about-img {
    max-width: 500px;
    margin: 0 auto;
}

nav ul li{
    display: inline-block;

}

nav ul li a{
    
    font-size: 15px;
    
}


.logo{

    display: none;
}


}

@media (max-width: 768px) {
 
 .logo{
  
   display: none;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 1),rgba(0, 0, 0, 1),transparent);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .logo-text h1{
        font-size: 1.7rem;
        
    }

    
    .hero h2 {
        font-size: 2.5rem;
    }
    .about-content h2{
        font-size: 2rem;
    }
    
    .contact-info h2{
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }


}

@media (max-width: 576px) {

.logo h1{
font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .slide-content{
        margin-right: 20px;
    }
    .slide-content h2{
        font-size: 2rem;
    }

    .slide-content h3{
        font-size: 1.1rem;
    }
    .slide-content P{
        font-size: 0.9rem;
    }


    .stats {
        grid-template-columns: 1fr;
    }
    

}
.about-content h2{
    font-size: 1.5rem;
}
.contact-info h2{
   font-size: 2rem;

}
.stat-item .number{
   font-size: 1.5rem;
}





