body {
  background: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #606060;
  position: relative;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}
h1,h2,h3 { font-weight: 300; }
p { line-height: 28px; }
hr {
  border-color: #f2f2f2;
  width: 100px;
  margin-bottom: 40px;
}
.title {
  color: #303030;
  font-size: 60px;
  padding-bottom: 40px;
  text-transform: uppercase;
}

/* START NAVIGATION */
.sticky-navigation { opacity: 0; }
.navbar-default {
  background: #fff;
  border: none;
  -webkit-box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.08);
          box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.08);
  margin: 0;
  padding: 0;
}
.navbar-default .navbar-brand {
  color: #212227;
  font-weight: bold;
  font-size: 30px;
  line-height: 45px;
  padding: 10px 0 0 12px;
}
.navbar-default .navbar-nav li a {
  color: #202020;
  font-size: 13px;
  font-weight: bold;
  line-height: 45px;
  letter-spacing: 1px;
}
.navbar-default .navbar-nav li a:hover { color: #eb5424; }
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #eb5424;
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #eb5424;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}
.navbar-default .navbar-toggle .icon-bar {
  background: #eb5424;
  border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }

.dark-toggle-btn {
    background: #eb5424;
    color: #ffffff;
    border: none;
    padding: 8px 13px;
    border-radius: 999px;
    margin-top: 10px;
}

.dark-mode {
    background: #0f172a !important;
    color: #e5e7eb !important;
}

.dark-mode .navbar,
.dark-mode .tm-padding-top-bottom-100,
.dark-mode .tm-portfolio,
.dark-mode .tm-contact {
    background: #111827 !important;
    color: #e5e7eb !important;
}

.dark-mode .title,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode p {
    color: #e5e7eb !important;
}

.dark-mode .work-wrapper,
.dark-mode .contact-card,
.dark-mode .contact-form-area {
    background: #1f2937 !important;
    color: #e5e7eb !important;
}

.dark-mode .form-control {
    background: #111827 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
}
/* Navbar text dark mode */
.dark-mode .navbar-default .navbar-brand,
.dark-mode .navbar-default .navbar-nav li a {
    color: #ffffff !important;
}

/* Hero/Home text tetap hitam */
.dark-mode #home h1,
.dark-mode #home h2,
.dark-mode #home h3,
.dark-mode #home p {
    color: #111111 !important;
}
/* END NAVIGATION */

/* START HOME */
.templatemo-home {
  background: url('../images/home-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  color: #5f5f5f;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;  
  height: 100vh;
}
.tm-home-title,
 .tm-home-subtitle {
  text-transform: uppercase;
 }
.tm-home-title { font-size: 60px; }
.tm-home-subtitle {
  color: #eb5424;
  font-weight: bold;
  padding-bottom: 40px;
  letter-spacing: 2px;
}
.tm-view-more-btn {
  background: #eb5424;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  padding: 15px 50px;
  -webkit-transition: all 0.6s ease-in;
          transition: all 0.6s ease-in;
}
.tm-view-more-btn:hover {
  background: #ffffff;
  color: #eb5424;
}
/* END HOME */

/* START WORK */
.tm-padding-top-bottom-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.tm-work-h3 {
  color: #eb5424;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 10px;
}
.work-wrapper {
  border: 1px solid #666;
  border-radius: 2px;
  text-align: center;
  padding: 80px 40px 80px 40px;
  -webkit-transition: all 0.6s ease-in;
          transition: all 0.6s ease-in;
}
.work-wrapper:hover { border-color: #eb5424; }
.work-wrapper .fa {
  color: #888888;
  font-size: 60px;
  padding-bottom: 40px;
}
/* END WORK */

/* START PORTFOLIO */
.tm-portfolio {
  background: #f8f8f8;
  padding-top: 80px;
}
.tm-portfolio .container {
  width: 100%;
  padding: 0;
  margin: 0;
}
.tm-portfolio .col-md-3,
 .tm-portfolio .col-sm-3 {
  padding: 0;
  margin: 0;
}
.tm-portfolio-title {
  text-align: center;
  text-transform: uppercase;
}
.portfolio-item-title {
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
}
.portfolio-thumb {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.portfolio-overlay {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #eb5424;
  color: #ffffff;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;  
  padding: 0 40px;
  text-align: center;
  position: absolute;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
}
.portfolio-thumb:hover .portfolio-overlay {
  opacity: 0.8;  
  -webkit-transform: scale(1.0);
  -ms-transform: scale(1.0);
  transform: scale(1.0);
}
.portfolio-overlay .fa {
  border: 1px solid #666;
  border-radius: 0;
  color: #666;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  margin-right: 6px;
  margin-bottom: 10px;
}

/* FILTER CSS */
.filter-wrapper {
  width: 100%;
  margin: 0 0 24px 0;
  overflow: hidden;
  text-align: center;
}
.filter-wrapper li {
  display: inline-block;
  margin: 4px;
}
.filter-wrapper li a {
  color: #999999;
  padding: 8px 17px;
  display: block;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
}
.filter-wrapper li a:focus,
 .filter-wrapper li a:hover,
 .filter-wrapper li a.selected {
  background: #eb5424;
  border-color: transparent;
  color: #ffffff;
}

/* ISOTOPE BOX CSS */
.iso-box-section { width: 100%; }
.iso-box-wrapper {
  width: 100%;
  padding: 0;
  clear: both;
  position: relative;
}
.iso-box {
  position: relative;
  min-height: 50px;
  float: left;
  overflow: hidden;
  margin-bottom: 20px;
}
.iso-box > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.iso-box > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.fluid-img {
  width: 100%;
  display: block;
  height: auto;
}

.portfolio-thumb {
    width: 100%;
    aspect-ratio: 640 / 425;
    overflow: hidden;
    background: #fff;
}

.portfolio-thumb .fluid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* END PORTFOLIO */

/* START RESUME */
.tm-red-text { color: #eb5424; }
.tm-info-label {
  font-weight: bold;
  display: inline-block;
  width: 90px;
}
.tm-progress {
  background: #fff;
  border-radius: 2px;
  height: 4px;
}
.progress-bar-danger { background: #eb5424; }
.tm-progress-label {
  font-size: 12px;
  font-weight: bold;
  padding-top: 10px;
  text-transform: uppercase;
}
.progress-percent-small {
  display: block;
  float: right;
  padding-right: 80px;
}
/* END RESUME */

/* START ABOUT */
.tm-about {
  background: url('../images/about-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  padding-top: 60px;
  padding-bottom: 100px;
}
/* END ABOUT */

/* START SOCIAL */
.tm-social {
  text-transform: uppercase;
}

.tm-social .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.tm-social .row {
  margin: 0;
}

.tm-social .col-md-4,
.tm-social .col-sm-4 {
  padding: 0 !important;
  margin: 0 !important;
}

.github,
.instagram,
.whatsapp {
  min-height: 220px;
}

.github {
  background: #171515;
}

.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.whatsapp {
  background: #25d366;
}

.github:hover,
.instagram:hover,
.whatsapp:hover {
  background: #202020;
}

.media {
  padding: 80px 40px;
  margin: 0;
  border-radius: 0;
  -webkit-transition: all 0.6s ease-in;
  transition: all 0.6s ease-in;
}

.tm-social a {
  color: #ffffff;
  display: inline-block;
  text-decoration: none;
}

.tm-social .media .fa {
  background: #ffffff;
  border-radius: 2px;
  color: #707070;
  font-size: 30px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin-right: 20px;
}

.tm-social-title {
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}
/* END SOCIAL */

/* MODERN CONTACT SECTION */

.contact-subtitle {
  color: #666;
  margin-bottom: 50px;
  font-size: 16px;
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  width: 35%;
  background: linear-gradient(135deg, #eb5424, #ff7b29);
  color: #ffffff;
  padding: 50px 35px;
}

.contact-form-area {
  width: 65%;
  padding: 50px 40px;
  background: #ffffff;
}

.contact-icon {
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  text-align: center;
  line-height: 90px;
  margin-bottom: 30px;
}

.contact-icon i {
  font-size: 38px;
}

.contact-info h3 {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-info h3 span {
  display: block;
  color: #ffe0d1;
}

.contact-info p {
  color: #f4f4f4;
  line-height: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
}

.contact-detail i {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  text-align: center;
  line-height: 50px;
  margin-right: 15px;
  font-size: 20px;
}

.contact-detail strong {
  display: block;
  font-size: 16px;
}

.contact-detail p {
  margin: 0;
  color: #ffffff;
}

.contact-form-area .form-control {
  height: 55px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  margin-bottom: 20px;
  padding-left: 18px;
  font-size: 15px;
}

.contact-form-area textarea.form-control {
  height: 180px;
  padding-top: 15px;
}

.contact-form-area .form-control:focus {
  border-color: #eb5424;
  box-shadow: none;
}

.contact-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #eb5424, #ff7b29);
  color: #ffffff;
  height: 58px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(235,84,36,0.3);
}

.contact-btn i {
  margin-right: 10px;
}

.copyright-area {
  margin-top: 40px;
  color: #666;
  font-size: 15px;
}

.copyright-area a {
  color: #eb5424;
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width: 991px) {

  .contact-info,
  .contact-form-area {
    width: 100%;
  }

}

.diagram-preview {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.diagram-preview h4 {
    color: #eb5424;
    font-weight: 700;
    margin-bottom: 12px;
}

.diagram-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 15px;
}

/* ====== RESPONSIVE: TABLET (max 991px) ====== */
@media screen and (max-width: 991px) {
    .title {
        font-size: 36px;
    }
    .tm-padding-top-bottom-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .work-wrapper {
        padding: 40px 24px;
    }
    .work-wrapper .fa {
        font-size: 44px;
        padding-bottom: 24px;
    }
    .media {
        padding: 40px 20px;
    }
    .github, .instagram, .whatsapp {
        min-height: 180px;
    }
}

/* ====== RESPONSIVE: MOBILE (max 767px) ====== */
@media screen and (max-width: 767px) {
    .templatemo-home {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 80px;
        background-attachment: scroll;
    }
    .tm-home-title {
        font-size: 32px;
    }
    .tm-home-subtitle {
        font-size: 18px;
        padding-bottom: 20px;
    }
    .tm-view-more-btn {
        font-size: 16px;
        padding: 12px 30px;
        margin-top: 20px;
    }
    .title {
        font-size: 28px;
        padding-bottom: 24px;
    }
    .tm-padding-top-bottom-100 {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .work-wrapper {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    .work-wrapper .fa {
        font-size: 36px;
        padding-bottom: 16px;
    }
    .tm-portfolio {
        padding-top: 50px;
    }
    .portfolio-overlay {
        padding: 0 16px;
    }
    .portfolio-overlay h3 {
        font-size: 16px;
    }
    .portfolio-overlay p {
        font-size: 13px;
        line-height: 20px;
    }
    .filter-wrapper li a {
        padding: 6px 12px;
        font-size: 13px;
    }
    .iso-box {
        margin-bottom: 12px;
    }
    .tm-about {
        background-attachment: scroll;
    }
    .tm-about .col-md-offset-6 {
        margin-left: 0;
    }
    .tm-about .col-md-6,
    .tm-about .col-sm-7 {
        width: 100%;
        padding: 0 15px;
    }
    .tm-about .title h2 {
        font-size: 22px;
    }
    .media {
        padding: 30px 16px;
    }
    .github, .instagram, .whatsapp {
        min-height: auto;
    }
    .tm-social .media .fa {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 22px;
        margin-right: 14px;
    }
    .tm-social-title {
        font-size: 14px;
    }
    .media-body h3 {
        font-size: 20px;
    }
    .contact-info {
        padding: 30px 20px;
    }
    .contact-form-area {
        padding: 30px 20px;
    }
    .contact-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    .contact-icon i {
        font-size: 26px;
    }
    .contact-info h3 {
        font-size: 24px;
    }
    .contact-detail i {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }
    .contact-form-area .form-control {
        height: 48px;
        font-size: 14px;
    }
    .contact-form-area textarea.form-control {
        height: 140px;
    }
    .navbar-default .navbar-brand {
        font-size: 24px;
    }
    .progress-percent-small {
        padding-right: 0;
        float: none;
        display: inline;
    }
}

/* ====== RESPONSIVE: SMALL MOBILE (max 480px) ====== */
@media screen and (max-width: 480px) {
    .tm-home-title {
        font-size: 26px;
    }
    .tm-home-subtitle {
        font-size: 16px;
    }
    .tm-view-more-btn {
        font-size: 14px;
        padding: 10px 24px;
    }
    .title {
        font-size: 24px;
    }
    .tm-padding-top-bottom-100 {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .work-wrapper {
        padding: 24px 16px;
    }
    .work-wrapper .fa {
        font-size: 30px;
        padding-bottom: 12px;
    }
    .work-wrapper h3 {
        font-size: 16px;
    }
    .work-wrapper p {
        font-size: 14px;
        line-height: 22px;
    }
    .navbar-default .navbar-brand {
        font-size: 20px;
        line-height: 36px;
        padding: 8px 0 0 10px;
    }
    .contact-info {
        padding: 24px 16px;
    }
    .contact-form-area {
        padding: 24px 16px;
    }
    .contact-info h3 {
        font-size: 20px;
    }
    .media {
        padding: 24px 12px;
    }
    .portfolio-overlay p {
        display: none;
    }
    .portfolio-overlay h3 {
        font-size: 14px;
        margin-top: 0;
    }
    .portfolio-overlay .btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}