@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');

:root {
    /* --primary: #0d6efd; */
    --dark: #1ed6b2;
    --body: #1d1d1de1;
    --footer: #fff;
    --bs-dark-rgb: 30, 214, 180;
}

.bg-dark {
    --bs-bg-opacity: 1;
    color: #fff !important;
}

.bg-dark .nav-link,
.bg-dark .navbar-brand,
.bg-dark .navbar-text,
.bg-dark .dropdown-item {
    color: #fff !important;
}

/* Gaya umum navbar */
.navbar-collapse {
  margin-top: 10px;
  padding: 1rem;
}



@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #1ed6b2;
  }

  .navbar-collapse a {
    color: white !important;
  }
}


body {
    min-height: 100vh;
    font-family: Sora, "sans-serif";
    line-height: 1.7;
    color: var(--body);
}

h1,h2,h3,h4,h5,h6,
.display-4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    color: var(--dark);
    text-decoration: none;
}

img {
    width: 100%;
}

section {
    /* padding: 120px 0; */
    padding-top: 50px;
    padding-bottom: 80px;
}

/* footer {
    width: 100%;
} */



.navbar {
    box-shadow: var(--box-shadow);
    background-color: #1ed6b2;
}

.nav-link {
    color: #000;
}

.logo{
    max-height: 50px;
    width: 40px;
}


/* hero */
.hero {
    /* background-image: url('../img/cyber.jpg'); */
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 2;
}

.hero::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: rgba(125, 125, 136, 0.61); */
    background-color: #1ed6b2;
    z-index: -1;
}


/* Blog */
.card-effect {
    box-shadow: var(--box-shadow);
    background-color: #fff;
    padding: 25px;
    transition: all 0.35s ease;
}

.card-effect:hover {
    box-shadow: none;
    transform: translateY(5px);
}


/* footer */
.sticky-footer {
    position: sticky;
    top: 100%;
}

.footer-top {
    padding-bottom: 30px;
    padding-top: 30px;
    background-color: var(--dark);
}

.footer-top a {
    color: var(--footer);
}

.footer-top a:hover {
    color: var(--body);
}


.map iframe{
    height:100%;
    width:100%;
}
 
.footer-bottom {
    background-color: #1ed6b2;
    color: #fff;
}

/* form login */

.form-signin .form-floating:focus-within {
    z-index: 2;
  }
  
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  

.form-registration input {
    border-radius: 0;
    margin-bottom: -1px;
}

/* Start untuk Card di halaman utama */
.text-gradient {
    background: linear-gradient(to right, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-card {
    /* background: #111; Dark mode style */
    color: #eee;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 255, 204, 0.08);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    border-left: 6px solid transparent;
}

.cyber-border {
    border-left: 6px solid #1ed6b2; /* Warna khas cyber */
    border-bottom: 6px solid #1ed6b2;
    border-right: 3px solid #1ed6b2;
    border-top: 3px solid #1ed6b2;   
}

.floating-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.navbar-collapse {
  color: white;
}

.navbar-collapse .nav-link {
  color: white !important;
}


.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 255, 204, 0.15);
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

.card-title a {
    text-decoration: none;
    color: #00ffcc;
    font-size: 1.15rem;
}

.card-title a:hover {
    color: #00ff66;
}

.card-text {
    color: #ccc;
}

.btn-outline-success {
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-outline-success:hover {
    background-color: #1ed6b2;
    color: #fff;
}
/* End untuk Card di halaman utama */


.list-unstyled {
    color: #fff !important;
}


/* artikel */
.text-gradient {
    background: linear-gradient(90deg, #1ed6b2, #1f8eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-card {
    transition: all 0.3s ease;
    border-radius: 1.25rem;
    background-color: #fff;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(30, 214, 178, 0.2);
}

.blog-card img {
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

.btn-outline-primary:hover {
    background-color: #1ed6b2;
    color: #fff !important;
    border-color: #1ed6b2;
}

.input-group:focus-within {
  box-shadow: 0 0 0 0.25rem rgba(30, 214, 178, 0.4);
}

.input-group input:focus {
  box-shadow: none;
}

.input-group {
  transition: box-shadow 0.3s ease;
}

.text-gradient {
    background: linear-gradient(to right, #1ed6b2, #0c8c7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Optional improvement for consistency and spacing */
.encryption-section {
    /* background: linear-gradient(135deg, #1a1a1a, #002240); */
    background: linear-gradient(to right, #1ed6b2, #0c8c7b);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
    margin-bottom: 50px; /* Jaga jarak ke bawah */
}

.btn-pgp {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pgp:hover {
    background-color: #ffc107;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.encryption-section {
    border-radius: 8px;
}

.btn-rounded {
    border-radius: 3px !important;
}

.text-gradient {
    background: linear-gradient(to right, #1ed6b2, #0c8c7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.2s ease-in-out;
}


.navbar-nav .nav-link.active {
  position: relative;
  font-weight: bold;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #ffc107;
  border-radius: 2px;
}


.navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
}


.floating-image {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.btn-rounded {
    border-radius: 50px;
}




.floating-image {
  animation: float 4s ease-in-out infinite;
  max-width: 100%;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.btn-rounded {
  border-radius: 50px;
}

.hero-title {
  color: white; 
}


@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    margin-top: 100px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero {
    /* padding-top: 3rem; */
    padding-bottom: 3rem;
  }
}

.btn-group-lg > .btn,
.btn-lg {
  font-size: unset !important;
}


