/*========================================
    VARIABEL GLOBAL
========================================*/
:root {
    --navbar-bg: rgba(129, 166, 245, 0.808);
    --dropdown-bg: rgba(190, 212, 226, 0.884);
    --primary-color: #000000;
    --brand-color: #000000;
    --brand-color1: #2600ff;
    --btn-primary1-bg: #0d99da;
    --btn-primary2-bg: #0d4eda;
    --btn-text-shadow: 1px 1px 3px #000;
    --carousel-img-filter: brightness(0.9);
    --carousel-img-hover-scale: 1.1;
    --carousel-img-hover-filter: brightness(1);
}

/*========================================
    NAVBAR & OFFCANVAS
========================================*/
.navbar {
    background-color: var(--navbar-bg) !important;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand,
.navbar .offcanvas-title {
    font-family: 'IBM Plex Sans', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    color: var(--brand-color);
    font-weight: bold;
}

.navbar .offcanvas {
    height: 100vh;
}

.navbar .navbar-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.navbar .nav-link {
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

/*========================================
    DROPDOWN MENU
========================================*/
.dropdown-menu {
    background-color: var(--dropdown-bg) !important;
    backdrop-filter: blur(4px);
    border: none;
}

.dropdown-menu a {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

/*========================================
    CAROUSEL & SLIDER
========================================*/
.carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: var(--carousel-img-filter);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.carousel-item img:hover {
    transform: scale(var(--carousel-img-hover-scale));
    filter: var(--carousel-img-hover-filter);
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(15, 182, 140, 0.2));
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    padding: 20px 30px;
    border-radius: 20px;
    max-width: 80%;
    margin: 0 auto;
}


/*========================================
    BAGIAN HOME
========================================*/
/* Home Section */
/* General Styles for Home Section */
#home {
    background-color: #d1d1d1; /* Warna latar belakang yang netral */
    padding: 50px 0;
  }
  
  #home h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem; /* Ukuran besar untuk judul */
    color: #333; /* Warna teks gelap */
    font-weight: bold;
    text-align: center;
  }
  
  #home h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #007bff; /* Warna biru */
    margin-bottom: 20px;
    text-align: center;
  }
  
  #home p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #000000; /* Warna abu-abu */
    line-height: 1.8; /* Spasi antar baris */
    margin-bottom: 20px;
    text-align: justify;
  }
  
 /* Centering Buttons */
#home {
    text-align: center; /* Mengatur seluruh konten di dalam elemen untuk rata tengah */
  }
  
  #home .btn-primary1, #home .btn-primary2 {
    background-color: #007bff; /* Warna tombol biru */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 30px; /* Tombol dengan sudut melengkung */
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px; /* Memberikan jarak antar tombol jika lebih dari satu */
  }
  
  #home .btn-primary1:hover, #home .btn-primary2:hover {
    background-color: #0056b3; /* Warna biru lebih gelap saat hover */
    transform: scale(1.05); /* Efek zoom pada hover */
  }
  


  #home img:hover {
    transform: scale(1.1); /* Efek zoom pada gambar */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); /* Bayangan lebih dalam saat hover */
  }
  
/*========================================
    TOMBOL
========================================*/
/* Button Utama */
#home .btn-primary1 {
    background-color: var(--btn-primary1-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    text-transform: uppercase;
    color: var(--brand-color);
    text-shadow: var(--btn-text-shadow);
}

#home .btn-primary1:hover {
    background-color: #2154b3c2;
}

/* Button Kedua */
#home .btn-primary2 {
    background-color: var(--btn-primary2-bg);
    border: none;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    text-transform: uppercase;
    color: var(--brand-color);
    text-shadow: var(--btn-text-shadow);
    margin-top: 20px;
}

#home .btn-primary2:hover {
    background-color: #4825c5c2;
}

/* Gambar di Home */
#home img {
    max-width: 75%;
    border-radius: 50px;
}

/*========================================
   ABOUT
========================================*/
/* About Section */
.about-section {
    background-color: #d1d1d1; /* Latar belakang ringan */
    padding: 50px 0;
  }
  
  .about-section img {
    max-width: 350px;
    border: 5px solid #007bff; /* Border biru */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi hover */
    margin-top: 50px;
  }
  
  .about-section img:hover {
    transform: scale(1.1); /* Efek zoom */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Bayangan pada hover */
  }
  
  .about-section h2, .about-section h4 {
    font-family: 'Poppins', sans-serif; /* Font modern */
    padding-top: 35px;
  }
  
  .about-section p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    padding-top: 10px;
    color: #000000; /* Warna teks abu-abu */
  }
  
  .about-section ul {
    padding-left: 20px;
    
  }
  
  .about-section ul li {
    margin-bottom: 10px;
  }
  
  .about-section ul li strong {
    color: #007bff; /* Highlight untuk kata penting */
  }
  

/*========================================
    SERVICES SECTION
========================================*/
/* Services Section */
.services-section {
    background-color: #f8f9fa; /* Latar belakang terang */
    padding: 50px 0;
  }
  
  .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efek animasi */
  }
  
  .card:hover {
    transform: scale(1.05); /* Zoom-in saat hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Bayangan pada hover */
  }
  
  .card-title {
    font-family: 'Poppins', sans-serif; /* Font modern */
    font-size: 1.5rem; /* Ukuran font judul */
  }
  
  .card-text {
    font-family: 'Roboto', sans-serif;
    color: #6c757d; /* Teks abu-abu */
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .services-section h3 {
    text-transform: capitalize;
  }
  
  .services-section .text-center {
    margin-top: 20px;
  }
  

/*========================================
    PENGALAMAN SECTION
========================================*/
/* Pengalaman Kerja Section */
.pengalaman-section {
    background-color: #9bb8c9; /* Latar belakang lembut */
    padding: 50px 0;
  }
  
  .pengalaman-section h2 {
    font-family: 'Poppins', sans-serif; /* Font modern */
  }
  
  .line {
    height: 3px;
    background-color: #007bff; /* Warna garis biru */
    border: none;
  }
  
  /* Card Styling */
  .card {
    border: none; /* Hilangkan border default */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05); /* Efek zoom pada hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Bayangan lebih dalam */
  }
  
  .card-title {
    font-family: 'Poppins', sans-serif;
  }
  
  .card-subtitle {
    font-size: 0.9rem; /* Ukuran subtitle lebih kecil */
    font-style: italic;
  }
  
  .card-text {
    color: #6c757d; /* Warna teks abu-abu */
    font-size: 0.9rem;
  }
  


/*========================================
    EXPERTISE SECTION
========================================*/
/* General Styles */
.keahlian-section {
    background-color: #f8f9fa; /* Warna latar belakang ringan */
    padding: 50px 0;
  }
  
  .keahlian-section h2, .keahlian-section h3 {
    font-family: 'Poppins', sans-serif;
  }
  
  .line {
    height: 3px;
    background-color: #007bff; /* Warna biru */
    border: none;
  }
  
  /* Card Customization */
  .card {
    border: none; /* Hilangkan border default */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05); /* Efek zoom */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Bayangan lebih dalam */
  }
  
  .card-title {
    font-family: 'Poppins', sans-serif;
  }
  
  .card-text {
    color: #6c757d; /* Warna teks abu-abu */
    font-size: 0.9rem;
  }
  

/*========================================
    Education
========================================*/
/* General Styling */
.education-section {
    background-color: #f8f9fa; /* Latar belakang terang */
    padding: 50px 0;
  }
  
  .education-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem; /* Ukuran judul */
    color: #333;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  
  /* Card Styling */
  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px; /* Sudut melengkung */
  }
  
  .card:hover {
    transform: scale(1.05); /* Efek zoom pada hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih dalam */
  }
  
  .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem; /* Ukuran judul kartu */
    margin-bottom: 10px;
  }
  
  .card-text {
    font-family: 'Roboto', sans-serif;
    color: #6c757d; /* Warna teks abu-abu */
    font-size: 1rem;
  }
  
  /* Responsive Layout */
  @media (max-width: 768px) {
    .education-section h2 {
      font-size: 2rem; /* Ukuran judul lebih kecil pada perangkat kecil */
    }
  
    .card-title {
      font-size: 1.2rem;
    }
  
    .card-text {
      font-size: 0.9rem;
    }
  }
  

/*========================================
    Certificate
========================================*/
/* Sertifikat Saya Section Styles */

#certificate {
    padding: 3rem 0;
    background-color: #d1d1d1;
    background-size: cover;
    background-position: center;
    padding-bottom: 80px;
}

#certificate .container {
    max-width: 1200px;
    margin: 0 auto;
}

#certificate h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    padding: 30px;
}

#certificate .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#certificate .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#certificate .card-img-top {
    width: 100%;
    object-fit: cover;
}

#certificate .card-body {
    padding: 1rem;
}

#certificate .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--brand-color);
    margin-bottom: 0.5rem;
}

#certificate .card-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

/*========================================
    Projek - 3D Animation Section
========================================*/

#Animasi3D {
    padding: 3rem 0;
    background-color: #d1d1d1;
    background-size: cover;
    background-position: center;
    padding: 80px;
}

#Animasi3D h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

#Animasi3D .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#Animasi3D .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#Animasi3D .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#Animasi3D .card-body {
    padding: 1rem;
    text-align: center;
}

#Animasi3D .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--brand-color1);
}

#Animasi3D .card-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
    text-align: justify;
}

#Animasi3D .card-text1 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
    font-weight: bold;
}

#Animasi3D .btn-primary {
    background-color: var(--btn-primary1-bg);
    border: none;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#Animasi3D .btn-primary:hover {
  background-color: #0d99da;
}

/*========================================
    Projek - Web Development Section
========================================*/

/* Footer Sosmed dan Projek */
footer {
    background-color: #0d5ca5;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: center; /*Mengatur kanan/Kiri*/
    align-items: center;
}

footer h5,
footer a {
    color: #07e65c;
    font-size: 0.8rem;
    font-weight: bold;
    
}


.projek h5 {
    color: #e69f07;
    font-weight: bold;
}

footer ul {
    list-style: none;
    padding: 0px;
}

footer ul li {
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}

footer a:hover {
    color: #ffffff;
}

/*Bantuan*/

footer .container1 {
    display: flex;
    justify-content: left; /*Mengatur kanan/Kiri*/
    align-items: center;
    padding-bottom: 30px;

}

.bantuan {
    text-align: left;
    padding-top: 20px;
}

.bantuan h5 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: bold;
}

.bantuan ul {
    list-style: none;
    padding: 0;
}

.bantuan ul li {
    display: inline-block;
    margin-right: 10px;
}

.bantuan ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bantuan ul li a:hover {
    color: #cccccc;
}

/* Footer Nama CopyRight */
#foternama {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

#footerRow {
    width: 100%;
    
}

#footerText {
    margin: 0;
    padding: 0rem 0;
    padding-top: 10px;
   
    
}

/*========================================
    Projek - Mobile Developer
========================================*/
/* Mobile Developer Section */
.mobiledeveloper {
  background: linear-gradient(135deg, #e9ecef, #f8f9fa);
  padding: 3rem 0;
  color: #333;
}

/* Header Styling */
.text-gradient {
  color: #1a2185;
  font-weight: bold;
  padding-top: 30px;
}

hr.line {
  border: 2px solid #6a1b9a;
  margin: 1rem auto;
  width: 50px;
}

/* Card Styling */
.card {
  background-color: #fff;
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  height: 200px;
  object-fit: cover;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #555;
}

/* Button Styling */
.btn-primary {
  background-color: #1b439a;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  --btn-primary1-bg: #0d99da;
}

/* Icon Styling */
.fab, .fas {
  transition: color 0.3s;
}

.fab:hover, .fas:hover {
  --btn-primary1-bg: #0d99da;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card-title {
      font-size: 1.2rem;
  }
  .card-text {
      font-size: 0.9rem;
  }
  .card-img-top {
      height: 150px;
  }
  #home h1 {
    font-size: 2rem;
  }
  
  #home h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  #home img {
    max-width: 100%; /* Sesuaikan ukuran gambar dengan layar */
  }
}

/*========================================
  Projek - Game Developer
========================================*/
/* Game Developer Section */
.gamedeveloper {
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  padding: 3rem 0;
  color: #333;
}

/* Header Styling */
.text-gradient {
  color: #1a2185;
  font-weight: bold;
  padding-top: 30px;
}

hr.line {
  border: 2px solid #bb3728;
  margin: 1rem auto;
  width: 50px;
}

/* Card Styling */
.card {
  background-color: #fff;
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  height: 200px;
  object-fit: cover;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #555;
}

/*========================================
    RESUME
========================================*/
/* Resume Section */
.resume {
  background-color: #f8f9fa; /* Latar belakang terang */
  padding: 50px 0;
}

.resume h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #343a40;
  margin-bottom: 30px;
  padding-top: 30px;
}

.img-fluid {
  max-width: 100%; /* Gambar menyesuaikan dengan lebar container */
  height: auto; /* Rasio aspek gambar tetap */
  border-radius: 10px; /* Sudut melengkung */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Bayangan lembut */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.05); /* Efek zoom ringan saat hover */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Bayangan lebih dalam */
}

/*========================================
    RESPONSIVE STYLES
========================================*/

/* Laptop (min-width: 992px) */
@media (min-width: 992px) {
    .navbar .navbar-brand,
    .navbar .offcanvas-title {
        padding-left: 140px;
        font-size: 1.5rem;
    }
    .navbar .nav-link {
        font-size: 1rem;
    }
    #home .btn-primary2 {
        display: none;
    }
    .about-section img {
        max-width: 350px;
        border: 5px solid #007bff; /* Border biru */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi hover */
        margin-top: -250px;
      }

}

/* Tablet (min-width: 768px dan max-width: 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar .navbar-brand,
    .navbar .offcanvas-title {
        padding-left: 140px;
        font-size: 1.2rem;
        display: block;
    }
    .navbar .nav-link {
        font-size: 0.95rem;
        display: inline-block;
    }
    
    /*HOME*/
    #home h1 {
        font-size: 2rem;
    }
    #home p {
        font-size: 1rem;
        text-align: justify;
    }
    #khaizfoto img {
        margin-top: 20px;
        max-width: 100%;
    }
    #home .btn-primary1 {
        display: none;
    }

    .about-section img {
        max-width: 350px;
        border: 5px solid #007bff; /* Border biru */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi hover */
        margin-top: 50px;
      }
    
}

/* Handphone (max-width: 767px) */
@media (max-width: 767px) {
    .navbar .navbar-brand,
    .navbar .offcanvas-title {
        padding-left: 10px;
        font-size: 1.1rem;
    }
    .navbar .nav-link {
        font-size: 0.9rem;
        text-align: left;
        padding-left: 10px;
    }
    #home h1 {
        font-size: 2rem;
        padding: 25px;
    }
    #home p {
        font-size: 1rem;
        text-align: justify;
    }
    #khaizfoto img {
        margin-top: 5px;
        max-width: 90%;
    }
    #home .btn-primary1 {
        display: none;
    }

    .about-section img {
        max-width: 350px;
        border: 5px solid #007bff; /* Border biru */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi hover */
        margin-top: 50px;
      }

    /*Slider*/
    .carousel-item img {
        height: 50vh;
    }
    .carousel-caption h5 {
        font-size: 1.5rem;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        background: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
        border-radius: 10px;
        display: block;
    }
    .carousel-caption p {
        font-size: 1rem;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        background: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
        border-radius: 10px;
        display: block;
    }
    /*about*/
    #about h2 {
        font-size: 1.5rem;
    }
    #about p {
        font-size: 0.9rem;
    }
    #about h4 {
        font-size: 1.3rem;
    }
    /*education*/
    #education h2 {
        font-size: 1.5rem;
    }
    #education .card-body {
        padding: 1rem;
    }
    #education .card-title {
        font-size: 1.1rem;
    }
    #education .card-text {
        font-size: 0.9rem;
    }

    /*FOTER*/
    .medsos,
    .projek {
        text-align: left;
        padding-top: 20px;
    }
    .medsos ul,
    .projek ul {
        justify-content: flex-start;
        display: flex;
        padding-top: 5px;
    }

       
    }

